google-apis-compute_alpha 0.52.0 → 0.54.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bd47da97f12a3cf06160dde98fe399cf82b4c04b0d4519873744d5478ebc37b
4
- data.tar.gz: f8e3103cc99d5f29b840b8aca208c385c9bd76ba9033bee69e75e79e28bd89fe
3
+ metadata.gz: 845558f6d6d627f9aa58b520575f55a9cae183c3de76a48cfb8bd5efff0595ca
4
+ data.tar.gz: d4c1de3023237e5aba1722754fb594541fd29b625f710745411489e17918917c
5
5
  SHA512:
6
- metadata.gz: 6f80e44a1d69bc00c88710bc9f5a462930f20988a7ce31b700eb43b7e49dfdf1920203dd5c30d93b768f1f3ca6f9aa675cde0e95172f0ef859731337dbf5c9f5
7
- data.tar.gz: 73db0d8cd5fde56b808a88a781eea61316f5652354ebc22aedeb4e1acac0b049d7a3bbfb3351ea789216d81dcc8e4e8fa6c79dcc7dde6c9ba97f8bc1ece3c5d4
6
+ metadata.gz: 356bf579ae50dbcd0362258270c749250fac714d9353f19c356c0f8e1f29377864cc4c67bbbbc3e121aeb5e782ca35a0b53900c3d157e0c9253285446e836b33
7
+ data.tar.gz: df8c7e3a07ff71732b1c677e2375a5ec8161859cca60b1f0bbc596d87b27a0af97ad20e19cd8a122414cc41e703132b53255716ff69869373ec30d1fc7be88df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.54.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221126
6
+
7
+ ### v0.53.0 (2022-11-10)
8
+
9
+ * Regenerated from discovery document revision 20221101
10
+
3
11
  ### v0.52.0 (2022-11-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20221026
@@ -1698,7 +1698,7 @@ module Google
1698
1698
  attr_accessor :provisioned_throughput
1699
1699
 
1700
1700
  # URLs of the zones where the disk should be replicated to. Only applicable for
1701
- # regional resources.
1701
+ # regional resources. Replica zones must have 1 zone same as the instance zone.
1702
1702
  # Corresponds to the JSON property `replicaZones`
1703
1703
  # @return [Array<String>]
1704
1704
  attr_accessor :replica_zones
@@ -2871,7 +2871,9 @@ module Google
2871
2871
  # group is completely drained, offering 0% of its available capacity. The valid
2872
2872
  # ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and
2873
2873
  # smaller than 0.1. You cannot configure a setting of 0 when there is only one
2874
- # backend attached to the backend service.
2874
+ # backend attached to the backend service. Not available with backends that don'
2875
+ # t support using a balancingMode. This includes backends such as global
2876
+ # internet NEGs, regional serverless NEGs, and PSC NEGs.
2875
2877
  # Corresponds to the JSON property `capacityScaler`
2876
2878
  # @return [Float]
2877
2879
  attr_accessor :capacity_scaler
@@ -4592,22 +4594,31 @@ module Google
4592
4594
  attr_accessor :enable
4593
4595
  alias_method :enable?, :enable
4594
4596
 
4595
- # This field can only be specified if logging is enabled for this backend
4596
- # service. Configures whether all, none or a subset of optional fields should be
4597
- # added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL,
4598
- # CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
4597
+ # Deprecated in favor of optionalMode. This field can only be specified if
4598
+ # logging is enabled for this backend service. Configures whether all, none or a
4599
+ # subset of optional fields should be added to the reported logs. One of [
4600
+ # INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is
4601
+ # EXCLUDE_ALL_OPTIONAL.
4599
4602
  # Corresponds to the JSON property `optional`
4600
4603
  # @return [String]
4601
4604
  attr_accessor :optional
4602
4605
 
4603
4606
  # This field can only be specified if logging is enabled for this backend
4604
- # service and "logConfig.optional" was set to CUSTOM. Contains a list of
4607
+ # service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of
4605
4608
  # optional fields you want to include in the logs. For example: serverInstance,
4606
4609
  # serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
4607
4610
  # Corresponds to the JSON property `optionalFields`
4608
4611
  # @return [Array<String>]
4609
4612
  attr_accessor :optional_fields
4610
4613
 
4614
+ # This field can only be specified if logging is enabled for this backend
4615
+ # service. Configures whether all, none or a subset of optional fields should be
4616
+ # added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL,
4617
+ # CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
4618
+ # Corresponds to the JSON property `optionalMode`
4619
+ # @return [String]
4620
+ attr_accessor :optional_mode
4621
+
4611
4622
  # This field can only be specified if logging is enabled for this backend
4612
4623
  # service. The value of the field must be in [0, 1]. This configures the
4613
4624
  # sampling rate of requests to the load balancer where 1.0 means all logged
@@ -4626,6 +4637,7 @@ module Google
4626
4637
  @enable = args[:enable] if args.key?(:enable)
4627
4638
  @optional = args[:optional] if args.key?(:optional)
4628
4639
  @optional_fields = args[:optional_fields] if args.key?(:optional_fields)
4640
+ @optional_mode = args[:optional_mode] if args.key?(:optional_mode)
4629
4641
  @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
4630
4642
  end
4631
4643
  end
@@ -8005,14 +8017,9 @@ module Google
8005
8017
  class DisksStopAsyncReplicationRequest
8006
8018
  include Google::Apis::Core::Hashable
8007
8019
 
8008
- # The secondary disk to stop asynchronous replication to. Supplied if and only
8009
- # if the target disk is a primary disk in an asynchronously replicated pair. You
8010
- # can provide this as a partial or full URL to the resource. For example, the
8011
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
8012
- # project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
8013
- # projects/project/regions/region /disks/disk - projects/project/zones/zone/
8014
- # disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
8015
- # disk - regions/region/disks/disk
8020
+ # [Deprecated] The secondary disk to stop asynchronous replication to. This
8021
+ # field will not be included in the beta or v1 APIs and will be removed from the
8022
+ # alpha API in the near future.
8016
8023
  # Corresponds to the JSON property `asyncSecondaryDisk`
8017
8024
  # @return [String]
8018
8025
  attr_accessor :async_secondary_disk
@@ -8185,7 +8192,8 @@ module Google
8185
8192
 
8186
8193
  # The reason of the error. This is a constant value that identifies the
8187
8194
  # proximate cause of the error. Error reasons are unique within a particular
8188
- # domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
8195
+ # domain of errors. This should be at most 63 characters and match a regular
8196
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
8189
8197
  # Corresponds to the JSON property `reason`
8190
8198
  # @return [String]
8191
8199
  attr_accessor :reason
@@ -9198,8 +9206,8 @@ module Google
9198
9206
  attr_accessor :kind
9199
9207
 
9200
9208
  # Name of the resource. For Organization Firewall Policies it's a [Output Only]
9201
- # numeric ID allocated by GCP which uniquely identifies the Organization
9202
- # Firewall Policy.
9209
+ # numeric ID allocated by Google Cloud which uniquely identifies the
9210
+ # Organization Firewall Policy.
9203
9211
  # Corresponds to the JSON property `name`
9204
9212
  # @return [String]
9205
9213
  attr_accessor :name
@@ -9814,12 +9822,13 @@ module Google
9814
9822
  # @return [String]
9815
9823
  attr_accessor :ip_protocol
9816
9824
 
9817
- # This field is used along with the backend_service field for Internal TCP/UDP
9818
- # Load Balancing or Network Load Balancing, or with the target field for
9819
- # internal and external TargetInstance. You can only use one of ports and
9820
- # port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and
9821
- # SCTP traffic, packets addressed to any ports will be forwarded to the target
9822
- # or backendService.
9825
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
9826
+ # internal TCP/UDP load balancers, backend service-based network load balancers,
9827
+ # and internal and external protocol forwarding. Set this field to true to allow
9828
+ # packets addressed to any port or packets lacking destination port information (
9829
+ # for example, UDP fragments after the first fragment) to be forwarded to the
9830
+ # backends configured with this forwarding rule. The ports, port_range, and
9831
+ # allPorts fields are mutually exclusive.
9823
9832
  # Corresponds to the JSON property `allPorts`
9824
9833
  # @return [Boolean]
9825
9834
  attr_accessor :all_ports
@@ -9848,6 +9857,15 @@ module Google
9848
9857
  # @return [String]
9849
9858
  attr_accessor :backend_service
9850
9859
 
9860
+ # [Output Only] The URL for the corresponding base Forwarding Rule. By base
9861
+ # Forwarding Rule, we mean the Forwarding Rule that has the same IP address,
9862
+ # protocol, and port settings with the current Forwarding Rule, but without
9863
+ # sourceIPRanges specified. Always empty if the current Forwarding Rule does not
9864
+ # have sourceIPRanges specified.
9865
+ # Corresponds to the JSON property `baseForwardingRule`
9866
+ # @return [String]
9867
+ attr_accessor :base_forwarding_rule
9868
+
9851
9869
  # [Output Only] Creation timestamp in RFC3339 text format.
9852
9870
  # Corresponds to the JSON property `creationTimestamp`
9853
9871
  # @return [String]
@@ -9982,27 +10000,35 @@ module Google
9982
10000
  attr_accessor :no_automate_dns_zone
9983
10001
  alias_method :no_automate_dns_zone?, :no_automate_dns_zone
9984
10002
 
9985
- # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
9986
- # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
9987
- # SCTP. Packets addressed to ports in the specified range will be forwarded to
9988
- # target or backend_service. You can only use one of ports, port_range, or
9989
- # allPorts. The three are mutually exclusive. Forwarding rules with the same [
9990
- # IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding
9991
- # target have constraints on the acceptable ports. For more information, see [
9992
- # Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-
9993
- # rule-concepts#port_specifications). @pattern: \\d+(?:-\\d+)?
10003
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
10004
+ # backend service-based network load balancers, target pool-based network load
10005
+ # balancers, internal proxy load balancers, external proxy load balancers,
10006
+ # Traffic Director, external protocol forwarding, and Classic VPN. Some products
10007
+ # have restrictions on what ports can be used. See port specifications for
10008
+ # details. Only packets addressed to ports in the specified range will be
10009
+ # forwarded to the backends configured with this forwarding rule. The ports,
10010
+ # port_range, and allPorts fields are mutually exclusive. For external
10011
+ # forwarding rules, two or more forwarding rules cannot use the same [IPAddress,
10012
+ # IPProtocol] pair, and cannot have overlapping portRanges. For internal
10013
+ # forwarding rules within the same VPC network, two or more forwarding rules
10014
+ # cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
10015
+ # portRanges. @pattern: \\d+(?:-\\d+)?
9994
10016
  # Corresponds to the JSON property `portRange`
9995
10017
  # @return [String]
9996
10018
  attr_accessor :port_range
9997
10019
 
9998
- # The ports field is only supported when the forwarding rule references a
9999
- # backend_service directly. Only packets addressed to the [specified list of
10000
- # ports]((https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
10001
- # port_specifications)) are forwarded to backends. You can only use one of ports
10002
- # and port_range, or allPorts. The three are mutually exclusive. You can specify
10003
- # a list of up to five ports, which can be non-contiguous. Forwarding rules with
10004
- # the same [IPAddress, IPProtocol] pair must have disjoint ports. @pattern: \\d+(
10005
- # ?:-\\d+)?
10020
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
10021
+ # internal TCP/UDP load balancers, backend service-based network load balancers,
10022
+ # and internal protocol forwarding. You can specify a list of up to five ports
10023
+ # by number, separated by commas. The ports can be contiguous or discontiguous.
10024
+ # Only packets addressed to these ports will be forwarded to the backends
10025
+ # configured with this forwarding rule. For external forwarding rules, two or
10026
+ # more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
10027
+ # cannot share any values defined in ports. For internal forwarding rules within
10028
+ # the same VPC network, two or more forwarding rules cannot use the same [
10029
+ # IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The
10030
+ # ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?
10031
+ # :-\\d+)?
10006
10032
  # Corresponds to the JSON property `ports`
10007
10033
  # @return [Array<String>]
10008
10034
  attr_accessor :ports
@@ -10104,6 +10130,7 @@ module Google
10104
10130
  @allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
10105
10131
  @allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
10106
10132
  @backend_service = args[:backend_service] if args.key?(:backend_service)
10133
+ @base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
10107
10134
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
10108
10135
  @description = args[:description] if args.key?(:description)
10109
10136
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -12196,13 +12223,18 @@ module Google
12196
12223
  attr_accessor :fingerprint
12197
12224
 
12198
12225
  # A list of URLs to the HealthCheck resources. Must have at least one
12199
- # HealthCheck, and not more than 10. HealthCheck resources must have
12226
+ # HealthCheck, and not more than 10 for regional HealthCheckService, and not
12227
+ # more than 1 for global HealthCheckService. HealthCheck resources must have
12200
12228
  # portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For
12201
12229
  # regional HealthCheckService, the HealthCheck must be regional and in the same
12202
12230
  # region. For global HealthCheckService, HealthCheck must be global. Mix of
12203
12231
  # regional and global HealthChecks is not supported. Multiple regional
12204
12232
  # HealthChecks must belong to the same region. Regional HealthChecks must belong
12205
- # to the same region as zones of NEGs.
12233
+ # to the same region as zones of NetworkEndpointGroups. For global
12234
+ # HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the
12235
+ # global HealthChecks must specify sourceRegions, and HealthChecks that specify
12236
+ # sourceRegions can only be used with global INTERNET_IP_PORT
12237
+ # NetworkEndpointGroups.
12206
12238
  # Corresponds to the JSON property `healthChecks`
12207
12239
  # @return [Array<String>]
12208
12240
  attr_accessor :health_checks
@@ -12212,7 +12244,8 @@ module Google
12212
12244
  # NO_AGGREGATION. An EndpointHealth message is returned for each pair in the
12213
12245
  # health check service. - AND. If any health check of an endpoint reports
12214
12246
  # UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health
12215
- # checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
12247
+ # checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is
12248
+ # only allowed with regional HealthCheckService.
12216
12249
  # Corresponds to the JSON property `healthStatusAggregationPolicy`
12217
12250
  # @return [String]
12218
12251
  attr_accessor :health_status_aggregation_policy
@@ -12252,7 +12285,8 @@ module Google
12252
12285
 
12253
12286
  # A list of URLs to the NetworkEndpointGroup resources. Must not have more than
12254
12287
  # 100. For regional HealthCheckService, NEGs must be in zones in the region of
12255
- # the HealthCheckService.
12288
+ # the HealthCheckService. For global HealthCheckServices, the
12289
+ # NetworkEndpointGroups must be global INTERNET_IP_PORT.
12256
12290
  # Corresponds to the JSON property `networkEndpointGroups`
12257
12291
  # @return [Array<String>]
12258
12292
  attr_accessor :network_endpoint_groups
@@ -14932,17 +14966,12 @@ module Google
14932
14966
  # @return [Fixnum]
14933
14967
  attr_accessor :id
14934
14968
 
14935
- # Encrypts or decrypts data for an instance with a customer-supplied encryption
14936
- # key. If you are creating a new instance, this field encrypts the local SSD and
14937
- # in-memory contents of the instance using a key that you provide. If you are
14938
- # restarting an instance protected with a customer-supplied encryption key, you
14939
- # must provide the correct key in order to successfully restart the instance. If
14940
- # you do not provide an encryption key when creating the instance, then the
14941
- # local SSD and in-memory contents will be encrypted using an automatically
14942
- # generated key and you do not need to provide a key to start the instance later.
14943
- # Instance templates do not store customer-supplied encryption keys, so you
14944
- # cannot use your own keys to encrypt local SSDs and in-memory content in a
14945
- # managed instance group.
14969
+ # Encrypts suspended data for an instance with a customer-managed encryption key.
14970
+ # If you are creating a new instance, this field will encrypt the local SSD and
14971
+ # in-memory contents of the instance during the suspend operation. If you do not
14972
+ # provide an encryption key when creating the instance, then the local SSD and
14973
+ # in-memory contents will be encrypted using an automatically generated key
14974
+ # during the suspend operation.
14946
14975
  # Corresponds to the JSON property `instanceEncryptionKey`
14947
14976
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
14948
14977
  attr_accessor :instance_encryption_key
@@ -16392,6 +16421,11 @@ module Google
16392
16421
  class InstanceGroupManagerInstanceLifecyclePolicy
16393
16422
  include Google::Apis::Core::Hashable
16394
16423
 
16424
+ # Defines behaviour for all instance or failures
16425
+ # Corresponds to the JSON property `defaultActionOnFailure`
16426
+ # @return [String]
16427
+ attr_accessor :default_action_on_failure
16428
+
16395
16429
  # A bit indicating whether to forcefully apply the group's latest configuration
16396
16430
  # when repairing a VM. Valid options are: - NO (default): If configuration
16397
16431
  # updates are available, they are not forcefully applied during repair. Instead,
@@ -16421,6 +16455,7 @@ module Google
16421
16455
 
16422
16456
  # Update properties of this object
16423
16457
  def update!(**args)
16458
+ @default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
16424
16459
  @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
16425
16460
  @metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
16426
16461
  end
@@ -20887,12 +20922,6 @@ module Google
20887
20922
  # @return [Array<Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>]
20888
20923
  attr_accessor :bgp_peer_asn_ranges
20889
20924
 
20890
- # [Output Only] Network Connectivity Center constraints, which can take one of
20891
- # the following values: NCC_UNCONSTRAINED, NCC_SPOKE_REQUIRED
20892
- # Corresponds to the JSON property `networkConnectivityCenter`
20893
- # @return [String]
20894
- attr_accessor :network_connectivity_center
20895
-
20896
20925
  def initialize(**args)
20897
20926
  update!(**args)
20898
20927
  end
@@ -20901,7 +20930,6 @@ module Google
20901
20930
  def update!(**args)
20902
20931
  @bgp_md5 = args[:bgp_md5] if args.key?(:bgp_md5)
20903
20932
  @bgp_peer_asn_ranges = args[:bgp_peer_asn_ranges] if args.key?(:bgp_peer_asn_ranges)
20904
- @network_connectivity_center = args[:network_connectivity_center] if args.key?(:network_connectivity_center)
20905
20933
  end
20906
20934
  end
20907
20935
 
@@ -33373,6 +33401,221 @@ module Google
33373
33401
  end
33374
33402
  end
33375
33403
 
33404
+ #
33405
+ class QueuedResourcesAggregatedList
33406
+ include Google::Apis::Core::Hashable
33407
+
33408
+ # [Output Only] Unique identifier for the resource; defined by the server.
33409
+ # Corresponds to the JSON property `id`
33410
+ # @return [String]
33411
+ attr_accessor :id
33412
+
33413
+ # A list of QueuedResourcesScopedList resources.
33414
+ # Corresponds to the JSON property `items`
33415
+ # @return [Hash<String,Google::Apis::ComputeAlpha::QueuedResourcesScopedList>]
33416
+ attr_accessor :items
33417
+
33418
+ # [Output Only] Type of resource. Always compute#queuedResourcesAggregatedList
33419
+ # for lists of QueuedResource.
33420
+ # Corresponds to the JSON property `kind`
33421
+ # @return [String]
33422
+ attr_accessor :kind
33423
+
33424
+ # [Output Only] This token allows you to get the next page of results for list
33425
+ # requests. If the number of results is larger than maxResults, use the
33426
+ # nextPageToken as a value for the query parameter pageToken in the next list
33427
+ # request. Subsequent list requests will have their own nextPageToken to
33428
+ # continue paging through the results.
33429
+ # Corresponds to the JSON property `nextPageToken`
33430
+ # @return [String]
33431
+ attr_accessor :next_page_token
33432
+
33433
+ # [Output Only] Server-defined URL for this resource.
33434
+ # Corresponds to the JSON property `selfLink`
33435
+ # @return [String]
33436
+ attr_accessor :self_link
33437
+
33438
+ # [Output Only] Unreachable resources.
33439
+ # Corresponds to the JSON property `unreachables`
33440
+ # @return [Array<String>]
33441
+ attr_accessor :unreachables
33442
+
33443
+ # [Output Only] Informational warning message.
33444
+ # Corresponds to the JSON property `warning`
33445
+ # @return [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning]
33446
+ attr_accessor :warning
33447
+
33448
+ def initialize(**args)
33449
+ update!(**args)
33450
+ end
33451
+
33452
+ # Update properties of this object
33453
+ def update!(**args)
33454
+ @id = args[:id] if args.key?(:id)
33455
+ @items = args[:items] if args.key?(:items)
33456
+ @kind = args[:kind] if args.key?(:kind)
33457
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
33458
+ @self_link = args[:self_link] if args.key?(:self_link)
33459
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
33460
+ @warning = args[:warning] if args.key?(:warning)
33461
+ end
33462
+
33463
+ # [Output Only] Informational warning message.
33464
+ class Warning
33465
+ include Google::Apis::Core::Hashable
33466
+
33467
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
33468
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
33469
+ # Corresponds to the JSON property `code`
33470
+ # @return [String]
33471
+ attr_accessor :code
33472
+
33473
+ # [Output Only] Metadata about this warning in key: value format. For example: "
33474
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
33475
+ # Corresponds to the JSON property `data`
33476
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum>]
33477
+ attr_accessor :data
33478
+
33479
+ # [Output Only] A human-readable description of the warning code.
33480
+ # Corresponds to the JSON property `message`
33481
+ # @return [String]
33482
+ attr_accessor :message
33483
+
33484
+ def initialize(**args)
33485
+ update!(**args)
33486
+ end
33487
+
33488
+ # Update properties of this object
33489
+ def update!(**args)
33490
+ @code = args[:code] if args.key?(:code)
33491
+ @data = args[:data] if args.key?(:data)
33492
+ @message = args[:message] if args.key?(:message)
33493
+ end
33494
+
33495
+ #
33496
+ class Datum
33497
+ include Google::Apis::Core::Hashable
33498
+
33499
+ # [Output Only] A key that provides more detail on the warning being returned.
33500
+ # For example, for warnings where there are no results in a list request for a
33501
+ # particular zone, this key might be scope and the key value might be the zone
33502
+ # name. Other examples might be a key indicating a deprecated resource and a
33503
+ # suggested replacement, or a warning about invalid network settings (for
33504
+ # example, if an instance attempts to perform IP forwarding but is not enabled
33505
+ # for IP forwarding).
33506
+ # Corresponds to the JSON property `key`
33507
+ # @return [String]
33508
+ attr_accessor :key
33509
+
33510
+ # [Output Only] A warning data value corresponding to the key.
33511
+ # Corresponds to the JSON property `value`
33512
+ # @return [String]
33513
+ attr_accessor :value
33514
+
33515
+ def initialize(**args)
33516
+ update!(**args)
33517
+ end
33518
+
33519
+ # Update properties of this object
33520
+ def update!(**args)
33521
+ @key = args[:key] if args.key?(:key)
33522
+ @value = args[:value] if args.key?(:value)
33523
+ end
33524
+ end
33525
+ end
33526
+ end
33527
+
33528
+ #
33529
+ class QueuedResourcesScopedList
33530
+ include Google::Apis::Core::Hashable
33531
+
33532
+ # List of QueuedResources contained in this scope.
33533
+ # Corresponds to the JSON property `queuedResources`
33534
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResource>]
33535
+ attr_accessor :queued_resources
33536
+
33537
+ # Informational warning which replaces the list of backend services when the
33538
+ # list is empty.
33539
+ # Corresponds to the JSON property `warning`
33540
+ # @return [Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning]
33541
+ attr_accessor :warning
33542
+
33543
+ def initialize(**args)
33544
+ update!(**args)
33545
+ end
33546
+
33547
+ # Update properties of this object
33548
+ def update!(**args)
33549
+ @queued_resources = args[:queued_resources] if args.key?(:queued_resources)
33550
+ @warning = args[:warning] if args.key?(:warning)
33551
+ end
33552
+
33553
+ # Informational warning which replaces the list of backend services when the
33554
+ # list is empty.
33555
+ class Warning
33556
+ include Google::Apis::Core::Hashable
33557
+
33558
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
33559
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
33560
+ # Corresponds to the JSON property `code`
33561
+ # @return [String]
33562
+ attr_accessor :code
33563
+
33564
+ # [Output Only] Metadata about this warning in key: value format. For example: "
33565
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
33566
+ # Corresponds to the JSON property `data`
33567
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum>]
33568
+ attr_accessor :data
33569
+
33570
+ # [Output Only] A human-readable description of the warning code.
33571
+ # Corresponds to the JSON property `message`
33572
+ # @return [String]
33573
+ attr_accessor :message
33574
+
33575
+ def initialize(**args)
33576
+ update!(**args)
33577
+ end
33578
+
33579
+ # Update properties of this object
33580
+ def update!(**args)
33581
+ @code = args[:code] if args.key?(:code)
33582
+ @data = args[:data] if args.key?(:data)
33583
+ @message = args[:message] if args.key?(:message)
33584
+ end
33585
+
33586
+ #
33587
+ class Datum
33588
+ include Google::Apis::Core::Hashable
33589
+
33590
+ # [Output Only] A key that provides more detail on the warning being returned.
33591
+ # For example, for warnings where there are no results in a list request for a
33592
+ # particular zone, this key might be scope and the key value might be the zone
33593
+ # name. Other examples might be a key indicating a deprecated resource and a
33594
+ # suggested replacement, or a warning about invalid network settings (for
33595
+ # example, if an instance attempts to perform IP forwarding but is not enabled
33596
+ # for IP forwarding).
33597
+ # Corresponds to the JSON property `key`
33598
+ # @return [String]
33599
+ attr_accessor :key
33600
+
33601
+ # [Output Only] A warning data value corresponding to the key.
33602
+ # Corresponds to the JSON property `value`
33603
+ # @return [String]
33604
+ attr_accessor :value
33605
+
33606
+ def initialize(**args)
33607
+ update!(**args)
33608
+ end
33609
+
33610
+ # Update properties of this object
33611
+ def update!(**args)
33612
+ @key = args[:key] if args.key?(:key)
33613
+ @value = args[:value] if args.key?(:value)
33614
+ end
33615
+ end
33616
+ end
33617
+ end
33618
+
33376
33619
  # Queuing parameters for the requested deferred capacity.
33377
33620
  class QueuingPolicy
33378
33621
  include Google::Apis::Core::Hashable
@@ -34005,14 +34248,9 @@ module Google
34005
34248
  class RegionDisksStopAsyncReplicationRequest
34006
34249
  include Google::Apis::Core::Hashable
34007
34250
 
34008
- # The secondary disk to stop asynchronous replication to. Supplied if and only
34009
- # if the target disk is a primary disk in an asynchronously replicated pair. You
34010
- # can provide this as a partial or full URL to the resource. For example, the
34011
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
34012
- # project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
34013
- # projects/project/regions/region /disks/disk - projects/project/zones/zone/
34014
- # disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
34015
- # disk - regions/region/disks/disk
34251
+ # [Deprecated] The secondary disk to stop asynchronous replication to. This
34252
+ # field will not be included in the beta or v1 APIs and will be removed from the
34253
+ # alpha API in the near future.
34016
34254
  # Corresponds to the JSON property `asyncSecondaryDisk`
34017
34255
  # @return [String]
34018
34256
  attr_accessor :async_secondary_disk
@@ -35929,8 +36167,8 @@ module Google
35929
36167
  # @return [Fixnum]
35930
36168
  attr_accessor :amount
35931
36169
 
35932
- # Type of resource for which this commitment applies. Possible values are VCPU
35933
- # and MEMORY
36170
+ # Type of resource for which this commitment applies. Possible values are VCPU,
36171
+ # MEMORY, LOCAL_SSD, and ACCELERATOR.
35934
36172
  # Corresponds to the JSON property `type`
35935
36173
  # @return [String]
35936
36174
  attr_accessor :type
@@ -36376,6 +36614,11 @@ module Google
36376
36614
  # @return [String]
36377
36615
  attr_accessor :locality
36378
36616
 
36617
+ # Specifies the number of max logical switches.
36618
+ # Corresponds to the JSON property `maxDistance`
36619
+ # @return [Fixnum]
36620
+ attr_accessor :max_distance
36621
+
36379
36622
  # Scope specifies the availability domain to which the VMs should be spread.
36380
36623
  # Corresponds to the JSON property `scope`
36381
36624
  # @return [String]
@@ -36407,6 +36650,7 @@ module Google
36407
36650
  @availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
36408
36651
  @collocation = args[:collocation] if args.key?(:collocation)
36409
36652
  @locality = args[:locality] if args.key?(:locality)
36653
+ @max_distance = args[:max_distance] if args.key?(:max_distance)
36410
36654
  @scope = args[:scope] if args.key?(:scope)
36411
36655
  @style = args[:style] if args.key?(:style)
36412
36656
  @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
@@ -41043,6 +41287,14 @@ module Google
41043
41287
  # @return [String]
41044
41288
  attr_accessor :enforce_on_key
41045
41289
 
41290
+ # If specified, any combination of values of enforce_on_key_type/
41291
+ # enforce_on_key_name is treated as the key on which ratelimit threshold/action
41292
+ # is enforced. You can specify up to 3 enforce_on_key_configs. If
41293
+ # enforce_on_key_configs is specified, enforce_on_key must not be specified.
41294
+ # Corresponds to the JSON property `enforceOnKeyConfigs`
41295
+ # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>]
41296
+ attr_accessor :enforce_on_key_configs
41297
+
41046
41298
  # Rate limit key name applicable only for the following key types: HTTP_HEADER --
41047
41299
  # Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE --
41048
41300
  # Name of the HTTP cookie whose value is taken as the key value.
@@ -41085,6 +41337,7 @@ module Google
41085
41337
  @ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
41086
41338
  @conform_action = args[:conform_action] if args.key?(:conform_action)
41087
41339
  @enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
41340
+ @enforce_on_key_configs = args[:enforce_on_key_configs] if args.key?(:enforce_on_key_configs)
41088
41341
  @enforce_on_key_name = args[:enforce_on_key_name] if args.key?(:enforce_on_key_name)
41089
41342
  @exceed_action = args[:exceed_action] if args.key?(:exceed_action)
41090
41343
  @exceed_action_rpc_status = args[:exceed_action_rpc_status] if args.key?(:exceed_action_rpc_status)
@@ -41093,6 +41346,51 @@ module Google
41093
41346
  end
41094
41347
  end
41095
41348
 
41349
+ #
41350
+ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
41351
+ include Google::Apis::Core::Hashable
41352
+
41353
+ # Rate limit key name applicable only for the following key types: HTTP_HEADER --
41354
+ # Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE --
41355
+ # Name of the HTTP cookie whose value is taken as the key value.
41356
+ # Corresponds to the JSON property `enforceOnKeyName`
41357
+ # @return [String]
41358
+ attr_accessor :enforce_on_key_name
41359
+
41360
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are:
41361
+ # - ALL: A single rate limit threshold is applied to all the requests matching
41362
+ # this rule. This is the default value if "enforceOnKeyConfigs" is not
41363
+ # configured. - IP: The source IP address of the request is the key. Each IP has
41364
+ # this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
41365
+ # whose name is configured under "enforceOnKeyName". The key value is truncated
41366
+ # to the first 128 bytes of the header value. If no such header is present in
41367
+ # the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e.
41368
+ # the originating client IP address) specified in the list of IPs under X-
41369
+ # Forwarded-For HTTP header. If no such header is present or the value is not a
41370
+ # valid IP, the key defaults to the source IP address of the request i.e. key
41371
+ # type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured
41372
+ # under "enforceOnKeyName". The key value is truncated to the first 128 bytes of
41373
+ # the cookie value. If no such cookie is present in the request, the key type
41374
+ # defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
41375
+ # is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
41376
+ # session of the HTTPS request. The key value is truncated to the first 128
41377
+ # bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
41378
+ # country/region from which the request originates.
41379
+ # Corresponds to the JSON property `enforceOnKeyType`
41380
+ # @return [String]
41381
+ attr_accessor :enforce_on_key_type
41382
+
41383
+ def initialize(**args)
41384
+ update!(**args)
41385
+ end
41386
+
41387
+ # Update properties of this object
41388
+ def update!(**args)
41389
+ @enforce_on_key_name = args[:enforce_on_key_name] if args.key?(:enforce_on_key_name)
41390
+ @enforce_on_key_type = args[:enforce_on_key_type] if args.key?(:enforce_on_key_type)
41391
+ end
41392
+ end
41393
+
41096
41394
  # Simplified google.rpc.Status type (omitting details).
41097
41395
  class SecurityPolicyRuleRateLimitOptionsRpcStatus
41098
41396
  include Google::Apis::Core::Hashable
@@ -41745,6 +42043,11 @@ module Google
41745
42043
  # @return [Fixnum]
41746
42044
  attr_accessor :connection_limit
41747
42045
 
42046
+ # The network URL for the network to set the limit for.
42047
+ # Corresponds to the JSON property `networkUrl`
42048
+ # @return [String]
42049
+ attr_accessor :network_url
42050
+
41748
42051
  # The project id or number for the project to set the limit for.
41749
42052
  # Corresponds to the JSON property `projectIdOrNum`
41750
42053
  # @return [String]
@@ -41757,6 +42060,7 @@ module Google
41757
42060
  # Update properties of this object
41758
42061
  def update!(**args)
41759
42062
  @connection_limit = args[:connection_limit] if args.key?(:connection_limit)
42063
+ @network_url = args[:network_url] if args.key?(:network_url)
41760
42064
  @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
41761
42065
  end
41762
42066
  end
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221026"
25
+ REVISION = "20221126"
26
26
  end
27
27
  end
28
28
  end
@@ -4246,6 +4246,42 @@ module Google
4246
4246
  include Google::Apis::Core::JsonObjectSupport
4247
4247
  end
4248
4248
 
4249
+ class QueuedResourcesAggregatedList
4250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4251
+
4252
+ class Warning
4253
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4254
+
4255
+ class Datum
4256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4257
+
4258
+ include Google::Apis::Core::JsonObjectSupport
4259
+ end
4260
+
4261
+ include Google::Apis::Core::JsonObjectSupport
4262
+ end
4263
+
4264
+ include Google::Apis::Core::JsonObjectSupport
4265
+ end
4266
+
4267
+ class QueuedResourcesScopedList
4268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4269
+
4270
+ class Warning
4271
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4272
+
4273
+ class Datum
4274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4275
+
4276
+ include Google::Apis::Core::JsonObjectSupport
4277
+ end
4278
+
4279
+ include Google::Apis::Core::JsonObjectSupport
4280
+ end
4281
+
4282
+ include Google::Apis::Core::JsonObjectSupport
4283
+ end
4284
+
4249
4285
  class QueuingPolicy
4250
4286
  class Representation < Google::Apis::Core::JsonRepresentation; end
4251
4287
 
@@ -5356,6 +5392,12 @@ module Google
5356
5392
  include Google::Apis::Core::JsonObjectSupport
5357
5393
  end
5358
5394
 
5395
+ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
5396
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5397
+
5398
+ include Google::Apis::Core::JsonObjectSupport
5399
+ end
5400
+
5359
5401
  class SecurityPolicyRuleRateLimitOptionsRpcStatus
5360
5402
  class Representation < Google::Apis::Core::JsonRepresentation; end
5361
5403
 
@@ -7854,6 +7896,7 @@ module Google
7854
7896
  property :enable, as: 'enable'
7855
7897
  property :optional, as: 'optional'
7856
7898
  collection :optional_fields, as: 'optionalFields'
7899
+ property :optional_mode, as: 'optionalMode'
7857
7900
  property :sample_rate, as: 'sampleRate'
7858
7901
  end
7859
7902
  end
@@ -9067,6 +9110,7 @@ module Google
9067
9110
  property :allow_global_access, as: 'allowGlobalAccess'
9068
9111
  property :allow_psc_global_access, as: 'allowPscGlobalAccess'
9069
9112
  property :backend_service, as: 'backendService'
9113
+ property :base_forwarding_rule, as: 'baseForwardingRule'
9070
9114
  property :creation_timestamp, as: 'creationTimestamp'
9071
9115
  property :description, as: 'description'
9072
9116
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -10580,6 +10624,7 @@ module Google
10580
10624
  class InstanceGroupManagerInstanceLifecyclePolicy
10581
10625
  # @private
10582
10626
  class Representation < Google::Apis::Core::JsonRepresentation
10627
+ property :default_action_on_failure, as: 'defaultActionOnFailure'
10583
10628
  property :force_update_on_repair, as: 'forceUpdateOnRepair'
10584
10629
  property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
10585
10630
 
@@ -11743,7 +11788,6 @@ module Google
11743
11788
  property :bgp_md5, as: 'bgpMd5'
11744
11789
  collection :bgp_peer_asn_ranges, as: 'bgpPeerAsnRanges', class: Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange, decorator: Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange::Representation
11745
11790
 
11746
- property :network_connectivity_center, as: 'networkConnectivityCenter'
11747
11791
  end
11748
11792
  end
11749
11793
 
@@ -14939,6 +14983,67 @@ module Google
14939
14983
  end
14940
14984
  end
14941
14985
 
14986
+ class QueuedResourcesAggregatedList
14987
+ # @private
14988
+ class Representation < Google::Apis::Core::JsonRepresentation
14989
+ property :id, as: 'id'
14990
+ hash :items, as: 'items', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Representation
14991
+
14992
+ property :kind, as: 'kind'
14993
+ property :next_page_token, as: 'nextPageToken'
14994
+ property :self_link, as: 'selfLink'
14995
+ collection :unreachables, as: 'unreachables'
14996
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Representation
14997
+
14998
+ end
14999
+
15000
+ class Warning
15001
+ # @private
15002
+ class Representation < Google::Apis::Core::JsonRepresentation
15003
+ property :code, as: 'code'
15004
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum::Representation
15005
+
15006
+ property :message, as: 'message'
15007
+ end
15008
+
15009
+ class Datum
15010
+ # @private
15011
+ class Representation < Google::Apis::Core::JsonRepresentation
15012
+ property :key, as: 'key'
15013
+ property :value, as: 'value'
15014
+ end
15015
+ end
15016
+ end
15017
+ end
15018
+
15019
+ class QueuedResourcesScopedList
15020
+ # @private
15021
+ class Representation < Google::Apis::Core::JsonRepresentation
15022
+ collection :queued_resources, as: 'queuedResources', class: Google::Apis::ComputeAlpha::QueuedResource, decorator: Google::Apis::ComputeAlpha::QueuedResource::Representation
15023
+
15024
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Representation
15025
+
15026
+ end
15027
+
15028
+ class Warning
15029
+ # @private
15030
+ class Representation < Google::Apis::Core::JsonRepresentation
15031
+ property :code, as: 'code'
15032
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum::Representation
15033
+
15034
+ property :message, as: 'message'
15035
+ end
15036
+
15037
+ class Datum
15038
+ # @private
15039
+ class Representation < Google::Apis::Core::JsonRepresentation
15040
+ property :key, as: 'key'
15041
+ property :value, as: 'value'
15042
+ end
15043
+ end
15044
+ end
15045
+ end
15046
+
14942
15047
  class QueuingPolicy
14943
15048
  # @private
14944
15049
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15772,6 +15877,7 @@ module Google
15772
15877
  property :availability_domain_count, as: 'availabilityDomainCount'
15773
15878
  property :collocation, as: 'collocation'
15774
15879
  property :locality, as: 'locality'
15880
+ property :max_distance, as: 'maxDistance'
15775
15881
  property :scope, as: 'scope'
15776
15882
  property :style, as: 'style'
15777
15883
  property :tpu_topology, as: 'tpuTopology'
@@ -16918,6 +17024,8 @@ module Google
16918
17024
 
16919
17025
  property :conform_action, as: 'conformAction'
16920
17026
  property :enforce_on_key, as: 'enforceOnKey'
17027
+ collection :enforce_on_key_configs, as: 'enforceOnKeyConfigs', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig::Representation
17028
+
16921
17029
  property :enforce_on_key_name, as: 'enforceOnKeyName'
16922
17030
  property :exceed_action, as: 'exceedAction'
16923
17031
  property :exceed_action_rpc_status, as: 'exceedActionRpcStatus', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsRpcStatus, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsRpcStatus::Representation
@@ -16929,6 +17037,14 @@ module Google
16929
17037
  end
16930
17038
  end
16931
17039
 
17040
+ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
17041
+ # @private
17042
+ class Representation < Google::Apis::Core::JsonRepresentation
17043
+ property :enforce_on_key_name, as: 'enforceOnKeyName'
17044
+ property :enforce_on_key_type, as: 'enforceOnKeyType'
17045
+ end
17046
+ end
17047
+
16932
17048
  class SecurityPolicyRuleRateLimitOptionsRpcStatus
16933
17049
  # @private
16934
17050
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17090,6 +17206,7 @@ module Google
17090
17206
  # @private
17091
17207
  class Representation < Google::Apis::Core::JsonRepresentation
17092
17208
  property :connection_limit, as: 'connectionLimit'
17209
+ property :network_url, as: 'networkUrl'
17093
17210
  property :project_id_or_num, as: 'projectIdOrNum'
17094
17211
  end
17095
17212
  end
@@ -15125,6 +15125,9 @@ module Google
15125
15125
  # second request. This prevents clients from accidentally creating duplicate
15126
15126
  # commitments. The request ID must be a valid UUID with the exception that zero
15127
15127
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
15128
+ # @param [Boolean] with_extended_notifications
15129
+ # Determines whether the customers receive notifications before migration. Only
15130
+ # applicable to SF vms.
15128
15131
  # @param [String] fields
15129
15132
  # Selector specifying which fields to include in a partial response.
15130
15133
  # @param [String] quota_user
@@ -15144,7 +15147,7 @@ module Google
15144
15147
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15145
15148
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15146
15149
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15147
- def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15150
+ def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, with_extended_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15148
15151
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
15149
15152
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15150
15153
  command.response_class = Google::Apis::ComputeAlpha::Operation
@@ -15152,6 +15155,7 @@ module Google
15152
15155
  command.params['zone'] = zone unless zone.nil?
15153
15156
  command.params['instance'] = instance unless instance.nil?
15154
15157
  command.query['requestId'] = request_id unless request_id.nil?
15158
+ command.query['withExtendedNotifications'] = with_extended_notifications unless with_extended_notifications.nil?
15155
15159
  command.query['fields'] = fields unless fields.nil?
15156
15160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15157
15161
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -15276,7 +15280,7 @@ module Google
15276
15280
  # Name of the instance resource to stop.
15277
15281
  # @param [Boolean] discard_local_ssd
15278
15282
  # If true, discard the contents of any attached localSSD partitions. Default
15279
- # value is false (== preserve localSSD data).
15283
+ # value is false.
15280
15284
  # @param [String] request_id
15281
15285
  # An optional request ID to identify requests. Specify a unique request ID so
15282
15286
  # that if you must retry your request, the server will know to ignore the
@@ -15336,7 +15340,7 @@ module Google
15336
15340
  # Name of the instance resource to suspend.
15337
15341
  # @param [Boolean] discard_local_ssd
15338
15342
  # If true, discard the contents of any attached localSSD partitions. Default
15339
- # value is false (== preserve localSSD data).
15343
+ # value is false.
15340
15344
  # @param [String] request_id
15341
15345
  # An optional request ID to identify requests. Specify a unique request ID so
15342
15346
  # that if you must retry your request, the server will know to ignore the
@@ -17242,7 +17246,7 @@ module Google
17242
17246
  execute_or_queue_command(command, &block)
17243
17247
  end
17244
17248
 
17245
- # Deletes the specified interconnect.
17249
+ # Deletes the specified Interconnect.
17246
17250
  # @param [String] project
17247
17251
  # Project ID for this request.
17248
17252
  # @param [String] interconnect
@@ -17289,7 +17293,7 @@ module Google
17289
17293
  execute_or_queue_command(command, &block)
17290
17294
  end
17291
17295
 
17292
- # Returns the specified interconnect. Get a list of available interconnects by
17296
+ # Returns the specified Interconnect. Get a list of available Interconnects by
17293
17297
  # making a list() request.
17294
17298
  # @param [String] project
17295
17299
  # Project ID for this request.
@@ -17326,7 +17330,7 @@ module Google
17326
17330
  execute_or_queue_command(command, &block)
17327
17331
  end
17328
17332
 
17329
- # Returns the interconnectDiagnostics for the specified interconnect.
17333
+ # Returns the interconnectDiagnostics for the specified Interconnect.
17330
17334
  # @param [String] project
17331
17335
  # Project ID for this request.
17332
17336
  # @param [String] interconnect
@@ -17402,7 +17406,7 @@ module Google
17402
17406
  execute_or_queue_command(command, &block)
17403
17407
  end
17404
17408
 
17405
- # Returns the interconnectMacsecConfig for the specified interconnect.
17409
+ # Returns the interconnectMacsecConfig for the specified Interconnect.
17406
17410
  # @param [String] project
17407
17411
  # Project ID for this request.
17408
17412
  # @param [String] interconnect
@@ -17438,8 +17442,8 @@ module Google
17438
17442
  execute_or_queue_command(command, &block)
17439
17443
  end
17440
17444
 
17441
- # Creates a Interconnect in the specified project using the data included in the
17442
- # request.
17445
+ # Creates an Interconnect in the specified project using the data included in
17446
+ # the request.
17443
17447
  # @param [String] project
17444
17448
  # Project ID for this request.
17445
17449
  # @param [Google::Apis::ComputeAlpha::Interconnect] interconnect_object
@@ -17486,7 +17490,7 @@ module Google
17486
17490
  execute_or_queue_command(command, &block)
17487
17491
  end
17488
17492
 
17489
- # Retrieves the list of interconnect available to the specified project.
17493
+ # Retrieves the list of Interconnects available to the specified project.
17490
17494
  # @param [String] project
17491
17495
  # Project ID for this request.
17492
17496
  # @param [String] filter
@@ -17574,7 +17578,7 @@ module Google
17574
17578
  execute_or_queue_command(command, &block)
17575
17579
  end
17576
17580
 
17577
- # Updates the specified interconnect with the data included in the request. This
17581
+ # Updates the specified Interconnect with the data included in the request. This
17578
17582
  # method supports PATCH semantics and uses the JSON merge patch format and
17579
17583
  # processing rules.
17580
17584
  # @param [String] project
@@ -37450,6 +37454,62 @@ module Google
37450
37454
  execute_or_queue_command(command, &block)
37451
37455
  end
37452
37456
 
37457
+ # Modify the specified resource policy.
37458
+ # @param [String] project
37459
+ # Project ID for this request.
37460
+ # @param [String] region
37461
+ # Name of the region for this request.
37462
+ # @param [String] resource_policy
37463
+ # Id of the resource policy to patch.
37464
+ # @param [Google::Apis::ComputeAlpha::ResourcePolicy] resource_policy_object
37465
+ # @param [String] request_id
37466
+ # An optional request ID to identify requests. Specify a unique request ID so
37467
+ # that if you must retry your request, the server will know to ignore the
37468
+ # request if it has already been completed. For example, consider a situation
37469
+ # where you make an initial request and the request times out. If you make the
37470
+ # request again with the same request ID, the server can check if original
37471
+ # operation with the same request ID was received, and if so, will ignore the
37472
+ # second request. This prevents clients from accidentally creating duplicate
37473
+ # commitments. The request ID must be a valid UUID with the exception that zero
37474
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
37475
+ # @param [String] update_mask
37476
+ # update_mask indicates fields to be updated as part of this request.
37477
+ # @param [String] fields
37478
+ # Selector specifying which fields to include in a partial response.
37479
+ # @param [String] quota_user
37480
+ # Available to use for quota purposes for server-side applications. Can be any
37481
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
37482
+ # @param [String] user_ip
37483
+ # Legacy name for parameter that has been superseded by `quotaUser`.
37484
+ # @param [Google::Apis::RequestOptions] options
37485
+ # Request-specific options
37486
+ #
37487
+ # @yield [result, err] Result & error if block supplied
37488
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
37489
+ # @yieldparam err [StandardError] error object if request failed
37490
+ #
37491
+ # @return [Google::Apis::ComputeAlpha::Operation]
37492
+ #
37493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
37496
+ def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37497
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
37498
+ command.request_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation
37499
+ command.request_object = resource_policy_object
37500
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
37501
+ command.response_class = Google::Apis::ComputeAlpha::Operation
37502
+ command.params['project'] = project unless project.nil?
37503
+ command.params['region'] = region unless region.nil?
37504
+ command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
37505
+ command.query['requestId'] = request_id unless request_id.nil?
37506
+ command.query['updateMask'] = update_mask unless update_mask.nil?
37507
+ command.query['fields'] = fields unless fields.nil?
37508
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
37509
+ command.query['userIp'] = user_ip unless user_ip.nil?
37510
+ execute_or_queue_command(command, &block)
37511
+ end
37512
+
37453
37513
  # Sets the access control policy on the specified resource. Replaces any
37454
37514
  # existing policy.
37455
37515
  # @param [String] project
@@ -47177,6 +47237,103 @@ module Google
47177
47237
  execute_or_queue_command(command, &block)
47178
47238
  end
47179
47239
 
47240
+ # Retrieves an aggregated list of all of the queued resources in a project
47241
+ # across all zones.
47242
+ # @param [String] project
47243
+ # Project ID for this request.
47244
+ # @param [String] filter
47245
+ # A filter expression that filters resources listed in the response. Most
47246
+ # Compute resources support two types of filter expressions: expressions that
47247
+ # support regular expressions and expressions that follow API improvement
47248
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
47249
+ # field name, an operator, and the value that you want to use for filtering. The
47250
+ # value must be a string, a number, or a boolean. The operator must be either `=`
47251
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
47252
+ # Engine instances, you can exclude instances named `example-instance` by
47253
+ # specifying `name != example-instance`. The `:` operator can be used with
47254
+ # string fields to match substrings. For non-string fields it is equivalent to
47255
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
47256
+ # been defined. For example, to find all objects with `owner` label use: ```
47257
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
47258
+ # specify `scheduling.automaticRestart = false` to include instances only if
47259
+ # they are not scheduled for automatic restarts. You can use filtering on nested
47260
+ # fields to filter based on resource labels. To filter on multiple expressions,
47261
+ # provide each separate expression within parentheses. For example: ``` (
47262
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
47263
+ # default, each expression is an `AND` expression. However, you can include `AND`
47264
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
47265
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
47266
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
47267
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
47268
+ # expression with or without quotes or against multiple parenthesized
47269
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
47270
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
47271
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
47272
+ # regular expression using Google RE2 library syntax. The literal value must
47273
+ # match the entire field. For example, to filter for instances that do not end
47274
+ # with name "instance", you would use `name ne .*instance`.
47275
+ # @param [Boolean] include_all_scopes
47276
+ # Indicates whether every visible scope for each scope type (zone, region,
47277
+ # global) should be included in the response. For new resource types added after
47278
+ # this field, the flag has no effect as new resource types will always include
47279
+ # every visible scope for each scope type in response. For resource types which
47280
+ # predate this field, if this flag is omitted or false, only scopes of the scope
47281
+ # types where the resource type is expected to be found will be included.
47282
+ # @param [Fixnum] max_results
47283
+ # The maximum number of results per page that should be returned. If the number
47284
+ # of available results is larger than `maxResults`, Compute Engine returns a `
47285
+ # nextPageToken` that can be used to get the next page of results in subsequent
47286
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
47287
+ # @param [String] order_by
47288
+ # Sorts list results by a certain order. By default, results are returned in
47289
+ # alphanumerical order based on the resource name. You can also sort results in
47290
+ # descending order based on the creation timestamp using `orderBy="
47291
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
47292
+ # field in reverse chronological order (newest result first). Use this to sort
47293
+ # resources like operations so that the newest operation is returned first.
47294
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
47295
+ # @param [String] page_token
47296
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
47297
+ # by a previous list request to get the next page of results.
47298
+ # @param [Boolean] return_partial_success
47299
+ # Opt-in for partial success behavior which provides partial results in case of
47300
+ # failure. The default value is false.
47301
+ # @param [String] fields
47302
+ # Selector specifying which fields to include in a partial response.
47303
+ # @param [String] quota_user
47304
+ # Available to use for quota purposes for server-side applications. Can be any
47305
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
47306
+ # @param [String] user_ip
47307
+ # Legacy name for parameter that has been superseded by `quotaUser`.
47308
+ # @param [Google::Apis::RequestOptions] options
47309
+ # Request-specific options
47310
+ #
47311
+ # @yield [result, err] Result & error if block supplied
47312
+ # @yieldparam result [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList] parsed result object
47313
+ # @yieldparam err [StandardError] error object if request failed
47314
+ #
47315
+ # @return [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList]
47316
+ #
47317
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
47318
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
47319
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
47320
+ def aggregated_zone_queued_resource_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
47321
+ command = make_simple_command(:get, 'projects/{project}/aggregated/queuedResources', options)
47322
+ command.response_representation = Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Representation
47323
+ command.response_class = Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList
47324
+ command.params['project'] = project unless project.nil?
47325
+ command.query['filter'] = filter unless filter.nil?
47326
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
47327
+ command.query['maxResults'] = max_results unless max_results.nil?
47328
+ command.query['orderBy'] = order_by unless order_by.nil?
47329
+ command.query['pageToken'] = page_token unless page_token.nil?
47330
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
47331
+ command.query['fields'] = fields unless fields.nil?
47332
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
47333
+ command.query['userIp'] = user_ip unless user_ip.nil?
47334
+ execute_or_queue_command(command, &block)
47335
+ end
47336
+
47180
47337
  # Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled.
47181
47338
  # @param [String] project
47182
47339
  # Project ID for this request.
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.52.0
4
+ version: 0.54.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-11-07 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.54.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: []