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 \ ResourceDescriptor
Methods
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;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]