google-apis-compute_v1 0.45.0 → 0.46.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: c99ca90c8d81f26d1eea8d9fee5f2acdc3656b6adb61926cf4f12d260606c0f4
4
- data.tar.gz: 9371ca0e2cfb417ec59027f58ecd2ae97869dac85e8c5545f1f3f1d3a922db6a
3
+ metadata.gz: b18abba5459a86e49191199aa3a6150054bbaa6f455f491704e0b4b440736724
4
+ data.tar.gz: 1c9c64248b27d98ab576b49fce295af88399b6832962de2f7548195ad200758b
5
5
  SHA512:
6
- metadata.gz: a12ef28a9b73a2209f20b5a3b95705e8bff3d4ea4494ff889fed2686e2c6036031731d46fa523e4df8b01229cb5e15f2069b5e5144a69479fba6a06c9ba47ae3
7
- data.tar.gz: 8cf2d52b3e0bb60e9248caed43f24b84198bcb05b2c58589d12849df1b170588b8a29b4e148659a2bf3562a1c6f21af0a1ecce289aee924df78d1310c84b6581
6
+ metadata.gz: 373ec0a228638c1223e60de37eb7e1e912f47ee35f0108ca074822e1c9cbd73cb442c6234f7fa5dca9624b0bb21260a1b3ba830e6893a14ad9e616a087c271b0
7
+ data.tar.gz: 71c6981744484b26c7ceb1cef41c325d8e004aadd9d5191ba01346d17ee07b52769524a3f7f8ef185f8558190bc0efb2009a5d6e8f47abb9f3f9832b2c839c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.46.0 (2022-08-06)
4
+
5
+ * Regenerated from discovery document revision 20220726
6
+
3
7
  ### v0.45.0 (2022-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220720
@@ -1444,6 +1444,14 @@ module Google
1444
1444
  # @return [Fixnum]
1445
1445
  attr_accessor :provisioned_iops
1446
1446
 
1447
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
1448
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
1449
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
1450
+ # ignored (both PUT & PATCH) when empty.
1451
+ # Corresponds to the JSON property `resourceManagerTags`
1452
+ # @return [Hash<String,String>]
1453
+ attr_accessor :resource_manager_tags
1454
+
1447
1455
  # Resource policies applied to this disk for automatic snapshot creations.
1448
1456
  # Specified using the full or partial URL. For instance template, specify only
1449
1457
  # the resource policy name.
@@ -1507,6 +1515,7 @@ module Google
1507
1515
  @licenses = args[:licenses] if args.key?(:licenses)
1508
1516
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1509
1517
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
1518
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
1510
1519
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1511
1520
  @source_image = args[:source_image] if args.key?(:source_image)
1512
1521
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@@ -5792,6 +5801,11 @@ module Google
5792
5801
  # @return [String]
5793
5802
  attr_accessor :options
5794
5803
 
5804
+ # Additional disk params.
5805
+ # Corresponds to the JSON property `params`
5806
+ # @return [Google::Apis::ComputeV1::DiskParams]
5807
+ attr_accessor :params
5808
+
5795
5809
  # Physical block size of the persistent disk, in bytes. If not present in a
5796
5810
  # request, a default value is used. The currently supported size is 4096, other
5797
5811
  # sizes may be added in the future. If an unsupported value is requested, the
@@ -5977,6 +5991,7 @@ module Google
5977
5991
  @location_hint = args[:location_hint] if args.key?(:location_hint)
5978
5992
  @name = args[:name] if args.key?(:name)
5979
5993
  @options = args[:options] if args.key?(:options)
5994
+ @params = args[:params] if args.key?(:params)
5980
5995
  @physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
5981
5996
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
5982
5997
  @region = args[:region] if args.key?(:region)
@@ -6323,6 +6338,28 @@ module Google
6323
6338
  end
6324
6339
  end
6325
6340
 
6341
+ # Additional disk params.
6342
+ class DiskParams
6343
+ include Google::Apis::Core::Hashable
6344
+
6345
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
6346
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
6347
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
6348
+ # ignored (both PUT & PATCH) when empty.
6349
+ # Corresponds to the JSON property `resourceManagerTags`
6350
+ # @return [Hash<String,String>]
6351
+ attr_accessor :resource_manager_tags
6352
+
6353
+ def initialize(**args)
6354
+ update!(**args)
6355
+ end
6356
+
6357
+ # Update properties of this object
6358
+ def update!(**args)
6359
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
6360
+ end
6361
+ end
6362
+
6326
6363
  # Represents a Disk Type resource. Google Compute Engine has two Disk Type
6327
6364
  # resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [
6328
6365
  # Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a
@@ -31836,6 +31873,12 @@ module Google
31836
31873
  class SecurityPolicyAdvancedOptionsConfig
31837
31874
  include Google::Apis::Core::Hashable
31838
31875
 
31876
+ # Custom configuration to apply the JSON parsing. Only applicable when
31877
+ # json_parsing is set to STANDARD.
31878
+ # Corresponds to the JSON property `jsonCustomConfig`
31879
+ # @return [Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
31880
+ attr_accessor :json_custom_config
31881
+
31839
31882
  #
31840
31883
  # Corresponds to the JSON property `jsonParsing`
31841
31884
  # @return [String]
@@ -31852,11 +31895,35 @@ module Google
31852
31895
 
31853
31896
  # Update properties of this object
31854
31897
  def update!(**args)
31898
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
31855
31899
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
31856
31900
  @log_level = args[:log_level] if args.key?(:log_level)
31857
31901
  end
31858
31902
  end
31859
31903
 
31904
+ #
31905
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
31906
+ include Google::Apis::Core::Hashable
31907
+
31908
+ # A list of custom Content-Type header values to apply the JSON parsing. As per
31909
+ # RFC 1341, a Content-Type header value has the following format: Content-Type :=
31910
+ # type "/" subtype *[";" parameter] When configuring a custom Content-Type
31911
+ # header value, only the type/subtype needs to be specified, and the parameters
31912
+ # should be excluded.
31913
+ # Corresponds to the JSON property `contentTypes`
31914
+ # @return [Array<String>]
31915
+ attr_accessor :content_types
31916
+
31917
+ def initialize(**args)
31918
+ update!(**args)
31919
+ end
31920
+
31921
+ # Update properties of this object
31922
+ def update!(**args)
31923
+ @content_types = args[:content_types] if args.key?(:content_types)
31924
+ end
31925
+ end
31926
+
31860
31927
  #
31861
31928
  class SecurityPolicyDdosProtectionConfig
31862
31929
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.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 = "20220720"
25
+ REVISION = "20220726"
26
26
  end
27
27
  end
28
28
  end
@@ -724,6 +724,12 @@ module Google
724
724
  include Google::Apis::Core::JsonObjectSupport
725
725
  end
726
726
 
727
+ class DiskParams
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
727
733
  class DiskType
728
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
735
 
@@ -4150,6 +4156,12 @@ module Google
4150
4156
  include Google::Apis::Core::JsonObjectSupport
4151
4157
  end
4152
4158
 
4159
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
4160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4161
+
4162
+ include Google::Apis::Core::JsonObjectSupport
4163
+ end
4164
+
4153
4165
  class SecurityPolicyDdosProtectionConfig
4154
4166
  class Representation < Google::Apis::Core::JsonRepresentation; end
4155
4167
 
@@ -5871,6 +5883,7 @@ module Google
5871
5883
  collection :licenses, as: 'licenses'
5872
5884
  property :on_update_action, as: 'onUpdateAction'
5873
5885
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
5886
+ hash :resource_manager_tags, as: 'resourceManagerTags'
5874
5887
  collection :resource_policies, as: 'resourcePolicies'
5875
5888
  property :source_image, as: 'sourceImage'
5876
5889
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
@@ -6825,6 +6838,8 @@ module Google
6825
6838
  property :location_hint, as: 'locationHint'
6826
6839
  property :name, as: 'name'
6827
6840
  property :options, as: 'options'
6841
+ property :params, as: 'params', class: Google::Apis::ComputeV1::DiskParams, decorator: Google::Apis::ComputeV1::DiskParams::Representation
6842
+
6828
6843
  property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
6829
6844
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
6830
6845
  property :region, as: 'region'
@@ -6934,6 +6949,13 @@ module Google
6934
6949
  end
6935
6950
  end
6936
6951
 
6952
+ class DiskParams
6953
+ # @private
6954
+ class Representation < Google::Apis::Core::JsonRepresentation
6955
+ hash :resource_manager_tags, as: 'resourceManagerTags'
6956
+ end
6957
+ end
6958
+
6937
6959
  class DiskType
6938
6960
  # @private
6939
6961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13308,11 +13330,20 @@ module Google
13308
13330
  class SecurityPolicyAdvancedOptionsConfig
13309
13331
  # @private
13310
13332
  class Representation < Google::Apis::Core::JsonRepresentation
13333
+ property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
13334
+
13311
13335
  property :json_parsing, as: 'jsonParsing'
13312
13336
  property :log_level, as: 'logLevel'
13313
13337
  end
13314
13338
  end
13315
13339
 
13340
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
13341
+ # @private
13342
+ class Representation < Google::Apis::Core::JsonRepresentation
13343
+ collection :content_types, as: 'contentTypes'
13344
+ end
13345
+ end
13346
+
13316
13347
  class SecurityPolicyDdosProtectionConfig
13317
13348
  # @private
13318
13349
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.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-01 00:00:00.000000000 Z
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []