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

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
NameDescription
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
TypeDescription
int

setCode

Output only. The current state of the Membership resource.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDescription

This field is never set by the Hub Service.

Returns
TypeDescription
string

setDescription

This field is never set by the Hub Service.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUpdateTime

This field is never set by the Hub Service.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

This field is never set by the Hub Service.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this