google-apis-compute_v1 0.43.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: 88363b660d92f0a8cc0d48ea5994b931c295713f863e053f4f5faa0e801a275a
4
- data.tar.gz: 8b0c1ff63f3fe2f201ab89d34470a2c3583894a44d6e85238a8a4eb87b1e5b0b
3
+ metadata.gz: b18abba5459a86e49191199aa3a6150054bbaa6f455f491704e0b4b440736724
4
+ data.tar.gz: 1c9c64248b27d98ab576b49fce295af88399b6832962de2f7548195ad200758b
5
5
  SHA512:
6
- metadata.gz: b1acca9ab53c3032dc3db792e701d198c448a6897bedbd825182771076e40d5910515ec65ba703876ddce5a99e01b4180db41eeaf81708048b1bd8dc91317455
7
- data.tar.gz: 1dde1e60ce959847a4ade9d8d5678e554476e32f004e2a405874b6cf28877005819e82f8c2978f842ecf9eb74addec87ca6a6f223597fc1ec0a6ff8beb91fd97
6
+ metadata.gz: 373ec0a228638c1223e60de37eb7e1e912f47ee35f0108ca074822e1c9cbd73cb442c6234f7fa5dca9624b0bb21260a1b3ba830e6893a14ad9e616a087c271b0
7
+ data.tar.gz: 71c6981744484b26c7ceb1cef41c325d8e004aadd9d5191ba01346d17ee07b52769524a3f7f8ef185f8558190bc0efb2009a5d6e8f47abb9f3f9832b2c839c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.45.0 (2022-07-26)
8
+
9
+ * Regenerated from discovery document revision 20220720
10
+
11
+ ### v0.44.0 (2022-07-20)
12
+
13
+ * Regenerated from discovery document revision 20220714
14
+
3
15
  ### v0.43.0 (2022-07-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220705
@@ -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
@@ -12634,7 +12671,7 @@ module Google
12634
12671
  attr_accessor :satisfies_pzs
12635
12672
  alias_method :satisfies_pzs?, :satisfies_pzs
12636
12673
 
12637
- # Sets the scheduling options for an Instance. NextID: 21
12674
+ # Sets the scheduling options for an Instance.
12638
12675
  # Corresponds to the JSON property `scheduling`
12639
12676
  # @return [Google::Apis::ComputeV1::Scheduling]
12640
12677
  attr_accessor :scheduling
@@ -15353,7 +15390,7 @@ module Google
15353
15390
  # @return [Array<String>]
15354
15391
  attr_accessor :resource_policies
15355
15392
 
15356
- # Sets the scheduling options for an Instance. NextID: 21
15393
+ # Sets the scheduling options for an Instance.
15357
15394
  # Corresponds to the JSON property `scheduling`
15358
15395
  # @return [Google::Apis::ComputeV1::Scheduling]
15359
15396
  attr_accessor :scheduling
@@ -20257,9 +20294,9 @@ module Google
20257
20294
  # allows for routing to multiple App Engine services without having to create
20258
20295
  # multiple Network Endpoint Groups and backend services. For example, the
20259
20296
  # request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.
20260
- # com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.
20261
- # appspot.com/". The URL mask will parse them to ` service = "foo1", version = "
20262
- # v1" ` and ` service = "foo1", version = "v2" ` respectively.
20297
+ # com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-
20298
+ # appname.appspot.com/<version>". The URL mask will parse them to ` service = "
20299
+ # foo1", version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
20263
20300
  # Corresponds to the JSON property `urlMask`
20264
20301
  # @return [String]
20265
20302
  attr_accessor :url_mask
@@ -20298,8 +20335,8 @@ module Google
20298
20335
  # routing to multiple Cloud Functions without having to create multiple Network
20299
20336
  # Endpoint Groups and backend services. For example, request URLs " mydomain.com/
20300
20337
  # function1" and "mydomain.com/function2" can be backed by the same Serverless
20301
- # NEG with URL mask "/". The URL mask will parse them to ` function = "function1"
20302
- # ` and ` function = "function2" ` respectively.
20338
+ # NEG with URL mask "/<function>". The URL mask will parse them to ` function = "
20339
+ # function1" ` and ` function = "function2" ` respectively.
20303
20340
  # Corresponds to the JSON property `urlMask`
20304
20341
  # @return [String]
20305
20342
  attr_accessor :url_mask
@@ -27675,7 +27712,7 @@ module Google
27675
27712
  include Google::Apis::Core::Hashable
27676
27713
 
27677
27714
  # New set of SslCertificate resources to associate with this TargetHttpsProxy
27678
- # resource. Currently exactly one SslCertificate resource must be specified.
27715
+ # resource.
27679
27716
  # Corresponds to the JSON property `sslCertificates`
27680
27717
  # @return [Array<String>]
27681
27718
  attr_accessor :ssl_certificates
@@ -27730,7 +27767,11 @@ module Google
27730
27767
  class RequestMirrorPolicy
27731
27768
  include Google::Apis::Core::Hashable
27732
27769
 
27733
- # The full or partial URL to the BackendService resource being mirrored to.
27770
+ # The full or partial URL to the BackendService resource being mirrored to. The
27771
+ # backend service configured for a mirroring policy must reference backends that
27772
+ # are of the same type as the original backend service matched in the URL map.
27773
+ # Serverless NEG backends are not currently supported as a mirrored backend
27774
+ # service.
27734
27775
  # Corresponds to the JSON property `backendService`
27735
27776
  # @return [String]
27736
27777
  attr_accessor :backend_service
@@ -31260,7 +31301,7 @@ module Google
31260
31301
  end
31261
31302
  end
31262
31303
 
31263
- # Sets the scheduling options for an Instance. NextID: 21
31304
+ # Sets the scheduling options for an Instance.
31264
31305
  class Scheduling
31265
31306
  include Google::Apis::Core::Hashable
31266
31307
 
@@ -31832,6 +31873,12 @@ module Google
31832
31873
  class SecurityPolicyAdvancedOptionsConfig
31833
31874
  include Google::Apis::Core::Hashable
31834
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
+
31835
31882
  #
31836
31883
  # Corresponds to the JSON property `jsonParsing`
31837
31884
  # @return [String]
@@ -31848,11 +31895,35 @@ module Google
31848
31895
 
31849
31896
  # Update properties of this object
31850
31897
  def update!(**args)
31898
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
31851
31899
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
31852
31900
  @log_level = args[:log_level] if args.key?(:log_level)
31853
31901
  end
31854
31902
  end
31855
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
+
31856
31927
  #
31857
31928
  class SecurityPolicyDdosProtectionConfig
31858
31929
  include Google::Apis::Core::Hashable
@@ -33261,6 +33332,11 @@ module Google
33261
33332
  # @return [String]
33262
33333
  attr_accessor :chain_name
33263
33334
 
33335
+ # [Output Only] Size in bytes of the snapshot at creation time.
33336
+ # Corresponds to the JSON property `creationSizeBytes`
33337
+ # @return [Fixnum]
33338
+ attr_accessor :creation_size_bytes
33339
+
33264
33340
  # [Output Only] Creation timestamp in RFC3339 text format.
33265
33341
  # Corresponds to the JSON property `creationTimestamp`
33266
33342
  # @return [String]
@@ -33364,6 +33440,11 @@ module Google
33364
33440
  # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
33365
33441
  attr_accessor :snapshot_encryption_key
33366
33442
 
33443
+ # Indicates the type of the snapshot.
33444
+ # Corresponds to the JSON property `snapshotType`
33445
+ # @return [String]
33446
+ attr_accessor :snapshot_type
33447
+
33367
33448
  # The source disk used to create this snapshot.
33368
33449
  # Corresponds to the JSON property `sourceDisk`
33369
33450
  # @return [String]
@@ -33427,6 +33508,7 @@ module Google
33427
33508
  @architecture = args[:architecture] if args.key?(:architecture)
33428
33509
  @auto_created = args[:auto_created] if args.key?(:auto_created)
33429
33510
  @chain_name = args[:chain_name] if args.key?(:chain_name)
33511
+ @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
33430
33512
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33431
33513
  @description = args[:description] if args.key?(:description)
33432
33514
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -33442,6 +33524,7 @@ module Google
33442
33524
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
33443
33525
  @self_link = args[:self_link] if args.key?(:self_link)
33444
33526
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
33527
+ @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
33445
33528
  @source_disk = args[:source_disk] if args.key?(:source_disk)
33446
33529
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
33447
33530
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
@@ -33699,7 +33782,7 @@ module Google
33699
33782
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
33700
33783
  attr_accessor :network_interfaces
33701
33784
 
33702
- # Sets the scheduling options for an Instance. NextID: 21
33785
+ # Sets the scheduling options for an Instance.
33703
33786
  # Corresponds to the JSON property `scheduling`
33704
33787
  # @return [Google::Apis::ComputeV1::Scheduling]
33705
33788
  attr_accessor :scheduling
@@ -36646,8 +36729,9 @@ module Google
36646
36729
  # @return [String]
36647
36730
  attr_accessor :name
36648
36731
 
36649
- # NAT option controlling how IPs are NAT'ed to the instance. Currently only
36650
- # NO_NAT (default value) is supported.
36732
+ # Must have a value of NO_NAT. Protocol forwarding delivers packets while
36733
+ # preserving the destination IP address of the forwarding rule referencing the
36734
+ # target instance.
36651
36735
  # Corresponds to the JSON property `natPolicy`
36652
36736
  # @return [String]
36653
36737
  attr_accessor :nat_policy
@@ -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.43.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 = "20220705"
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
@@ -13687,6 +13718,7 @@ module Google
13687
13718
  property :architecture, as: 'architecture'
13688
13719
  property :auto_created, as: 'autoCreated'
13689
13720
  property :chain_name, as: 'chainName'
13721
+ property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
13690
13722
  property :creation_timestamp, as: 'creationTimestamp'
13691
13723
  property :description, as: 'description'
13692
13724
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -13703,6 +13735,7 @@ module Google
13703
13735
  property :self_link, as: 'selfLink'
13704
13736
  property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
13705
13737
 
13738
+ property :snapshot_type, as: 'snapshotType'
13706
13739
  property :source_disk, as: 'sourceDisk'
13707
13740
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
13708
13741
 
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.43.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-07-18 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.43.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: []