google-apis-compute_beta 0.52.0 → 0.53.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: 20a645c4165c68abbafe51e414792b077e89c371d78bccf4f000c5985f6389b4
4
- data.tar.gz: ff3f5131bc81499451cecd61b846491f7d74783f3d2c09647886276779a530de
3
+ metadata.gz: ac7865556bb64d2580829327048702ecde9b9d2d78f8c40d938b8d4190d215a8
4
+ data.tar.gz: 959c4296b21aa7597ff4e297649b05dafcac2b615bdcfbaf0b9d58a051f14209
5
5
  SHA512:
6
- metadata.gz: 69e02fccc71d92d2c17fad482f76d45a029ad60913186f113ddf8c9436f12fdbd69eb5836560a1f69c90021163fd1d099cd63427bf3759c9134a9c772c5edd23
7
- data.tar.gz: 45480a28309c3226bd969c529e5bbe9acfac7ddd62b6324fb9d661741d7c00fcf95546942f0dae88095742dffc57499da3d6476a85c981049193e382e2ac0acc
6
+ metadata.gz: 535784927fb09f6ba9d433b263c29fe6b2e02e8d38dd60bbc83e57af8533b7e07cce321a9af150017cd0ac631d13340923ae6f8633a7792d73f90253fd264a5e
7
+ data.tar.gz: 92c6cf2a3dd85bc3c5957bd31823d2f706c9106538ba5c50bd0e37c56005d90eb4191fdab92ac1a23e4677e537ad201fd5ad0b28b5f100b6fd922d5f9370bbdc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.53.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221026
6
+
3
7
  ### v0.52.0 (2022-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20221018
@@ -1490,12 +1490,14 @@ module Google
1490
1490
  # Specifies the disk type to use to create the instance. If not specified, the
1491
1491
  # default is pd-standard, specified using the full URL. For example: https://www.
1492
1492
  # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard
1493
- # For a full list of acceptable values, see Persistent disk types. If you define
1494
- # this field, you can provide either the full or partial URL. For example, the
1495
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
1496
- # project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/
1497
- # diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this
1498
- # is the name of the disk type, not URL.
1493
+ # For a full list of acceptable values, see Persistent disk types. If you
1494
+ # specify this field when creating a VM, you can provide either the full or
1495
+ # partial URL. For example, the following values are valid: - https://www.
1496
+ # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType -
1497
+ # projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType
1498
+ # If you specify this field when creating or updating an instance template or
1499
+ # all-instances configuration, specify the type of the disk, not the URL. For
1500
+ # example: pd-standard.
1499
1501
  # Corresponds to the JSON property `diskType`
1500
1502
  # @return [String]
1501
1503
  attr_accessor :disk_type
@@ -1572,10 +1574,10 @@ module Google
1572
1574
  attr_accessor :source_image
1573
1575
 
1574
1576
  # The customer-supplied encryption key of the source image. Required if the
1575
- # source image is protected by a customer-supplied encryption key. Instance
1576
- # templates do not store customer-supplied encryption keys, so you cannot create
1577
- # disks for instances in a managed instance group if the source images are
1578
- # encrypted with your own keys.
1577
+ # source image is protected by a customer-supplied encryption key.
1578
+ # InstanceTemplate and InstancePropertiesPatch do not store customer-supplied
1579
+ # encryption keys, so you cannot create disks for instances in a managed
1580
+ # instance group if the source images are encrypted with your own keys.
1579
1581
  # Corresponds to the JSON property `sourceImageEncryptionKey`
1580
1582
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1581
1583
  attr_accessor :source_image_encryption_key
@@ -8904,16 +8906,17 @@ module Google
8904
8906
  # optionally specify an IP address that references an existing static (reserved)
8905
8907
  # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
8906
8908
  # address. Use one of the following formats to specify an IP address while
8907
- # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
8908
- # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
8909
- # regions/region /addresses/address-name * Partial URL or by name, as in: -
8910
- # projects/project_id/regions/region/addresses/address-name - regions/region/
8911
- # addresses/address-name - global/addresses/address-name - address-name The
8912
- # forwarding rule's target or backendService, and in most cases, also the
8913
- # loadBalancingScheme, determine the type of IP address that you can use. For
8914
- # detailed information, see [IP address specifications](https://cloud.google.com/
8915
- # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
8916
- # reading an IPAddress, the API always returns the IP address number.
8909
+ # creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6
8910
+ # address range, as in `2600:1234::/96` * Full resource URL, as in https://www.
8911
+ # googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/
8912
+ # address-name * Partial URL or by name, as in: - projects/project_id/regions/
8913
+ # region/addresses/address-name - regions/region/addresses/address-name - global/
8914
+ # addresses/address-name - address-name The forwarding rule's target or
8915
+ # backendService, and in most cases, also the loadBalancingScheme, determine the
8916
+ # type of IP address that you can use. For detailed information, see [IP address
8917
+ # specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-
8918
+ # concepts#ip_address_specifications). When reading an IPAddress, the API always
8919
+ # returns the IP address number.
8917
8920
  # Corresponds to the JSON property `IPAddress`
8918
8921
  # @return [String]
8919
8922
  attr_accessor :ip_address
@@ -34294,23 +34297,23 @@ module Google
34294
34297
 
34295
34298
  # Determines the key to enforce the rate_limit_threshold on. Possible values are:
34296
34299
  # - ALL: A single rate limit threshold is applied to all the requests matching
34297
- # this rule. This is the default value if this field 'enforce_on_key' is not
34298
- # configured. - IP: The source IP address of the request is the key. Each IP has
34299
- # this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
34300
- # whose name is configured under "enforce_on_key_name". The key value is
34301
- # truncated to the first 128 bytes of the header value. If no such header is
34302
- # present in the request, the key type defaults to ALL. - XFF_IP: The first IP
34303
- # address (i.e. the originating client IP address) specified in the list of IPs
34304
- # under X-Forwarded-For HTTP header. If no such header is present or the value
34305
- # is not a valid IP, the key defaults to the source IP address of the request i.
34306
- # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
34307
- # configured under "enforce_on_key_name". The key value is truncated to the
34308
- # first 128 bytes of the cookie value. If no such cookie is present in the
34309
- # request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP
34310
- # request. The key value is truncated to the first 128 bytes. - SNI: Server name
34311
- # indication in the TLS session of the HTTPS request. The key value is truncated
34312
- # to the first 128 bytes. The key type defaults to ALL on a HTTP session. -
34313
- # REGION_CODE: The country/region from which the request originates.
34300
+ # this rule. This is the default value if "enforceOnKey" is not configured. - IP:
34301
+ # The source IP address of the request is the key. Each IP has this limit
34302
+ # enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is
34303
+ # configured under "enforceOnKeyName". The key value is truncated to the first
34304
+ # 128 bytes of the header value. If no such header is present in the request,
34305
+ # the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the
34306
+ # originating client IP address) specified in the list of IPs under X-Forwarded-
34307
+ # For HTTP header. If no such header is present or the value is not a valid IP,
34308
+ # the key defaults to the source IP address of the request i.e. key type IP. -
34309
+ # HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "
34310
+ # enforceOnKeyName". The key value is truncated to the first 128 bytes of the
34311
+ # cookie value. If no such cookie is present in the request, the key type
34312
+ # defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
34313
+ # is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
34314
+ # session of the HTTPS request. The key value is truncated to the first 128
34315
+ # bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
34316
+ # country/region from which the request originates.
34314
34317
  # Corresponds to the JSON property `enforceOnKey`
34315
34318
  # @return [String]
34316
34319
  attr_accessor :enforce_on_key
@@ -37163,8 +37166,7 @@ module Google
37163
37166
  attr_accessor :enable_flow_logs
37164
37167
  alias_method :enable_flow_logs?, :enable_flow_logs
37165
37168
 
37166
- # [Output Only] The external IPv6 address range that is assigned to this
37167
- # subnetwork.
37169
+ # The external IPv6 address range that is owned by this subnetwork.
37168
37170
  # Corresponds to the JSON property `externalIpv6Prefix`
37169
37171
  # @return [String]
37170
37172
  attr_accessor :external_ipv6_prefix
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.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 = "20221018"
25
+ REVISION = "20221026"
26
26
  end
27
27
  end
28
28
  end
@@ -13905,6 +13905,9 @@ module Google
13905
13905
  # The name of the zone for this request.
13906
13906
  # @param [String] instance
13907
13907
  # Name of the instance resource to stop.
13908
+ # @param [Boolean] discard_local_ssd
13909
+ # If true, discard the contents of any attached localSSD partitions. Default
13910
+ # value is false (== preserve localSSD data).
13908
13911
  # @param [String] request_id
13909
13912
  # An optional request ID to identify requests. Specify a unique request ID so
13910
13913
  # that if you must retry your request, the server will know to ignore the
@@ -13934,13 +13937,14 @@ module Google
13934
13937
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13935
13938
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13936
13939
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13937
- def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13940
+ def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13938
13941
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options)
13939
13942
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
13940
13943
  command.response_class = Google::Apis::ComputeBeta::Operation
13941
13944
  command.params['project'] = project unless project.nil?
13942
13945
  command.params['zone'] = zone unless zone.nil?
13943
13946
  command.params['instance'] = instance unless instance.nil?
13947
+ command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil?
13944
13948
  command.query['requestId'] = request_id unless request_id.nil?
13945
13949
  command.query['fields'] = fields unless fields.nil?
13946
13950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []