Class: Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec

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

Overview

Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.

Defined Under Namespace

Modules: Management

Instance Attribute Summary collapse

Instance Attribute Details

#cluster::String

Returns The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.

Returns:

  • (::String)

    The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end

#config_sync::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync

Returns Config Sync configuration for the cluster.

Returns:



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end

#hierarchy_controller::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig

Returns Hierarchy Controller configuration for the cluster.

Returns:



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end

#management::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management

Returns Enables automatic Feature management.

Returns:



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end

#policy_controller::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController

Returns Policy Controller configuration for the cluster.

Returns:



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end

#version::String

Returns Version of ACM installed.

Returns:

  • (::String)

    Version of ACM installed.



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 78

class MembershipSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether to automatically manage the Feature.
  module Management
    # Unspecified
    MANAGEMENT_UNSPECIFIED = 0

    # Google will manage the Feature for the cluster.
    MANAGEMENT_AUTOMATIC = 1

    # User will manually manage the Feature for the cluster.
    MANAGEMENT_MANUAL = 2
  end
end