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

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

Namespace

Google \ Cloud \ GkeHub \ V1

Methods

__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

static::build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\GkeHub\V1\GetMembershipRequest