google-apis-compute_alpha 0.31.0 → 0.34.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: bf3e0f258664d9bbe34a6d34e0eaa582bacc07ade20b406ab1a64d0ae1c099da
4
- data.tar.gz: fefc1035246c1905d2ce5df7eb759adb4c4193fdea6a6d4a51e897f6fb9735e4
3
+ metadata.gz: d4af0a5a708ad1e11ba1200270e710fe3fe42618b01f589e2aa8e558b6006dea
4
+ data.tar.gz: c65e4fb4255cdc79435a8db28b19771c97d724615ef864f73011941455525575
5
5
  SHA512:
6
- metadata.gz: a62817847f8899eacc323be4dc0feeedc1d5a5914914c1c8cbb3eb1b29b7f2655c839faf10e7c073258396e04bd1483745df3a1339a7bc9bb55399980cdc0af7
7
- data.tar.gz: c3c891a7b6a215dcddb433e157a784b9c97ab6aabea15c2717c524052462e505b658c3348da428568c446e8a89e9a3b22f36de545fa413a607d236bdc1345da7
6
+ metadata.gz: e4d43602549bbf0ab6330a0595d0af1045b0950df7a336e5c37c23ba85382554bfb2a3eb62ad9972d90800dd3e406c2eb45e3d875227b93b442ad06b70b9b4e9
7
+ data.tar.gz: 500b3859778d53e62f5049f1cdeff31f52233d790d048f0ac399aab2e98175d59913c5b319d897a6da0f0d8179da447336ba448834cc1ade7c634472fbbc5afd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.34.0 (2022-05-11)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
7
+ ### v0.33.0 (2022-04-29)
8
+
9
+ * Regenerated from discovery document revision 20220426
10
+
11
+ ### v0.32.0 (2022-04-21)
12
+
13
+ * Regenerated from discovery document revision 20220420
14
+
3
15
  ### v0.31.0 (2022-03-30)
4
16
 
5
17
  * Regenerated from discovery document revision 20220322
@@ -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
@@ -4895,7 +4897,7 @@ module Google
4895
4897
  # @return [Google::Apis::ComputeAlpha::Expr]
4896
4898
  attr_accessor :condition
4897
4899
 
4898
- # Specifies the principals requesting access for a Cloud Platform resource. `
4900
+ # Specifies the principals requesting access for a Google Cloud resource. `
4899
4901
  # members` can have the following values: * `allUsers`: A special identifier
4900
4902
  # that represents anyone who is on the internet; with or without a Google
4901
4903
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -5868,6 +5870,11 @@ module Google
5868
5870
  class ConfidentialInstanceConfig
5869
5871
  include Google::Apis::Core::Hashable
5870
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
+
5871
5878
  # Defines whether the instance should have confidential compute enabled.
5872
5879
  # Corresponds to the JSON property `enableConfidentialCompute`
5873
5880
  # @return [Boolean]
@@ -5880,6 +5887,7 @@ module Google
5880
5887
 
5881
5888
  # Update properties of this object
5882
5889
  def update!(**args)
5890
+ @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
5883
5891
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
5884
5892
  end
5885
5893
  end
@@ -9384,21 +9392,26 @@ module Google
9384
9392
  class ForwardingRule
9385
9393
  include Google::Apis::Core::Hashable
9386
9394
 
9387
- # IP address that this forwarding rule serves. When a client sends traffic to
9388
- # this IP address, the forwarding rule directs the traffic to the target that
9389
- # you specify in the forwarding rule. If you don't specify a reserved IP address,
9390
- # an ephemeral IP address is assigned. Methods for specifying an IP address: *
9391
- # IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
9392
- # googleapis.com/compute/v1/projects/project_id/regions/region /addresses/
9393
- # address-name * Partial URL or by name, as in: - projects/project_id/regions/
9394
- # region/addresses/address-name - regions/region/addresses/address-name - global/
9395
- # addresses/address-name - address-name The loadBalancingScheme and the
9396
- # forwarding rule's target determine the type of IP address that you can use.
9397
- # For detailed information, see [IP address specifications](https://cloud.google.
9398
- # com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
9399
- # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
9400
- # validateForProxyless field set to true. For Private Service Connect forwarding
9401
- # rules that forward traffic to Google APIs, IP address must be provided.
9395
+ # IP address for which this forwarding rule accepts traffic. When a client sends
9396
+ # traffic to this IP address, the forwarding rule directs the traffic to the
9397
+ # referenced target or backendService. While creating a forwarding rule,
9398
+ # specifying an IPAddress is required under the following circumstances: - When
9399
+ # the target is set to targetGrpcProxy and validateForProxyless is set to true,
9400
+ # the IPAddress should be set to 0.0.0.0. - When the target is a Private Service
9401
+ # Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can
9402
+ # optionally specify an IP address that references an existing static (reserved)
9403
+ # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
9404
+ # address. Use one of the following formats to specify an IP address while
9405
+ # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
9406
+ # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
9407
+ # regions/region /addresses/address-name * Partial URL or by name, as in: -
9408
+ # projects/project_id/regions/region/addresses/address-name - regions/region/
9409
+ # addresses/address-name - global/addresses/address-name - address-name The
9410
+ # forwarding rule's target or backendService, and in most cases, also the
9411
+ # loadBalancingScheme, determine the type of IP address that you can use. For
9412
+ # detailed information, see [IP address specifications](https://cloud.google.com/
9413
+ # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
9414
+ # reading an IPAddress, the API always returns the IP address number.
9402
9415
  # Corresponds to the JSON property `IPAddress`
9403
9416
  # @return [String]
9404
9417
  attr_accessor :ip_address
@@ -12483,10 +12496,10 @@ module Google
12483
12496
 
12484
12497
  # The list of host patterns to match. They must be valid hostnames with optional
12485
12498
  # port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
12486
- # In that case, * must be the first character and must be followed in the
12487
- # pattern by either - or .. * based matching is not supported when the URL map
12488
- # is bound to a target gRPC proxy that has the validateForProxyless field set to
12489
- # true.
12499
+ # In that case, * must be the first character, and if followed by anything, the
12500
+ # immediate following character must be either - or .. * based matching is not
12501
+ # supported when the URL map is bound to a target gRPC proxy that has the
12502
+ # validateForProxyless field set to true.
12490
12503
  # Corresponds to the JSON property `hosts`
12491
12504
  # @return [Array<String>]
12492
12505
  attr_accessor :hosts
@@ -15213,8 +15226,8 @@ module Google
15213
15226
  class InstanceGroupManager
15214
15227
  include Google::Apis::Core::Hashable
15215
15228
 
15216
- # Specifies the instances configs overrides that should be applied for all
15217
- # instances in the MIG.
15229
+ # Specifies configuration that overrides the instance template configuration for
15230
+ # the group.
15218
15231
  # Corresponds to the JSON property `allInstancesConfig`
15219
15232
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerAllInstancesConfig]
15220
15233
  attr_accessor :all_instances_config
@@ -15283,7 +15296,7 @@ module Google
15283
15296
  # @return [String]
15284
15297
  attr_accessor :instance_group
15285
15298
 
15286
- # Instance lifecycle policy for this Instance Group Manager.
15299
+ # The repair policy for this managed instance group.
15287
15300
  # Corresponds to the JSON property `instanceLifecyclePolicy`
15288
15301
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy]
15289
15302
  attr_accessor :instance_lifecycle_policy
@@ -15740,11 +15753,6 @@ module Google
15740
15753
  # @return [Google::Apis::ComputeAlpha::FixedOrPercent]
15741
15754
  attr_accessor :max_unavailable
15742
15755
 
15743
- #
15744
- # Corresponds to the JSON property `updateInstances`
15745
- # @return [String]
15746
- attr_accessor :update_instances
15747
-
15748
15756
  def initialize(**args)
15749
15757
  update!(**args)
15750
15758
  end
@@ -15755,7 +15763,6 @@ module Google
15755
15763
  @health_check = args[:health_check] if args.key?(:health_check)
15756
15764
  @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
15757
15765
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
15758
- @update_instances = args[:update_instances] if args.key?(:update_instances)
15759
15766
  end
15760
15767
  end
15761
15768
 
@@ -15788,6 +15795,16 @@ module Google
15788
15795
  class InstanceGroupManagerInstanceLifecyclePolicy
15789
15796
  include Google::Apis::Core::Hashable
15790
15797
 
15798
+ # A bit indicating whether to forcefully apply the group's latest configuration
15799
+ # when repairing a VM. Valid options are: - NO (default): If configuration
15800
+ # updates are available, they are not forcefully applied during repair. However,
15801
+ # if you've set up a proactive type of update policy, then configuration updates
15802
+ # are applied as usual. - YES: If configuration updates are available, they are
15803
+ # applied during repair.
15804
+ # Corresponds to the JSON property `forceUpdateOnRepair`
15805
+ # @return [String]
15806
+ attr_accessor :force_update_on_repair
15807
+
15791
15808
  # The configuration for metadata based readiness signal sent by the instance
15792
15809
  # during initialization when stopping / suspending an instance. The Instance
15793
15810
  # Group Manager will wait for a signal that indicates successful initialization
@@ -15808,6 +15825,7 @@ module Google
15808
15825
 
15809
15826
  # Update properties of this object
15810
15827
  def update!(**args)
15828
+ @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
15811
15829
  @metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
15812
15830
  end
15813
15831
  end
@@ -15973,8 +15991,7 @@ module Google
15973
15991
  class InstanceGroupManagerStatus
15974
15992
  include Google::Apis::Core::Hashable
15975
15993
 
15976
- # [Output Only] A status of consistency of Instances' config applied to
15977
- # instances with Instances' config defined in managed instance group.
15994
+ # [Output only] Status of all-instances configuration on the group.
15978
15995
  # Corresponds to the JSON property `allInstancesConfig`
15979
15996
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig]
15980
15997
  attr_accessor :all_instances_config
@@ -16025,14 +16042,14 @@ module Google
16025
16042
  class InstanceGroupManagerStatusAllInstancesConfig
16026
16043
  include Google::Apis::Core::Hashable
16027
16044
 
16028
- # [Output Only] Current instances' config revision. This value is in RFC3339
16029
- # text format.
16045
+ # [Output Only] Current all-instances configuration revision. This value is in
16046
+ # RFC3339 text format.
16030
16047
  # Corresponds to the JSON property `currentRevision`
16031
16048
  # @return [String]
16032
16049
  attr_accessor :current_revision
16033
16050
 
16034
- # [Output Only] A bit indicating whether instances' config has been applied to
16035
- # all managed instances in managed instance group.
16051
+ # [Output Only] A bit indicating whether this configuration has been applied to
16052
+ # all managed instances in the group.
16036
16053
  # Corresponds to the JSON property `effective`
16037
16054
  # @return [Boolean]
16038
16055
  attr_accessor :effective
@@ -16056,8 +16073,9 @@ module Google
16056
16073
  # [Output Only] A bit indicating whether the managed instance group has stateful
16057
16074
  # configuration, that is, if you have configured any items in a stateful policy
16058
16075
  # or in per-instance configs. The group might report that it has no stateful
16059
- # config even when there is still some preserved state on a managed instance,
16060
- # for example, if you have deleted all PICs but not yet applied those deletions.
16076
+ # configuration even when there is still some preserved state on a managed
16077
+ # instance, for example, if you have deleted all PICs but not yet applied those
16078
+ # deletions.
16061
16079
  # Corresponds to the JSON property `hasStatefulConfig`
16062
16080
  # @return [Boolean]
16063
16081
  attr_accessor :has_stateful_config
@@ -16066,15 +16084,15 @@ module Google
16066
16084
  # [Output Only] A bit indicating whether the managed instance group has stateful
16067
16085
  # configuration, that is, if you have configured any items in a stateful policy
16068
16086
  # or in per-instance configs. The group might report that it has no stateful
16069
- # config even when there is still some preserved state on a managed instance,
16070
- # for example, if you have deleted all PICs but not yet applied those deletions.
16071
- # This field is deprecated in favor of has_stateful_config.
16087
+ # configuration even when there is still some preserved state on a managed
16088
+ # instance, for example, if you have deleted all PICs but not yet applied those
16089
+ # deletions. This field is deprecated in favor of has_stateful_config.
16072
16090
  # Corresponds to the JSON property `isStateful`
16073
16091
  # @return [Boolean]
16074
16092
  attr_accessor :is_stateful
16075
16093
  alias_method :is_stateful?, :is_stateful
16076
16094
 
16077
- # [Output Only] Status of per-instance configs on the instance.
16095
+ # [Output Only] Status of per-instance configurations on the instance.
16078
16096
  # Corresponds to the JSON property `perInstanceConfigs`
16079
16097
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
16080
16098
  attr_accessor :per_instance_configs
@@ -16095,9 +16113,9 @@ module Google
16095
16113
  class InstanceGroupManagerStatusStatefulPerInstanceConfigs
16096
16114
  include Google::Apis::Core::Hashable
16097
16115
 
16098
- # A bit indicating if all of the group's per-instance configs (listed in the
16099
- # output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
16100
- # are no per-instance-configs.
16116
+ # A bit indicating if all of the group's per-instance configurations (listed in
16117
+ # the output of a listPerInstanceConfigs API call) have status EFFECTIVE or
16118
+ # there are no per-instance-configs.
16101
16119
  # Corresponds to the JSON property `allEffective`
16102
16120
  # @return [Boolean]
16103
16121
  attr_accessor :all_effective
@@ -16164,12 +16182,16 @@ module Google
16164
16182
  # @return [Fixnum]
16165
16183
  attr_accessor :min_ready_sec
16166
16184
 
16167
- # Minimal action to be taken on an instance. You can specify either RESTART to
16168
- # restart existing instances or REPLACE to delete and create new instances from
16169
- # the target template. If you specify a RESTART, the Updater will attempt to
16170
- # perform that action only. However, if the Updater determines that the minimal
16171
- # action you specify is not enough to perform the update, it might perform a
16172
- # more disruptive action.
16185
+ # Minimal action to be taken on an instance. Use this option to minimize
16186
+ # disruption as much as possible or to apply a more disruptive action than is
16187
+ # necessary. - To limit disruption as much as possible, set the minimal action
16188
+ # to REFRESH. If your update requires a more disruptive action, Compute Engine
16189
+ # performs the necessary action to execute the update. - To apply a more
16190
+ # disruptive action than is strictly necessary, set the minimal action to
16191
+ # RESTART or REPLACE. For example, Compute Engine does not need to restart a VM
16192
+ # to change its metadata. But if your application reads instance metadata only
16193
+ # when a VM is restarted, you can set the minimal action to RESTART in order to
16194
+ # pick up metadata changes.
16173
16195
  # Corresponds to the JSON property `minimalAction`
16174
16196
  # @return [String]
16175
16197
  attr_accessor :minimal_action
@@ -16572,8 +16594,8 @@ module Google
16572
16594
  class InstanceGroupManagersPatchPerInstanceConfigsReq
16573
16595
  include Google::Apis::Core::Hashable
16574
16596
 
16575
- # The list of per-instance configs to insert or patch on this managed instance
16576
- # group.
16597
+ # The list of per-instance configurations to insert or patch on this managed
16598
+ # instance group.
16577
16599
  # Corresponds to the JSON property `perInstanceConfigs`
16578
16600
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16579
16601
  attr_accessor :per_instance_configs
@@ -16916,8 +16938,8 @@ module Google
16916
16938
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
16917
16939
  include Google::Apis::Core::Hashable
16918
16940
 
16919
- # The list of per-instance configs to insert or patch on this managed instance
16920
- # group.
16941
+ # The list of per-instance configurations to insert or patch on this managed
16942
+ # instance group.
16921
16943
  # Corresponds to the JSON property `perInstanceConfigs`
16922
16944
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16923
16945
  attr_accessor :per_instance_configs
@@ -20164,6 +20186,16 @@ module Google
20164
20186
  # @return [Array<Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry>]
20165
20187
  attr_accessor :arp_caches
20166
20188
 
20189
+ # The aggregation type of the bundle interface.
20190
+ # Corresponds to the JSON property `bundleAggregationType`
20191
+ # @return [String]
20192
+ attr_accessor :bundle_aggregation_type
20193
+
20194
+ # The operational status of the bundle interface.
20195
+ # Corresponds to the JSON property `bundleOperationalStatus`
20196
+ # @return [String]
20197
+ attr_accessor :bundle_operational_status
20198
+
20167
20199
  # A list of InterconnectDiagnostics.LinkStatus objects, describing the status
20168
20200
  # for each link on the Interconnect.
20169
20201
  # Corresponds to the JSON property `links`
@@ -20182,6 +20214,8 @@ module Google
20182
20214
  # Update properties of this object
20183
20215
  def update!(**args)
20184
20216
  @arp_caches = args[:arp_caches] if args.key?(:arp_caches)
20217
+ @bundle_aggregation_type = args[:bundle_aggregation_type] if args.key?(:bundle_aggregation_type)
20218
+ @bundle_operational_status = args[:bundle_operational_status] if args.key?(:bundle_operational_status)
20185
20219
  @links = args[:links] if args.key?(:links)
20186
20220
  @mac_address = args[:mac_address] if args.key?(:mac_address)
20187
20221
  end
@@ -20310,6 +20344,11 @@ module Google
20310
20344
  # @return [Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus]
20311
20345
  attr_accessor :macsec
20312
20346
 
20347
+ # The operational status of the link.
20348
+ # Corresponds to the JSON property `operationalStatus`
20349
+ # @return [String]
20350
+ attr_accessor :operational_status
20351
+
20313
20352
  # An InterconnectDiagnostics.LinkOpticalPower object, describing the current
20314
20353
  # value and status of the received light level.
20315
20354
  # Corresponds to the JSON property `receivingOpticalPower`
@@ -20333,6 +20372,7 @@ module Google
20333
20372
  @google_demarc = args[:google_demarc] if args.key?(:google_demarc)
20334
20373
  @lacp_status = args[:lacp_status] if args.key?(:lacp_status)
20335
20374
  @macsec = args[:macsec] if args.key?(:macsec)
20375
+ @operational_status = args[:operational_status] if args.key?(:operational_status)
20336
20376
  @receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
20337
20377
  @transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
20338
20378
  end
@@ -22763,7 +22803,8 @@ module Google
22763
22803
  class ManagedInstance
22764
22804
  include Google::Apis::Core::Hashable
22765
22805
 
22766
- # [Output Only] Instances config revision applied to this instance.
22806
+ # [Output Only] Current all-instances configuration revision applied to this
22807
+ # instance.
22767
22808
  # Corresponds to the JSON property `allInstancesConfig`
22768
22809
  # @return [Google::Apis::ComputeAlpha::ManagedInstanceAllInstancesConfig]
22769
22810
  attr_accessor :all_instances_config
@@ -22878,7 +22919,8 @@ module Google
22878
22919
  class ManagedInstanceAllInstancesConfig
22879
22920
  include Google::Apis::Core::Hashable
22880
22921
 
22881
- # [Output Only] Instances config revision. This value is in RFC3339 text format.
22922
+ # [Output Only] Current all-instances configuration revision. This value is in
22923
+ # RFC3339 text format.
22882
22924
  # Corresponds to the JSON property `revision`
22883
22925
  # @return [String]
22884
22926
  attr_accessor :revision
@@ -23860,7 +23902,8 @@ module Google
23860
23902
  attr_accessor :network_endpoint_type
23861
23903
 
23862
23904
  # The target service url used to set up private service connection to a Google
23863
- # API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
23905
+ # API or a PSC Producer Service Attachment. An example value is: "asia-
23906
+ # northeast3-cloudkms.googleapis.com"
23864
23907
  # Corresponds to the JSON property `pscTargetService`
23865
23908
  # @return [String]
23866
23909
  attr_accessor :psc_target_service
@@ -29260,18 +29303,18 @@ module Google
29260
29303
  # Fingerprint of this per-instance config. This field can be used in optimistic
29261
29304
  # locking. It is ignored when inserting a per-instance config. An up-to-date
29262
29305
  # fingerprint must be provided in order to update an existing per-instance
29263
- # config or the field needs to be unset.
29306
+ # configuration or the field needs to be unset.
29264
29307
  # Corresponds to the JSON property `fingerprint`
29265
29308
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
29266
29309
  # @return [String]
29267
29310
  attr_accessor :fingerprint
29268
29311
 
29269
- # The name of a per-instance config and its corresponding instance. Serves as a
29270
- # merge key during UpdatePerInstanceConfigs operations, that is, if a per-
29271
- # instance config with the same name exists then it will be updated, otherwise a
29272
- # new one will be created for the VM instance with the same name. An attempt to
29273
- # create a per-instance config for a VM instance that either doesn't exist or is
29274
- # not part of the group will result in an error.
29312
+ # The name of a per-instance configuration and its corresponding instance.
29313
+ # Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if
29314
+ # a per-instance configuration with the same name exists then it will be updated,
29315
+ # otherwise a new one will be created for the VM instance with the same name.
29316
+ # An attempt to create a per-instance configconfiguration for a VM instance that
29317
+ # either doesn't exist or is not part of the group will result in an error.
29275
29318
  # Corresponds to the JSON property `name`
29276
29319
  # @return [String]
29277
29320
  attr_accessor :name
@@ -29281,8 +29324,8 @@ module Google
29281
29324
  # @return [Google::Apis::ComputeAlpha::PreservedState]
29282
29325
  attr_accessor :preserved_state
29283
29326
 
29284
- # The status of applying this per-instance config on the corresponding managed
29285
- # instance.
29327
+ # The status of applying this per-instance configuration on the corresponding
29328
+ # managed instance.
29286
29329
  # Corresponds to the JSON property `status`
29287
29330
  # @return [String]
29288
29331
  attr_accessor :status
@@ -31620,8 +31663,8 @@ module Google
31620
31663
  class RegionInstanceGroupManagerPatchInstanceConfigReq
31621
31664
  include Google::Apis::Core::Hashable
31622
31665
 
31623
- # The list of per-instance configs to insert or patch on this managed instance
31624
- # group.
31666
+ # The list of per-instance configurations to insert or patch on this managed
31667
+ # instance group.
31625
31668
  # Corresponds to the JSON property `perInstanceConfigs`
31626
31669
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31627
31670
  attr_accessor :per_instance_configs
@@ -31640,8 +31683,8 @@ module Google
31640
31683
  class RegionInstanceGroupManagerUpdateInstanceConfigReq
31641
31684
  include Google::Apis::Core::Hashable
31642
31685
 
31643
- # The list of per-instance configs to insert or patch on this managed instance
31644
- # group.
31686
+ # The list of per-instance configurations to insert or patch on this managed
31687
+ # instance group.
31645
31688
  # Corresponds to the JSON property `perInstanceConfigs`
31646
31689
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31647
31690
  attr_accessor :per_instance_configs
@@ -32765,6 +32808,13 @@ module Google
32765
32808
  # @return [String]
32766
32809
  attr_accessor :name
32767
32810
 
32811
+ # Resource policies to be added to this reservation. The key is defined by user,
32812
+ # and the value is resource policy url. This is to define placement policy with
32813
+ # reservation.
32814
+ # Corresponds to the JSON property `resourcePolicies`
32815
+ # @return [Hash<String,String>]
32816
+ attr_accessor :resource_policies
32817
+
32768
32818
  # [Output Only] Reserved for future use.
32769
32819
  # Corresponds to the JSON property `satisfiesPzs`
32770
32820
  # @return [Boolean]
@@ -32823,6 +32873,7 @@ module Google
32823
32873
  @id = args[:id] if args.key?(:id)
32824
32874
  @kind = args[:kind] if args.key?(:kind)
32825
32875
  @name = args[:name] if args.key?(:name)
32876
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
32826
32877
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
32827
32878
  @self_link = args[:self_link] if args.key?(:self_link)
32828
32879
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -33655,9 +33706,9 @@ module Google
33655
33706
  class ResourcePolicyGroupPlacementPolicy
33656
33707
  include Google::Apis::Core::Hashable
33657
33708
 
33658
- # The number of availability domains instances will be spread across. If two
33659
- # instances are in different availability domain, they will not be put in the
33660
- # same low latency network
33709
+ # The number of availability domains to spread instances across. If two
33710
+ # instances are in different availability domain, they are not in the same low
33711
+ # latency network.
33661
33712
  # Corresponds to the JSON property `availabilityDomainCount`
33662
33713
  # @return [Fixnum]
33663
33714
  attr_accessor :availability_domain_count
@@ -33682,7 +33733,9 @@ module Google
33682
33733
  # @return [String]
33683
33734
  attr_accessor :style
33684
33735
 
33685
- # Number of vms in this placement group
33736
+ # Number of VMs in this placement group. Google does not recommend that you use
33737
+ # this field unless you use a compact policy and you want your policy to work
33738
+ # only if it contains this exact number of VMs.
33686
33739
  # Corresponds to the JSON property `vmCount`
33687
33740
  # @return [Fixnum]
33688
33741
  attr_accessor :vm_count
@@ -35584,7 +35637,7 @@ module Google
35584
35637
  attr_accessor :enable_endpoint_independent_mapping
35585
35638
  alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
35586
35639
 
35587
- # List of Natted endpoint types supported by the Nat Gateway. If the list is
35640
+ # List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
35588
35641
  # empty, then it will be equivalent to include ENDPOINT_TYPE_VM
35589
35642
  # Corresponds to the JSON property `endpointTypes`
35590
35643
  # @return [Array<String>]
@@ -39215,6 +39268,11 @@ module Google
39215
39268
  # @return [String]
39216
39269
  attr_accessor :chain_name
39217
39270
 
39271
+ # [Output Only] Size in bytes of the snapshot at creation time.
39272
+ # Corresponds to the JSON property `creationSizeBytes`
39273
+ # @return [Fixnum]
39274
+ attr_accessor :creation_size_bytes
39275
+
39218
39276
  # [Output Only] Creation timestamp in RFC3339 text format.
39219
39277
  # Corresponds to the JSON property `creationTimestamp`
39220
39278
  # @return [String]
@@ -39430,6 +39488,7 @@ module Google
39430
39488
  @architecture = args[:architecture] if args.key?(:architecture)
39431
39489
  @auto_created = args[:auto_created] if args.key?(:auto_created)
39432
39490
  @chain_name = args[:chain_name] if args.key?(:chain_name)
39491
+ @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
39433
39492
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
39434
39493
  @description = args[:description] if args.key?(:description)
39435
39494
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -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.31.0"
19
+ GEM_VERSION = "0.34.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 = "20220506"
26
26
  end
27
27
  end
28
28
  end
@@ -7717,6 +7717,7 @@ module Google
7717
7717
  class ConfidentialInstanceConfig
7718
7718
  # @private
7719
7719
  class Representation < Google::Apis::Core::JsonRepresentation
7720
+ property :confidential_instance_type, as: 'confidentialInstanceType'
7720
7721
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
7721
7722
  end
7722
7723
  end
@@ -10003,7 +10004,6 @@ module Google
10003
10004
  property :initial_delay_sec, as: 'initialDelaySec'
10004
10005
  property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
10005
10006
 
10006
- property :update_instances, as: 'updateInstances'
10007
10007
  end
10008
10008
  end
10009
10009
 
@@ -10017,6 +10017,7 @@ module Google
10017
10017
  class InstanceGroupManagerInstanceLifecyclePolicy
10018
10018
  # @private
10019
10019
  class Representation < Google::Apis::Core::JsonRepresentation
10020
+ property :force_update_on_repair, as: 'forceUpdateOnRepair'
10020
10021
  property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
10021
10022
 
10022
10023
  end
@@ -11162,6 +11163,8 @@ module Google
11162
11163
  class Representation < Google::Apis::Core::JsonRepresentation
11163
11164
  collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry::Representation
11164
11165
 
11166
+ property :bundle_aggregation_type, as: 'bundleAggregationType'
11167
+ property :bundle_operational_status, as: 'bundleOperationalStatus'
11165
11168
  collection :links, as: 'links', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus::Representation
11166
11169
 
11167
11170
  property :mac_address, as: 'macAddress'
@@ -11204,6 +11207,7 @@ module Google
11204
11207
 
11205
11208
  property :macsec, as: 'macsec', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus::Representation
11206
11209
 
11210
+ property :operational_status, as: 'operationalStatus'
11207
11211
  property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
11208
11212
 
11209
11213
  property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
@@ -14430,6 +14434,7 @@ module Google
14430
14434
  property :id, :numeric_string => true, as: 'id'
14431
14435
  property :kind, as: 'kind'
14432
14436
  property :name, as: 'name'
14437
+ hash :resource_policies, as: 'resourcePolicies'
14433
14438
  property :satisfies_pzs, as: 'satisfiesPzs'
14434
14439
  property :self_link, as: 'selfLink'
14435
14440
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -16057,6 +16062,7 @@ module Google
16057
16062
  property :architecture, as: 'architecture'
16058
16063
  property :auto_created, as: 'autoCreated'
16059
16064
  property :chain_name, as: 'chainName'
16065
+ property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
16060
16066
  property :creation_timestamp, as: 'creationTimestamp'
16061
16067
  property :description, as: 'description'
16062
16068
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -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
@@ -24840,6 +24840,61 @@ module Google
24840
24840
  execute_or_queue_command(command, &block)
24841
24841
  end
24842
24842
 
24843
+ # Sets the Google Cloud Armor security policy for the specified backend service.
24844
+ # For more information, see Google Cloud Armor Overview
24845
+ # @param [String] project
24846
+ # Project ID for this request.
24847
+ # @param [String] region
24848
+ # Name of the region scoping this request.
24849
+ # @param [String] backend_service
24850
+ # Name of the BackendService resource to which the security policy should be set.
24851
+ # The name should conform to RFC1035.
24852
+ # @param [Google::Apis::ComputeAlpha::SecurityPolicyReference] security_policy_reference_object
24853
+ # @param [String] request_id
24854
+ # An optional request ID to identify requests. Specify a unique request ID so
24855
+ # that if you must retry your request, the server will know to ignore the
24856
+ # request if it has already been completed. For example, consider a situation
24857
+ # where you make an initial request and the request times out. If you make the
24858
+ # request again with the same request ID, the server can check if original
24859
+ # operation with the same request ID was received, and if so, will ignore the
24860
+ # second request. This prevents clients from accidentally creating duplicate
24861
+ # commitments. The request ID must be a valid UUID with the exception that zero
24862
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
24863
+ # @param [String] fields
24864
+ # Selector specifying which fields to include in a partial response.
24865
+ # @param [String] quota_user
24866
+ # Available to use for quota purposes for server-side applications. Can be any
24867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24868
+ # @param [String] user_ip
24869
+ # Legacy name for parameter that has been superseded by `quotaUser`.
24870
+ # @param [Google::Apis::RequestOptions] options
24871
+ # Request-specific options
24872
+ #
24873
+ # @yield [result, err] Result & error if block supplied
24874
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
24875
+ # @yieldparam err [StandardError] error object if request failed
24876
+ #
24877
+ # @return [Google::Apis::ComputeAlpha::Operation]
24878
+ #
24879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24882
+ def set_region_backend_service_security_policy(project, region, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24883
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy', options)
24884
+ command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation
24885
+ command.request_object = security_policy_reference_object
24886
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
24887
+ command.response_class = Google::Apis::ComputeAlpha::Operation
24888
+ command.params['project'] = project unless project.nil?
24889
+ command.params['region'] = region unless region.nil?
24890
+ command.params['backendService'] = backend_service unless backend_service.nil?
24891
+ command.query['requestId'] = request_id unless request_id.nil?
24892
+ command.query['fields'] = fields unless fields.nil?
24893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24894
+ command.query['userIp'] = user_ip unless user_ip.nil?
24895
+ execute_or_queue_command(command, &block)
24896
+ end
24897
+
24843
24898
  # Returns permissions that a caller has on the specified resource.
24844
24899
  # @param [String] project
24845
24900
  # Project ID for this request.
@@ -27198,9 +27253,9 @@ module Google
27198
27253
  execute_or_queue_command(command, &block)
27199
27254
  end
27200
27255
 
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
27256
+ # Creates instances with per-instance configurations in this regional managed
27257
+ # instance group. Instances are created using the current instance template. The
27258
+ # create instances operation is marked DONE if the createInstances request is
27204
27259
  # successful. The underlying actions take additional time. You must separately
27205
27260
  # verify the status of the creating or actions with the listmanagedinstances
27206
27261
  # method.
@@ -27370,7 +27425,7 @@ module Google
27370
27425
  execute_or_queue_command(command, &block)
27371
27426
  end
27372
27427
 
27373
- # Deletes selected per-instance configs for the managed instance group.
27428
+ # Deletes selected per-instance configurations for the managed instance group.
27374
27429
  # @param [String] project
27375
27430
  # Project ID for this request.
27376
27431
  # @param [String] region
@@ -27759,8 +27814,8 @@ module Google
27759
27814
  execute_or_queue_command(command, &block)
27760
27815
  end
27761
27816
 
27762
- # Lists all of the per-instance configs defined for the managed instance group.
27763
- # The orderBy query parameter is not supported.
27817
+ # Lists all of the per-instance configurations defined for the managed instance
27818
+ # group. The orderBy query parameter is not supported.
27764
27819
  # @param [String] project
27765
27820
  # Project ID for this request.
27766
27821
  # @param [String] region
@@ -27905,7 +27960,7 @@ module Google
27905
27960
  execute_or_queue_command(command, &block)
27906
27961
  end
27907
27962
 
27908
- # Inserts or patches per-instance configs for the managed instance group.
27963
+ # Inserts or patches per-instance configurations for the managed instance group.
27909
27964
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
27910
27965
  # insert or patch.
27911
27966
  # @param [String] project
@@ -28682,7 +28737,7 @@ module Google
28682
28737
  execute_or_queue_command(command, &block)
28683
28738
  end
28684
28739
 
28685
- # Inserts or updates per-instance configs for the managed instance group.
28740
+ # Inserts or updates per-instance configurations for the managed instance group.
28686
28741
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
28687
28742
  # insert or patch.
28688
28743
  # @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.31.0
4
+ version: 0.34.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-05-16 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.34.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: []