Class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



1918
1919
1920
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1918

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

Instance Attribute Details

#billingString

Deprecated: This field will be ignored and should not be set. Customer's billing structure. Corresponds to the JSON property billing

Returns:

  • (String)


1910
1911
1912
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1910

def billing
  @billing
end

#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)


1916
1917
1918
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1916

def config_membership
  @config_membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1923
1924
1925
1926
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1923

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