GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::KubernetesResource (v0.11.1)

Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::KubernetesResource.

KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connect_resources

def connect_resources() -> ::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>
Returns
  • (::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>) — Output only. The Kubernetes resources for installing the GKE Connect agent

    This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

#membership_cr_manifest

def membership_cr_manifest() -> ::String
Returns
  • (::String) — Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly.

    Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

#membership_cr_manifest=

def membership_cr_manifest=(value) -> ::String
Parameter
  • value (::String) — Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly.

    Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

Returns
  • (::String) — Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly.

    Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

#membership_resources

def membership_resources() -> ::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>
Returns
  • (::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>) — Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update.

    This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

#resource_options

def resource_options() -> ::Google::Cloud::GkeHub::V1beta1::ResourceOptions
Returns

#resource_options=

def resource_options=(value) -> ::Google::Cloud::GkeHub::V1beta1::ResourceOptions
Parameter
Returns