Generated from protobuf messagegoogle.cloud.shell.v1.GetEnvironmentRequest
Namespace
Google \ Cloud \ Shell \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the requested resource, for exampleusers/me/environments/defaultorusers/someone@example.com/environments/default.
getName
Required. Name of the requested resource, for exampleusers/me/environments/defaultorusers/someone@example.com/environments/default.
Returns
Type
Description
string
setName
Required. Name of the requested resource, for exampleusers/me/environments/defaultorusers/someone@example.com/environments/default.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Name of the requested resource, for exampleusers/me/environments/defaultorusers/someone@example.com/environments/default. Please seeCloudShellServiceClient::environmentName()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 Shell V1 Client - Class GetEnvironmentRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-shell/latest/V1.GetEnvironmentRequest)\n- [2.0.4](/php/docs/reference/cloud-shell/2.0.4/V1.GetEnvironmentRequest)\n- [1.3.5](/php/docs/reference/cloud-shell/1.3.5/V1.GetEnvironmentRequest)\n- [1.2.2](/php/docs/reference/cloud-shell/1.2.2/V1.GetEnvironmentRequest)\n- [1.1.1](/php/docs/reference/cloud-shell/1.1.1/V1.GetEnvironmentRequest)\n- [1.0.4](/php/docs/reference/cloud-shell/1.0.4/V1.GetEnvironmentRequest) \nReference documentation and code samples for the Google Cloud Shell V1 Client class GetEnvironmentRequest.\n\nRequest message for\n[GetEnvironment](/php/docs/reference/cloud-shell/latest/V1.Client.CloudShellServiceClient#_Google_Cloud_Shell_V1_Client_CloudShellServiceClient__getEnvironment__).\n\nGenerated from protobuf message `google.cloud.shell.v1.GetEnvironmentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Shell \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the requested resource, for example `users/me/environments/default`\nor `users/someone@example.com/environments/default`.\n\n### setName\n\nRequired. Name of the requested resource, for example `users/me/environments/default`\nor `users/someone@example.com/environments/default`.\n\n### static::build"]]