Class: Google::Cloud::GkeHub::V1beta1::KubernetesResource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1beta1/membership.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#connect_resources::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest> (readonly)

Returns 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.

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.



199
200
201
202
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 199

class KubernetesResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_cr_manifest::String

Returns 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.



199
200
201
202
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 199

class KubernetesResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_resources::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest> (readonly)

Returns 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.

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.



199
200
201
202
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 199

class KubernetesResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_options::Google::Cloud::GkeHub::V1beta1::ResourceOptions

Returns Optional. Options for Kubernetes resource generation.

Returns:



199
200
201
202
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 199

class KubernetesResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end