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,["# Google API Common Protos Client - Class Style (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.ResourceDescriptor.Style)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.ResourceDescriptor.Style)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.ResourceDescriptor.Style)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.ResourceDescriptor.Style)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.ResourceDescriptor.Style)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.ResourceDescriptor.Style) \nReference documentation and code samples for the Google API Common Protos Client class Style.\n\nA flag representing a specific style that a resource claims to conform to.\n\nProtobuf type `google.api.ResourceDescriptor.Style`\n\nNamespace\n---------\n\nGoogle \\\\ Api \\\\ ResourceDescriptor\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STYLE_UNSPECIFIED\n\n Value: 0\n\nThe unspecified value. Do not use.\n\nGenerated from protobuf enum `STYLE_UNSPECIFIED = 0;`\n\n### DECLARATIVE_FRIENDLY\n\n Value: 1\n\nThis resource is intended to be \"declarative-friendly\".\n\nDeclarative-friendly resources must be more strictly consistent, and\nsetting this to true communicates to tools that this resource should\nadhere to declarative-friendly expectations.\nNote: This is used by the API linter (linter.aip.dev) to enable\nadditional checks.\n\nGenerated from protobuf enum `DECLARATIVE_FRIENDLY = 1;`"]]