google-apis-compute_beta 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c0c619469fbb47ad3d38657f9dd6e19bc88e13348b69e537bcb48726accaefa
4
- data.tar.gz: f38dc4cb71c30a58bcfb0c4a947fb73ab25cafc62c0ae313414e87989c9627cd
3
+ metadata.gz: 85b021434524c9d443e5aef3f133b0a98d3ece761e75791c8ab67635c2ea8004
4
+ data.tar.gz: bc5d391849a3036f160337cdb75f2f6463d7837252f95d1bbd5be6e5b55d56c6
5
5
  SHA512:
6
- metadata.gz: 943534bd538370cfad26d22a16a791613c31d0898cf0c568e3d18727869da48fcfed124a4f0820d4d4eb1a22aeed21d343fab8f9f21080fe4fd0fb5ef631362a
7
- data.tar.gz: 3187a2c3f8870cb28276055ff219b52a6ed034a788042df66de1ef7930ba3b7a241b4c864be52322f409b8db0152da4832be4e43a02e61dcd627d4d605f4e046
6
+ metadata.gz: b72fac32edef24d34440b098e03d84847fcc3f003eefa503d0df39f05134f9d3b5ff9ecb35ad7468906881b3e16616f63d6e8060fc19d3c8cc60050ad9cee8e9
7
+ data.tar.gz: 5d598303fe4aa4adfa7add2c2c01153f1d856d68f503c033f48c27a085154e9fe48bdaf8a47d2379097db83bfedbda9fc93e4dbf611fb59e4cd6d67e598399cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.32.0 (2022-04-21)
4
+
5
+ * Regenerated from discovery document revision 20220420
6
+
3
7
  ### v0.31.0 (2022-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20220322
@@ -1328,9 +1328,10 @@ module Google
1328
1328
 
1329
1329
  # [Input Only] Specifies the parameters for a new disk that will be created
1330
1330
  # alongside the new instance. Use initialization parameters to create boot disks
1331
- # or local SSDs attached to the new instance. This property is mutually
1332
- # exclusive with the source property; you can only define one or the other, but
1333
- # not both.
1331
+ # or local SSDs attached to the new instance. This field is persisted and
1332
+ # returned for instanceTemplate and not returned in the context of instance.
1333
+ # This property is mutually exclusive with the source property; you can only
1334
+ # define one or the other, but not both.
1334
1335
  # Corresponds to the JSON property `initializeParams`
1335
1336
  # @return [Google::Apis::ComputeBeta::AttachedDiskInitializeParams]
1336
1337
  attr_accessor :initialize_params
@@ -1430,9 +1431,10 @@ module Google
1430
1431
 
1431
1432
  # [Input Only] Specifies the parameters for a new disk that will be created
1432
1433
  # alongside the new instance. Use initialization parameters to create boot disks
1433
- # or local SSDs attached to the new instance. This property is mutually
1434
- # exclusive with the source property; you can only define one or the other, but
1435
- # not both.
1434
+ # or local SSDs attached to the new instance. This field is persisted and
1435
+ # returned for instanceTemplate and not returned in the context of instance.
1436
+ # This property is mutually exclusive with the source property; you can only
1437
+ # define one or the other, but not both.
1436
1438
  class AttachedDiskInitializeParams
1437
1439
  include Google::Apis::Core::Hashable
1438
1440
 
@@ -2952,9 +2954,9 @@ module Google
2952
2954
  # @return [Array<String>]
2953
2955
  attr_accessor :include_http_headers
2954
2956
 
2955
- # Names of query string parameters to include in cache keys. All other
2956
- # parameters will be excluded. '&' and '=' will be percent encoded and not
2957
- # treated as delimiters.
2957
+ # Names of query string parameters to include in cache keys. Default parameters
2958
+ # are always included. '&' and '=' will be percent encoded and not treated as
2959
+ # delimiters.
2958
2960
  # Corresponds to the JSON property `queryStringWhitelist`
2959
2961
  # @return [Array<String>]
2960
2962
  attr_accessor :query_string_whitelist
@@ -4628,7 +4630,7 @@ module Google
4628
4630
  # @return [Google::Apis::ComputeBeta::Expr]
4629
4631
  attr_accessor :condition
4630
4632
 
4631
- # Specifies the principals requesting access for a Cloud Platform resource. `
4633
+ # Specifies the principals requesting access for a Google Cloud resource. `
4632
4634
  # members` can have the following values: * `allUsers`: A special identifier
4633
4635
  # that represents anyone who is on the internet; with or without a Google
4634
4636
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -12742,6 +12744,12 @@ module Google
12742
12744
  # @return [Fixnum]
12743
12745
  attr_accessor :id
12744
12746
 
12747
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
12748
+ # NONE". The default value is "NONE" if it is not specified.
12749
+ # Corresponds to the JSON property `keyRevocationActionType`
12750
+ # @return [String]
12751
+ attr_accessor :key_revocation_action_type
12752
+
12745
12753
  # [Output Only] Type of the resource. Always compute#instance for instances.
12746
12754
  # Corresponds to the JSON property `kind`
12747
12755
  # @return [String]
@@ -12965,6 +12973,7 @@ module Google
12965
12973
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
12966
12974
  @hostname = args[:hostname] if args.key?(:hostname)
12967
12975
  @id = args[:id] if args.key?(:id)
12976
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
12968
12977
  @kind = args[:kind] if args.key?(:kind)
12969
12978
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
12970
12979
  @labels = args[:labels] if args.key?(:labels)
@@ -13553,6 +13562,12 @@ module Google
13553
13562
  class InstanceGroupManager
13554
13563
  include Google::Apis::Core::Hashable
13555
13564
 
13565
+ # Specifies configuration that overrides the instance template configuration for
13566
+ # the group.
13567
+ # Corresponds to the JSON property `allInstancesConfig`
13568
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig]
13569
+ attr_accessor :all_instances_config
13570
+
13556
13571
  # The autohealing policy for this managed instance group. You can specify only
13557
13572
  # one value.
13558
13573
  # Corresponds to the JSON property `autoHealingPolicies`
@@ -13716,6 +13731,7 @@ module Google
13716
13731
 
13717
13732
  # Update properties of this object
13718
13733
  def update!(**args)
13734
+ @all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
13719
13735
  @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
13720
13736
  @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
13721
13737
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -13982,6 +13998,25 @@ module Google
13982
13998
  end
13983
13999
  end
13984
14000
 
14001
+ #
14002
+ class InstanceGroupManagerAllInstancesConfig
14003
+ include Google::Apis::Core::Hashable
14004
+
14005
+ # Represents the change that you want to make to the instance properties.
14006
+ # Corresponds to the JSON property `properties`
14007
+ # @return [Google::Apis::ComputeBeta::InstancePropertiesPatch]
14008
+ attr_accessor :properties
14009
+
14010
+ def initialize(**args)
14011
+ update!(**args)
14012
+ end
14013
+
14014
+ # Update properties of this object
14015
+ def update!(**args)
14016
+ @properties = args[:properties] if args.key?(:properties)
14017
+ end
14018
+ end
14019
+
13985
14020
  #
13986
14021
  class InstanceGroupManagerAutoHealingPolicy
13987
14022
  include Google::Apis::Core::Hashable
@@ -14134,6 +14169,11 @@ module Google
14134
14169
  class InstanceGroupManagerStatus
14135
14170
  include Google::Apis::Core::Hashable
14136
14171
 
14172
+ # [Output only] Status of all-instances configuration on the group.
14173
+ # Corresponds to the JSON property `allInstancesConfig`
14174
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig]
14175
+ attr_accessor :all_instances_config
14176
+
14137
14177
  # [Output Only] The URL of the Autoscaler that targets this instance group
14138
14178
  # manager.
14139
14179
  # Corresponds to the JSON property `autoscaler`
@@ -14168,6 +14208,7 @@ module Google
14168
14208
 
14169
14209
  # Update properties of this object
14170
14210
  def update!(**args)
14211
+ @all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
14171
14212
  @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
14172
14213
  @is_stable = args[:is_stable] if args.key?(:is_stable)
14173
14214
  @stateful = args[:stateful] if args.key?(:stateful)
@@ -14175,6 +14216,34 @@ module Google
14175
14216
  end
14176
14217
  end
14177
14218
 
14219
+ #
14220
+ class InstanceGroupManagerStatusAllInstancesConfig
14221
+ include Google::Apis::Core::Hashable
14222
+
14223
+ # [Output Only] Current all-instances configuration revision. This value is in
14224
+ # RFC3339 text format.
14225
+ # Corresponds to the JSON property `currentRevision`
14226
+ # @return [String]
14227
+ attr_accessor :current_revision
14228
+
14229
+ # [Output Only] A bit indicating whether this configuration has been applied to
14230
+ # all managed instances in the group.
14231
+ # Corresponds to the JSON property `effective`
14232
+ # @return [Boolean]
14233
+ attr_accessor :effective
14234
+ alias_method :effective?, :effective
14235
+
14236
+ def initialize(**args)
14237
+ update!(**args)
14238
+ end
14239
+
14240
+ # Update properties of this object
14241
+ def update!(**args)
14242
+ @current_revision = args[:current_revision] if args.key?(:current_revision)
14243
+ @effective = args[:effective] if args.key?(:effective)
14244
+ end
14245
+ end
14246
+
14178
14247
  #
14179
14248
  class InstanceGroupManagerStatusStateful
14180
14249
  include Google::Apis::Core::Hashable
@@ -14182,8 +14251,9 @@ module Google
14182
14251
  # [Output Only] A bit indicating whether the managed instance group has stateful
14183
14252
  # configuration, that is, if you have configured any items in a stateful policy
14184
14253
  # or in per-instance configs. The group might report that it has no stateful
14185
- # config even when there is still some preserved state on a managed instance,
14186
- # for example, if you have deleted all PICs but not yet applied those deletions.
14254
+ # configuration even when there is still some preserved state on a managed
14255
+ # instance, for example, if you have deleted all PICs but not yet applied those
14256
+ # deletions.
14187
14257
  # Corresponds to the JSON property `hasStatefulConfig`
14188
14258
  # @return [Boolean]
14189
14259
  attr_accessor :has_stateful_config
@@ -14192,15 +14262,15 @@ module Google
14192
14262
  # [Output Only] A bit indicating whether the managed instance group has stateful
14193
14263
  # configuration, that is, if you have configured any items in a stateful policy
14194
14264
  # or in per-instance configs. The group might report that it has no stateful
14195
- # config even when there is still some preserved state on a managed instance,
14196
- # for example, if you have deleted all PICs but not yet applied those deletions.
14197
- # This field is deprecated in favor of has_stateful_config.
14265
+ # configuration even when there is still some preserved state on a managed
14266
+ # instance, for example, if you have deleted all PICs but not yet applied those
14267
+ # deletions. This field is deprecated in favor of has_stateful_config.
14198
14268
  # Corresponds to the JSON property `isStateful`
14199
14269
  # @return [Boolean]
14200
14270
  attr_accessor :is_stateful
14201
14271
  alias_method :is_stateful?, :is_stateful
14202
14272
 
14203
- # [Output Only] Status of per-instance configs on the instance.
14273
+ # [Output Only] Status of per-instance configurations on the instance.
14204
14274
  # Corresponds to the JSON property `perInstanceConfigs`
14205
14275
  # @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
14206
14276
  attr_accessor :per_instance_configs
@@ -14221,9 +14291,9 @@ module Google
14221
14291
  class InstanceGroupManagerStatusStatefulPerInstanceConfigs
14222
14292
  include Google::Apis::Core::Hashable
14223
14293
 
14224
- # A bit indicating if all of the group's per-instance configs (listed in the
14225
- # output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
14226
- # are no per-instance-configs.
14294
+ # A bit indicating if all of the group's per-instance configurations (listed in
14295
+ # the output of a listPerInstanceConfigs API call) have status EFFECTIVE or
14296
+ # there are no per-instance-configs.
14227
14297
  # Corresponds to the JSON property `allEffective`
14228
14298
  # @return [Boolean]
14229
14299
  attr_accessor :all_effective
@@ -14684,8 +14754,8 @@ module Google
14684
14754
  class InstanceGroupManagersPatchPerInstanceConfigsReq
14685
14755
  include Google::Apis::Core::Hashable
14686
14756
 
14687
- # The list of per-instance configs to insert or patch on this managed instance
14688
- # group.
14757
+ # The list of per-instance configurations to insert or patch on this managed
14758
+ # instance group.
14689
14759
  # Corresponds to the JSON property `perInstanceConfigs`
14690
14760
  # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
14691
14761
  attr_accessor :per_instance_configs
@@ -14932,8 +15002,8 @@ module Google
14932
15002
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
14933
15003
  include Google::Apis::Core::Hashable
14934
15004
 
14935
- # The list of per-instance configs to insert or patch on this managed instance
14936
- # group.
15005
+ # The list of per-instance configurations to insert or patch on this managed
15006
+ # instance group.
14937
15007
  # Corresponds to the JSON property `perInstanceConfigs`
14938
15008
  # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
14939
15009
  attr_accessor :per_instance_configs
@@ -15685,6 +15755,12 @@ module Google
15685
15755
  # @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
15686
15756
  attr_accessor :guest_accelerators
15687
15757
 
15758
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
15759
+ # NONE". The default value is "NONE" if it is not specified.
15760
+ # Corresponds to the JSON property `keyRevocationActionType`
15761
+ # @return [String]
15762
+ attr_accessor :key_revocation_action_type
15763
+
15688
15764
  # Labels to apply to instances that are created from these properties.
15689
15765
  # Corresponds to the JSON property `labels`
15690
15766
  # @return [Hash<String,String>]
@@ -15791,6 +15867,7 @@ module Google
15791
15867
  @disks = args[:disks] if args.key?(:disks)
15792
15868
  @display_device = args[:display_device] if args.key?(:display_device)
15793
15869
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
15870
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
15794
15871
  @labels = args[:labels] if args.key?(:labels)
15795
15872
  @machine_type = args[:machine_type] if args.key?(:machine_type)
15796
15873
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -15810,6 +15887,32 @@ module Google
15810
15887
  end
15811
15888
  end
15812
15889
 
15890
+ # Represents the change that you want to make to the instance properties.
15891
+ class InstancePropertiesPatch
15892
+ include Google::Apis::Core::Hashable
15893
+
15894
+ # The label key-value pairs that you want to patch onto the instance.
15895
+ # Corresponds to the JSON property `labels`
15896
+ # @return [Hash<String,String>]
15897
+ attr_accessor :labels
15898
+
15899
+ # The metadata key-value pairs that you want to patch onto the instance. For
15900
+ # more information, see Project and instance metadata.
15901
+ # Corresponds to the JSON property `metadata`
15902
+ # @return [Hash<String,String>]
15903
+ attr_accessor :metadata
15904
+
15905
+ def initialize(**args)
15906
+ update!(**args)
15907
+ end
15908
+
15909
+ # Update properties of this object
15910
+ def update!(**args)
15911
+ @labels = args[:labels] if args.key?(:labels)
15912
+ @metadata = args[:metadata] if args.key?(:metadata)
15913
+ end
15914
+ end
15915
+
15813
15916
  #
15814
15917
  class InstanceReference
15815
15918
  include Google::Apis::Core::Hashable
@@ -18594,6 +18697,11 @@ module Google
18594
18697
  class LocationPolicyLocation
18595
18698
  include Google::Apis::Core::Hashable
18596
18699
 
18700
+ # Per-zone constraints on location policy for this zone.
18701
+ # Corresponds to the JSON property `constraints`
18702
+ # @return [Google::Apis::ComputeBeta::LocationPolicyLocationConstraints]
18703
+ attr_accessor :constraints
18704
+
18597
18705
  # Preference for a given location.
18598
18706
  # Corresponds to the JSON property `preference`
18599
18707
  # @return [String]
@@ -18605,10 +18713,31 @@ module Google
18605
18713
 
18606
18714
  # Update properties of this object
18607
18715
  def update!(**args)
18716
+ @constraints = args[:constraints] if args.key?(:constraints)
18608
18717
  @preference = args[:preference] if args.key?(:preference)
18609
18718
  end
18610
18719
  end
18611
18720
 
18721
+ # Per-zone constraints on location policy for this zone.
18722
+ class LocationPolicyLocationConstraints
18723
+ include Google::Apis::Core::Hashable
18724
+
18725
+ # Maximum number of items that are allowed to be placed in this zone. The value
18726
+ # must be non-negative.
18727
+ # Corresponds to the JSON property `maxCount`
18728
+ # @return [Fixnum]
18729
+ attr_accessor :max_count
18730
+
18731
+ def initialize(**args)
18732
+ update!(**args)
18733
+ end
18734
+
18735
+ # Update properties of this object
18736
+ def update!(**args)
18737
+ @max_count = args[:max_count] if args.key?(:max_count)
18738
+ end
18739
+ end
18740
+
18612
18741
  # This is deprecated and has no effect. Do not use.
18613
18742
  class LogConfig
18614
18743
  include Google::Apis::Core::Hashable
@@ -19473,6 +19602,12 @@ module Google
19473
19602
  class ManagedInstance
19474
19603
  include Google::Apis::Core::Hashable
19475
19604
 
19605
+ # [Output Only] Current all-instances configuration revision applied to this
19606
+ # instance.
19607
+ # Corresponds to the JSON property `allInstancesConfig`
19608
+ # @return [Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig]
19609
+ attr_accessor :all_instances_config
19610
+
19476
19611
  # [Output Only] The current action that the managed instance group has scheduled
19477
19612
  # for the instance. Possible values: - NONE The instance is running, and the
19478
19613
  # managed instance group does not have any scheduled actions for this instance. -
@@ -19545,6 +19680,7 @@ module Google
19545
19680
 
19546
19681
  # Update properties of this object
19547
19682
  def update!(**args)
19683
+ @all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
19548
19684
  @current_action = args[:current_action] if args.key?(:current_action)
19549
19685
  @id = args[:id] if args.key?(:id)
19550
19686
  @instance = args[:instance] if args.key?(:instance)
@@ -19557,6 +19693,26 @@ module Google
19557
19693
  end
19558
19694
  end
19559
19695
 
19696
+ #
19697
+ class ManagedInstanceAllInstancesConfig
19698
+ include Google::Apis::Core::Hashable
19699
+
19700
+ # [Output Only] Current all-instances configuration revision. This value is in
19701
+ # RFC3339 text format.
19702
+ # Corresponds to the JSON property `revision`
19703
+ # @return [String]
19704
+ attr_accessor :revision
19705
+
19706
+ def initialize(**args)
19707
+ update!(**args)
19708
+ end
19709
+
19710
+ # Update properties of this object
19711
+ def update!(**args)
19712
+ @revision = args[:revision] if args.key?(:revision)
19713
+ end
19714
+ end
19715
+
19560
19716
  #
19561
19717
  class ManagedInstanceInstanceHealth
19562
19718
  include Google::Apis::Core::Hashable
@@ -20452,7 +20608,8 @@ module Google
20452
20608
  attr_accessor :network_endpoint_type
20453
20609
 
20454
20610
  # The target service url used to set up private service connection to a Google
20455
- # API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
20611
+ # API or a PSC Producer Service Attachment. An example value is: "asia-
20612
+ # northeast3-cloudkms.googleapis.com"
20456
20613
  # Corresponds to the JSON property `pscTargetService`
20457
20614
  # @return [String]
20458
20615
  attr_accessor :psc_target_service
@@ -25450,18 +25607,18 @@ module Google
25450
25607
  # Fingerprint of this per-instance config. This field can be used in optimistic
25451
25608
  # locking. It is ignored when inserting a per-instance config. An up-to-date
25452
25609
  # fingerprint must be provided in order to update an existing per-instance
25453
- # config or the field needs to be unset.
25610
+ # configuration or the field needs to be unset.
25454
25611
  # Corresponds to the JSON property `fingerprint`
25455
25612
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
25456
25613
  # @return [String]
25457
25614
  attr_accessor :fingerprint
25458
25615
 
25459
- # The name of a per-instance config and its corresponding instance. Serves as a
25460
- # merge key during UpdatePerInstanceConfigs operations, that is, if a per-
25461
- # instance config with the same name exists then it will be updated, otherwise a
25462
- # new one will be created for the VM instance with the same name. An attempt to
25463
- # create a per-instance config for a VM instance that either doesn't exist or is
25464
- # not part of the group will result in an error.
25616
+ # The name of a per-instance configuration and its corresponding instance.
25617
+ # Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if
25618
+ # a per-instance configuration with the same name exists then it will be updated,
25619
+ # otherwise a new one will be created for the VM instance with the same name.
25620
+ # An attempt to create a per-instance configconfiguration for a VM instance that
25621
+ # either doesn't exist or is not part of the group will result in an error.
25465
25622
  # Corresponds to the JSON property `name`
25466
25623
  # @return [String]
25467
25624
  attr_accessor :name
@@ -25471,8 +25628,8 @@ module Google
25471
25628
  # @return [Google::Apis::ComputeBeta::PreservedState]
25472
25629
  attr_accessor :preserved_state
25473
25630
 
25474
- # The status of applying this per-instance config on the corresponding managed
25475
- # instance.
25631
+ # The status of applying this per-instance configuration on the corresponding
25632
+ # managed instance.
25476
25633
  # Corresponds to the JSON property `status`
25477
25634
  # @return [String]
25478
25635
  attr_accessor :status
@@ -27475,8 +27632,8 @@ module Google
27475
27632
  class RegionInstanceGroupManagerPatchInstanceConfigReq
27476
27633
  include Google::Apis::Core::Hashable
27477
27634
 
27478
- # The list of per-instance configs to insert or patch on this managed instance
27479
- # group.
27635
+ # The list of per-instance configurations to insert or patch on this managed
27636
+ # instance group.
27480
27637
  # Corresponds to the JSON property `perInstanceConfigs`
27481
27638
  # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
27482
27639
  attr_accessor :per_instance_configs
@@ -27495,8 +27652,8 @@ module Google
27495
27652
  class RegionInstanceGroupManagerUpdateInstanceConfigReq
27496
27653
  include Google::Apis::Core::Hashable
27497
27654
 
27498
- # The list of per-instance configs to insert or patch on this managed instance
27499
- # group.
27655
+ # The list of per-instance configurations to insert or patch on this managed
27656
+ # instance group.
27500
27657
  # Corresponds to the JSON property `perInstanceConfigs`
27501
27658
  # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
27502
27659
  attr_accessor :per_instance_configs
@@ -30317,6 +30474,11 @@ module Google
30317
30474
  # @return [String]
30318
30475
  attr_accessor :kind
30319
30476
 
30477
+ # Keys used for MD5 authentication.
30478
+ # Corresponds to the JSON property `md5AuthenticationKeys`
30479
+ # @return [Array<Google::Apis::ComputeBeta::RouterMd5AuthenticationKey>]
30480
+ attr_accessor :md5_authentication_keys
30481
+
30320
30482
  # Name of the resource. Provided by the client when the resource is created. The
30321
30483
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
30322
30484
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -30363,6 +30525,7 @@ module Google
30363
30525
  @id = args[:id] if args.key?(:id)
30364
30526
  @interfaces = args[:interfaces] if args.key?(:interfaces)
30365
30527
  @kind = args[:kind] if args.key?(:kind)
30528
+ @md5_authentication_keys = args[:md5_authentication_keys] if args.key?(:md5_authentication_keys)
30366
30529
  @name = args[:name] if args.key?(:name)
30367
30530
  @nats = args[:nats] if args.key?(:nats)
30368
30531
  @network = args[:network] if args.key?(:network)
@@ -30658,6 +30821,13 @@ module Google
30658
30821
  # @return [String]
30659
30822
  attr_accessor :management_type
30660
30823
 
30824
+ # Present if MD5 authentication is enabled for the peering. Must be the name of
30825
+ # one of the entries in the Router.md5_authentication_keys. The field must
30826
+ # comply with RFC1035.
30827
+ # Corresponds to the JSON property `md5AuthenticationKeyName`
30828
+ # @return [String]
30829
+ attr_accessor :md5_authentication_key_name
30830
+
30661
30831
  # Name of this BGP peer. The name must be 1-63 characters long, and comply with
30662
30832
  # RFC1035. Specifically, the name must be 1-63 characters long and match the
30663
30833
  # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
@@ -30710,6 +30880,7 @@ module Google
30710
30880
  @ip_address = args[:ip_address] if args.key?(:ip_address)
30711
30881
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
30712
30882
  @management_type = args[:management_type] if args.key?(:management_type)
30883
+ @md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
30713
30884
  @name = args[:name] if args.key?(:name)
30714
30885
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
30715
30886
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
@@ -30978,6 +31149,35 @@ module Google
30978
31149
  end
30979
31150
  end
30980
31151
 
31152
+ #
31153
+ class RouterMd5AuthenticationKey
31154
+ include Google::Apis::Core::Hashable
31155
+
31156
+ # [Input only] Value of the key. For patch and update calls, it can be skipped
31157
+ # to copy the value from the previous configuration. This is allowed if the key
31158
+ # with the same name existed before the operation. Maximum length is 80
31159
+ # characters. Can only contain printable ASCII characters.
31160
+ # Corresponds to the JSON property `key`
31161
+ # @return [String]
31162
+ attr_accessor :key
31163
+
31164
+ # Name used to identify the key. Must be unique within a router. Must be
31165
+ # referenced by at least one bgpPeer. Must comply with RFC1035.
31166
+ # Corresponds to the JSON property `name`
31167
+ # @return [String]
31168
+ attr_accessor :name
31169
+
31170
+ def initialize(**args)
31171
+ update!(**args)
31172
+ end
31173
+
31174
+ # Update properties of this object
31175
+ def update!(**args)
31176
+ @key = args[:key] if args.key?(:key)
31177
+ @name = args[:name] if args.key?(:name)
31178
+ end
31179
+ end
31180
+
30981
31181
  # Represents a Nat resource. It enables the VMs within the specified subnetworks
30982
31182
  # to access Internet without external IP addresses. It specifies a list of
30983
31183
  # subnetworks (and the ranges within) that want to use NAT. Customers can also
@@ -31342,6 +31542,12 @@ module Google
31342
31542
  # @return [String]
31343
31543
  attr_accessor :linked_vpn_tunnel
31344
31544
 
31545
+ # Informs whether MD5 authentication is enabled on this BGP peer.
31546
+ # Corresponds to the JSON property `md5AuthEnabled`
31547
+ # @return [Boolean]
31548
+ attr_accessor :md5_auth_enabled
31549
+ alias_method :md5_auth_enabled?, :md5_auth_enabled
31550
+
31345
31551
  # Name of this BGP peer. Unique within the Routers resource.
31346
31552
  # Corresponds to the JSON property `name`
31347
31553
  # @return [String]
@@ -31375,6 +31581,11 @@ module Google
31375
31581
  # @return [String]
31376
31582
  attr_accessor :status
31377
31583
 
31584
+ # Indicates why particular status was returned.
31585
+ # Corresponds to the JSON property `statusReason`
31586
+ # @return [String]
31587
+ attr_accessor :status_reason
31588
+
31378
31589
  # Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours,
31379
31590
  # 59 minutes, 59 seconds
31380
31591
  # Corresponds to the JSON property `uptime`
@@ -31396,12 +31607,14 @@ module Google
31396
31607
  @bfd_status = args[:bfd_status] if args.key?(:bfd_status)
31397
31608
  @ip_address = args[:ip_address] if args.key?(:ip_address)
31398
31609
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
31610
+ @md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
31399
31611
  @name = args[:name] if args.key?(:name)
31400
31612
  @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
31401
31613
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
31402
31614
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
31403
31615
  @state = args[:state] if args.key?(:state)
31404
31616
  @status = args[:status] if args.key?(:status)
31617
+ @status_reason = args[:status_reason] if args.key?(:status_reason)
31405
31618
  @uptime = args[:uptime] if args.key?(:uptime)
31406
31619
  @uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
31407
31620
  end
@@ -34717,6 +34930,12 @@ module Google
34717
34930
  # @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
34718
34931
  attr_accessor :guest_accelerators
34719
34932
 
34933
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
34934
+ # NONE". The default value is "NONE" if it is not specified.
34935
+ # Corresponds to the JSON property `keyRevocationActionType`
34936
+ # @return [String]
34937
+ attr_accessor :key_revocation_action_type
34938
+
34720
34939
  # Labels to apply to instances that are created from this machine image.
34721
34940
  # Corresponds to the JSON property `labels`
34722
34941
  # @return [Hash<String,String>]
@@ -34780,6 +34999,7 @@ module Google
34780
34999
  @description = args[:description] if args.key?(:description)
34781
35000
  @disks = args[:disks] if args.key?(:disks)
34782
35001
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
35002
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
34783
35003
  @labels = args[:labels] if args.key?(:labels)
34784
35004
  @machine_type = args[:machine_type] if args.key?(:machine_type)
34785
35005
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -39235,6 +39455,12 @@ module Google
39235
39455
  # @return [String]
39236
39456
  attr_accessor :proxy_header
39237
39457
 
39458
+ # [Output Only] URL of the region where the regional TCP proxy resides. This
39459
+ # field is not applicable to global TCP proxy.
39460
+ # Corresponds to the JSON property `region`
39461
+ # @return [String]
39462
+ attr_accessor :region
39463
+
39238
39464
  # [Output Only] Server-defined URL for the resource.
39239
39465
  # Corresponds to the JSON property `selfLink`
39240
39466
  # @return [String]
@@ -39258,6 +39484,7 @@ module Google
39258
39484
  @name = args[:name] if args.key?(:name)
39259
39485
  @proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
39260
39486
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
39487
+ @region = args[:region] if args.key?(:region)
39261
39488
  @self_link = args[:self_link] if args.key?(:self_link)
39262
39489
  @service = args[:service] if args.key?(:service)
39263
39490
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220322"
25
+ REVISION = "20220420"
26
26
  end
27
27
  end
28
28
  end
@@ -1570,6 +1570,12 @@ module Google
1570
1570
  include Google::Apis::Core::JsonObjectSupport
1571
1571
  end
1572
1572
 
1573
+ class InstanceGroupManagerAllInstancesConfig
1574
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1575
+
1576
+ include Google::Apis::Core::JsonObjectSupport
1577
+ end
1578
+
1573
1579
  class InstanceGroupManagerAutoHealingPolicy
1574
1580
  class Representation < Google::Apis::Core::JsonRepresentation; end
1575
1581
 
@@ -1600,6 +1606,12 @@ module Google
1600
1606
  include Google::Apis::Core::JsonObjectSupport
1601
1607
  end
1602
1608
 
1609
+ class InstanceGroupManagerStatusAllInstancesConfig
1610
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1611
+
1612
+ include Google::Apis::Core::JsonObjectSupport
1613
+ end
1614
+
1603
1615
  class InstanceGroupManagerStatusStateful
1604
1616
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1617
 
@@ -1882,6 +1894,12 @@ module Google
1882
1894
  include Google::Apis::Core::JsonObjectSupport
1883
1895
  end
1884
1896
 
1897
+ class InstancePropertiesPatch
1898
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1899
+
1900
+ include Google::Apis::Core::JsonObjectSupport
1901
+ end
1902
+
1885
1903
  class InstanceReference
1886
1904
  class Representation < Google::Apis::Core::JsonRepresentation; end
1887
1905
 
@@ -2260,6 +2278,12 @@ module Google
2260
2278
  include Google::Apis::Core::JsonObjectSupport
2261
2279
  end
2262
2280
 
2281
+ class LocationPolicyLocationConstraints
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2263
2287
  class LogConfig
2264
2288
  class Representation < Google::Apis::Core::JsonRepresentation; end
2265
2289
 
@@ -2386,6 +2410,12 @@ module Google
2386
2410
  include Google::Apis::Core::JsonObjectSupport
2387
2411
  end
2388
2412
 
2413
+ class ManagedInstanceAllInstancesConfig
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2389
2419
  class ManagedInstanceInstanceHealth
2390
2420
  class Representation < Google::Apis::Core::JsonRepresentation; end
2391
2421
 
@@ -4018,6 +4048,12 @@ module Google
4018
4048
  include Google::Apis::Core::JsonObjectSupport
4019
4049
  end
4020
4050
 
4051
+ class RouterMd5AuthenticationKey
4052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4053
+
4054
+ include Google::Apis::Core::JsonObjectSupport
4055
+ end
4056
+
4021
4057
  class RouterNat
4022
4058
  class Representation < Google::Apis::Core::JsonRepresentation; end
4023
4059
 
@@ -8530,6 +8566,7 @@ module Google
8530
8566
 
8531
8567
  property :hostname, as: 'hostname'
8532
8568
  property :id, :numeric_string => true, as: 'id'
8569
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
8533
8570
  property :kind, as: 'kind'
8534
8571
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
8535
8572
  hash :labels, as: 'labels'
@@ -8718,6 +8755,8 @@ module Google
8718
8755
  class InstanceGroupManager
8719
8756
  # @private
8720
8757
  class Representation < Google::Apis::Core::JsonRepresentation
8758
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAllInstancesConfig::Representation
8759
+
8721
8760
  collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy::Representation
8722
8761
 
8723
8762
  property :base_instance_name, as: 'baseInstanceName'
@@ -8805,6 +8844,14 @@ module Google
8805
8844
  end
8806
8845
  end
8807
8846
 
8847
+ class InstanceGroupManagerAllInstancesConfig
8848
+ # @private
8849
+ class Representation < Google::Apis::Core::JsonRepresentation
8850
+ property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstancePropertiesPatch, decorator: Google::Apis::ComputeBeta::InstancePropertiesPatch::Representation
8851
+
8852
+ end
8853
+ end
8854
+
8808
8855
  class InstanceGroupManagerAutoHealingPolicy
8809
8856
  # @private
8810
8857
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8848,6 +8895,8 @@ module Google
8848
8895
  class InstanceGroupManagerStatus
8849
8896
  # @private
8850
8897
  class Representation < Google::Apis::Core::JsonRepresentation
8898
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAllInstancesConfig::Representation
8899
+
8851
8900
  property :autoscaler, as: 'autoscaler'
8852
8901
  property :is_stable, as: 'isStable'
8853
8902
  property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation
@@ -8857,6 +8906,14 @@ module Google
8857
8906
  end
8858
8907
  end
8859
8908
 
8909
+ class InstanceGroupManagerStatusAllInstancesConfig
8910
+ # @private
8911
+ class Representation < Google::Apis::Core::JsonRepresentation
8912
+ property :current_revision, as: 'currentRevision'
8913
+ property :effective, as: 'effective'
8914
+ end
8915
+ end
8916
+
8860
8917
  class InstanceGroupManagerStatusStateful
8861
8918
  # @private
8862
8919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9291,6 +9348,7 @@ module Google
9291
9348
 
9292
9349
  collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
9293
9350
 
9351
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
9294
9352
  hash :labels, as: 'labels'
9295
9353
  property :machine_type, as: 'machineType'
9296
9354
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
@@ -9319,6 +9377,14 @@ module Google
9319
9377
  end
9320
9378
  end
9321
9379
 
9380
+ class InstancePropertiesPatch
9381
+ # @private
9382
+ class Representation < Google::Apis::Core::JsonRepresentation
9383
+ hash :labels, as: 'labels'
9384
+ hash :metadata, as: 'metadata'
9385
+ end
9386
+ end
9387
+
9322
9388
  class InstanceReference
9323
9389
  # @private
9324
9390
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10008,10 +10074,19 @@ module Google
10008
10074
  class LocationPolicyLocation
10009
10075
  # @private
10010
10076
  class Representation < Google::Apis::Core::JsonRepresentation
10077
+ property :constraints, as: 'constraints', class: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints, decorator: Google::Apis::ComputeBeta::LocationPolicyLocationConstraints::Representation
10078
+
10011
10079
  property :preference, as: 'preference'
10012
10080
  end
10013
10081
  end
10014
10082
 
10083
+ class LocationPolicyLocationConstraints
10084
+ # @private
10085
+ class Representation < Google::Apis::Core::JsonRepresentation
10086
+ property :max_count, as: 'maxCount'
10087
+ end
10088
+ end
10089
+
10015
10090
  class LogConfig
10016
10091
  # @private
10017
10092
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10244,6 +10319,8 @@ module Google
10244
10319
  class ManagedInstance
10245
10320
  # @private
10246
10321
  class Representation < Google::Apis::Core::JsonRepresentation
10322
+ property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig, decorator: Google::Apis::ComputeBeta::ManagedInstanceAllInstancesConfig::Representation
10323
+
10247
10324
  property :current_action, as: 'currentAction'
10248
10325
  property :id, :numeric_string => true, as: 'id'
10249
10326
  property :instance, as: 'instance'
@@ -10261,6 +10338,13 @@ module Google
10261
10338
  end
10262
10339
  end
10263
10340
 
10341
+ class ManagedInstanceAllInstancesConfig
10342
+ # @private
10343
+ class Representation < Google::Apis::Core::JsonRepresentation
10344
+ property :revision, as: 'revision'
10345
+ end
10346
+ end
10347
+
10264
10348
  class ManagedInstanceInstanceHealth
10265
10349
  # @private
10266
10350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13058,6 +13142,8 @@ module Google
13058
13142
  collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation
13059
13143
 
13060
13144
  property :kind, as: 'kind'
13145
+ collection :md5_authentication_keys, as: 'md5AuthenticationKeys', class: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey, decorator: Google::Apis::ComputeBeta::RouterMd5AuthenticationKey::Representation
13146
+
13061
13147
  property :name, as: 'name'
13062
13148
  collection :nats, as: 'nats', class: Google::Apis::ComputeBeta::RouterNat, decorator: Google::Apis::ComputeBeta::RouterNat::Representation
13063
13149
 
@@ -13136,6 +13222,7 @@ module Google
13136
13222
  property :ip_address, as: 'ipAddress'
13137
13223
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
13138
13224
  property :management_type, as: 'managementType'
13225
+ property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
13139
13226
  property :name, as: 'name'
13140
13227
  property :peer_asn, as: 'peerAsn'
13141
13228
  property :peer_ip_address, as: 'peerIpAddress'
@@ -13200,6 +13287,14 @@ module Google
13200
13287
  end
13201
13288
  end
13202
13289
 
13290
+ class RouterMd5AuthenticationKey
13291
+ # @private
13292
+ class Representation < Google::Apis::Core::JsonRepresentation
13293
+ property :key, as: 'key'
13294
+ property :name, as: 'name'
13295
+ end
13296
+ end
13297
+
13203
13298
  class RouterNat
13204
13299
  # @private
13205
13300
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13286,12 +13381,14 @@ module Google
13286
13381
 
13287
13382
  property :ip_address, as: 'ipAddress'
13288
13383
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
13384
+ property :md5_auth_enabled, as: 'md5AuthEnabled'
13289
13385
  property :name, as: 'name'
13290
13386
  property :num_learned_routes, as: 'numLearnedRoutes'
13291
13387
  property :peer_ip_address, as: 'peerIpAddress'
13292
13388
  property :router_appliance_instance, as: 'routerApplianceInstance'
13293
13389
  property :state, as: 'state'
13294
13390
  property :status, as: 'status'
13391
+ property :status_reason, as: 'statusReason'
13295
13392
  property :uptime, as: 'uptime'
13296
13393
  property :uptime_seconds, as: 'uptimeSeconds'
13297
13394
  end
@@ -14134,6 +14231,7 @@ module Google
14134
14231
 
14135
14232
  collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
14136
14233
 
14234
+ property :key_revocation_action_type, as: 'keyRevocationActionType'
14137
14235
  hash :labels, as: 'labels'
14138
14236
  property :machine_type, as: 'machineType'
14139
14237
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
@@ -15254,6 +15352,7 @@ module Google
15254
15352
  property :name, as: 'name'
15255
15353
  property :proxy_bind, as: 'proxyBind'
15256
15354
  property :proxy_header, as: 'proxyHeader'
15355
+ property :region, as: 'region'
15257
15356
  property :self_link, as: 'selfLink'
15258
15357
  property :service, as: 'service'
15259
15358
  end
@@ -9051,8 +9051,8 @@ module Google
9051
9051
  execute_or_queue_command(command, &block)
9052
9052
  end
9053
9053
 
9054
- # Creates instances with per-instance configs in this managed instance group.
9055
- # Instances are created using the current instance template. The create
9054
+ # Creates instances with per-instance configurations in this managed instance
9055
+ # group. Instances are created using the current instance template. The create
9056
9056
  # instances operation is marked DONE if the createInstances request is
9057
9057
  # successful. The underlying actions take additional time. You must separately
9058
9058
  # verify the status of the creating or actions with the listmanagedinstances
@@ -9224,7 +9224,7 @@ module Google
9224
9224
  execute_or_queue_command(command, &block)
9225
9225
  end
9226
9226
 
9227
- # Deletes selected per-instance configs for the managed instance group.
9227
+ # Deletes selected per-instance configurations for the managed instance group.
9228
9228
  # @param [String] project
9229
9229
  # Project ID for this request.
9230
9230
  # @param [String] zone
@@ -9620,8 +9620,8 @@ module Google
9620
9620
  execute_or_queue_command(command, &block)
9621
9621
  end
9622
9622
 
9623
- # Lists all of the per-instance configs defined for the managed instance group.
9624
- # The orderBy query parameter is not supported.
9623
+ # Lists all of the per-instance configurations defined for the managed instance
9624
+ # group. The orderBy query parameter is not supported.
9625
9625
  # @param [String] project
9626
9626
  # Project ID for this request.
9627
9627
  # @param [String] zone
@@ -9767,7 +9767,7 @@ module Google
9767
9767
  execute_or_queue_command(command, &block)
9768
9768
  end
9769
9769
 
9770
- # Inserts or patches per-instance configs for the managed instance group.
9770
+ # Inserts or patches per-instance configurations for the managed instance group.
9771
9771
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
9772
9772
  # insert or patch.
9773
9773
  # @param [String] project
@@ -10289,7 +10289,7 @@ module Google
10289
10289
  execute_or_queue_command(command, &block)
10290
10290
  end
10291
10291
 
10292
- # Inserts or updates per-instance configs for the managed instance group.
10292
+ # Inserts or updates per-instance configurations for the managed instance group.
10293
10293
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
10294
10294
  # insert or patch.
10295
10295
  # @param [String] project
@@ -24707,9 +24707,9 @@ module Google
24707
24707
  execute_or_queue_command(command, &block)
24708
24708
  end
24709
24709
 
24710
- # Creates instances with per-instance configs in this regional managed instance
24711
- # group. Instances are created using the current instance template. The create
24712
- # instances operation is marked DONE if the createInstances request is
24710
+ # Creates instances with per-instance configurations in this regional managed
24711
+ # instance group. Instances are created using the current instance template. The
24712
+ # create instances operation is marked DONE if the createInstances request is
24713
24713
  # successful. The underlying actions take additional time. You must separately
24714
24714
  # verify the status of the creating or actions with the listmanagedinstances
24715
24715
  # method.
@@ -24879,7 +24879,7 @@ module Google
24879
24879
  execute_or_queue_command(command, &block)
24880
24880
  end
24881
24881
 
24882
- # Deletes selected per-instance configs for the managed instance group.
24882
+ # Deletes selected per-instance configurations for the managed instance group.
24883
24883
  # @param [String] project
24884
24884
  # Project ID for this request.
24885
24885
  # @param [String] region
@@ -25268,8 +25268,8 @@ module Google
25268
25268
  execute_or_queue_command(command, &block)
25269
25269
  end
25270
25270
 
25271
- # Lists all of the per-instance configs defined for the managed instance group.
25272
- # The orderBy query parameter is not supported.
25271
+ # Lists all of the per-instance configurations defined for the managed instance
25272
+ # group. The orderBy query parameter is not supported.
25273
25273
  # @param [String] project
25274
25274
  # Project ID for this request.
25275
25275
  # @param [String] region
@@ -25414,7 +25414,7 @@ module Google
25414
25414
  execute_or_queue_command(command, &block)
25415
25415
  end
25416
25416
 
25417
- # Inserts or patches per-instance configs for the managed instance group.
25417
+ # Inserts or patches per-instance configurations for the managed instance group.
25418
25418
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25419
25419
  # insert or patch.
25420
25420
  # @param [String] project
@@ -25923,7 +25923,7 @@ module Google
25923
25923
  execute_or_queue_command(command, &block)
25924
25924
  end
25925
25925
 
25926
- # Inserts or updates per-instance configs for the managed instance group.
25926
+ # Inserts or updates per-instance configurations for the managed instance group.
25927
25927
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25928
25928
  # insert or patch.
25929
25929
  # @param [String] project
@@ -29168,6 +29168,269 @@ module Google
29168
29168
  execute_or_queue_command(command, &block)
29169
29169
  end
29170
29170
 
29171
+ # Deletes the specified TargetTcpProxy resource.
29172
+ # @param [String] project
29173
+ # Project ID for this request.
29174
+ # @param [String] region
29175
+ # Name of the region scoping this request.
29176
+ # @param [String] target_tcp_proxy
29177
+ # Name of the TargetTcpProxy resource to delete.
29178
+ # @param [String] request_id
29179
+ # An optional request ID to identify requests. Specify a unique request ID so
29180
+ # that if you must retry your request, the server will know to ignore the
29181
+ # request if it has already been completed. For example, consider a situation
29182
+ # where you make an initial request and the request times out. If you make the
29183
+ # request again with the same request ID, the server can check if original
29184
+ # operation with the same request ID was received, and if so, will ignore the
29185
+ # second request. This prevents clients from accidentally creating duplicate
29186
+ # commitments. The request ID must be a valid UUID with the exception that zero
29187
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29188
+ # @param [String] fields
29189
+ # Selector specifying which fields to include in a partial response.
29190
+ # @param [String] quota_user
29191
+ # Available to use for quota purposes for server-side applications. Can be any
29192
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29193
+ # @param [String] user_ip
29194
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29195
+ # @param [Google::Apis::RequestOptions] options
29196
+ # Request-specific options
29197
+ #
29198
+ # @yield [result, err] Result & error if block supplied
29199
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29200
+ # @yieldparam err [StandardError] error object if request failed
29201
+ #
29202
+ # @return [Google::Apis::ComputeBeta::Operation]
29203
+ #
29204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29207
+ def delete_region_target_tcp_proxy(project, region, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29208
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29209
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29210
+ command.response_class = Google::Apis::ComputeBeta::Operation
29211
+ command.params['project'] = project unless project.nil?
29212
+ command.params['region'] = region unless region.nil?
29213
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29214
+ command.query['requestId'] = request_id unless request_id.nil?
29215
+ command.query['fields'] = fields unless fields.nil?
29216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29217
+ command.query['userIp'] = user_ip unless user_ip.nil?
29218
+ execute_or_queue_command(command, &block)
29219
+ end
29220
+
29221
+ # Returns the specified TargetTcpProxy resource.
29222
+ # @param [String] project
29223
+ # Project ID for this request.
29224
+ # @param [String] region
29225
+ # Name of the region scoping this request.
29226
+ # @param [String] target_tcp_proxy
29227
+ # Name of the TargetTcpProxy resource to return.
29228
+ # @param [String] fields
29229
+ # Selector specifying which fields to include in a partial response.
29230
+ # @param [String] quota_user
29231
+ # Available to use for quota purposes for server-side applications. Can be any
29232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29233
+ # @param [String] user_ip
29234
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29235
+ # @param [Google::Apis::RequestOptions] options
29236
+ # Request-specific options
29237
+ #
29238
+ # @yield [result, err] Result & error if block supplied
29239
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxy] parsed result object
29240
+ # @yieldparam err [StandardError] error object if request failed
29241
+ #
29242
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxy]
29243
+ #
29244
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29245
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29246
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29247
+ def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29248
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29249
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29250
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy
29251
+ command.params['project'] = project unless project.nil?
29252
+ command.params['region'] = region unless region.nil?
29253
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29254
+ command.query['fields'] = fields unless fields.nil?
29255
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29256
+ command.query['userIp'] = user_ip unless user_ip.nil?
29257
+ execute_or_queue_command(command, &block)
29258
+ end
29259
+
29260
+ # Creates a TargetTcpProxy resource in the specified project and region using
29261
+ # the data included in the request.
29262
+ # @param [String] project
29263
+ # Project ID for this request.
29264
+ # @param [String] region
29265
+ # Name of the region scoping this request.
29266
+ # @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object
29267
+ # @param [String] request_id
29268
+ # An optional request ID to identify requests. Specify a unique request ID so
29269
+ # that if you must retry your request, the server will know to ignore the
29270
+ # request if it has already been completed. For example, consider a situation
29271
+ # where you make an initial request and the request times out. If you make the
29272
+ # request again with the same request ID, the server can check if original
29273
+ # operation with the same request ID was received, and if so, will ignore the
29274
+ # second request. This prevents clients from accidentally creating duplicate
29275
+ # commitments. The request ID must be a valid UUID with the exception that zero
29276
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29277
+ # @param [String] fields
29278
+ # Selector specifying which fields to include in a partial response.
29279
+ # @param [String] quota_user
29280
+ # Available to use for quota purposes for server-side applications. Can be any
29281
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29282
+ # @param [String] user_ip
29283
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29284
+ # @param [Google::Apis::RequestOptions] options
29285
+ # Request-specific options
29286
+ #
29287
+ # @yield [result, err] Result & error if block supplied
29288
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29289
+ # @yieldparam err [StandardError] error object if request failed
29290
+ #
29291
+ # @return [Google::Apis::ComputeBeta::Operation]
29292
+ #
29293
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29294
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29295
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29296
+ def insert_region_target_tcp_proxy(project, region, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29297
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29298
+ command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29299
+ command.request_object = target_tcp_proxy_object
29300
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29301
+ command.response_class = Google::Apis::ComputeBeta::Operation
29302
+ command.params['project'] = project unless project.nil?
29303
+ command.params['region'] = region unless region.nil?
29304
+ command.query['requestId'] = request_id unless request_id.nil?
29305
+ command.query['fields'] = fields unless fields.nil?
29306
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29307
+ command.query['userIp'] = user_ip unless user_ip.nil?
29308
+ execute_or_queue_command(command, &block)
29309
+ end
29310
+
29311
+ # Retrieves a list of TargetTcpProxy resources available to the specified
29312
+ # project in a given region.
29313
+ # @param [String] project
29314
+ # Project ID for this request.
29315
+ # @param [String] region
29316
+ # Name of the region scoping this request.
29317
+ # @param [String] filter
29318
+ # A filter expression that filters resources listed in the response. The
29319
+ # expression must specify the field name, an operator, and the value that you
29320
+ # want to use for filtering. The value must be a string, a number, or a boolean.
29321
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
29322
+ # example, if you are filtering Compute Engine instances, you can exclude
29323
+ # instances named `example-instance` by specifying `name != example-instance`.
29324
+ # The `:` operator can be used with string fields to match substrings. For non-
29325
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
29326
+ # used to test whether a key has been defined. For example, to find all objects
29327
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
29328
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
29329
+ # to include instances only if they are not scheduled for automatic restarts.
29330
+ # You can use filtering on nested fields to filter based on resource labels. To
29331
+ # filter on multiple expressions, provide each separate expression within
29332
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
29333
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
29334
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
29335
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
29336
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
29337
+ # @param [Fixnum] max_results
29338
+ # The maximum number of results per page that should be returned. If the number
29339
+ # of available results is larger than `maxResults`, Compute Engine returns a `
29340
+ # nextPageToken` that can be used to get the next page of results in subsequent
29341
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
29342
+ # @param [String] order_by
29343
+ # Sorts list results by a certain order. By default, results are returned in
29344
+ # alphanumerical order based on the resource name. You can also sort results in
29345
+ # descending order based on the creation timestamp using `orderBy="
29346
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
29347
+ # field in reverse chronological order (newest result first). Use this to sort
29348
+ # resources like operations so that the newest operation is returned first.
29349
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
29350
+ # @param [String] page_token
29351
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
29352
+ # by a previous list request to get the next page of results.
29353
+ # @param [Boolean] return_partial_success
29354
+ # Opt-in for partial success behavior which provides partial results in case of
29355
+ # failure. The default value is false.
29356
+ # @param [String] fields
29357
+ # Selector specifying which fields to include in a partial response.
29358
+ # @param [String] quota_user
29359
+ # Available to use for quota purposes for server-side applications. Can be any
29360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29361
+ # @param [String] user_ip
29362
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29363
+ # @param [Google::Apis::RequestOptions] options
29364
+ # Request-specific options
29365
+ #
29366
+ # @yield [result, err] Result & error if block supplied
29367
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxyList] parsed result object
29368
+ # @yieldparam err [StandardError] error object if request failed
29369
+ #
29370
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxyList]
29371
+ #
29372
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29373
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29374
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29375
+ def list_region_target_tcp_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29376
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29377
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation
29378
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList
29379
+ command.params['project'] = project unless project.nil?
29380
+ command.params['region'] = region unless region.nil?
29381
+ command.query['filter'] = filter unless filter.nil?
29382
+ command.query['maxResults'] = max_results unless max_results.nil?
29383
+ command.query['orderBy'] = order_by unless order_by.nil?
29384
+ command.query['pageToken'] = page_token unless page_token.nil?
29385
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
29386
+ command.query['fields'] = fields unless fields.nil?
29387
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29388
+ command.query['userIp'] = user_ip unless user_ip.nil?
29389
+ execute_or_queue_command(command, &block)
29390
+ end
29391
+
29392
+ # Returns permissions that a caller has on the specified resource.
29393
+ # @param [String] project
29394
+ # Project ID for this request.
29395
+ # @param [String] region
29396
+ # The name of the region for this request.
29397
+ # @param [String] resource
29398
+ # Name or id of the resource for this request.
29399
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
29400
+ # @param [String] fields
29401
+ # Selector specifying which fields to include in a partial response.
29402
+ # @param [String] quota_user
29403
+ # Available to use for quota purposes for server-side applications. Can be any
29404
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29405
+ # @param [String] user_ip
29406
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29407
+ # @param [Google::Apis::RequestOptions] options
29408
+ # Request-specific options
29409
+ #
29410
+ # @yield [result, err] Result & error if block supplied
29411
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
29412
+ # @yieldparam err [StandardError] error object if request failed
29413
+ #
29414
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
29415
+ #
29416
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29417
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29418
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29419
+ def test_region_target_tcp_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29420
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions', options)
29421
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
29422
+ command.request_object = test_permissions_request_object
29423
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
29424
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
29425
+ command.params['project'] = project unless project.nil?
29426
+ command.params['region'] = region unless region.nil?
29427
+ command.params['resource'] = resource unless resource.nil?
29428
+ command.query['fields'] = fields unless fields.nil?
29429
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29430
+ command.query['userIp'] = user_ip unless user_ip.nil?
29431
+ execute_or_queue_command(command, &block)
29432
+ end
29433
+
29171
29434
  # Deletes the specified UrlMap resource.
29172
29435
  # @param [String] project
29173
29436
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2022-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []