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 typegoogle.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 enumSTYLE_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 enumDECLARATIVE_FRIENDLY = 1;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]