Reference documentation and code samples for the Google Cloud Config V1 Client class GetTerraformVersionRequest.
The request message for the GetTerraformVersion method.
Generated from protobuf messagegoogle.cloud.config.v1.GetTerraformVersionRequest
Namespace
Google \ Cloud \ Config \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
getName
Required. The name of the TerraformVersion. Format:
'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
Returns
Type
Description
string
setName
Required. The name of the TerraformVersion. Format:
'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the TerraformVersion. Format:
'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
Please seeConfigClient::terraformVersionName()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-04 UTC."],[],[],null,["# Google Cloud Config V1 Client - Class GetTerraformVersionRequest (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-config/latest/V1.GetTerraformVersionRequest)\n- [1.4.0](/php/docs/reference/cloud-config/1.4.0/V1.GetTerraformVersionRequest)\n- [1.3.0](/php/docs/reference/cloud-config/1.3.0/V1.GetTerraformVersionRequest)\n- [1.2.1](/php/docs/reference/cloud-config/1.2.1/V1.GetTerraformVersionRequest)\n- [1.1.0](/php/docs/reference/cloud-config/1.1.0/V1.GetTerraformVersionRequest)\n- [1.0.1](/php/docs/reference/cloud-config/1.0.1/V1.GetTerraformVersionRequest)\n- [0.5.2](/php/docs/reference/cloud-config/0.5.2/V1.GetTerraformVersionRequest)\n- [0.2.0](/php/docs/reference/cloud-config/0.2.0/V1.GetTerraformVersionRequest)\n- [0.1.3](/php/docs/reference/cloud-config/0.1.3/V1.GetTerraformVersionRequest) \nReference documentation and code samples for the Google Cloud Config V1 Client class GetTerraformVersionRequest.\n\nThe request message for the GetTerraformVersion method.\n\nGenerated from protobuf message `google.cloud.config.v1.GetTerraformVersionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Config \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the TerraformVersion. Format:\n'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'\n\n### setName\n\nRequired. The name of the TerraformVersion. Format:\n'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'\n\n### static::build"]]