Class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



3058
3059
3060
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3058

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)


3050
3051
3052
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3050

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)


3056
3057
3058
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3056

def config_membership
  @config_membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3063
3064
3065
3066
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3063

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