Google Cloud Dataplex V1 Client - Class GetEnvironmentRequest (1.11.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class GetEnvironmentRequest.

Get environment request.

Generated from protobuf messagegoogle.cloud.dataplex.v1.GetEnvironmentRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The resource name of the environment:projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}.

getName

Required. The resource name of the environment:projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}.

Returns
TypeDescription
string

setName

Required. The resource name of the environment:projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. The resource name of the environment:projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}. Please seeDataplexServiceClient::environmentName() for help formatting this field.

Returns
TypeDescription
GetEnvironmentRequest

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-08 UTC.