Style
in package
A flag representing a specific style that a resource claims to conform to.
Protobuf type google.api.ResourceDescriptor.Style
Table of Contents
Constants
- DECLARATIVE_FRIENDLY = 1
- This resource is intended to be "declarative-friendly".
- STYLE_UNSPECIFIED = 0
- The unspecified value. Do not use.
Properties
- $valueToName : mixed
Methods
Constants
DECLARATIVE_FRIENDLY
This resource is intended to be "declarative-friendly".
public
mixed
DECLARATIVE_FRIENDLY
= 1
Declarative-friendly resources must be more strictly consistent, and setting this to true communicates to tools that this resource should adhere to declarative-friendly expectations. Note: This is used by the API linter (linter.aip.dev) to enable additional checks.
Generated from protobuf enum DECLARATIVE_FRIENDLY = 1;
STYLE_UNSPECIFIED
The unspecified value. Do not use.
public
mixed
STYLE_UNSPECIFIED
= 0
Generated from protobuf enum STYLE_UNSPECIFIED = 0;
Properties
$valueToName
private
static mixed
$valueToName
= [self::STYLE_UNSPECIFIED => 'STYLE_UNSPECIFIED', self::DECLARATIVE_FRIENDLY => 'DECLARATIVE_FRIENDLY']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed