Reference documentation and code samples for the Google Cloud Api Hub V1 Client class GetStyleGuideContentsRequest.
The GetStyleGuideContents method's request.
Generated from protobuf message google.cloud.apihub.v1.GetStyleGuideContentsRequest
Namespace
Google \ Cloud \ ApiHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is projects/{project}/locations/{location}/plugins/{plugin}/styleGuide.
getName
Required. The name of the StyleGuide whose contents need to be retrieved.
There is exactly one style guide resource per project per location.
The expected format is
projects/{project}/locations/{location}/plugins/{plugin}/styleGuide.
Returns
Type
Description
string
setName
Required. The name of the StyleGuide whose contents need to be retrieved.
There is exactly one style guide resource per project per location.
The expected format is
projects/{project}/locations/{location}/plugins/{plugin}/styleGuide.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the StyleGuide whose contents need to be retrieved.
There is exactly one style guide resource per project per location.
The expected format is
projects/{project}/locations/{location}/plugins/{plugin}/styleGuide. Please see
LintingServiceClient::styleGuideName() for help formatting this field.
[[["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-09 UTC."],[],[],null,["# Google Cloud Api Hub V1 Client - Class GetStyleGuideContentsRequest (0.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.1 (latest)](/php/docs/reference/cloud-apihub/latest/V1.GetStyleGuideContentsRequest)\n- [0.2.0](/php/docs/reference/cloud-apihub/0.2.0/V1.GetStyleGuideContentsRequest)\n- [0.1.4](/php/docs/reference/cloud-apihub/0.1.4/V1.GetStyleGuideContentsRequest) \nReference documentation and code samples for the Google Cloud Api Hub V1 Client class GetStyleGuideContentsRequest.\n\nThe GetStyleGuideContents method's request.\n\nGenerated from protobuf message `google.cloud.apihub.v1.GetStyleGuideContentsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the StyleGuide whose contents need to be retrieved.\n\nThere is exactly one style guide resource per project per location.\nThe expected format is\n`projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.\n\n### setName\n\nRequired. The name of the StyleGuide whose contents need to be retrieved.\n\nThere is exactly one style guide resource per project per location.\nThe expected format is\n`projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.\n\n### static::build"]]