Google Cloud Gke Hub V1 Client - Class GetMembershipRequest (0.6.3)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class GetMembershipRequest.

Request message for GkeHub.GetMembership method.

Generated from protobuf message google.cloud.gkehub.v1.GetMembershipRequest

Methods

build

Parameter
NameDescription
name string

Required. The Membership resource name in the format projects/*/locations/*/memberships/*. Please see {@see \Google\Cloud\GkeHub\V1\GkeHubClient::membershipName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\GkeHub\V1\GetMembershipRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

getName

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

Returns
TypeDescription
string

setName

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this