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

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

Request message for GkeHubMembershipService.GenerateConnectManifest method.

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

Namespace

Google \ Cloud \ GkeHub \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The Membership resource name the Agent will associate with, in the format projects/*/locations/*/memberships/*.

↳ connect_agent Google\Cloud\GkeHub\V1beta1\ConnectAgent

Optional. The connect agent to generate manifest for.

↳ version string

Optional. The Connect agent version to use. Defaults to the most current version.

↳ is_upgrade bool

Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.

↳ registry string

Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.

↳ image_pull_secret_content string

Optional. The image pull secret content for the registry, if not public.

getName

Required. The Membership resource name the Agent will associate with, in the format projects/*/locations/*/memberships/*.

Returns
Type Description
string

setName

Required. The Membership resource name the Agent will associate with, in the format projects/*/locations/*/memberships/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getConnectAgent

Optional. The connect agent to generate manifest for.

Returns
Type Description
Google\Cloud\GkeHub\V1beta1\ConnectAgent|null

hasConnectAgent

clearConnectAgent

setConnectAgent

Optional. The connect agent to generate manifest for.

Parameter
Name Description
var Google\Cloud\GkeHub\V1beta1\ConnectAgent
Returns
Type Description
$this

getVersion

Optional. The Connect agent version to use. Defaults to the most current version.

Returns
Type Description
string

setVersion

Optional. The Connect agent version to use. Defaults to the most current version.

Parameter
Name Description
var string
Returns
Type Description
$this

getIsUpgrade

Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.

Returns
Type Description
bool

setIsUpgrade

Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.

Parameter
Name Description
var bool
Returns
Type Description
$this

getRegistry

Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.

Returns
Type Description
string

setRegistry

Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.

Parameter
Name Description
var string
Returns
Type Description
$this

getImagePullSecretContent

Optional. The image pull secret content for the registry, if not public.

Returns
Type Description
string

setImagePullSecretContent

Optional. The image pull secret content for the registry, if not public.

Parameter
Name Description
var string
Returns
Type Description
$this