Class: Google::Apis::BigtableadminV2::PartialUpdateClusterRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::PartialUpdateClusterRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
Request message for BigtableInstanceAdmin.PartialUpdateCluster.
Instance Attribute Summary collapse
-
#cluster ⇒ Google::Apis::BigtableadminV2::Cluster
A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
-
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartialUpdateClusterRequest
constructor
A new instance of PartialUpdateClusterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartialUpdateClusterRequest
Returns a new instance of PartialUpdateClusterRequest.
2918 2919 2920 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ Google::Apis::BigtableadminV2::Cluster
A resizable group of nodes in a particular cloud location, capable of serving
all Tables in the parent Instance.
Corresponds to the JSON property cluster
2911 2912 2913 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2911 def cluster @cluster end |
#update_mask ⇒ String
Required. The subset of Cluster fields which should be replaced.
Corresponds to the JSON property updateMask
2916 2917 2918 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2916 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2923 2924 2925 2926 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2923 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @update_mask = args[:update_mask] if args.key?(:update_mask) end |