Reference documentation and code samples for the Google API Common Protos Client class Style.
A flag representing a specific style that a resource claims to conform to.
Protobuf type google.api.ResourceDescriptor.Style
Namespace
Google \ Api \ ResourceDescriptorMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STYLE_UNSPECIFIED
Value: 0
The unspecified value. Do not use.
Generated from protobuf enum STYLE_UNSPECIFIED = 0;
DECLARATIVE_FRIENDLY
Value: 1
This resource is intended to be "declarative-friendly".
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;