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

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetMembershipRequest