google-apis-compute_beta 0.44.0 → 0.45.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d39a7f17cdf2e704b61e2fd5fe704b4312cc53cb114938596a05a50ee0bfb5a
|
4
|
+
data.tar.gz: b7d66ba781d806ca708481cea6950a62244b30b139eae60773f1a0ddd3c0742b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1954287dfc97e3d43ef7bfaa8fbe3c35de7f712cef7d842781c8e40b4e3c218628230fcad93361704a9029b08e988143d6c48ad222a34aa8cec7809fac71e61
|
7
|
+
data.tar.gz: 53b34996e1f7b2aff00b0125700e044138f2f33d62f516d72adebbf54d8b6bfe76f2c627114f85f26088daebd726a6d160fbe5e2c4a4e22fef616edcce5c1419
|
data/CHANGELOG.md
CHANGED
@@ -1523,6 +1523,14 @@ module Google
|
|
1523
1523
|
# @return [Fixnum]
|
1524
1524
|
attr_accessor :provisioned_iops
|
1525
1525
|
|
1526
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
1527
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
1528
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
1529
|
+
# ignored (both PUT & PATCH) when empty.
|
1530
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
1531
|
+
# @return [Hash<String,String>]
|
1532
|
+
attr_accessor :resource_manager_tags
|
1533
|
+
|
1526
1534
|
# Resource policies applied to this disk for automatic snapshot creations.
|
1527
1535
|
# Specified using the full or partial URL. For instance template, specify only
|
1528
1536
|
# the resource policy name.
|
@@ -1588,6 +1596,7 @@ module Google
|
|
1588
1596
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1589
1597
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1590
1598
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1599
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1591
1600
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1592
1601
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1593
1602
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
@@ -5974,6 +5983,11 @@ module Google
|
|
5974
5983
|
# @return [String]
|
5975
5984
|
attr_accessor :options
|
5976
5985
|
|
5986
|
+
# Additional disk params.
|
5987
|
+
# Corresponds to the JSON property `params`
|
5988
|
+
# @return [Google::Apis::ComputeBeta::DiskParams]
|
5989
|
+
attr_accessor :params
|
5990
|
+
|
5977
5991
|
# Physical block size of the persistent disk, in bytes. If not present in a
|
5978
5992
|
# request, a default value is used. The currently supported size is 4096, other
|
5979
5993
|
# sizes may be added in the future. If an unsupported value is requested, the
|
@@ -6177,6 +6191,7 @@ module Google
|
|
6177
6191
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
6178
6192
|
@name = args[:name] if args.key?(:name)
|
6179
6193
|
@options = args[:options] if args.key?(:options)
|
6194
|
+
@params = args[:params] if args.key?(:params)
|
6180
6195
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
6181
6196
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
6182
6197
|
@region = args[:region] if args.key?(:region)
|
@@ -6525,6 +6540,28 @@ module Google
|
|
6525
6540
|
end
|
6526
6541
|
end
|
6527
6542
|
|
6543
|
+
# Additional disk params.
|
6544
|
+
class DiskParams
|
6545
|
+
include Google::Apis::Core::Hashable
|
6546
|
+
|
6547
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
6548
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
6549
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
6550
|
+
# ignored (both PUT & PATCH) when empty.
|
6551
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
6552
|
+
# @return [Hash<String,String>]
|
6553
|
+
attr_accessor :resource_manager_tags
|
6554
|
+
|
6555
|
+
def initialize(**args)
|
6556
|
+
update!(**args)
|
6557
|
+
end
|
6558
|
+
|
6559
|
+
# Update properties of this object
|
6560
|
+
def update!(**args)
|
6561
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
6562
|
+
end
|
6563
|
+
end
|
6564
|
+
|
6528
6565
|
# Represents a Disk Type resource. Google Compute Engine has two Disk Type
|
6529
6566
|
# resources: * [Regional](/compute/docs/reference/rest/beta/regionDiskTypes) * [
|
6530
6567
|
# Zonal](/compute/docs/reference/rest/beta/diskTypes) You can choose from a
|
@@ -33208,6 +33245,12 @@ module Google
|
|
33208
33245
|
class SecurityPolicyAdvancedOptionsConfig
|
33209
33246
|
include Google::Apis::Core::Hashable
|
33210
33247
|
|
33248
|
+
# Custom configuration to apply the JSON parsing. Only applicable when
|
33249
|
+
# json_parsing is set to STANDARD.
|
33250
|
+
# Corresponds to the JSON property `jsonCustomConfig`
|
33251
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
|
33252
|
+
attr_accessor :json_custom_config
|
33253
|
+
|
33211
33254
|
#
|
33212
33255
|
# Corresponds to the JSON property `jsonParsing`
|
33213
33256
|
# @return [String]
|
@@ -33224,11 +33267,35 @@ module Google
|
|
33224
33267
|
|
33225
33268
|
# Update properties of this object
|
33226
33269
|
def update!(**args)
|
33270
|
+
@json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
|
33227
33271
|
@json_parsing = args[:json_parsing] if args.key?(:json_parsing)
|
33228
33272
|
@log_level = args[:log_level] if args.key?(:log_level)
|
33229
33273
|
end
|
33230
33274
|
end
|
33231
33275
|
|
33276
|
+
#
|
33277
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
33278
|
+
include Google::Apis::Core::Hashable
|
33279
|
+
|
33280
|
+
# A list of custom Content-Type header values to apply the JSON parsing. As per
|
33281
|
+
# RFC 1341, a Content-Type header value has the following format: Content-Type :=
|
33282
|
+
# type "/" subtype *[";" parameter] When configuring a custom Content-Type
|
33283
|
+
# header value, only the type/subtype needs to be specified, and the parameters
|
33284
|
+
# should be excluded.
|
33285
|
+
# Corresponds to the JSON property `contentTypes`
|
33286
|
+
# @return [Array<String>]
|
33287
|
+
attr_accessor :content_types
|
33288
|
+
|
33289
|
+
def initialize(**args)
|
33290
|
+
update!(**args)
|
33291
|
+
end
|
33292
|
+
|
33293
|
+
# Update properties of this object
|
33294
|
+
def update!(**args)
|
33295
|
+
@content_types = args[:content_types] if args.key?(:content_types)
|
33296
|
+
end
|
33297
|
+
end
|
33298
|
+
|
33232
33299
|
#
|
33233
33300
|
class SecurityPolicyAssociation
|
33234
33301
|
include Google::Apis::Core::Hashable
|
@@ -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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220726"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -730,6 +730,12 @@ module Google
|
|
730
730
|
include Google::Apis::Core::JsonObjectSupport
|
731
731
|
end
|
732
732
|
|
733
|
+
class DiskParams
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
733
739
|
class DiskType
|
734
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
741
|
|
@@ -4300,6 +4306,12 @@ module Google
|
|
4300
4306
|
include Google::Apis::Core::JsonObjectSupport
|
4301
4307
|
end
|
4302
4308
|
|
4309
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
4310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4311
|
+
|
4312
|
+
include Google::Apis::Core::JsonObjectSupport
|
4313
|
+
end
|
4314
|
+
|
4303
4315
|
class SecurityPolicyAssociation
|
4304
4316
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4305
4317
|
|
@@ -6121,6 +6133,7 @@ module Google
|
|
6121
6133
|
property :multi_writer, as: 'multiWriter'
|
6122
6134
|
property :on_update_action, as: 'onUpdateAction'
|
6123
6135
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
6136
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
6124
6137
|
collection :resource_policies, as: 'resourcePolicies'
|
6125
6138
|
property :source_image, as: 'sourceImage'
|
6126
6139
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
@@ -7096,6 +7109,8 @@ module Google
|
|
7096
7109
|
property :multi_writer, as: 'multiWriter'
|
7097
7110
|
property :name, as: 'name'
|
7098
7111
|
property :options, as: 'options'
|
7112
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::DiskParams, decorator: Google::Apis::ComputeBeta::DiskParams::Representation
|
7113
|
+
|
7099
7114
|
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
7100
7115
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
7101
7116
|
property :region, as: 'region'
|
@@ -7207,6 +7222,13 @@ module Google
|
|
7207
7222
|
end
|
7208
7223
|
end
|
7209
7224
|
|
7225
|
+
class DiskParams
|
7226
|
+
# @private
|
7227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7228
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
7229
|
+
end
|
7230
|
+
end
|
7231
|
+
|
7210
7232
|
class DiskType
|
7211
7233
|
# @private
|
7212
7234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13870,11 +13892,20 @@ module Google
|
|
13870
13892
|
class SecurityPolicyAdvancedOptionsConfig
|
13871
13893
|
# @private
|
13872
13894
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13895
|
+
property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
|
13896
|
+
|
13873
13897
|
property :json_parsing, as: 'jsonParsing'
|
13874
13898
|
property :log_level, as: 'logLevel'
|
13875
13899
|
end
|
13876
13900
|
end
|
13877
13901
|
|
13902
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
13903
|
+
# @private
|
13904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13905
|
+
collection :content_types, as: 'contentTypes'
|
13906
|
+
end
|
13907
|
+
end
|
13908
|
+
|
13878
13909
|
class SecurityPolicyAssociation
|
13879
13910
|
# @private
|
13880
13911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.45.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-08-
|
11
|
+
date: 2022-08-08 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.45.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: []
|