Google Cloud Gke Hub V1beta1 Client - Class MembershipState (0.9.5)

Reference documentation and code samples for the Google Cloud Gke Hub V1beta1 Client class MembershipState.

State of the Membership resource.

Generated from protobuf message google.cloud.gkehub.v1beta1.MembershipState

Namespace

Google \ Cloud \ GkeHub \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ code int

Output only. The current state of the Membership resource.

↳ description string

This field is never set by the Hub Service.

↳ update_time Google\Protobuf\Timestamp

This field is never set by the Hub Service.

getCode

Output only. The current state of the Membership resource.

Returns
Type Description
int

setCode

Output only. The current state of the Membership resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getDescription

This field is never set by the Hub Service.

Returns
Type Description
string

setDescription

This field is never set by the Hub Service.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpdateTime

This field is never set by the Hub Service.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

This field is never set by the Hub Service.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this