google-apis-compute_v1 0.82.0 → 0.83.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: 6270432f434cba8ef603d1b2ecc5a1b393a189132ed6a941c87fda8ee8b71341
4
- data.tar.gz: 4e9b8f411a0fb6fc14f8c7ba4f23b88ab68888cc90b55cbc2c27bd999256f525
3
+ metadata.gz: 57b5e7fc815fa7e5c11829829e337d7b11e96d59a049dee76ad2e7c3a5b1656c
4
+ data.tar.gz: e6e2ed5480718ea02f81c4ae4f4103d1c805c97146dd08253665b0b523361cd5
5
5
  SHA512:
6
- metadata.gz: 50958362bb808ab5d2690a9b2e8d19249319a935d5164f6b3840fdfad8fa0e4abbb9383c3a142e92e2f5864780b194bc319d6234c4e41b0fe4a737dd7bf1d458
7
- data.tar.gz: 5a7e01c468f28a387acb2613f126bb1597e95df16dc907a255167196d0dfd1c7caca57b29b2a2d18ba3bfa2ce1173ea4d96ebaca83dfb1f68c561b27ba54bbb4
6
+ metadata.gz: 3e72c220ebade6c5c9bf580a77f30a8df397223a2e3816cc64293ac27a8d6b7ccd1d3bbf5a0bcaec130880c0f76d260b6046b557d6ea2ccd54c0437d6a15e277
7
+ data.tar.gz: b9fb39b590a008f55435ce6259b6c8eeb888441275f5e6e08c88c78276ae0b6fa60f3b8c0d955cfd0917732d8beda92600915f51847c908f51e1e8eb7dd3023b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.83.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231017
6
+
3
7
  ### v0.82.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231011
@@ -28243,6 +28243,11 @@ module Google
28243
28243
  class PublicAdvertisedPrefix
28244
28244
  include Google::Apis::Core::Hashable
28245
28245
 
28246
+ # [Output Only] The version of BYOIP API.
28247
+ # Corresponds to the JSON property `byoipApiVersion`
28248
+ # @return [String]
28249
+ attr_accessor :byoip_api_version
28250
+
28246
28251
  # [Output Only] Creation timestamp in RFC3339 text format.
28247
28252
  # Corresponds to the JSON property `creationTimestamp`
28248
28253
  # @return [String]
@@ -28298,6 +28303,16 @@ module Google
28298
28303
  # @return [String]
28299
28304
  attr_accessor :name
28300
28305
 
28306
+ # Specifies how child public delegated prefix will be scoped. It could be one of
28307
+ # following values: - `REGIONAL`: The public delegated prefix is regional only.
28308
+ # The provisioning will take a few minutes. - `GLOBAL`: The public delegated
28309
+ # prefix is global only. The provisioning will take ~4 weeks. - `
28310
+ # GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1
28311
+ # legacy prefix. This is output only value and no longer supported in BYOIP V2.
28312
+ # Corresponds to the JSON property `pdpScope`
28313
+ # @return [String]
28314
+ attr_accessor :pdp_scope
28315
+
28301
28316
  # [Output Only] The list of public delegated prefixes that exist for this public
28302
28317
  # advertised prefix.
28303
28318
  # Corresponds to the JSON property `publicDelegatedPrefixs`
@@ -28331,6 +28346,7 @@ module Google
28331
28346
 
28332
28347
  # Update properties of this object
28333
28348
  def update!(**args)
28349
+ @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
28334
28350
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
28335
28351
  @description = args[:description] if args.key?(:description)
28336
28352
  @dns_verification_ip = args[:dns_verification_ip] if args.key?(:dns_verification_ip)
@@ -28339,6 +28355,7 @@ module Google
28339
28355
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
28340
28356
  @kind = args[:kind] if args.key?(:kind)
28341
28357
  @name = args[:name] if args.key?(:name)
28358
+ @pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
28342
28359
  @public_delegated_prefixs = args[:public_delegated_prefixs] if args.key?(:public_delegated_prefixs)
28343
28360
  @self_link = args[:self_link] if args.key?(:self_link)
28344
28361
  @shared_secret = args[:shared_secret] if args.key?(:shared_secret)
@@ -28518,6 +28535,11 @@ module Google
28518
28535
  class PublicDelegatedPrefix
28519
28536
  include Google::Apis::Core::Hashable
28520
28537
 
28538
+ # [Output Only] The version of BYOIP API.
28539
+ # Corresponds to the JSON property `byoipApiVersion`
28540
+ # @return [String]
28541
+ attr_accessor :byoip_api_version
28542
+
28521
28543
  # [Output Only] Creation timestamp in RFC3339 text format.
28522
28544
  # Corresponds to the JSON property `creationTimestamp`
28523
28545
  # @return [String]
@@ -28615,6 +28637,7 @@ module Google
28615
28637
 
28616
28638
  # Update properties of this object
28617
28639
  def update!(**args)
28640
+ @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
28618
28641
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
28619
28642
  @description = args[:description] if args.key?(:description)
28620
28643
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -37187,6 +37210,11 @@ module Google
37187
37210
  # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
37188
37211
  attr_accessor :source_disk_encryption_key
37189
37212
 
37213
+ # The source disk whose recovery checkpoint will be used to create this snapshot.
37214
+ # Corresponds to the JSON property `sourceDiskForRecoveryCheckpoint`
37215
+ # @return [String]
37216
+ attr_accessor :source_disk_for_recovery_checkpoint
37217
+
37190
37218
  # [Output Only] The ID value of the disk used to create this snapshot. This
37191
37219
  # value may be used to determine whether the snapshot was taken from the current
37192
37220
  # or a previous instance of a given disk name.
@@ -37258,6 +37286,7 @@ module Google
37258
37286
  @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
37259
37287
  @source_disk = args[:source_disk] if args.key?(:source_disk)
37260
37288
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
37289
+ @source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
37261
37290
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
37262
37291
  @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
37263
37292
  @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
@@ -37385,6 +37414,71 @@ module Google
37385
37414
  end
37386
37415
  end
37387
37416
 
37417
+ #
37418
+ class SnapshotSettings
37419
+ include Google::Apis::Core::Hashable
37420
+
37421
+ # Policy of which storage location is going to be resolved, and additional data
37422
+ # that particularizes how the policy is going to be carried out.
37423
+ # Corresponds to the JSON property `storageLocation`
37424
+ # @return [Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings]
37425
+ attr_accessor :storage_location
37426
+
37427
+ def initialize(**args)
37428
+ update!(**args)
37429
+ end
37430
+
37431
+ # Update properties of this object
37432
+ def update!(**args)
37433
+ @storage_location = args[:storage_location] if args.key?(:storage_location)
37434
+ end
37435
+ end
37436
+
37437
+ #
37438
+ class SnapshotSettingsStorageLocationSettings
37439
+ include Google::Apis::Core::Hashable
37440
+
37441
+ # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
37442
+ # locations listed in this field. Keys are GCS bucket locations.
37443
+ # Corresponds to the JSON property `locations`
37444
+ # @return [Hash<String,Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
37445
+ attr_accessor :locations
37446
+
37447
+ # The chosen location policy.
37448
+ # Corresponds to the JSON property `policy`
37449
+ # @return [String]
37450
+ attr_accessor :policy
37451
+
37452
+ def initialize(**args)
37453
+ update!(**args)
37454
+ end
37455
+
37456
+ # Update properties of this object
37457
+ def update!(**args)
37458
+ @locations = args[:locations] if args.key?(:locations)
37459
+ @policy = args[:policy] if args.key?(:policy)
37460
+ end
37461
+ end
37462
+
37463
+ # A structure for specifying storage locations.
37464
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
37465
+ include Google::Apis::Core::Hashable
37466
+
37467
+ # Name of the location. It should be one of the GCS buckets.
37468
+ # Corresponds to the JSON property `name`
37469
+ # @return [String]
37470
+ attr_accessor :name
37471
+
37472
+ def initialize(**args)
37473
+ update!(**args)
37474
+ end
37475
+
37476
+ # Update properties of this object
37477
+ def update!(**args)
37478
+ @name = args[:name] if args.key?(:name)
37479
+ end
37480
+ end
37481
+
37388
37482
  #
37389
37483
  class SourceDiskEncryptionKey
37390
37484
  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.82.0"
19
+ GEM_VERSION = "0.83.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231011"
25
+ REVISION = "20231017"
26
26
  end
27
27
  end
28
28
  end
@@ -4888,6 +4888,24 @@ module Google
4888
4888
  include Google::Apis::Core::JsonObjectSupport
4889
4889
  end
4890
4890
 
4891
+ class SnapshotSettings
4892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4893
+
4894
+ include Google::Apis::Core::JsonObjectSupport
4895
+ end
4896
+
4897
+ class SnapshotSettingsStorageLocationSettings
4898
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4899
+
4900
+ include Google::Apis::Core::JsonObjectSupport
4901
+ end
4902
+
4903
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
4904
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4905
+
4906
+ include Google::Apis::Core::JsonObjectSupport
4907
+ end
4908
+
4891
4909
  class SourceDiskEncryptionKey
4892
4910
  class Representation < Google::Apis::Core::JsonRepresentation; end
4893
4911
 
@@ -12915,6 +12933,7 @@ module Google
12915
12933
  class PublicAdvertisedPrefix
12916
12934
  # @private
12917
12935
  class Representation < Google::Apis::Core::JsonRepresentation
12936
+ property :byoip_api_version, as: 'byoipApiVersion'
12918
12937
  property :creation_timestamp, as: 'creationTimestamp'
12919
12938
  property :description, as: 'description'
12920
12939
  property :dns_verification_ip, as: 'dnsVerificationIp'
@@ -12923,6 +12942,7 @@ module Google
12923
12942
  property :ip_cidr_range, as: 'ipCidrRange'
12924
12943
  property :kind, as: 'kind'
12925
12944
  property :name, as: 'name'
12945
+ property :pdp_scope, as: 'pdpScope'
12926
12946
  collection :public_delegated_prefixs, as: 'publicDelegatedPrefixs', class: Google::Apis::ComputeV1::PublicAdvertisedPrefixPublicDelegatedPrefix, decorator: Google::Apis::ComputeV1::PublicAdvertisedPrefixPublicDelegatedPrefix::Representation
12927
12947
 
12928
12948
  property :self_link, as: 'selfLink'
@@ -12977,6 +12997,7 @@ module Google
12977
12997
  class PublicDelegatedPrefix
12978
12998
  # @private
12979
12999
  class Representation < Google::Apis::Core::JsonRepresentation
13000
+ property :byoip_api_version, as: 'byoipApiVersion'
12980
13001
  property :creation_timestamp, as: 'creationTimestamp'
12981
13002
  property :description, as: 'description'
12982
13003
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -15199,6 +15220,7 @@ module Google
15199
15220
  property :source_disk, as: 'sourceDisk'
15200
15221
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
15201
15222
 
15223
+ property :source_disk_for_recovery_checkpoint, as: 'sourceDiskForRecoveryCheckpoint'
15202
15224
  property :source_disk_id, as: 'sourceDiskId'
15203
15225
  property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
15204
15226
  property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
@@ -15241,6 +15263,30 @@ module Google
15241
15263
  end
15242
15264
  end
15243
15265
 
15266
+ class SnapshotSettings
15267
+ # @private
15268
+ class Representation < Google::Apis::Core::JsonRepresentation
15269
+ property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings::Representation
15270
+
15271
+ end
15272
+ end
15273
+
15274
+ class SnapshotSettingsStorageLocationSettings
15275
+ # @private
15276
+ class Representation < Google::Apis::Core::JsonRepresentation
15277
+ hash :locations, as: 'locations', class: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
15278
+
15279
+ property :policy, as: 'policy'
15280
+ end
15281
+ end
15282
+
15283
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
15284
+ # @private
15285
+ class Representation < Google::Apis::Core::JsonRepresentation
15286
+ property :name, as: 'name'
15287
+ end
15288
+ end
15289
+
15244
15290
  class SourceDiskEncryptionKey
15245
15291
  # @private
15246
15292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21780,6 +21780,53 @@ module Google
21780
21780
  execute_or_queue_command(command, &block)
21781
21781
  end
21782
21782
 
21783
+ # Announces the specified PublicAdvertisedPrefix
21784
+ # @param [String] project
21785
+ # Project ID for this request.
21786
+ # @param [String] public_advertised_prefix
21787
+ # The name of the public advertised prefix. It should comply with RFC1035.
21788
+ # @param [String] request_id
21789
+ # An optional request ID to identify requests. Specify a unique request ID so
21790
+ # that if you must retry your request, the server will know to ignore the
21791
+ # request if it has already been completed. For example, consider a situation
21792
+ # where you make an initial request and the request times out. If you make the
21793
+ # request again with the same request ID, the server can check if original
21794
+ # operation with the same request ID was received, and if so, will ignore the
21795
+ # second request. This prevents clients from accidentally creating duplicate
21796
+ # commitments. The request ID must be a valid UUID with the exception that zero
21797
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
21798
+ # @param [String] fields
21799
+ # Selector specifying which fields to include in a partial response.
21800
+ # @param [String] quota_user
21801
+ # Available to use for quota purposes for server-side applications. Can be any
21802
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21803
+ # @param [String] user_ip
21804
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21805
+ # @param [Google::Apis::RequestOptions] options
21806
+ # Request-specific options
21807
+ #
21808
+ # @yield [result, err] Result & error if block supplied
21809
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
21810
+ # @yieldparam err [StandardError] error object if request failed
21811
+ #
21812
+ # @return [Google::Apis::ComputeV1::Operation]
21813
+ #
21814
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21815
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21816
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21817
+ def announce_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21818
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce', options)
21819
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
21820
+ command.response_class = Google::Apis::ComputeV1::Operation
21821
+ command.params['project'] = project unless project.nil?
21822
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
21823
+ command.query['requestId'] = request_id unless request_id.nil?
21824
+ command.query['fields'] = fields unless fields.nil?
21825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21826
+ command.query['userIp'] = user_ip unless user_ip.nil?
21827
+ execute_or_queue_command(command, &block)
21828
+ end
21829
+
21783
21830
  # Deletes the specified PublicAdvertisedPrefix
21784
21831
  # @param [String] project
21785
21832
  # Project ID for this request.
@@ -22052,6 +22099,53 @@ module Google
22052
22099
  execute_or_queue_command(command, &block)
22053
22100
  end
22054
22101
 
22102
+ # Withdraws the specified PublicAdvertisedPrefix
22103
+ # @param [String] project
22104
+ # Project ID for this request.
22105
+ # @param [String] public_advertised_prefix
22106
+ # The name of the public advertised prefix. It should comply with RFC1035.
22107
+ # @param [String] request_id
22108
+ # An optional request ID to identify requests. Specify a unique request ID so
22109
+ # that if you must retry your request, the server will know to ignore the
22110
+ # request if it has already been completed. For example, consider a situation
22111
+ # where you make an initial request and the request times out. If you make the
22112
+ # request again with the same request ID, the server can check if original
22113
+ # operation with the same request ID was received, and if so, will ignore the
22114
+ # second request. This prevents clients from accidentally creating duplicate
22115
+ # commitments. The request ID must be a valid UUID with the exception that zero
22116
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22117
+ # @param [String] fields
22118
+ # Selector specifying which fields to include in a partial response.
22119
+ # @param [String] quota_user
22120
+ # Available to use for quota purposes for server-side applications. Can be any
22121
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22122
+ # @param [String] user_ip
22123
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22124
+ # @param [Google::Apis::RequestOptions] options
22125
+ # Request-specific options
22126
+ #
22127
+ # @yield [result, err] Result & error if block supplied
22128
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
22129
+ # @yieldparam err [StandardError] error object if request failed
22130
+ #
22131
+ # @return [Google::Apis::ComputeV1::Operation]
22132
+ #
22133
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22134
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22135
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22136
+ def withdraw_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22137
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw', options)
22138
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
22139
+ command.response_class = Google::Apis::ComputeV1::Operation
22140
+ command.params['project'] = project unless project.nil?
22141
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
22142
+ command.query['requestId'] = request_id unless request_id.nil?
22143
+ command.query['fields'] = fields unless fields.nil?
22144
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22145
+ command.query['userIp'] = user_ip unless user_ip.nil?
22146
+ execute_or_queue_command(command, &block)
22147
+ end
22148
+
22055
22149
  # Lists all PublicDelegatedPrefix resources owned by the specific project across
22056
22150
  # all scopes.
22057
22151
  # @param [String] project
@@ -22152,6 +22246,57 @@ module Google
22152
22246
  execute_or_queue_command(command, &block)
22153
22247
  end
22154
22248
 
22249
+ # Announces the specified PublicDelegatedPrefix in the given region.
22250
+ # @param [String] project
22251
+ # Project ID for this request.
22252
+ # @param [String] region
22253
+ # The name of the region where the public delegated prefix is located. It should
22254
+ # comply with RFC1035.
22255
+ # @param [String] public_delegated_prefix
22256
+ # The name of the public delegated prefix. It should comply with RFC1035.
22257
+ # @param [String] request_id
22258
+ # An optional request ID to identify requests. Specify a unique request ID so
22259
+ # that if you must retry your request, the server will know to ignore the
22260
+ # request if it has already been completed. For example, consider a situation
22261
+ # where you make an initial request and the request times out. If you make the
22262
+ # request again with the same request ID, the server can check if original
22263
+ # operation with the same request ID was received, and if so, will ignore the
22264
+ # second request. This prevents clients from accidentally creating duplicate
22265
+ # commitments. The request ID must be a valid UUID with the exception that zero
22266
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22267
+ # @param [String] fields
22268
+ # Selector specifying which fields to include in a partial response.
22269
+ # @param [String] quota_user
22270
+ # Available to use for quota purposes for server-side applications. Can be any
22271
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22272
+ # @param [String] user_ip
22273
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22274
+ # @param [Google::Apis::RequestOptions] options
22275
+ # Request-specific options
22276
+ #
22277
+ # @yield [result, err] Result & error if block supplied
22278
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
22279
+ # @yieldparam err [StandardError] error object if request failed
22280
+ #
22281
+ # @return [Google::Apis::ComputeV1::Operation]
22282
+ #
22283
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22284
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22285
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22286
+ def announce_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22287
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce', options)
22288
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
22289
+ command.response_class = Google::Apis::ComputeV1::Operation
22290
+ command.params['project'] = project unless project.nil?
22291
+ command.params['region'] = region unless region.nil?
22292
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
22293
+ command.query['requestId'] = request_id unless request_id.nil?
22294
+ command.query['fields'] = fields unless fields.nil?
22295
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22296
+ command.query['userIp'] = user_ip unless user_ip.nil?
22297
+ execute_or_queue_command(command, &block)
22298
+ end
22299
+
22155
22300
  # Deletes the specified PublicDelegatedPrefix in the given region.
22156
22301
  # @param [String] project
22157
22302
  # Project ID for this request.
@@ -22439,6 +22584,57 @@ module Google
22439
22584
  execute_or_queue_command(command, &block)
22440
22585
  end
22441
22586
 
22587
+ # Withdraws the specified PublicDelegatedPrefix in the given region.
22588
+ # @param [String] project
22589
+ # Project ID for this request.
22590
+ # @param [String] region
22591
+ # The name of the region where the public delegated prefix is located. It should
22592
+ # comply with RFC1035.
22593
+ # @param [String] public_delegated_prefix
22594
+ # The name of the public delegated prefix. It should comply with RFC1035.
22595
+ # @param [String] request_id
22596
+ # An optional request ID to identify requests. Specify a unique request ID so
22597
+ # that if you must retry your request, the server will know to ignore the
22598
+ # request if it has already been completed. For example, consider a situation
22599
+ # where you make an initial request and the request times out. If you make the
22600
+ # request again with the same request ID, the server can check if original
22601
+ # operation with the same request ID was received, and if so, will ignore the
22602
+ # second request. This prevents clients from accidentally creating duplicate
22603
+ # commitments. The request ID must be a valid UUID with the exception that zero
22604
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22605
+ # @param [String] fields
22606
+ # Selector specifying which fields to include in a partial response.
22607
+ # @param [String] quota_user
22608
+ # Available to use for quota purposes for server-side applications. Can be any
22609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22610
+ # @param [String] user_ip
22611
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22612
+ # @param [Google::Apis::RequestOptions] options
22613
+ # Request-specific options
22614
+ #
22615
+ # @yield [result, err] Result & error if block supplied
22616
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
22617
+ # @yieldparam err [StandardError] error object if request failed
22618
+ #
22619
+ # @return [Google::Apis::ComputeV1::Operation]
22620
+ #
22621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22624
+ def withdraw_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22625
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw', options)
22626
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
22627
+ command.response_class = Google::Apis::ComputeV1::Operation
22628
+ command.params['project'] = project unless project.nil?
22629
+ command.params['region'] = region unless region.nil?
22630
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
22631
+ command.query['requestId'] = request_id unless request_id.nil?
22632
+ command.query['fields'] = fields unless fields.nil?
22633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22634
+ command.query['userIp'] = user_ip unless user_ip.nil?
22635
+ execute_or_queue_command(command, &block)
22636
+ end
22637
+
22442
22638
  # Deletes the specified autoscaler.
22443
22639
  # @param [String] project
22444
22640
  # Project ID for this request.
@@ -34654,6 +34850,89 @@ module Google
34654
34850
  execute_or_queue_command(command, &block)
34655
34851
  end
34656
34852
 
34853
+ # Get snapshot settings.
34854
+ # @param [String] project
34855
+ # Project ID for this request.
34856
+ # @param [String] fields
34857
+ # Selector specifying which fields to include in a partial response.
34858
+ # @param [String] quota_user
34859
+ # Available to use for quota purposes for server-side applications. Can be any
34860
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34861
+ # @param [String] user_ip
34862
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34863
+ # @param [Google::Apis::RequestOptions] options
34864
+ # Request-specific options
34865
+ #
34866
+ # @yield [result, err] Result & error if block supplied
34867
+ # @yieldparam result [Google::Apis::ComputeV1::SnapshotSettings] parsed result object
34868
+ # @yieldparam err [StandardError] error object if request failed
34869
+ #
34870
+ # @return [Google::Apis::ComputeV1::SnapshotSettings]
34871
+ #
34872
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34873
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34874
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34875
+ def get_snapshot_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34876
+ command = make_simple_command(:get, 'projects/{project}/global/snapshotSettings', options)
34877
+ command.response_representation = Google::Apis::ComputeV1::SnapshotSettings::Representation
34878
+ command.response_class = Google::Apis::ComputeV1::SnapshotSettings
34879
+ command.params['project'] = project unless project.nil?
34880
+ command.query['fields'] = fields unless fields.nil?
34881
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34882
+ command.query['userIp'] = user_ip unless user_ip.nil?
34883
+ execute_or_queue_command(command, &block)
34884
+ end
34885
+
34886
+ # Patch snapshot settings.
34887
+ # @param [String] project
34888
+ # Project ID for this request.
34889
+ # @param [Google::Apis::ComputeV1::SnapshotSettings] snapshot_settings_object
34890
+ # @param [String] request_id
34891
+ # An optional request ID to identify requests. Specify a unique request ID so
34892
+ # that if you must retry your request, the server will know to ignore the
34893
+ # request if it has already been completed. For example, consider a situation
34894
+ # where you make an initial request and the request times out. If you make the
34895
+ # request again with the same request ID, the server can check if original
34896
+ # operation with the same request ID was received, and if so, will ignore the
34897
+ # second request. This prevents clients from accidentally creating duplicate
34898
+ # commitments. The request ID must be a valid UUID with the exception that zero
34899
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34900
+ # @param [String] update_mask
34901
+ # update_mask indicates fields to be updated as part of this request.
34902
+ # @param [String] fields
34903
+ # Selector specifying which fields to include in a partial response.
34904
+ # @param [String] quota_user
34905
+ # Available to use for quota purposes for server-side applications. Can be any
34906
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34907
+ # @param [String] user_ip
34908
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34909
+ # @param [Google::Apis::RequestOptions] options
34910
+ # Request-specific options
34911
+ #
34912
+ # @yield [result, err] Result & error if block supplied
34913
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
34914
+ # @yieldparam err [StandardError] error object if request failed
34915
+ #
34916
+ # @return [Google::Apis::ComputeV1::Operation]
34917
+ #
34918
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34919
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34920
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34921
+ def patch_snapshot_setting(project, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34922
+ command = make_simple_command(:patch, 'projects/{project}/global/snapshotSettings', options)
34923
+ command.request_representation = Google::Apis::ComputeV1::SnapshotSettings::Representation
34924
+ command.request_object = snapshot_settings_object
34925
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
34926
+ command.response_class = Google::Apis::ComputeV1::Operation
34927
+ command.params['project'] = project unless project.nil?
34928
+ command.query['requestId'] = request_id unless request_id.nil?
34929
+ command.query['updateMask'] = update_mask unless update_mask.nil?
34930
+ command.query['fields'] = fields unless fields.nil?
34931
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34932
+ command.query['userIp'] = user_ip unless user_ip.nil?
34933
+ execute_or_queue_command(command, &block)
34934
+ end
34935
+
34657
34936
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
34658
34937
  # snapshot might not necessarily delete all the data on that snapshot. If any
34659
34938
  # data on the snapshot that is marked for deletion is needed for subsequent
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.82.0
4
+ version: 0.83.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: 2023-10-22 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.83.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: []