google-apis-compute_v1 0.82.0 → 0.84.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: 0f2ca91de7ff581705cba221500f0f4ccb5d09e195f2b5b74c11070c8764f96e
|
4
|
+
data.tar.gz: c6885ad01de8e4c80276f45a3a0964bfc4e3e6db1c8ad39d021833581a79171b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e84ce1d03db974f8769092adb7f679408e29c2ccdbb7de478923aabb30f962bb8d775ae947f9965233b0a7d794cdce4b93e9100334d18257df5b409f2de3e231
|
7
|
+
data.tar.gz: 29a1129ca826f9b98bbc14f1008e58fa453d91f9fd1c9481625a62f4a81a104f7066a7380f3ad50be0990fd6108a88b8edaea4414512f64b721b4a66bd855cdb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.84.0 (2023-11-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231031
|
6
|
+
|
7
|
+
### v0.83.0 (2023-10-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231017
|
10
|
+
|
3
11
|
### v0.82.0 (2023-10-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231011
|
@@ -9327,13 +9327,17 @@ module Google
|
|
9327
9327
|
# @return [String]
|
9328
9328
|
attr_accessor :ip_protocol
|
9329
9329
|
|
9330
|
-
#
|
9331
|
-
#
|
9332
|
-
#
|
9333
|
-
#
|
9334
|
-
#
|
9335
|
-
#
|
9336
|
-
#
|
9330
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
9331
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
9332
|
+
# configured with this forwarding rule. The allPorts field has the following
|
9333
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP,
|
9334
|
+
# SCTP, or L3_DEFAULT. - It's applicable only to the following products:
|
9335
|
+
# internal passthrough Network Load Balancers, backend service-based external
|
9336
|
+
# passthrough Network Load Balancers, and internal and external protocol
|
9337
|
+
# forwarding. - Set this field to true to allow packets addressed to any port or
|
9338
|
+
# packets lacking destination port information (for example, UDP fragments after
|
9339
|
+
# the first fragment) to be forwarded to the backends configured with this
|
9340
|
+
# forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true.
|
9337
9341
|
# Corresponds to the JSON property `allPorts`
|
9338
9342
|
# @return [Boolean]
|
9339
9343
|
attr_accessor :all_ports
|
@@ -9510,35 +9514,38 @@ module Google
|
|
9510
9514
|
attr_accessor :no_automate_dns_zone
|
9511
9515
|
alias_method :no_automate_dns_zone?, :no_automate_dns_zone
|
9512
9516
|
|
9513
|
-
#
|
9514
|
-
#
|
9515
|
-
#
|
9516
|
-
#
|
9517
|
-
#
|
9518
|
-
#
|
9519
|
-
#
|
9520
|
-
#
|
9521
|
-
#
|
9522
|
-
#
|
9523
|
-
#
|
9524
|
-
#
|
9525
|
-
# portRanges. @pattern:
|
9517
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
9518
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
9519
|
+
# configured with this forwarding rule. The portRange field has the following
|
9520
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
|
9521
|
+
# SCTP, and - It's applicable only to the following products: external
|
9522
|
+
# passthrough Network Load Balancers, internal and external proxy Network Load
|
9523
|
+
# Balancers, internal and external Application Load Balancers, external protocol
|
9524
|
+
# forwarding, and Classic VPN. - Some products have restrictions on what ports
|
9525
|
+
# can be used. See port specifications for details. For external forwarding
|
9526
|
+
# rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol]
|
9527
|
+
# pair, and cannot have overlapping portRanges. For internal forwarding rules
|
9528
|
+
# within the same VPC network, two or more forwarding rules cannot use the same [
|
9529
|
+
# IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern:
|
9530
|
+
# \\d+(?:-\\d+)?
|
9526
9531
|
# Corresponds to the JSON property `portRange`
|
9527
9532
|
# @return [String]
|
9528
9533
|
attr_accessor :port_range
|
9529
9534
|
|
9530
|
-
#
|
9531
|
-
#
|
9532
|
-
#
|
9533
|
-
#
|
9534
|
-
#
|
9535
|
-
#
|
9536
|
-
#
|
9537
|
-
#
|
9538
|
-
#
|
9539
|
-
#
|
9540
|
-
#
|
9541
|
-
#
|
9535
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
9536
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
9537
|
+
# configured with this forwarding rule. The ports field has the following
|
9538
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
|
9539
|
+
# SCTP, and - It's applicable only to the following products: internal
|
9540
|
+
# passthrough Network Load Balancers, backend service-based external passthrough
|
9541
|
+
# Network Load Balancers, and internal protocol forwarding. - You can specify a
|
9542
|
+
# list of up to five ports by number, separated by commas. The ports can be
|
9543
|
+
# contiguous or discontiguous. For external forwarding rules, two or more
|
9544
|
+
# forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they
|
9545
|
+
# share at least one port number. For internal forwarding rules within the same
|
9546
|
+
# VPC network, two or more forwarding rules cannot use the same [IPAddress,
|
9547
|
+
# IPProtocol] pair if they share at least one port number. @pattern: \\d+(?:-\\d+
|
9548
|
+
# )?
|
9542
9549
|
# Corresponds to the JSON property `ports`
|
9543
9550
|
# @return [Array<String>]
|
9544
9551
|
attr_accessor :ports
|
@@ -28243,6 +28250,11 @@ module Google
|
|
28243
28250
|
class PublicAdvertisedPrefix
|
28244
28251
|
include Google::Apis::Core::Hashable
|
28245
28252
|
|
28253
|
+
# [Output Only] The version of BYOIP API.
|
28254
|
+
# Corresponds to the JSON property `byoipApiVersion`
|
28255
|
+
# @return [String]
|
28256
|
+
attr_accessor :byoip_api_version
|
28257
|
+
|
28246
28258
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
28247
28259
|
# Corresponds to the JSON property `creationTimestamp`
|
28248
28260
|
# @return [String]
|
@@ -28298,6 +28310,16 @@ module Google
|
|
28298
28310
|
# @return [String]
|
28299
28311
|
attr_accessor :name
|
28300
28312
|
|
28313
|
+
# Specifies how child public delegated prefix will be scoped. It could be one of
|
28314
|
+
# following values: - `REGIONAL`: The public delegated prefix is regional only.
|
28315
|
+
# The provisioning will take a few minutes. - `GLOBAL`: The public delegated
|
28316
|
+
# prefix is global only. The provisioning will take ~4 weeks. - `
|
28317
|
+
# GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1
|
28318
|
+
# legacy prefix. This is output only value and no longer supported in BYOIP V2.
|
28319
|
+
# Corresponds to the JSON property `pdpScope`
|
28320
|
+
# @return [String]
|
28321
|
+
attr_accessor :pdp_scope
|
28322
|
+
|
28301
28323
|
# [Output Only] The list of public delegated prefixes that exist for this public
|
28302
28324
|
# advertised prefix.
|
28303
28325
|
# Corresponds to the JSON property `publicDelegatedPrefixs`
|
@@ -28331,6 +28353,7 @@ module Google
|
|
28331
28353
|
|
28332
28354
|
# Update properties of this object
|
28333
28355
|
def update!(**args)
|
28356
|
+
@byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
|
28334
28357
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
28335
28358
|
@description = args[:description] if args.key?(:description)
|
28336
28359
|
@dns_verification_ip = args[:dns_verification_ip] if args.key?(:dns_verification_ip)
|
@@ -28339,6 +28362,7 @@ module Google
|
|
28339
28362
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
28340
28363
|
@kind = args[:kind] if args.key?(:kind)
|
28341
28364
|
@name = args[:name] if args.key?(:name)
|
28365
|
+
@pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
|
28342
28366
|
@public_delegated_prefixs = args[:public_delegated_prefixs] if args.key?(:public_delegated_prefixs)
|
28343
28367
|
@self_link = args[:self_link] if args.key?(:self_link)
|
28344
28368
|
@shared_secret = args[:shared_secret] if args.key?(:shared_secret)
|
@@ -28518,6 +28542,11 @@ module Google
|
|
28518
28542
|
class PublicDelegatedPrefix
|
28519
28543
|
include Google::Apis::Core::Hashable
|
28520
28544
|
|
28545
|
+
# [Output Only] The version of BYOIP API.
|
28546
|
+
# Corresponds to the JSON property `byoipApiVersion`
|
28547
|
+
# @return [String]
|
28548
|
+
attr_accessor :byoip_api_version
|
28549
|
+
|
28521
28550
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
28522
28551
|
# Corresponds to the JSON property `creationTimestamp`
|
28523
28552
|
# @return [String]
|
@@ -28615,6 +28644,7 @@ module Google
|
|
28615
28644
|
|
28616
28645
|
# Update properties of this object
|
28617
28646
|
def update!(**args)
|
28647
|
+
@byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
|
28618
28648
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
28619
28649
|
@description = args[:description] if args.key?(:description)
|
28620
28650
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -32246,6 +32276,11 @@ module Google
|
|
32246
32276
|
# @return [String]
|
32247
32277
|
attr_accessor :physical_host
|
32248
32278
|
|
32279
|
+
# Upcoming Maintenance notification information.
|
32280
|
+
# Corresponds to the JSON property `upcomingMaintenance`
|
32281
|
+
# @return [Google::Apis::ComputeV1::UpcomingMaintenance]
|
32282
|
+
attr_accessor :upcoming_maintenance
|
32283
|
+
|
32249
32284
|
def initialize(**args)
|
32250
32285
|
update!(**args)
|
32251
32286
|
end
|
@@ -32253,6 +32288,7 @@ module Google
|
|
32253
32288
|
# Update properties of this object
|
32254
32289
|
def update!(**args)
|
32255
32290
|
@physical_host = args[:physical_host] if args.key?(:physical_host)
|
32291
|
+
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
|
32256
32292
|
end
|
32257
32293
|
end
|
32258
32294
|
|
@@ -33582,6 +33618,12 @@ module Google
|
|
33582
33618
|
# @return [Fixnum]
|
33583
33619
|
attr_accessor :tcp_transitory_idle_timeout_sec
|
33584
33620
|
|
33621
|
+
# Indicates whether this NAT is used for public or private IP translation. If
|
33622
|
+
# unspecified, it defaults to PUBLIC.
|
33623
|
+
# Corresponds to the JSON property `type`
|
33624
|
+
# @return [String]
|
33625
|
+
attr_accessor :type
|
33626
|
+
|
33585
33627
|
# Timeout (in seconds) for UDP connections. Defaults to 30s if not set.
|
33586
33628
|
# Corresponds to the JSON property `udpIdleTimeoutSec`
|
33587
33629
|
# @return [Fixnum]
|
@@ -33611,6 +33653,7 @@ module Google
|
|
33611
33653
|
@tcp_established_idle_timeout_sec = args[:tcp_established_idle_timeout_sec] if args.key?(:tcp_established_idle_timeout_sec)
|
33612
33654
|
@tcp_time_wait_timeout_sec = args[:tcp_time_wait_timeout_sec] if args.key?(:tcp_time_wait_timeout_sec)
|
33613
33655
|
@tcp_transitory_idle_timeout_sec = args[:tcp_transitory_idle_timeout_sec] if args.key?(:tcp_transitory_idle_timeout_sec)
|
33656
|
+
@type = args[:type] if args.key?(:type)
|
33614
33657
|
@udp_idle_timeout_sec = args[:udp_idle_timeout_sec] if args.key?(:udp_idle_timeout_sec)
|
33615
33658
|
end
|
33616
33659
|
end
|
@@ -33702,6 +33745,13 @@ module Google
|
|
33702
33745
|
# @return [Array<String>]
|
33703
33746
|
attr_accessor :source_nat_active_ips
|
33704
33747
|
|
33748
|
+
# A list of URLs of the subnetworks used as source ranges for this NAT Rule.
|
33749
|
+
# These subnetworks must have purpose set to PRIVATE_NAT. This field is used for
|
33750
|
+
# private NAT.
|
33751
|
+
# Corresponds to the JSON property `sourceNatActiveRanges`
|
33752
|
+
# @return [Array<String>]
|
33753
|
+
attr_accessor :source_nat_active_ranges
|
33754
|
+
|
33705
33755
|
# A list of URLs of the IP resources to be drained. These IPs must be valid
|
33706
33756
|
# static external IPs that have been assigned to the NAT. These IPs should be
|
33707
33757
|
# used for updating/patching a NAT rule only. This field is used for public NAT.
|
@@ -33709,6 +33759,14 @@ module Google
|
|
33709
33759
|
# @return [Array<String>]
|
33710
33760
|
attr_accessor :source_nat_drain_ips
|
33711
33761
|
|
33762
|
+
# A list of URLs of subnetworks representing source ranges to be drained. This
|
33763
|
+
# is only supported on patch/update, and these subnetworks must have previously
|
33764
|
+
# been used as active ranges in this NAT Rule. This field is used for private
|
33765
|
+
# NAT.
|
33766
|
+
# Corresponds to the JSON property `sourceNatDrainRanges`
|
33767
|
+
# @return [Array<String>]
|
33768
|
+
attr_accessor :source_nat_drain_ranges
|
33769
|
+
|
33712
33770
|
def initialize(**args)
|
33713
33771
|
update!(**args)
|
33714
33772
|
end
|
@@ -33716,7 +33774,9 @@ module Google
|
|
33716
33774
|
# Update properties of this object
|
33717
33775
|
def update!(**args)
|
33718
33776
|
@source_nat_active_ips = args[:source_nat_active_ips] if args.key?(:source_nat_active_ips)
|
33777
|
+
@source_nat_active_ranges = args[:source_nat_active_ranges] if args.key?(:source_nat_active_ranges)
|
33719
33778
|
@source_nat_drain_ips = args[:source_nat_drain_ips] if args.key?(:source_nat_drain_ips)
|
33779
|
+
@source_nat_drain_ranges = args[:source_nat_drain_ranges] if args.key?(:source_nat_drain_ranges)
|
33720
33780
|
end
|
33721
33781
|
end
|
33722
33782
|
|
@@ -35197,6 +35257,12 @@ module Google
|
|
35197
35257
|
# @return [String]
|
35198
35258
|
attr_accessor :log_level
|
35199
35259
|
|
35260
|
+
# An optional list of case-insensitive request header names to use for resolving
|
35261
|
+
# the callers client IP address.
|
35262
|
+
# Corresponds to the JSON property `userIpRequestHeaders`
|
35263
|
+
# @return [Array<String>]
|
35264
|
+
attr_accessor :user_ip_request_headers
|
35265
|
+
|
35200
35266
|
def initialize(**args)
|
35201
35267
|
update!(**args)
|
35202
35268
|
end
|
@@ -35206,6 +35272,7 @@ module Google
|
|
35206
35272
|
@json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
|
35207
35273
|
@json_parsing = args[:json_parsing] if args.key?(:json_parsing)
|
35208
35274
|
@log_level = args[:log_level] if args.key?(:log_level)
|
35275
|
+
@user_ip_request_headers = args[:user_ip_request_headers] if args.key?(:user_ip_request_headers)
|
35209
35276
|
end
|
35210
35277
|
end
|
35211
35278
|
|
@@ -37089,6 +37156,13 @@ module Google
|
|
37089
37156
|
# @return [Fixnum]
|
37090
37157
|
attr_accessor :download_bytes
|
37091
37158
|
|
37159
|
+
# [Output Only] A list of features to enable on the guest operating system.
|
37160
|
+
# Applicable only for bootable images. Read Enabling guest operating system
|
37161
|
+
# features to see a list of available options.
|
37162
|
+
# Corresponds to the JSON property `guestOsFeatures`
|
37163
|
+
# @return [Array<Google::Apis::ComputeV1::GuestOsFeature>]
|
37164
|
+
attr_accessor :guest_os_features
|
37165
|
+
|
37092
37166
|
# [Output Only] The unique identifier for the resource. This identifier is
|
37093
37167
|
# defined by the server.
|
37094
37168
|
# Corresponds to the JSON property `id`
|
@@ -37187,6 +37261,11 @@ module Google
|
|
37187
37261
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
37188
37262
|
attr_accessor :source_disk_encryption_key
|
37189
37263
|
|
37264
|
+
# The source disk whose recovery checkpoint will be used to create this snapshot.
|
37265
|
+
# Corresponds to the JSON property `sourceDiskForRecoveryCheckpoint`
|
37266
|
+
# @return [String]
|
37267
|
+
attr_accessor :source_disk_for_recovery_checkpoint
|
37268
|
+
|
37190
37269
|
# [Output Only] The ID value of the disk used to create this snapshot. This
|
37191
37270
|
# value may be used to determine whether the snapshot was taken from the current
|
37192
37271
|
# or a previous instance of a given disk name.
|
@@ -37244,6 +37323,7 @@ module Google
|
|
37244
37323
|
@description = args[:description] if args.key?(:description)
|
37245
37324
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
37246
37325
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
37326
|
+
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
37247
37327
|
@id = args[:id] if args.key?(:id)
|
37248
37328
|
@kind = args[:kind] if args.key?(:kind)
|
37249
37329
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -37258,6 +37338,7 @@ module Google
|
|
37258
37338
|
@snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
|
37259
37339
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
37260
37340
|
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
|
37341
|
+
@source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
|
37261
37342
|
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
37262
37343
|
@source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
|
37263
37344
|
@source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
|
@@ -37385,6 +37466,71 @@ module Google
|
|
37385
37466
|
end
|
37386
37467
|
end
|
37387
37468
|
|
37469
|
+
#
|
37470
|
+
class SnapshotSettings
|
37471
|
+
include Google::Apis::Core::Hashable
|
37472
|
+
|
37473
|
+
# Policy of which storage location is going to be resolved, and additional data
|
37474
|
+
# that particularizes how the policy is going to be carried out.
|
37475
|
+
# Corresponds to the JSON property `storageLocation`
|
37476
|
+
# @return [Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings]
|
37477
|
+
attr_accessor :storage_location
|
37478
|
+
|
37479
|
+
def initialize(**args)
|
37480
|
+
update!(**args)
|
37481
|
+
end
|
37482
|
+
|
37483
|
+
# Update properties of this object
|
37484
|
+
def update!(**args)
|
37485
|
+
@storage_location = args[:storage_location] if args.key?(:storage_location)
|
37486
|
+
end
|
37487
|
+
end
|
37488
|
+
|
37489
|
+
#
|
37490
|
+
class SnapshotSettingsStorageLocationSettings
|
37491
|
+
include Google::Apis::Core::Hashable
|
37492
|
+
|
37493
|
+
# When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
|
37494
|
+
# locations listed in this field. Keys are GCS bucket locations.
|
37495
|
+
# Corresponds to the JSON property `locations`
|
37496
|
+
# @return [Hash<String,Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
|
37497
|
+
attr_accessor :locations
|
37498
|
+
|
37499
|
+
# The chosen location policy.
|
37500
|
+
# Corresponds to the JSON property `policy`
|
37501
|
+
# @return [String]
|
37502
|
+
attr_accessor :policy
|
37503
|
+
|
37504
|
+
def initialize(**args)
|
37505
|
+
update!(**args)
|
37506
|
+
end
|
37507
|
+
|
37508
|
+
# Update properties of this object
|
37509
|
+
def update!(**args)
|
37510
|
+
@locations = args[:locations] if args.key?(:locations)
|
37511
|
+
@policy = args[:policy] if args.key?(:policy)
|
37512
|
+
end
|
37513
|
+
end
|
37514
|
+
|
37515
|
+
# A structure for specifying storage locations.
|
37516
|
+
class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
|
37517
|
+
include Google::Apis::Core::Hashable
|
37518
|
+
|
37519
|
+
# Name of the location. It should be one of the GCS buckets.
|
37520
|
+
# Corresponds to the JSON property `name`
|
37521
|
+
# @return [String]
|
37522
|
+
attr_accessor :name
|
37523
|
+
|
37524
|
+
def initialize(**args)
|
37525
|
+
update!(**args)
|
37526
|
+
end
|
37527
|
+
|
37528
|
+
# Update properties of this object
|
37529
|
+
def update!(**args)
|
37530
|
+
@name = args[:name] if args.key?(:name)
|
37531
|
+
end
|
37532
|
+
end
|
37533
|
+
|
37388
37534
|
#
|
37389
37535
|
class SourceDiskEncryptionKey
|
37390
37536
|
include Google::Apis::Core::Hashable
|
@@ -43140,6 +43286,59 @@ module Google
|
|
43140
43286
|
end
|
43141
43287
|
end
|
43142
43288
|
|
43289
|
+
# Upcoming Maintenance notification information.
|
43290
|
+
class UpcomingMaintenance
|
43291
|
+
include Google::Apis::Core::Hashable
|
43292
|
+
|
43293
|
+
# Indicates if the maintenance can be customer triggered.
|
43294
|
+
# Corresponds to the JSON property `canReschedule`
|
43295
|
+
# @return [Boolean]
|
43296
|
+
attr_accessor :can_reschedule
|
43297
|
+
alias_method :can_reschedule?, :can_reschedule
|
43298
|
+
|
43299
|
+
# The latest time for the planned maintenance window to start. This timestamp
|
43300
|
+
# value is in RFC3339 text format.
|
43301
|
+
# Corresponds to the JSON property `latestWindowStartTime`
|
43302
|
+
# @return [String]
|
43303
|
+
attr_accessor :latest_window_start_time
|
43304
|
+
|
43305
|
+
#
|
43306
|
+
# Corresponds to the JSON property `maintenanceStatus`
|
43307
|
+
# @return [String]
|
43308
|
+
attr_accessor :maintenance_status
|
43309
|
+
|
43310
|
+
# Defines the type of maintenance.
|
43311
|
+
# Corresponds to the JSON property `type`
|
43312
|
+
# @return [String]
|
43313
|
+
attr_accessor :type
|
43314
|
+
|
43315
|
+
# The time by which the maintenance disruption will be completed. This timestamp
|
43316
|
+
# value is in RFC3339 text format.
|
43317
|
+
# Corresponds to the JSON property `windowEndTime`
|
43318
|
+
# @return [String]
|
43319
|
+
attr_accessor :window_end_time
|
43320
|
+
|
43321
|
+
# The current start time of the maintenance window. This timestamp value is in
|
43322
|
+
# RFC3339 text format.
|
43323
|
+
# Corresponds to the JSON property `windowStartTime`
|
43324
|
+
# @return [String]
|
43325
|
+
attr_accessor :window_start_time
|
43326
|
+
|
43327
|
+
def initialize(**args)
|
43328
|
+
update!(**args)
|
43329
|
+
end
|
43330
|
+
|
43331
|
+
# Update properties of this object
|
43332
|
+
def update!(**args)
|
43333
|
+
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
43334
|
+
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
|
43335
|
+
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
43336
|
+
@type = args[:type] if args.key?(:type)
|
43337
|
+
@window_end_time = args[:window_end_time] if args.key?(:window_end_time)
|
43338
|
+
@window_start_time = args[:window_start_time] if args.key?(:window_start_time)
|
43339
|
+
end
|
43340
|
+
end
|
43341
|
+
|
43143
43342
|
# Represents a URL Map resource. Compute Engine has two URL Map resources: * [
|
43144
43343
|
# Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/
|
43145
43344
|
# reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.84.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 = "
|
25
|
+
REVISION = "20231031"
|
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
|
|
@@ -5704,6 +5722,12 @@ module Google
|
|
5704
5722
|
include Google::Apis::Core::JsonObjectSupport
|
5705
5723
|
end
|
5706
5724
|
|
5725
|
+
class UpcomingMaintenance
|
5726
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5727
|
+
|
5728
|
+
include Google::Apis::Core::JsonObjectSupport
|
5729
|
+
end
|
5730
|
+
|
5707
5731
|
class UrlMap
|
5708
5732
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5709
5733
|
|
@@ -12915,6 +12939,7 @@ module Google
|
|
12915
12939
|
class PublicAdvertisedPrefix
|
12916
12940
|
# @private
|
12917
12941
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12942
|
+
property :byoip_api_version, as: 'byoipApiVersion'
|
12918
12943
|
property :creation_timestamp, as: 'creationTimestamp'
|
12919
12944
|
property :description, as: 'description'
|
12920
12945
|
property :dns_verification_ip, as: 'dnsVerificationIp'
|
@@ -12923,6 +12948,7 @@ module Google
|
|
12923
12948
|
property :ip_cidr_range, as: 'ipCidrRange'
|
12924
12949
|
property :kind, as: 'kind'
|
12925
12950
|
property :name, as: 'name'
|
12951
|
+
property :pdp_scope, as: 'pdpScope'
|
12926
12952
|
collection :public_delegated_prefixs, as: 'publicDelegatedPrefixs', class: Google::Apis::ComputeV1::PublicAdvertisedPrefixPublicDelegatedPrefix, decorator: Google::Apis::ComputeV1::PublicAdvertisedPrefixPublicDelegatedPrefix::Representation
|
12927
12953
|
|
12928
12954
|
property :self_link, as: 'selfLink'
|
@@ -12977,6 +13003,7 @@ module Google
|
|
12977
13003
|
class PublicDelegatedPrefix
|
12978
13004
|
# @private
|
12979
13005
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13006
|
+
property :byoip_api_version, as: 'byoipApiVersion'
|
12980
13007
|
property :creation_timestamp, as: 'creationTimestamp'
|
12981
13008
|
property :description, as: 'description'
|
12982
13009
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -13999,6 +14026,8 @@ module Google
|
|
13999
14026
|
# @private
|
14000
14027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14001
14028
|
property :physical_host, as: 'physicalHost'
|
14029
|
+
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
|
14030
|
+
|
14002
14031
|
end
|
14003
14032
|
end
|
14004
14033
|
|
@@ -14291,6 +14320,7 @@ module Google
|
|
14291
14320
|
property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
|
14292
14321
|
property :tcp_time_wait_timeout_sec, as: 'tcpTimeWaitTimeoutSec'
|
14293
14322
|
property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
|
14323
|
+
property :type, as: 'type'
|
14294
14324
|
property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
|
14295
14325
|
end
|
14296
14326
|
end
|
@@ -14318,7 +14348,9 @@ module Google
|
|
14318
14348
|
# @private
|
14319
14349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14320
14350
|
collection :source_nat_active_ips, as: 'sourceNatActiveIps'
|
14351
|
+
collection :source_nat_active_ranges, as: 'sourceNatActiveRanges'
|
14321
14352
|
collection :source_nat_drain_ips, as: 'sourceNatDrainIps'
|
14353
|
+
collection :source_nat_drain_ranges, as: 'sourceNatDrainRanges'
|
14322
14354
|
end
|
14323
14355
|
end
|
14324
14356
|
|
@@ -14691,6 +14723,7 @@ module Google
|
|
14691
14723
|
|
14692
14724
|
property :json_parsing, as: 'jsonParsing'
|
14693
14725
|
property :log_level, as: 'logLevel'
|
14726
|
+
collection :user_ip_request_headers, as: 'userIpRequestHeaders'
|
14694
14727
|
end
|
14695
14728
|
end
|
14696
14729
|
|
@@ -15183,6 +15216,8 @@ module Google
|
|
15183
15216
|
property :description, as: 'description'
|
15184
15217
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
15185
15218
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
15219
|
+
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
15220
|
+
|
15186
15221
|
property :id, :numeric_string => true, as: 'id'
|
15187
15222
|
property :kind, as: 'kind'
|
15188
15223
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -15199,6 +15234,7 @@ module Google
|
|
15199
15234
|
property :source_disk, as: 'sourceDisk'
|
15200
15235
|
property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
15201
15236
|
|
15237
|
+
property :source_disk_for_recovery_checkpoint, as: 'sourceDiskForRecoveryCheckpoint'
|
15202
15238
|
property :source_disk_id, as: 'sourceDiskId'
|
15203
15239
|
property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
|
15204
15240
|
property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
|
@@ -15241,6 +15277,30 @@ module Google
|
|
15241
15277
|
end
|
15242
15278
|
end
|
15243
15279
|
|
15280
|
+
class SnapshotSettings
|
15281
|
+
# @private
|
15282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15283
|
+
property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettings::Representation
|
15284
|
+
|
15285
|
+
end
|
15286
|
+
end
|
15287
|
+
|
15288
|
+
class SnapshotSettingsStorageLocationSettings
|
15289
|
+
# @private
|
15290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15291
|
+
hash :locations, as: 'locations', class: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
|
15292
|
+
|
15293
|
+
property :policy, as: 'policy'
|
15294
|
+
end
|
15295
|
+
end
|
15296
|
+
|
15297
|
+
class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
|
15298
|
+
# @private
|
15299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15300
|
+
property :name, as: 'name'
|
15301
|
+
end
|
15302
|
+
end
|
15303
|
+
|
15244
15304
|
class SourceDiskEncryptionKey
|
15245
15305
|
# @private
|
15246
15306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16687,6 +16747,18 @@ module Google
|
|
16687
16747
|
end
|
16688
16748
|
end
|
16689
16749
|
|
16750
|
+
class UpcomingMaintenance
|
16751
|
+
# @private
|
16752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16753
|
+
property :can_reschedule, as: 'canReschedule'
|
16754
|
+
property :latest_window_start_time, as: 'latestWindowStartTime'
|
16755
|
+
property :maintenance_status, as: 'maintenanceStatus'
|
16756
|
+
property :type, as: 'type'
|
16757
|
+
property :window_end_time, as: 'windowEndTime'
|
16758
|
+
property :window_start_time, as: 'windowStartTime'
|
16759
|
+
end
|
16760
|
+
end
|
16761
|
+
|
16690
16762
|
class UrlMap
|
16691
16763
|
# @private
|
16692
16764
|
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.
|
4
|
+
version: 0.84.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-
|
11
|
+
date: 2023-11-12 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.84.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: []
|