Google Anthos Multi Cloud V1 Client - Class GenerateAttachedClusterAgentTokenRequest (1.1.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class GenerateAttachedClusterAgentTokenRequest.

Generated from protobuf message google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attached_cluster string

Required.

↳ subject_token string

Required.

↳ subject_token_type string

Required.

↳ version string

Required.

↳ grant_type string

Optional.

↳ audience string

Optional.

↳ scope string

Optional.

↳ requested_token_type string

Optional.

↳ options string

Optional.

getAttachedCluster

Required.

Returns
Type Description
string

setAttachedCluster

Required.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubjectToken

Required.

Returns
Type Description
string

setSubjectToken

Required.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubjectTokenType

Required.

Returns
Type Description
string

setSubjectTokenType

Required.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Required.

Returns
Type Description
string

setVersion

Required.

Parameter
Name Description
var string
Returns
Type Description
$this

getGrantType

Optional.

Returns
Type Description
string

setGrantType

Optional.

Parameter
Name Description
var string
Returns
Type Description
$this

getAudience

Optional.

Returns
Type Description
string

setAudience

Optional.

Parameter
Name Description
var string
Returns
Type Description
$this

getScope

Optional.

Returns
Type Description
string

setScope

Optional.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestedTokenType

Optional.

Returns
Type Description
string

setRequestedTokenType

Optional.

Parameter
Name Description
var string
Returns
Type Description
$this

getOptions

Optional.

Returns
Type Description
string

setOptions

Optional.

Parameter
Name Description
var string
Returns
Type Description
$this