google-apis-compute_alpha 0.30.0 → 0.33.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: c11ac3c8862838ae546f5b1920a6c8be3de284b3bb8d289800125f3b453888b7
4
- data.tar.gz: 02d774facaa383a92409f1674b97bdf80d95f92bda489818742b934484e3ef53
3
+ metadata.gz: 045d64a54ed57bfb077cddbe7ff027301924f5b58ecf0f1b97e9a57ec46cc143
4
+ data.tar.gz: bb24390b6289b8c3abcf966e2b8d3beb16c7c05ebb3683d5bd2852b95ccf5b3d
5
5
  SHA512:
6
- metadata.gz: 73aabfd19e21609103edf2a24bf7c60b3d5dc61211155d22f19e68820af06289d6985da022b96cf25c9f2835f09803f7267005ab745e4fccf908dffcb7fe2af4
7
- data.tar.gz: cd86d34a98e2cdd5387edd38799b93e4e28f3a935635a90bf25cf92a7377db7b3f12734f341d3ea6fb12c83088d41e2cce6fef97beda0b7a45eea447322f75f1
6
+ metadata.gz: 6c4dc2ae28ea1aea8334e1893cb15033736eccc917c0b94de51bbb8b3b1b78442b291ab4c3d2a8b254d61758bf20c3301468f975e01eb572e5dfbf292fea9791
7
+ data.tar.gz: '02799ebe0e8dbb23706986cd6e934e1440b5b62935f968e0c85670a0e7b12f04ecc71391160062fb134f778a3a0f151a58e600883c23394d9d3a53101fe2c4b0'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.33.0 (2022-04-29)
4
+
5
+ * Regenerated from discovery document revision 20220426
6
+
7
+ ### v0.32.0 (2022-04-21)
8
+
9
+ * Regenerated from discovery document revision 20220420
10
+
11
+ ### v0.31.0 (2022-03-30)
12
+
13
+ * Regenerated from discovery document revision 20220322
14
+
3
15
  ### v0.30.0 (2022-03-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220315
@@ -1382,9 +1382,10 @@ module Google
1382
1382
 
1383
1383
  # [Input Only] Specifies the parameters for a new disk that will be created
1384
1384
  # alongside the new instance. Use initialization parameters to create boot disks
1385
- # or local SSDs attached to the new instance. This property is mutually
1386
- # exclusive with the source property; you can only define one or the other, but
1387
- # not both.
1385
+ # or local SSDs attached to the new instance. This field is persisted and
1386
+ # returned for instanceTemplate and not returned in the context of instance.
1387
+ # This property is mutually exclusive with the source property; you can only
1388
+ # define one or the other, but not both.
1388
1389
  # Corresponds to the JSON property `initializeParams`
1389
1390
  # @return [Google::Apis::ComputeAlpha::AttachedDiskInitializeParams]
1390
1391
  attr_accessor :initialize_params
@@ -1495,9 +1496,10 @@ module Google
1495
1496
 
1496
1497
  # [Input Only] Specifies the parameters for a new disk that will be created
1497
1498
  # alongside the new instance. Use initialization parameters to create boot disks
1498
- # or local SSDs attached to the new instance. This property is mutually
1499
- # exclusive with the source property; you can only define one or the other, but
1500
- # not both.
1499
+ # or local SSDs attached to the new instance. This field is persisted and
1500
+ # returned for instanceTemplate and not returned in the context of instance.
1501
+ # This property is mutually exclusive with the source property; you can only
1502
+ # define one or the other, but not both.
1501
1503
  class AttachedDiskInitializeParams
1502
1504
  include Google::Apis::Core::Hashable
1503
1505
 
@@ -3140,9 +3142,9 @@ module Google
3140
3142
  # @return [Array<String>]
3141
3143
  attr_accessor :include_http_headers
3142
3144
 
3143
- # Names of query string parameters to include in cache keys. All other
3144
- # parameters will be excluded. '&' and '=' will be percent encoded and not
3145
- # treated as delimiters.
3145
+ # Names of query string parameters to include in cache keys. Default parameters
3146
+ # are always included. '&' and '=' will be percent encoded and not treated as
3147
+ # delimiters.
3146
3148
  # Corresponds to the JSON property `queryStringWhitelist`
3147
3149
  # @return [Array<String>]
3148
3150
  attr_accessor :query_string_whitelist
@@ -3463,6 +3465,15 @@ module Google
3463
3465
  # @return [String]
3464
3466
  attr_accessor :load_balancing_scheme
3465
3467
 
3468
+ # A list of locality load balancing policies to be used in order of preference.
3469
+ # Either the policy or the customPolicy field should be set. Overrides any value
3470
+ # set in the localityLbPolicy field. localityLbPolicies is only supported when
3471
+ # the BackendService is referenced by a URL Map that is referenced by a target
3472
+ # gRPC proxy that has the validateForProxyless field set to true.
3473
+ # Corresponds to the JSON property `localityLbPolicies`
3474
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
3475
+ attr_accessor :locality_lb_policies
3476
+
3466
3477
  # The load balancing algorithm used within the scope of the locality. The
3467
3478
  # possible values are: - ROUND_ROBIN: This is a simple policy in which each
3468
3479
  # healthy backend is selected in round robin order. This is the default. -
@@ -3652,6 +3663,7 @@ module Google
3652
3663
  @id = args[:id] if args.key?(:id)
3653
3664
  @kind = args[:kind] if args.key?(:kind)
3654
3665
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3666
+ @locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
3655
3667
  @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
3656
3668
  @log_config = args[:log_config] if args.key?(:log_config)
3657
3669
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@@ -4359,6 +4371,88 @@ module Google
4359
4371
  end
4360
4372
  end
4361
4373
 
4374
+ # Container for either a built-in LB policy supported by gRPC or Envoy or a
4375
+ # custom one implemented by the end user.
4376
+ class BackendServiceLocalityLoadBalancingPolicyConfig
4377
+ include Google::Apis::Core::Hashable
4378
+
4379
+ # The configuration for a custom policy implemented by the user and deployed
4380
+ # with the client.
4381
+ # Corresponds to the JSON property `customPolicy`
4382
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
4383
+ attr_accessor :custom_policy
4384
+
4385
+ # The configuration for a built-in load balancing policy.
4386
+ # Corresponds to the JSON property `policy`
4387
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
4388
+ attr_accessor :policy
4389
+
4390
+ def initialize(**args)
4391
+ update!(**args)
4392
+ end
4393
+
4394
+ # Update properties of this object
4395
+ def update!(**args)
4396
+ @custom_policy = args[:custom_policy] if args.key?(:custom_policy)
4397
+ @policy = args[:policy] if args.key?(:policy)
4398
+ end
4399
+ end
4400
+
4401
+ # The configuration for a custom policy implemented by the user and deployed
4402
+ # with the client.
4403
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
4404
+ include Google::Apis::Core::Hashable
4405
+
4406
+ # An optional, arbitrary JSON object with configuration data, understood by a
4407
+ # locally installed custom policy implementation.
4408
+ # Corresponds to the JSON property `data`
4409
+ # @return [String]
4410
+ attr_accessor :data
4411
+
4412
+ # Identifies the custom policy. The value should match the type the custom
4413
+ # implementation is registered with on the gRPC clients. It should follow
4414
+ # protocol buffer message naming conventions and include the full path (e.g.
4415
+ # myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
4416
+ # specifying the same custom policy more than once for a backend is not a valid
4417
+ # configuration and will be rejected.
4418
+ # Corresponds to the JSON property `name`
4419
+ # @return [String]
4420
+ attr_accessor :name
4421
+
4422
+ def initialize(**args)
4423
+ update!(**args)
4424
+ end
4425
+
4426
+ # Update properties of this object
4427
+ def update!(**args)
4428
+ @data = args[:data] if args.key?(:data)
4429
+ @name = args[:name] if args.key?(:name)
4430
+ end
4431
+ end
4432
+
4433
+ # The configuration for a built-in load balancing policy.
4434
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
4435
+ include Google::Apis::Core::Hashable
4436
+
4437
+ # The name of a locality load balancer policy to be used. The value should be
4438
+ # one of the predefined ones as supported by localityLbPolicy, although at the
4439
+ # moment only ROUND_ROBIN is supported. This field should only be populated when
4440
+ # the customPolicy field is not used. Note that specifying the same policy more
4441
+ # than once for a backend is not a valid configuration and will be rejected.
4442
+ # Corresponds to the JSON property `name`
4443
+ # @return [String]
4444
+ attr_accessor :name
4445
+
4446
+ def initialize(**args)
4447
+ update!(**args)
4448
+ end
4449
+
4450
+ # Update properties of this object
4451
+ def update!(**args)
4452
+ @name = args[:name] if args.key?(:name)
4453
+ end
4454
+ end
4455
+
4362
4456
  # The available logging options for the load balancer traffic served by this
4363
4457
  # backend service.
4364
4458
  class BackendServiceLogConfig
@@ -4803,7 +4897,7 @@ module Google
4803
4897
  # @return [Google::Apis::ComputeAlpha::Expr]
4804
4898
  attr_accessor :condition
4805
4899
 
4806
- # Specifies the principals requesting access for a Cloud Platform resource. `
4900
+ # Specifies the principals requesting access for a Google Cloud resource. `
4807
4901
  # members` can have the following values: * `allUsers`: A special identifier
4808
4902
  # that represents anyone who is on the internet; with or without a Google
4809
4903
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -5776,6 +5870,11 @@ module Google
5776
5870
  class ConfidentialInstanceConfig
5777
5871
  include Google::Apis::Core::Hashable
5778
5872
 
5873
+ # Defines the type of technology used by the confidential instance.
5874
+ # Corresponds to the JSON property `confidentialInstanceType`
5875
+ # @return [String]
5876
+ attr_accessor :confidential_instance_type
5877
+
5779
5878
  # Defines whether the instance should have confidential compute enabled.
5780
5879
  # Corresponds to the JSON property `enableConfidentialCompute`
5781
5880
  # @return [Boolean]
@@ -5788,6 +5887,7 @@ module Google
5788
5887
 
5789
5888
  # Update properties of this object
5790
5889
  def update!(**args)
5890
+ @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
5791
5891
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
5792
5892
  end
5793
5893
  end
@@ -14261,7 +14361,8 @@ module Google
14261
14361
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
14262
14362
  attr_accessor :instance_encryption_key
14263
14363
 
14264
- # KeyRevocationActionType of the instance.
14364
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
14365
+ # NONE". The default value is "NONE" if it is not specified.
14265
14366
  # Corresponds to the JSON property `keyRevocationActionType`
14266
14367
  # @return [String]
14267
14368
  attr_accessor :key_revocation_action_type
@@ -15120,8 +15221,8 @@ module Google
15120
15221
  class InstanceGroupManager
15121
15222
  include Google::Apis::Core::Hashable
15122
15223
 
15123
- # Specifies the instances configs overrides that should be applied for all
15124
- # instances in the MIG.
15224
+ # Specifies configuration that overrides the instance template configuration for
15225
+ # the group.
15125
15226
  # Corresponds to the JSON property `allInstancesConfig`
15126
15227
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerAllInstancesConfig]
15127
15228
  attr_accessor :all_instances_config
@@ -15190,7 +15291,7 @@ module Google
15190
15291
  # @return [String]
15191
15292
  attr_accessor :instance_group
15192
15293
 
15193
- # Instance lifecycle policy for this Instance Group Manager.
15294
+ # The repair policy for this managed instance group.
15194
15295
  # Corresponds to the JSON property `instanceLifecyclePolicy`
15195
15296
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy]
15196
15297
  attr_accessor :instance_lifecycle_policy
@@ -15647,11 +15748,6 @@ module Google
15647
15748
  # @return [Google::Apis::ComputeAlpha::FixedOrPercent]
15648
15749
  attr_accessor :max_unavailable
15649
15750
 
15650
- #
15651
- # Corresponds to the JSON property `updateInstances`
15652
- # @return [String]
15653
- attr_accessor :update_instances
15654
-
15655
15751
  def initialize(**args)
15656
15752
  update!(**args)
15657
15753
  end
@@ -15662,7 +15758,6 @@ module Google
15662
15758
  @health_check = args[:health_check] if args.key?(:health_check)
15663
15759
  @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
15664
15760
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
15665
- @update_instances = args[:update_instances] if args.key?(:update_instances)
15666
15761
  end
15667
15762
  end
15668
15763
 
@@ -15695,6 +15790,16 @@ module Google
15695
15790
  class InstanceGroupManagerInstanceLifecyclePolicy
15696
15791
  include Google::Apis::Core::Hashable
15697
15792
 
15793
+ # A bit indicating whether to forcefully apply the group's latest configuration
15794
+ # when repairing a VM. Valid options are: - NO (default): If configuration
15795
+ # updates are available, they are not forcefully applied during repair. However,
15796
+ # if you've set up a proactive type of update policy, then configuration updates
15797
+ # are applied as usual. - YES: If configuration updates are available, they are
15798
+ # applied during repair.
15799
+ # Corresponds to the JSON property `forceUpdateOnRepair`
15800
+ # @return [String]
15801
+ attr_accessor :force_update_on_repair
15802
+
15698
15803
  # The configuration for metadata based readiness signal sent by the instance
15699
15804
  # during initialization when stopping / suspending an instance. The Instance
15700
15805
  # Group Manager will wait for a signal that indicates successful initialization
@@ -15715,6 +15820,7 @@ module Google
15715
15820
 
15716
15821
  # Update properties of this object
15717
15822
  def update!(**args)
15823
+ @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
15718
15824
  @metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
15719
15825
  end
15720
15826
  end
@@ -15880,8 +15986,7 @@ module Google
15880
15986
  class InstanceGroupManagerStatus
15881
15987
  include Google::Apis::Core::Hashable
15882
15988
 
15883
- # [Output Only] A status of consistency of Instances' config applied to
15884
- # instances with Instances' config defined in managed instance group.
15989
+ # [Output only] Status of all-instances configuration on the group.
15885
15990
  # Corresponds to the JSON property `allInstancesConfig`
15886
15991
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig]
15887
15992
  attr_accessor :all_instances_config
@@ -15932,14 +16037,14 @@ module Google
15932
16037
  class InstanceGroupManagerStatusAllInstancesConfig
15933
16038
  include Google::Apis::Core::Hashable
15934
16039
 
15935
- # [Output Only] Current instances' config revision. This value is in RFC3339
15936
- # text format.
16040
+ # [Output Only] Current all-instances configuration revision. This value is in
16041
+ # RFC3339 text format.
15937
16042
  # Corresponds to the JSON property `currentRevision`
15938
16043
  # @return [String]
15939
16044
  attr_accessor :current_revision
15940
16045
 
15941
- # [Output Only] A bit indicating whether instances' config has been applied to
15942
- # all managed instances in managed instance group.
16046
+ # [Output Only] A bit indicating whether this configuration has been applied to
16047
+ # all managed instances in the group.
15943
16048
  # Corresponds to the JSON property `effective`
15944
16049
  # @return [Boolean]
15945
16050
  attr_accessor :effective
@@ -15963,8 +16068,9 @@ module Google
15963
16068
  # [Output Only] A bit indicating whether the managed instance group has stateful
15964
16069
  # configuration, that is, if you have configured any items in a stateful policy
15965
16070
  # or in per-instance configs. The group might report that it has no stateful
15966
- # config even when there is still some preserved state on a managed instance,
15967
- # for example, if you have deleted all PICs but not yet applied those deletions.
16071
+ # configuration even when there is still some preserved state on a managed
16072
+ # instance, for example, if you have deleted all PICs but not yet applied those
16073
+ # deletions.
15968
16074
  # Corresponds to the JSON property `hasStatefulConfig`
15969
16075
  # @return [Boolean]
15970
16076
  attr_accessor :has_stateful_config
@@ -15973,15 +16079,15 @@ module Google
15973
16079
  # [Output Only] A bit indicating whether the managed instance group has stateful
15974
16080
  # configuration, that is, if you have configured any items in a stateful policy
15975
16081
  # or in per-instance configs. The group might report that it has no stateful
15976
- # config even when there is still some preserved state on a managed instance,
15977
- # for example, if you have deleted all PICs but not yet applied those deletions.
15978
- # This field is deprecated in favor of has_stateful_config.
16082
+ # configuration even when there is still some preserved state on a managed
16083
+ # instance, for example, if you have deleted all PICs but not yet applied those
16084
+ # deletions. This field is deprecated in favor of has_stateful_config.
15979
16085
  # Corresponds to the JSON property `isStateful`
15980
16086
  # @return [Boolean]
15981
16087
  attr_accessor :is_stateful
15982
16088
  alias_method :is_stateful?, :is_stateful
15983
16089
 
15984
- # [Output Only] Status of per-instance configs on the instance.
16090
+ # [Output Only] Status of per-instance configurations on the instance.
15985
16091
  # Corresponds to the JSON property `perInstanceConfigs`
15986
16092
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
15987
16093
  attr_accessor :per_instance_configs
@@ -16002,9 +16108,9 @@ module Google
16002
16108
  class InstanceGroupManagerStatusStatefulPerInstanceConfigs
16003
16109
  include Google::Apis::Core::Hashable
16004
16110
 
16005
- # A bit indicating if all of the group's per-instance configs (listed in the
16006
- # output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
16007
- # are no per-instance-configs.
16111
+ # A bit indicating if all of the group's per-instance configurations (listed in
16112
+ # the output of a listPerInstanceConfigs API call) have status EFFECTIVE or
16113
+ # there are no per-instance-configs.
16008
16114
  # Corresponds to the JSON property `allEffective`
16009
16115
  # @return [Boolean]
16010
16116
  attr_accessor :all_effective
@@ -16479,8 +16585,8 @@ module Google
16479
16585
  class InstanceGroupManagersPatchPerInstanceConfigsReq
16480
16586
  include Google::Apis::Core::Hashable
16481
16587
 
16482
- # The list of per-instance configs to insert or patch on this managed instance
16483
- # group.
16588
+ # The list of per-instance configurations to insert or patch on this managed
16589
+ # instance group.
16484
16590
  # Corresponds to the JSON property `perInstanceConfigs`
16485
16591
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16486
16592
  attr_accessor :per_instance_configs
@@ -16823,8 +16929,8 @@ module Google
16823
16929
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
16824
16930
  include Google::Apis::Core::Hashable
16825
16931
 
16826
- # The list of per-instance configs to insert or patch on this managed instance
16827
- # group.
16932
+ # The list of per-instance configurations to insert or patch on this managed
16933
+ # instance group.
16828
16934
  # Corresponds to the JSON property `perInstanceConfigs`
16829
16935
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16830
16936
  attr_accessor :per_instance_configs
@@ -17576,7 +17682,8 @@ module Google
17576
17682
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
17577
17683
  attr_accessor :guest_accelerators
17578
17684
 
17579
- # KeyRevocationActionType of the instance.
17685
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
17686
+ # NONE". The default value is "NONE" if it is not specified.
17580
17687
  # Corresponds to the JSON property `keyRevocationActionType`
17581
17688
  # @return [String]
17582
17689
  attr_accessor :key_revocation_action_type
@@ -20070,6 +20177,16 @@ module Google
20070
20177
  # @return [Array<Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry>]
20071
20178
  attr_accessor :arp_caches
20072
20179
 
20180
+ # The aggregation type of the bundle interface.
20181
+ # Corresponds to the JSON property `bundleAggregationType`
20182
+ # @return [String]
20183
+ attr_accessor :bundle_aggregation_type
20184
+
20185
+ # The operational status of the bundle interface.
20186
+ # Corresponds to the JSON property `bundleOperationalStatus`
20187
+ # @return [String]
20188
+ attr_accessor :bundle_operational_status
20189
+
20073
20190
  # A list of InterconnectDiagnostics.LinkStatus objects, describing the status
20074
20191
  # for each link on the Interconnect.
20075
20192
  # Corresponds to the JSON property `links`
@@ -20088,6 +20205,8 @@ module Google
20088
20205
  # Update properties of this object
20089
20206
  def update!(**args)
20090
20207
  @arp_caches = args[:arp_caches] if args.key?(:arp_caches)
20208
+ @bundle_aggregation_type = args[:bundle_aggregation_type] if args.key?(:bundle_aggregation_type)
20209
+ @bundle_operational_status = args[:bundle_operational_status] if args.key?(:bundle_operational_status)
20091
20210
  @links = args[:links] if args.key?(:links)
20092
20211
  @mac_address = args[:mac_address] if args.key?(:mac_address)
20093
20212
  end
@@ -20216,6 +20335,11 @@ module Google
20216
20335
  # @return [Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus]
20217
20336
  attr_accessor :macsec
20218
20337
 
20338
+ # The operational status of the link.
20339
+ # Corresponds to the JSON property `operationalStatus`
20340
+ # @return [String]
20341
+ attr_accessor :operational_status
20342
+
20219
20343
  # An InterconnectDiagnostics.LinkOpticalPower object, describing the current
20220
20344
  # value and status of the received light level.
20221
20345
  # Corresponds to the JSON property `receivingOpticalPower`
@@ -20239,6 +20363,7 @@ module Google
20239
20363
  @google_demarc = args[:google_demarc] if args.key?(:google_demarc)
20240
20364
  @lacp_status = args[:lacp_status] if args.key?(:lacp_status)
20241
20365
  @macsec = args[:macsec] if args.key?(:macsec)
20366
+ @operational_status = args[:operational_status] if args.key?(:operational_status)
20242
20367
  @receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
20243
20368
  @transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
20244
20369
  end
@@ -22669,7 +22794,8 @@ module Google
22669
22794
  class ManagedInstance
22670
22795
  include Google::Apis::Core::Hashable
22671
22796
 
22672
- # [Output Only] Instances config revision applied to this instance.
22797
+ # [Output Only] Current all-instances configuration revision applied to this
22798
+ # instance.
22673
22799
  # Corresponds to the JSON property `allInstancesConfig`
22674
22800
  # @return [Google::Apis::ComputeAlpha::ManagedInstanceAllInstancesConfig]
22675
22801
  attr_accessor :all_instances_config
@@ -22784,7 +22910,8 @@ module Google
22784
22910
  class ManagedInstanceAllInstancesConfig
22785
22911
  include Google::Apis::Core::Hashable
22786
22912
 
22787
- # [Output Only] Instances config revision. This value is in RFC3339 text format.
22913
+ # [Output Only] Current all-instances configuration revision. This value is in
22914
+ # RFC3339 text format.
22788
22915
  # Corresponds to the JSON property `revision`
22789
22916
  # @return [String]
22790
22917
  attr_accessor :revision
@@ -23766,7 +23893,8 @@ module Google
23766
23893
  attr_accessor :network_endpoint_type
23767
23894
 
23768
23895
  # The target service url used to set up private service connection to a Google
23769
- # API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
23896
+ # API or a PSC Producer Service Attachment. An example value is: "asia-
23897
+ # northeast3-cloudkms.googleapis.com"
23770
23898
  # Corresponds to the JSON property `pscTargetService`
23771
23899
  # @return [String]
23772
23900
  attr_accessor :psc_target_service
@@ -29166,18 +29294,18 @@ module Google
29166
29294
  # Fingerprint of this per-instance config. This field can be used in optimistic
29167
29295
  # locking. It is ignored when inserting a per-instance config. An up-to-date
29168
29296
  # fingerprint must be provided in order to update an existing per-instance
29169
- # config or the field needs to be unset.
29297
+ # configuration or the field needs to be unset.
29170
29298
  # Corresponds to the JSON property `fingerprint`
29171
29299
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
29172
29300
  # @return [String]
29173
29301
  attr_accessor :fingerprint
29174
29302
 
29175
- # The name of a per-instance config and its corresponding instance. Serves as a
29176
- # merge key during UpdatePerInstanceConfigs operations, that is, if a per-
29177
- # instance config with the same name exists then it will be updated, otherwise a
29178
- # new one will be created for the VM instance with the same name. An attempt to
29179
- # create a per-instance config for a VM instance that either doesn't exist or is
29180
- # not part of the group will result in an error.
29303
+ # The name of a per-instance configuration and its corresponding instance.
29304
+ # Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if
29305
+ # a per-instance configuration with the same name exists then it will be updated,
29306
+ # otherwise a new one will be created for the VM instance with the same name.
29307
+ # An attempt to create a per-instance configconfiguration for a VM instance that
29308
+ # either doesn't exist or is not part of the group will result in an error.
29181
29309
  # Corresponds to the JSON property `name`
29182
29310
  # @return [String]
29183
29311
  attr_accessor :name
@@ -29187,8 +29315,8 @@ module Google
29187
29315
  # @return [Google::Apis::ComputeAlpha::PreservedState]
29188
29316
  attr_accessor :preserved_state
29189
29317
 
29190
- # The status of applying this per-instance config on the corresponding managed
29191
- # instance.
29318
+ # The status of applying this per-instance configuration on the corresponding
29319
+ # managed instance.
29192
29320
  # Corresponds to the JSON property `status`
29193
29321
  # @return [String]
29194
29322
  attr_accessor :status
@@ -31526,8 +31654,8 @@ module Google
31526
31654
  class RegionInstanceGroupManagerPatchInstanceConfigReq
31527
31655
  include Google::Apis::Core::Hashable
31528
31656
 
31529
- # The list of per-instance configs to insert or patch on this managed instance
31530
- # group.
31657
+ # The list of per-instance configurations to insert or patch on this managed
31658
+ # instance group.
31531
31659
  # Corresponds to the JSON property `perInstanceConfigs`
31532
31660
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31533
31661
  attr_accessor :per_instance_configs
@@ -31546,8 +31674,8 @@ module Google
31546
31674
  class RegionInstanceGroupManagerUpdateInstanceConfigReq
31547
31675
  include Google::Apis::Core::Hashable
31548
31676
 
31549
- # The list of per-instance configs to insert or patch on this managed instance
31550
- # group.
31677
+ # The list of per-instance configurations to insert or patch on this managed
31678
+ # instance group.
31551
31679
  # Corresponds to the JSON property `perInstanceConfigs`
31552
31680
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31553
31681
  attr_accessor :per_instance_configs
@@ -32671,6 +32799,13 @@ module Google
32671
32799
  # @return [String]
32672
32800
  attr_accessor :name
32673
32801
 
32802
+ # Resource policies to be added to this reservation. The key is defined by user,
32803
+ # and the value is resource policy url. This is to define placement policy with
32804
+ # reservation.
32805
+ # Corresponds to the JSON property `resourcePolicies`
32806
+ # @return [Hash<String,String>]
32807
+ attr_accessor :resource_policies
32808
+
32674
32809
  # [Output Only] Reserved for future use.
32675
32810
  # Corresponds to the JSON property `satisfiesPzs`
32676
32811
  # @return [Boolean]
@@ -32729,6 +32864,7 @@ module Google
32729
32864
  @id = args[:id] if args.key?(:id)
32730
32865
  @kind = args[:kind] if args.key?(:kind)
32731
32866
  @name = args[:name] if args.key?(:name)
32867
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
32732
32868
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
32733
32869
  @self_link = args[:self_link] if args.key?(:self_link)
32734
32870
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -35490,7 +35626,7 @@ module Google
35490
35626
  attr_accessor :enable_endpoint_independent_mapping
35491
35627
  alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
35492
35628
 
35493
- # List of Natted endpoint types supported by the Nat Gateway. If the list is
35629
+ # List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
35494
35630
  # empty, then it will be equivalent to include ENDPOINT_TYPE_VM
35495
35631
  # Corresponds to the JSON property `endpointTypes`
35496
35632
  # @return [Array<String>]
@@ -39580,7 +39716,8 @@ module Google
39580
39716
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
39581
39717
  attr_accessor :guest_accelerators
39582
39718
 
39583
- # KeyRevocationActionType of the instance.
39719
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
39720
+ # NONE". The default value is "NONE" if it is not specified.
39584
39721
  # Corresponds to the JSON property `keyRevocationActionType`
39585
39722
  # @return [String]
39586
39723
  attr_accessor :key_revocation_action_type
@@ -40923,7 +41060,7 @@ module Google
40923
41060
  attr_accessor :enable_private_v6_access
40924
41061
  alias_method :enable_private_v6_access?, :enable_private_v6_access
40925
41062
 
40926
- # [Output Only] The range of external IPv6 addresses that are owned by this
41063
+ # [Output Only] The external IPv6 address range that is assigned to this
40927
41064
  # subnetwork.
40928
41065
  # Corresponds to the JSON property `externalIpv6Prefix`
40929
41066
  # @return [String]
@@ -40961,9 +41098,8 @@ module Google
40961
41098
  # @return [Fixnum]
40962
41099
  attr_accessor :id
40963
41100
 
40964
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40965
- # subnetwork. Note this is for general VM to VM communication, not to be
40966
- # confused with the ipv6_cidr_range field.
41101
+ # [Output Only] The internal IPv6 address range that is assigned to this
41102
+ # subnetwork.
40967
41103
  # Corresponds to the JSON property `internalIpv6Prefix`
40968
41104
  # @return [String]
40969
41105
  attr_accessor :internal_ipv6_prefix
@@ -40980,14 +41116,12 @@ module Google
40980
41116
 
40981
41117
  # The access type of IPv6 address this subnet holds. It's immutable and can only
40982
41118
  # be specified during creation or the first time the subnet is updated into
40983
- # IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot
40984
- # enable direct path.
41119
+ # IPV4_IPV6 dual stack.
40985
41120
  # Corresponds to the JSON property `ipv6AccessType`
40986
41121
  # @return [String]
40987
41122
  attr_accessor :ipv6_access_type
40988
41123
 
40989
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40990
- # subnetwork. Note this will be for private google access only eventually.
41124
+ # [Output Only] This field is for internal use.
40991
41125
  # Corresponds to the JSON property `ipv6CidrRange`
40992
41126
  # @return [String]
40993
41127
  attr_accessor :ipv6_cidr_range
@@ -41036,10 +41170,8 @@ module Google
41036
41170
  attr_accessor :private_ip_google_access
41037
41171
  alias_method :private_ip_google_access?, :private_ip_google_access
41038
41172
 
41039
- # The private IPv6 google access type for the VMs in this subnet. This is an
41040
- # expanded field of enablePrivateV6Access. If both fields are set,
41041
- # privateIpv6GoogleAccess will take priority. This field can be both set at
41042
- # resource creation time and updated using patch.
41173
+ # This field is for internal use. This field can be both set at resource
41174
+ # creation time and updated using patch.
41043
41175
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
41044
41176
  # @return [String]
41045
41177
  attr_accessor :private_ipv6_google_access
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.33.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 = "20220315"
25
+ REVISION = "20220426"
26
26
  end
27
27
  end
28
28
  end
@@ -478,6 +478,24 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
+ class BackendServiceLocalityLoadBalancingPolicyConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
481
499
  class BackendServiceLogConfig
482
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
501
 
@@ -7157,6 +7175,8 @@ module Google
7157
7175
  property :id, :numeric_string => true, as: 'id'
7158
7176
  property :kind, as: 'kind'
7159
7177
  property :load_balancing_scheme, as: 'loadBalancingScheme'
7178
+ collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
7179
+
7160
7180
  property :locality_lb_policy, as: 'localityLbPolicy'
7161
7181
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
7162
7182
 
@@ -7335,6 +7355,31 @@ module Google
7335
7355
  end
7336
7356
  end
7337
7357
 
7358
+ class BackendServiceLocalityLoadBalancingPolicyConfig
7359
+ # @private
7360
+ class Representation < Google::Apis::Core::JsonRepresentation
7361
+ property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
7362
+
7363
+ property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
7364
+
7365
+ end
7366
+ end
7367
+
7368
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
7369
+ # @private
7370
+ class Representation < Google::Apis::Core::JsonRepresentation
7371
+ property :data, as: 'data'
7372
+ property :name, as: 'name'
7373
+ end
7374
+ end
7375
+
7376
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
7377
+ # @private
7378
+ class Representation < Google::Apis::Core::JsonRepresentation
7379
+ property :name, as: 'name'
7380
+ end
7381
+ end
7382
+
7338
7383
  class BackendServiceLogConfig
7339
7384
  # @private
7340
7385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7672,6 +7717,7 @@ module Google
7672
7717
  class ConfidentialInstanceConfig
7673
7718
  # @private
7674
7719
  class Representation < Google::Apis::Core::JsonRepresentation
7720
+ property :confidential_instance_type, as: 'confidentialInstanceType'
7675
7721
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
7676
7722
  end
7677
7723
  end
@@ -9958,7 +10004,6 @@ module Google
9958
10004
  property :initial_delay_sec, as: 'initialDelaySec'
9959
10005
  property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
9960
10006
 
9961
- property :update_instances, as: 'updateInstances'
9962
10007
  end
9963
10008
  end
9964
10009
 
@@ -9972,6 +10017,7 @@ module Google
9972
10017
  class InstanceGroupManagerInstanceLifecyclePolicy
9973
10018
  # @private
9974
10019
  class Representation < Google::Apis::Core::JsonRepresentation
10020
+ property :force_update_on_repair, as: 'forceUpdateOnRepair'
9975
10021
  property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
9976
10022
 
9977
10023
  end
@@ -11117,6 +11163,8 @@ module Google
11117
11163
  class Representation < Google::Apis::Core::JsonRepresentation
11118
11164
  collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry::Representation
11119
11165
 
11166
+ property :bundle_aggregation_type, as: 'bundleAggregationType'
11167
+ property :bundle_operational_status, as: 'bundleOperationalStatus'
11120
11168
  collection :links, as: 'links', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus::Representation
11121
11169
 
11122
11170
  property :mac_address, as: 'macAddress'
@@ -11159,6 +11207,7 @@ module Google
11159
11207
 
11160
11208
  property :macsec, as: 'macsec', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus::Representation
11161
11209
 
11210
+ property :operational_status, as: 'operationalStatus'
11162
11211
  property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
11163
11212
 
11164
11213
  property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
@@ -14385,6 +14434,7 @@ module Google
14385
14434
  property :id, :numeric_string => true, as: 'id'
14386
14435
  property :kind, as: 'kind'
14387
14436
  property :name, as: 'name'
14437
+ hash :resource_policies, as: 'resourcePolicies'
14388
14438
  property :satisfies_pzs, as: 'satisfiesPzs'
14389
14439
  property :self_link, as: 'selfLink'
14390
14440
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -9663,8 +9663,8 @@ module Google
9663
9663
  execute_or_queue_command(command, &block)
9664
9664
  end
9665
9665
 
9666
- # Creates instances with per-instance configs in this managed instance group.
9667
- # Instances are created using the current instance template. The create
9666
+ # Creates instances with per-instance configurations in this managed instance
9667
+ # group. Instances are created using the current instance template. The create
9668
9668
  # instances operation is marked DONE if the createInstances request is
9669
9669
  # successful. The underlying actions take additional time. You must separately
9670
9670
  # verify the status of the creating or actions with the listmanagedinstances
@@ -9836,7 +9836,7 @@ module Google
9836
9836
  execute_or_queue_command(command, &block)
9837
9837
  end
9838
9838
 
9839
- # Deletes selected per-instance configs for the managed instance group.
9839
+ # Deletes selected per-instance configurations for the managed instance group.
9840
9840
  # @param [String] project
9841
9841
  # Project ID for this request.
9842
9842
  # @param [String] zone
@@ -10232,8 +10232,8 @@ module Google
10232
10232
  execute_or_queue_command(command, &block)
10233
10233
  end
10234
10234
 
10235
- # Lists all of the per-instance configs defined for the managed instance group.
10236
- # The orderBy query parameter is not supported.
10235
+ # Lists all of the per-instance configurations defined for the managed instance
10236
+ # group. The orderBy query parameter is not supported.
10237
10237
  # @param [String] project
10238
10238
  # Project ID for this request.
10239
10239
  # @param [String] zone
@@ -10379,7 +10379,7 @@ module Google
10379
10379
  execute_or_queue_command(command, &block)
10380
10380
  end
10381
10381
 
10382
- # Inserts or patches per-instance configs for the managed instance group.
10382
+ # Inserts or patches per-instance configurations for the managed instance group.
10383
10383
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
10384
10384
  # insert or patch.
10385
10385
  # @param [String] project
@@ -11169,7 +11169,7 @@ module Google
11169
11169
  execute_or_queue_command(command, &block)
11170
11170
  end
11171
11171
 
11172
- # Inserts or updates per-instance configs for the managed instance group.
11172
+ # Inserts or updates per-instance configurations for the managed instance group.
11173
11173
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
11174
11174
  # insert or patch.
11175
11175
  # @param [String] project
@@ -27198,9 +27198,9 @@ module Google
27198
27198
  execute_or_queue_command(command, &block)
27199
27199
  end
27200
27200
 
27201
- # Creates instances with per-instance configs in this regional managed instance
27202
- # group. Instances are created using the current instance template. The create
27203
- # instances operation is marked DONE if the createInstances request is
27201
+ # Creates instances with per-instance configurations in this regional managed
27202
+ # instance group. Instances are created using the current instance template. The
27203
+ # create instances operation is marked DONE if the createInstances request is
27204
27204
  # successful. The underlying actions take additional time. You must separately
27205
27205
  # verify the status of the creating or actions with the listmanagedinstances
27206
27206
  # method.
@@ -27370,7 +27370,7 @@ module Google
27370
27370
  execute_or_queue_command(command, &block)
27371
27371
  end
27372
27372
 
27373
- # Deletes selected per-instance configs for the managed instance group.
27373
+ # Deletes selected per-instance configurations for the managed instance group.
27374
27374
  # @param [String] project
27375
27375
  # Project ID for this request.
27376
27376
  # @param [String] region
@@ -27759,8 +27759,8 @@ module Google
27759
27759
  execute_or_queue_command(command, &block)
27760
27760
  end
27761
27761
 
27762
- # Lists all of the per-instance configs defined for the managed instance group.
27763
- # The orderBy query parameter is not supported.
27762
+ # Lists all of the per-instance configurations defined for the managed instance
27763
+ # group. The orderBy query parameter is not supported.
27764
27764
  # @param [String] project
27765
27765
  # Project ID for this request.
27766
27766
  # @param [String] region
@@ -27905,7 +27905,7 @@ module Google
27905
27905
  execute_or_queue_command(command, &block)
27906
27906
  end
27907
27907
 
27908
- # Inserts or patches per-instance configs for the managed instance group.
27908
+ # Inserts or patches per-instance configurations for the managed instance group.
27909
27909
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
27910
27910
  # insert or patch.
27911
27911
  # @param [String] project
@@ -28682,7 +28682,7 @@ module Google
28682
28682
  execute_or_queue_command(command, &block)
28683
28683
  end
28684
28684
 
28685
- # Inserts or updates per-instance configs for the managed instance group.
28685
+ # Inserts or updates per-instance configurations for the managed instance group.
28686
28686
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
28687
28687
  # insert or patch.
28688
28688
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.33.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-02 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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []