Generated from protobuf messagegoogle.cloud.gkehub.v1.GenerateConnectManifestRequest
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 the Agent will associate with, in the formatprojects/*/locations/*/memberships/*.
↳ namespace
string
Optional. Namespace for GKE Connect agent resources. Defaults togke-connect. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.
↳ proxy
string
Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the formhttp(s)://{proxy_address}, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.
↳ 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 formatprojects/*/locations/*/memberships/*.
Returns
Type
Description
string
setName
Required. The Membership resource name the Agent will associate with, in
the formatprojects/*/locations/*/memberships/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNamespace
Optional. Namespace for GKE Connect agent resources. Defaults togke-connect.
The Connect Agent is authorized automatically when run in the default
namespace. Otherwise, explicit authorization must be granted with an
additional IAM binding.
Returns
Type
Description
string
setNamespace
Optional. Namespace for GKE Connect agent resources. Defaults togke-connect.
The Connect Agent is authorized automatically when run in the default
namespace. Otherwise, explicit authorization must be granted with an
additional IAM binding.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getProxy
Optional. URI of a proxy if connectivity from the agent to
gkeconnect.googleapis.com requires the use of a proxy. Format must be in
the formhttp(s)://{proxy_address}, depending on the HTTP/HTTPS protocol
supported by the proxy. This will direct the connect agent's outbound
traffic through a HTTP(S) proxy.
Returns
Type
Description
string
setProxy
Optional. URI of a proxy if connectivity from the agent to
gkeconnect.googleapis.com requires the use of a proxy. Format must be in
the formhttp(s)://{proxy_address}, depending on the HTTP/HTTPS protocol
supported by the proxy. This will direct the connect agent's outbound
traffic through a HTTP(S) proxy.
Parameter
Name
Description
var
string
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Hub V1 Client - Class GenerateConnectManifestRequest (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/V1.GenerateConnectManifestRequest)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/V1.GenerateConnectManifestRequest)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/V1.GenerateConnectManifestRequest)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/V1.GenerateConnectManifestRequest)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/V1.GenerateConnectManifestRequest)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/V1.GenerateConnectManifestRequest)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/V1.GenerateConnectManifestRequest)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/V1.GenerateConnectManifestRequest) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class GenerateConnectManifestRequest.\n\nRequest message for `GkeHub.GenerateConnectManifest`\nmethod.\n\n.\n\nGenerated from protobuf message `google.cloud.gkehub.v1.GenerateConnectManifestRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The Membership resource name the Agent will associate with, in\nthe format `projects/*/locations/*/memberships/*`.\n\n### setName\n\nRequired. The Membership resource name the Agent will associate with, in\nthe format `projects/*/locations/*/memberships/*`.\n\n### getNamespace\n\nOptional. Namespace for GKE Connect agent resources. Defaults to\n`gke-connect`.\n\nThe Connect Agent is authorized automatically when run in the default\nnamespace. Otherwise, explicit authorization must be granted with an\nadditional IAM binding.\n\n### setNamespace\n\nOptional. Namespace for GKE Connect agent resources. Defaults to\n`gke-connect`.\n\nThe Connect Agent is authorized automatically when run in the default\nnamespace. Otherwise, explicit authorization must be granted with an\nadditional IAM binding.\n\n### getProxy\n\nOptional. URI of a proxy if connectivity from the agent to\ngkeconnect.googleapis.com requires the use of a proxy. Format must be in\nthe form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol\nsupported by the proxy. This will direct the connect agent's outbound\ntraffic through a HTTP(S) proxy.\n\n### setProxy\n\nOptional. URI of a proxy if connectivity from the agent to\ngkeconnect.googleapis.com requires the use of a proxy. Format must be in\nthe form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol\nsupported by the proxy. This will direct the connect agent's outbound\ntraffic through a HTTP(S) proxy.\n\n### getVersion\n\nOptional. The Connect agent version to use. Defaults to the most current\nversion.\n\n### setVersion\n\nOptional. The Connect agent version to use. Defaults to the most current\nversion.\n\n### getIsUpgrade\n\nOptional. If true, generate the resources for upgrade only. Some resources\ngenerated only for installation (e.g. secrets) will be excluded.\n\n### setIsUpgrade\n\nOptional. If true, generate the resources for upgrade only. Some resources\ngenerated only for installation (e.g. secrets) will be excluded.\n\n### getRegistry\n\nOptional. The registry to fetch the connect agent image from. Defaults to\ngcr.io/gkeconnect.\n\n### setRegistry\n\nOptional. The registry to fetch the connect agent image from. Defaults to\ngcr.io/gkeconnect.\n\n### getImagePullSecretContent\n\nOptional. The image pull secret content for the registry, if not public.\n\n### setImagePullSecretContent\n\nOptional. The image pull secret content for the registry, if not public."]]