Class: Google::Apis::ManagerV1beta2::ReplicaPoolParams

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

Overview

Configuration information for a ReplicaPools resource. Specifying an item within will determine the ReplicaPools API version used for a ReplicaPoolModule. Only one may be specified.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReplicaPoolParams

Returns a new instance of ReplicaPoolParams



1054
1055
1056
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1054

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

Instance Attribute Details

#v1beta1Google::Apis::ManagerV1beta2::ReplicaPoolParamsV1Beta1

Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate. Corresponds to the JSON property v1beta1



1052
1053
1054
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1052

def v1beta1
  @v1beta1
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1059
1060
1061
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1059

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