Class: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb

Overview

Multi-cluster Ingress: The configuration for the MultiClusterIngress feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiClusterIngressFeatureSpec

Returns a new instance of MultiClusterIngressFeatureSpec.



4122
4123
4124
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4122

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#config_membershipString

Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar Corresponds to the JSON property configMembership

Returns:

  • (String)


4120
4121
4122
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4120

def config_membership
  @config_membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4127
4128
4129
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4127

def update!(**args)
  @config_membership = args[:config_membership] if args.key?(:config_membership)
end