google-apis-compute_beta 0.42.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: 2c31188ae154de781bad8b57b9b068b2dcbbe112d20fab89f9a4a7a2d70913cf
4
- data.tar.gz: 67b69a0d185412d4b0e3a35ff6739f945fbfda4f9a40e0e2bc17b94d0dcb40ac
3
+ metadata.gz: 3d39a7f17cdf2e704b61e2fd5fe704b4312cc53cb114938596a05a50ee0bfb5a
4
+ data.tar.gz: b7d66ba781d806ca708481cea6950a62244b30b139eae60773f1a0ddd3c0742b
5
5
  SHA512:
6
- metadata.gz: 7e733bc5ed81c89eb5fb3d86d35a65056071adf7f40f40584460b958bba58d7fbe7d73698c10c7dcafbe87980c796342998b6c0f1db5fefc497fa2d77025c67a
7
- data.tar.gz: db21d19a9510fc3f6bb5e9599c99aae48950be45d821c77644a5cc9f47ecdabdfd9d2dddf93f3373067382cd0e6ee45fd2f471931b24e413a3fe0d26128df473
6
+ metadata.gz: b1954287dfc97e3d43ef7bfaa8fbe3c35de7f712cef7d842781c8e40b4e3c218628230fcad93361704a9029b08e988143d6c48ad222a34aa8cec7809fac71e61
7
+ data.tar.gz: 53b34996e1f7b2aff00b0125700e044138f2f33d62f516d72adebbf54d8b6bfe76f2c627114f85f26088daebd726a6d160fbe5e2c4a4e22fef616edcce5c1419
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.45.0 (2022-08-06)
4
+
5
+ * Regenerated from discovery document revision 20220726
6
+
7
+ ### v0.44.0 (2022-07-26)
8
+
9
+ * Regenerated from discovery document revision 20220720
10
+
11
+ ### v0.43.0 (2022-07-20)
12
+
13
+ * Regenerated from discovery document revision 20220714
14
+
3
15
  ### v0.42.0 (2022-07-14)
4
16
 
5
17
  * Regenerated from discovery document revision 20220705
@@ -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
@@ -13018,7 +13055,7 @@ module Google
13018
13055
  attr_accessor :satisfies_pzs
13019
13056
  alias_method :satisfies_pzs?, :satisfies_pzs
13020
13057
 
13021
- # Sets the scheduling options for an Instance. NextID: 21
13058
+ # Sets the scheduling options for an Instance.
13022
13059
  # Corresponds to the JSON property `scheduling`
13023
13060
  # @return [Google::Apis::ComputeBeta::Scheduling]
13024
13061
  attr_accessor :scheduling
@@ -15986,7 +16023,7 @@ module Google
15986
16023
  # @return [Array<String>]
15987
16024
  attr_accessor :resource_policies
15988
16025
 
15989
- # Sets the scheduling options for an Instance. NextID: 21
16026
+ # Sets the scheduling options for an Instance.
15990
16027
  # Corresponds to the JSON property `scheduling`
15991
16028
  # @return [Google::Apis::ComputeBeta::Scheduling]
15992
16029
  attr_accessor :scheduling
@@ -21064,9 +21101,9 @@ module Google
21064
21101
  # allows for routing to multiple App Engine services without having to create
21065
21102
  # multiple Network Endpoint Groups and backend services. For example, the
21066
21103
  # request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.
21067
- # com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.
21068
- # appspot.com/". The URL mask will parse them to ` service = "foo1", version = "
21069
- # v1" ` and ` service = "foo1", version = "v2" ` respectively.
21104
+ # com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-
21105
+ # appname.appspot.com/<version>". The URL mask will parse them to ` service = "
21106
+ # foo1", version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
21070
21107
  # Corresponds to the JSON property `urlMask`
21071
21108
  # @return [String]
21072
21109
  attr_accessor :url_mask
@@ -21105,8 +21142,8 @@ module Google
21105
21142
  # routing to multiple Cloud Functions without having to create multiple Network
21106
21143
  # Endpoint Groups and backend services. For example, request URLs " mydomain.com/
21107
21144
  # function1" and "mydomain.com/function2" can be backed by the same Serverless
21108
- # NEG with URL mask "/". The URL mask will parse them to ` function = "function1"
21109
- # ` and ` function = "function2" ` respectively.
21145
+ # NEG with URL mask "/<function>". The URL mask will parse them to ` function = "
21146
+ # function1" ` and ` function = "function2" ` respectively.
21110
21147
  # Corresponds to the JSON property `urlMask`
21111
21148
  # @return [String]
21112
21149
  attr_accessor :url_mask
@@ -28831,7 +28868,7 @@ module Google
28831
28868
  include Google::Apis::Core::Hashable
28832
28869
 
28833
28870
  # New set of SslCertificate resources to associate with this TargetHttpsProxy
28834
- # resource. Currently exactly one SslCertificate resource must be specified.
28871
+ # resource.
28835
28872
  # Corresponds to the JSON property `sslCertificates`
28836
28873
  # @return [Array<String>]
28837
28874
  attr_accessor :ssl_certificates
@@ -28886,7 +28923,11 @@ module Google
28886
28923
  class RequestMirrorPolicy
28887
28924
  include Google::Apis::Core::Hashable
28888
28925
 
28889
- # The full or partial URL to the BackendService resource being mirrored to.
28926
+ # The full or partial URL to the BackendService resource being mirrored to. The
28927
+ # backend service configured for a mirroring policy must reference backends that
28928
+ # are of the same type as the original backend service matched in the URL map.
28929
+ # Serverless NEG backends are not currently supported as a mirrored backend
28930
+ # service.
28890
28931
  # Corresponds to the JSON property `backendService`
28891
28932
  # @return [String]
28892
28933
  attr_accessor :backend_service
@@ -32509,7 +32550,7 @@ module Google
32509
32550
  end
32510
32551
  end
32511
32552
 
32512
- # Sets the scheduling options for an Instance. NextID: 21
32553
+ # Sets the scheduling options for an Instance.
32513
32554
  class Scheduling
32514
32555
  include Google::Apis::Core::Hashable
32515
32556
 
@@ -33204,6 +33245,12 @@ module Google
33204
33245
  class SecurityPolicyAdvancedOptionsConfig
33205
33246
  include Google::Apis::Core::Hashable
33206
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
+
33207
33254
  #
33208
33255
  # Corresponds to the JSON property `jsonParsing`
33209
33256
  # @return [String]
@@ -33220,11 +33267,35 @@ module Google
33220
33267
 
33221
33268
  # Update properties of this object
33222
33269
  def update!(**args)
33270
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
33223
33271
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
33224
33272
  @log_level = args[:log_level] if args.key?(:log_level)
33225
33273
  end
33226
33274
  end
33227
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
+
33228
33299
  #
33229
33300
  class SecurityPolicyAssociation
33230
33301
  include Google::Apis::Core::Hashable
@@ -34891,6 +34962,11 @@ module Google
34891
34962
  # @return [String]
34892
34963
  attr_accessor :chain_name
34893
34964
 
34965
+ # [Output Only] Size in bytes of the snapshot at creation time.
34966
+ # Corresponds to the JSON property `creationSizeBytes`
34967
+ # @return [Fixnum]
34968
+ attr_accessor :creation_size_bytes
34969
+
34894
34970
  # [Output Only] Creation timestamp in RFC3339 text format.
34895
34971
  # Corresponds to the JSON property `creationTimestamp`
34896
34972
  # @return [String]
@@ -35001,6 +35077,11 @@ module Google
35001
35077
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
35002
35078
  attr_accessor :snapshot_encryption_key
35003
35079
 
35080
+ # Indicates the type of the snapshot.
35081
+ # Corresponds to the JSON property `snapshotType`
35082
+ # @return [String]
35083
+ attr_accessor :snapshot_type
35084
+
35004
35085
  # The source disk used to create this snapshot.
35005
35086
  # Corresponds to the JSON property `sourceDisk`
35006
35087
  # @return [String]
@@ -35070,6 +35151,7 @@ module Google
35070
35151
  @architecture = args[:architecture] if args.key?(:architecture)
35071
35152
  @auto_created = args[:auto_created] if args.key?(:auto_created)
35072
35153
  @chain_name = args[:chain_name] if args.key?(:chain_name)
35154
+ @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
35073
35155
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
35074
35156
  @description = args[:description] if args.key?(:description)
35075
35157
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -35086,6 +35168,7 @@ module Google
35086
35168
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
35087
35169
  @self_link = args[:self_link] if args.key?(:self_link)
35088
35170
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
35171
+ @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
35089
35172
  @source_disk = args[:source_disk] if args.key?(:source_disk)
35090
35173
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
35091
35174
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
@@ -35349,7 +35432,7 @@ module Google
35349
35432
  # @return [String]
35350
35433
  attr_accessor :post_key_revocation_action_type
35351
35434
 
35352
- # Sets the scheduling options for an Instance. NextID: 21
35435
+ # Sets the scheduling options for an Instance.
35353
35436
  # Corresponds to the JSON property `scheduling`
35354
35437
  # @return [Google::Apis::ComputeBeta::Scheduling]
35355
35438
  attr_accessor :scheduling
@@ -38711,8 +38794,9 @@ module Google
38711
38794
  # @return [String]
38712
38795
  attr_accessor :name
38713
38796
 
38714
- # NAT option controlling how IPs are NAT'ed to the instance. Currently only
38715
- # NO_NAT (default value) is supported.
38797
+ # Must have a value of NO_NAT. Protocol forwarding delivers packets while
38798
+ # preserving the destination IP address of the forwarding rule referencing the
38799
+ # target instance.
38716
38800
  # Corresponds to the JSON property `natPolicy`
38717
38801
  # @return [String]
38718
38802
  attr_accessor :nat_policy
@@ -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.42.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 = "20220705"
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
@@ -14313,6 +14344,7 @@ module Google
14313
14344
  property :architecture, as: 'architecture'
14314
14345
  property :auto_created, as: 'autoCreated'
14315
14346
  property :chain_name, as: 'chainName'
14347
+ property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
14316
14348
  property :creation_timestamp, as: 'creationTimestamp'
14317
14349
  property :description, as: 'description'
14318
14350
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -14330,6 +14362,7 @@ module Google
14330
14362
  property :self_link, as: 'selfLink'
14331
14363
  property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14332
14364
 
14365
+ property :snapshot_type, as: 'snapshotType'
14333
14366
  property :source_disk, as: 'sourceDisk'
14334
14367
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14335
14368
 
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.42.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-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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.42.0
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: []