google-apis-compute_beta 0.52.0 → 0.54.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8238690ba6df4c62c3f8ad2de8bcd124b8056dcc60951baf9617f00d438d798a
|
4
|
+
data.tar.gz: 3191111ab437d2ddac38d51d9f2e6a7134be77bc1a69b6f84e3f5d7c5ca05c05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e825d05414f0cad32fdd98bb00bba7de15c14fa0ce356f87785f3a671a0b59941f1b37f0c7a84294d484699b1c03b29263f6e559d75dbe28d2d65166517cf06d
|
7
|
+
data.tar.gz: 2f660fb97d583ad6ff67f46f7338e29e12a0b58501225e65213d2257c06d89bf935ae67aa783e6ad6b465d9dab295189faf37ad1c0c901bf83a6adfa8d134bbb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.54.0 (2022-11-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221101
|
6
|
+
|
7
|
+
### v0.53.0 (2022-11-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221026
|
10
|
+
|
3
11
|
### v0.52.0 (2022-10-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221018
|
@@ -22,6 +22,52 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComputeBeta
|
24
24
|
|
25
|
+
# Contains the configurations necessary to generate a signature for access to
|
26
|
+
# private storage buckets that support Signature Version 4 for authentication.
|
27
|
+
# The service name for generating the authentication header will always default
|
28
|
+
# to 's3'.
|
29
|
+
class Awsv4Signature
|
30
|
+
include Google::Apis::Core::Hashable
|
31
|
+
|
32
|
+
# The access key used for s3 bucket authentication. Required for updating or
|
33
|
+
# creating a backend that uses AWS v4 signature authentication, but will not be
|
34
|
+
# returned as part of the configuration when queried with a REST API GET request.
|
35
|
+
# @InputOnly
|
36
|
+
# Corresponds to the JSON property `accessKey`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :access_key
|
39
|
+
|
40
|
+
# The identifier of an access key used for s3 bucket authentication.
|
41
|
+
# Corresponds to the JSON property `accessKeyId`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :access_key_id
|
44
|
+
|
45
|
+
# The optional version identifier for the access key. You can use this to keep
|
46
|
+
# track of different iterations of your access key.
|
47
|
+
# Corresponds to the JSON property `accessKeyVersion`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :access_key_version
|
50
|
+
|
51
|
+
# The name of the cloud region of your origin. This is a free-form field with
|
52
|
+
# the name of the region your cloud uses to host your origin. For example, "us-
|
53
|
+
# east-1" for AWS or "us-ashburn-1" for OCI.
|
54
|
+
# Corresponds to the JSON property `originRegion`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :origin_region
|
57
|
+
|
58
|
+
def initialize(**args)
|
59
|
+
update!(**args)
|
60
|
+
end
|
61
|
+
|
62
|
+
# Update properties of this object
|
63
|
+
def update!(**args)
|
64
|
+
@access_key = args[:access_key] if args.key?(:access_key)
|
65
|
+
@access_key_id = args[:access_key_id] if args.key?(:access_key_id)
|
66
|
+
@access_key_version = args[:access_key_version] if args.key?(:access_key_version)
|
67
|
+
@origin_region = args[:origin_region] if args.key?(:origin_region)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
25
71
|
# A specification of the type and number of accelerator cards attached to the
|
26
72
|
# instance.
|
27
73
|
class AcceleratorConfig
|
@@ -1490,12 +1536,14 @@ module Google
|
|
1490
1536
|
# Specifies the disk type to use to create the instance. If not specified, the
|
1491
1537
|
# default is pd-standard, specified using the full URL. For example: https://www.
|
1492
1538
|
# 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
|
1494
|
-
# this field, you can provide either the full or
|
1495
|
-
# following are valid
|
1496
|
-
#
|
1497
|
-
# diskType - zones/zone/diskTypes/diskType
|
1498
|
-
#
|
1539
|
+
# For a full list of acceptable values, see Persistent disk types. If you
|
1540
|
+
# specify this field when creating a VM, you can provide either the full or
|
1541
|
+
# partial URL. For example, the following values are valid: - https://www.
|
1542
|
+
# googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType -
|
1543
|
+
# projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType
|
1544
|
+
# If you specify this field when creating or updating an instance template or
|
1545
|
+
# all-instances configuration, specify the type of the disk, not the URL. For
|
1546
|
+
# example: pd-standard.
|
1499
1547
|
# Corresponds to the JSON property `diskType`
|
1500
1548
|
# @return [String]
|
1501
1549
|
attr_accessor :disk_type
|
@@ -1572,10 +1620,10 @@ module Google
|
|
1572
1620
|
attr_accessor :source_image
|
1573
1621
|
|
1574
1622
|
# The customer-supplied encryption key of the source image. Required if the
|
1575
|
-
# source image is protected by a customer-supplied encryption key.
|
1576
|
-
#
|
1577
|
-
# disks for instances in a managed
|
1578
|
-
# encrypted with your own keys.
|
1623
|
+
# source image is protected by a customer-supplied encryption key.
|
1624
|
+
# InstanceTemplate and InstancePropertiesPatch do not store customer-supplied
|
1625
|
+
# encryption keys, so you cannot create disks for instances in a managed
|
1626
|
+
# instance group if the source images are encrypted with your own keys.
|
1579
1627
|
# Corresponds to the JSON property `sourceImageEncryptionKey`
|
1580
1628
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1581
1629
|
attr_accessor :source_image_encryption_key
|
@@ -8904,16 +8952,17 @@ module Google
|
|
8904
8952
|
# optionally specify an IP address that references an existing static (reserved)
|
8905
8953
|
# IP address resource. When omitted, Google Cloud assigns an ephemeral IP
|
8906
8954
|
# 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` *
|
8908
|
-
# resource URL, as in https://www.
|
8909
|
-
# regions/region
|
8910
|
-
#
|
8911
|
-
# addresses/address-name -
|
8912
|
-
# forwarding rule's target or
|
8913
|
-
#
|
8914
|
-
# detailed information, see [IP address
|
8915
|
-
# load-balancing/docs/forwarding-rule-
|
8916
|
-
# reading an IPAddress, the API always
|
8955
|
+
# creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6
|
8956
|
+
# address range, as in `2600:1234::/96` * Full resource URL, as in https://www.
|
8957
|
+
# googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/
|
8958
|
+
# address-name * Partial URL or by name, as in: - projects/project_id/regions/
|
8959
|
+
# region/addresses/address-name - regions/region/addresses/address-name - global/
|
8960
|
+
# addresses/address-name - address-name The forwarding rule's target or
|
8961
|
+
# backendService, and in most cases, also the loadBalancingScheme, determine the
|
8962
|
+
# type of IP address that you can use. For detailed information, see [IP address
|
8963
|
+
# specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-
|
8964
|
+
# concepts#ip_address_specifications). When reading an IPAddress, the API always
|
8965
|
+
# returns the IP address number.
|
8917
8966
|
# Corresponds to the JSON property `IPAddress`
|
8918
8967
|
# @return [String]
|
8919
8968
|
attr_accessor :ip_address
|
@@ -12186,6 +12235,16 @@ module Google
|
|
12186
12235
|
# @return [Array<Google::Apis::ComputeBeta::MetadataFilter>]
|
12187
12236
|
attr_accessor :metadata_filters
|
12188
12237
|
|
12238
|
+
# If specified, the route is a pattern match expression that must match the :
|
12239
|
+
# path header once the query string is removed. A pattern match allows you to
|
12240
|
+
# match - The value must be between 1 and 1024 characters - The pattern must
|
12241
|
+
# start with a leading slash ("/") - There may be no more than 5 operators in
|
12242
|
+
# pattern Precisely one of prefix_match, full_path_match, regex_match or
|
12243
|
+
# path_template_match must be set.
|
12244
|
+
# Corresponds to the JSON property `pathTemplateMatch`
|
12245
|
+
# @return [String]
|
12246
|
+
attr_accessor :path_template_match
|
12247
|
+
|
12189
12248
|
# For satisfying the matchRule condition, the request's path must begin with the
|
12190
12249
|
# specified prefixMatch. prefixMatch must begin with a /. The value must be from
|
12191
12250
|
# 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch
|
@@ -12221,6 +12280,7 @@ module Google
|
|
12221
12280
|
@header_matches = args[:header_matches] if args.key?(:header_matches)
|
12222
12281
|
@ignore_case = args[:ignore_case] if args.key?(:ignore_case)
|
12223
12282
|
@metadata_filters = args[:metadata_filters] if args.key?(:metadata_filters)
|
12283
|
+
@path_template_match = args[:path_template_match] if args.key?(:path_template_match)
|
12224
12284
|
@prefix_match = args[:prefix_match] if args.key?(:prefix_match)
|
12225
12285
|
@query_parameter_matches = args[:query_parameter_matches] if args.key?(:query_parameter_matches)
|
12226
12286
|
@regex_match = args[:regex_match] if args.key?(:regex_match)
|
@@ -30647,6 +30707,11 @@ module Google
|
|
30647
30707
|
# @return [String]
|
30648
30708
|
attr_accessor :physical_host
|
30649
30709
|
|
30710
|
+
#
|
30711
|
+
# Corresponds to the JSON property `scheduling`
|
30712
|
+
# @return [Google::Apis::ComputeBeta::ResourceStatusScheduling]
|
30713
|
+
attr_accessor :scheduling
|
30714
|
+
|
30650
30715
|
def initialize(**args)
|
30651
30716
|
update!(**args)
|
30652
30717
|
end
|
@@ -30654,6 +30719,26 @@ module Google
|
|
30654
30719
|
# Update properties of this object
|
30655
30720
|
def update!(**args)
|
30656
30721
|
@physical_host = args[:physical_host] if args.key?(:physical_host)
|
30722
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
30723
|
+
end
|
30724
|
+
end
|
30725
|
+
|
30726
|
+
#
|
30727
|
+
class ResourceStatusScheduling
|
30728
|
+
include Google::Apis::Core::Hashable
|
30729
|
+
|
30730
|
+
# Time in future when the instance will be terminated in RFC3339 text format.
|
30731
|
+
# Corresponds to the JSON property `terminationTimestamp`
|
30732
|
+
# @return [String]
|
30733
|
+
attr_accessor :termination_timestamp
|
30734
|
+
|
30735
|
+
def initialize(**args)
|
30736
|
+
update!(**args)
|
30737
|
+
end
|
30738
|
+
|
30739
|
+
# Update properties of this object
|
30740
|
+
def update!(**args)
|
30741
|
+
@termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
|
30657
30742
|
end
|
30658
30743
|
end
|
30659
30744
|
|
@@ -34294,23 +34379,23 @@ module Google
|
|
34294
34379
|
|
34295
34380
|
# Determines the key to enforce the rate_limit_threshold on. Possible values are:
|
34296
34381
|
# - ALL: A single rate limit threshold is applied to all the requests matching
|
34297
|
-
# this rule. This is the default value if
|
34298
|
-
#
|
34299
|
-
#
|
34300
|
-
#
|
34301
|
-
#
|
34302
|
-
#
|
34303
|
-
#
|
34304
|
-
#
|
34305
|
-
#
|
34306
|
-
#
|
34307
|
-
#
|
34308
|
-
#
|
34309
|
-
#
|
34310
|
-
#
|
34311
|
-
#
|
34312
|
-
#
|
34313
|
-
#
|
34382
|
+
# this rule. This is the default value if "enforceOnKey" is not configured. - IP:
|
34383
|
+
# The source IP address of the request is the key. Each IP has this limit
|
34384
|
+
# enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is
|
34385
|
+
# configured under "enforceOnKeyName". The key value is truncated to the first
|
34386
|
+
# 128 bytes of the header value. If no such header is present in the request,
|
34387
|
+
# the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the
|
34388
|
+
# originating client IP address) specified in the list of IPs under X-Forwarded-
|
34389
|
+
# For HTTP header. If no such header is present or the value is not a valid IP,
|
34390
|
+
# the key defaults to the source IP address of the request i.e. key type IP. -
|
34391
|
+
# HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "
|
34392
|
+
# enforceOnKeyName". The key value is truncated to the first 128 bytes of the
|
34393
|
+
# cookie value. If no such cookie is present in the request, the key type
|
34394
|
+
# defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
|
34395
|
+
# is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
|
34396
|
+
# session of the HTTPS request. The key value is truncated to the first 128
|
34397
|
+
# bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
|
34398
|
+
# country/region from which the request originates.
|
34314
34399
|
# Corresponds to the JSON property `enforceOnKey`
|
34315
34400
|
# @return [String]
|
34316
34401
|
attr_accessor :enforce_on_key
|
@@ -34419,6 +34504,14 @@ module Google
|
|
34419
34504
|
# @return [String]
|
34420
34505
|
attr_accessor :authentication
|
34421
34506
|
|
34507
|
+
# Contains the configurations necessary to generate a signature for access to
|
34508
|
+
# private storage buckets that support Signature Version 4 for authentication.
|
34509
|
+
# The service name for generating the authentication header will always default
|
34510
|
+
# to 's3'.
|
34511
|
+
# Corresponds to the JSON property `awsV4Authentication`
|
34512
|
+
# @return [Google::Apis::ComputeBeta::Awsv4Signature]
|
34513
|
+
attr_accessor :aws_v4_authentication
|
34514
|
+
|
34422
34515
|
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
34423
34516
|
# describes how clients should authenticate with this service's backends.
|
34424
34517
|
# clientTlsPolicy only applies to a global BackendService with the
|
@@ -34451,6 +34544,7 @@ module Google
|
|
34451
34544
|
# Update properties of this object
|
34452
34545
|
def update!(**args)
|
34453
34546
|
@authentication = args[:authentication] if args.key?(:authentication)
|
34547
|
+
@aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
|
34454
34548
|
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
34455
34549
|
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
34456
34550
|
end
|
@@ -37163,8 +37257,7 @@ module Google
|
|
37163
37257
|
attr_accessor :enable_flow_logs
|
37164
37258
|
alias_method :enable_flow_logs?, :enable_flow_logs
|
37165
37259
|
|
37166
|
-
#
|
37167
|
-
# subnetwork.
|
37260
|
+
# The external IPv6 address range that is owned by this subnetwork.
|
37168
37261
|
# Corresponds to the JSON property `externalIpv6Prefix`
|
37169
37262
|
# @return [String]
|
37170
37263
|
attr_accessor :external_ipv6_prefix
|
@@ -42319,6 +42412,22 @@ module Google
|
|
42319
42412
|
# @return [String]
|
42320
42413
|
attr_accessor :path_prefix_rewrite
|
42321
42414
|
|
42415
|
+
# If specified, the pattern rewrites the URL path (based on the :path header)
|
42416
|
+
# using the HTTP template syntax. A corresponding path_template_match must be
|
42417
|
+
# specified. Any template variables must exist in the path_template_match field.
|
42418
|
+
# - -At least one variable must be specified in the path_template_match field -
|
42419
|
+
# You can omit variables from the rewritten URL - The * and ** operators cannot
|
42420
|
+
# be matched unless they have a corresponding variable name - e.g. `format=*` or
|
42421
|
+
# `var=**`. For example, a path_template_match of /static/`format=**` could be
|
42422
|
+
# rewritten as /static/content/`format` to prefix /content to the URL. Variables
|
42423
|
+
# can also be re-ordered in a rewrite, so that /`country`/`format`/`suffix=**`
|
42424
|
+
# can be rewritten as /content/`format`/`country`/`suffix`. At least one non-
|
42425
|
+
# empty routeRules[].matchRules[].path_template_match is required. Only one of
|
42426
|
+
# path_prefix_rewrite or path_template_rewrite may be specified.
|
42427
|
+
# Corresponds to the JSON property `pathTemplateRewrite`
|
42428
|
+
# @return [String]
|
42429
|
+
attr_accessor :path_template_rewrite
|
42430
|
+
|
42322
42431
|
def initialize(**args)
|
42323
42432
|
update!(**args)
|
42324
42433
|
end
|
@@ -42327,6 +42436,7 @@ module Google
|
|
42327
42436
|
def update!(**args)
|
42328
42437
|
@host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
|
42329
42438
|
@path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
|
42439
|
+
@path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
|
42330
42440
|
end
|
42331
42441
|
end
|
42332
42442
|
|
@@ -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.
|
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 = "
|
25
|
+
REVISION = "20221101"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComputeBeta
|
24
24
|
|
25
|
+
class Awsv4Signature
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AcceleratorConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -4000,6 +4006,12 @@ module Google
|
|
4000
4006
|
include Google::Apis::Core::JsonObjectSupport
|
4001
4007
|
end
|
4002
4008
|
|
4009
|
+
class ResourceStatusScheduling
|
4010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4011
|
+
|
4012
|
+
include Google::Apis::Core::JsonObjectSupport
|
4013
|
+
end
|
4014
|
+
|
4003
4015
|
class RolloutPolicy
|
4004
4016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4005
4017
|
|
@@ -5872,6 +5884,16 @@ module Google
|
|
5872
5884
|
include Google::Apis::Core::JsonObjectSupport
|
5873
5885
|
end
|
5874
5886
|
|
5887
|
+
class Awsv4Signature
|
5888
|
+
# @private
|
5889
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5890
|
+
property :access_key, as: 'accessKey'
|
5891
|
+
property :access_key_id, as: 'accessKeyId'
|
5892
|
+
property :access_key_version, as: 'accessKeyVersion'
|
5893
|
+
property :origin_region, as: 'originRegion'
|
5894
|
+
end
|
5895
|
+
end
|
5896
|
+
|
5875
5897
|
class AcceleratorConfig
|
5876
5898
|
# @private
|
5877
5899
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8609,6 +8631,7 @@ module Google
|
|
8609
8631
|
property :ignore_case, as: 'ignoreCase'
|
8610
8632
|
collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeBeta::MetadataFilter, decorator: Google::Apis::ComputeBeta::MetadataFilter::Representation
|
8611
8633
|
|
8634
|
+
property :path_template_match, as: 'pathTemplateMatch'
|
8612
8635
|
property :prefix_match, as: 'prefixMatch'
|
8613
8636
|
collection :query_parameter_matches, as: 'queryParameterMatches', class: Google::Apis::ComputeBeta::HttpQueryParameterMatch, decorator: Google::Apis::ComputeBeta::HttpQueryParameterMatch::Representation
|
8614
8637
|
|
@@ -13350,6 +13373,15 @@ module Google
|
|
13350
13373
|
# @private
|
13351
13374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13352
13375
|
property :physical_host, as: 'physicalHost'
|
13376
|
+
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::ResourceStatusScheduling, decorator: Google::Apis::ComputeBeta::ResourceStatusScheduling::Representation
|
13377
|
+
|
13378
|
+
end
|
13379
|
+
end
|
13380
|
+
|
13381
|
+
class ResourceStatusScheduling
|
13382
|
+
# @private
|
13383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13384
|
+
property :termination_timestamp, as: 'terminationTimestamp'
|
13353
13385
|
end
|
13354
13386
|
end
|
13355
13387
|
|
@@ -14259,6 +14291,8 @@ module Google
|
|
14259
14291
|
# @private
|
14260
14292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14261
14293
|
property :authentication, as: 'authentication'
|
14294
|
+
property :aws_v4_authentication, as: 'awsV4Authentication', class: Google::Apis::ComputeBeta::Awsv4Signature, decorator: Google::Apis::ComputeBeta::Awsv4Signature::Representation
|
14295
|
+
|
14262
14296
|
property :client_tls_policy, as: 'clientTlsPolicy'
|
14263
14297
|
collection :subject_alt_names, as: 'subjectAltNames'
|
14264
14298
|
end
|
@@ -16237,6 +16271,7 @@ module Google
|
|
16237
16271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16238
16272
|
property :host_rewrite, as: 'hostRewrite'
|
16239
16273
|
property :path_prefix_rewrite, as: 'pathPrefixRewrite'
|
16274
|
+
property :path_template_rewrite, as: 'pathTemplateRewrite'
|
16240
16275
|
end
|
16241
16276
|
end
|
16242
16277
|
|
@@ -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.
|
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
|
+
date: 2022-11-14 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.54.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: []
|