google-apis-compute_beta 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_beta/classes.rb +215 -67
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +34 -0
- data/lib/google/apis/compute_beta/service.rb +111 -4
- data/lib/google/apis/compute_beta.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60bebea095dd3c8713947b3c8a552259a6942e38ca7ede45b2c087d91e53fb06
|
4
|
+
data.tar.gz: 4a1d2ade53683c1d00435a404c73e0b3d3dbec6acd7682458d412fa35b13d143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f1679328dfd49e16f24baecff40a42507b0c7858a6a18f664a567a6ecb373bdda76472d67ade8aae84822ef63ff646b97359c528a4030d900c06117fe68f0b6
|
7
|
+
data.tar.gz: a19334a5a928a7f2362bba59155366af16d2cc2a44dfd0c42d6ab8ffc0ea87e9e984068fecc57c3b017d97ded1c6b7ddebbaf73021c59564c6c2e1880915ee74
|
data/CHANGELOG.md
CHANGED
@@ -613,8 +613,8 @@ module Google
|
|
613
613
|
|
614
614
|
# Name of the resource. Provided by the client when the resource is created. The
|
615
615
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
616
|
-
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
617
|
-
# z0-9]*[a-z0-9])
|
616
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
617
|
+
# z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all
|
618
618
|
# following characters (except for the last character) must be a dash, lowercase
|
619
619
|
# letter, or digit. The last character must be a lowercase letter or digit.
|
620
620
|
# Corresponds to the JSON property `name`
|
@@ -1205,6 +1205,7 @@ module Google
|
|
1205
1205
|
end
|
1206
1206
|
|
1207
1207
|
# This reservation type allows to pre allocate specific instance configuration.
|
1208
|
+
# Next ID: 5
|
1208
1209
|
class AllocationSpecificSkuReservation
|
1209
1210
|
include Google::Apis::Core::Hashable
|
1210
1211
|
|
@@ -1328,6 +1329,17 @@ module Google
|
|
1328
1329
|
# @return [Array<String>]
|
1329
1330
|
attr_accessor :licenses
|
1330
1331
|
|
1332
|
+
# [Output Only] Whether to indicate the attached disk is locked. The locked disk
|
1333
|
+
# is not allowed to be detached from the instance, or to be used as the source
|
1334
|
+
# of the snapshot creation, and the image creation. The instance with at least
|
1335
|
+
# one locked attached disk is not allow to be used as source of machine image
|
1336
|
+
# creation, instant snapshot creation, and not allowed to be deleted with --keep-
|
1337
|
+
# disk parameter set to true for locked disks.
|
1338
|
+
# Corresponds to the JSON property `locked`
|
1339
|
+
# @return [Boolean]
|
1340
|
+
attr_accessor :locked
|
1341
|
+
alias_method :locked?, :locked
|
1342
|
+
|
1331
1343
|
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
|
1332
1344
|
# specified, the default is to attach the disk in READ_WRITE mode.
|
1333
1345
|
# Corresponds to the JSON property `mode`
|
@@ -1380,6 +1392,7 @@ module Google
|
|
1380
1392
|
@interface = args[:interface] if args.key?(:interface)
|
1381
1393
|
@kind = args[:kind] if args.key?(:kind)
|
1382
1394
|
@licenses = args[:licenses] if args.key?(:licenses)
|
1395
|
+
@locked = args[:locked] if args.key?(:locked)
|
1383
1396
|
@mode = args[:mode] if args.key?(:mode)
|
1384
1397
|
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
|
1385
1398
|
@source = args[:source] if args.key?(:source)
|
@@ -2509,7 +2522,13 @@ module Google
|
|
2509
2522
|
|
2510
2523
|
# Specifies how to determine whether the backend of a load balancer can handle
|
2511
2524
|
# additional traffic or is fully loaded. For usage guidelines, see Connection
|
2512
|
-
# balancing mode.
|
2525
|
+
# balancing mode. Backends must use compatible balancing modes. For more
|
2526
|
+
# information, see Supported balancing modes and target capacity settings and
|
2527
|
+
# Restrictions and guidance for instance groups. Note: Currently, if you use the
|
2528
|
+
# API to configure incompatible balancing modes, the configuration might be
|
2529
|
+
# accepted even though it has no impact and is ignored. Specifically, Backend.
|
2530
|
+
# maxUtilization is ignored when Backend.balancingMode is RATE. In the future,
|
2531
|
+
# this incompatible combination will be rejected.
|
2513
2532
|
# Corresponds to the JSON property `balancingMode`
|
2514
2533
|
# @return [String]
|
2515
2534
|
attr_accessor :balancing_mode
|
@@ -2590,7 +2609,9 @@ module Google
|
|
2590
2609
|
# @return [Float]
|
2591
2610
|
attr_accessor :max_rate_per_instance
|
2592
2611
|
|
2593
|
-
#
|
2612
|
+
# Optional parameter to define a target capacity for the UTILIZATIONbalancing
|
2613
|
+
# mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
|
2614
|
+
# balancing mode.
|
2594
2615
|
# Corresponds to the JSON property `maxUtilization`
|
2595
2616
|
# @return [Float]
|
2596
2617
|
attr_accessor :max_utilization
|
@@ -5620,14 +5641,20 @@ module Google
|
|
5620
5641
|
# @return [String]
|
5621
5642
|
attr_accessor :description
|
5622
5643
|
|
5623
|
-
# Encrypts the disk using a customer-supplied encryption key
|
5624
|
-
#
|
5625
|
-
# the disk
|
5626
|
-
#
|
5627
|
-
#
|
5628
|
-
#
|
5629
|
-
#
|
5630
|
-
#
|
5644
|
+
# Encrypts the disk using a customer-supplied encryption key or a customer-
|
5645
|
+
# managed encryption key. Encryption keys do not protect access to metadata of
|
5646
|
+
# the disk. After you encrypt a disk with a customer-supplied key, you must
|
5647
|
+
# provide the same key if you use the disk later. For example, to create a disk
|
5648
|
+
# snapshot, to create a disk image, to create a machine image, or to attach the
|
5649
|
+
# disk to a virtual machine. After you encrypt a disk with a customer-managed
|
5650
|
+
# key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the
|
5651
|
+
# disk is created. The disk is encrypted with this version of the key. In the
|
5652
|
+
# response, diskEncryptionKey.kmsKeyName appears in the following format: "
|
5653
|
+
# diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/
|
5654
|
+
# keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not
|
5655
|
+
# provide an encryption key when creating the disk, then the disk is encrypted
|
5656
|
+
# using an automatically generated key and you don't need to provide a key to
|
5657
|
+
# use the disk later.
|
5631
5658
|
# Corresponds to the JSON property `diskEncryptionKey`
|
5632
5659
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
5633
5660
|
attr_accessor :disk_encryption_key
|
@@ -5652,8 +5679,8 @@ module Google
|
|
5652
5679
|
# @return [Fixnum]
|
5653
5680
|
attr_accessor :id
|
5654
5681
|
|
5655
|
-
# Specifies the disk interface to use for attaching this disk,
|
5656
|
-
# SCSI or NVME. The default is SCSI.
|
5682
|
+
# [Deprecated] Specifies the disk interface to use for attaching this disk,
|
5683
|
+
# which is either SCSI or NVME. The default is SCSI.
|
5657
5684
|
# Corresponds to the JSON property `interface`
|
5658
5685
|
# @return [String]
|
5659
5686
|
attr_accessor :interface
|
@@ -5707,6 +5734,22 @@ module Google
|
|
5707
5734
|
# @return [String]
|
5708
5735
|
attr_accessor :location_hint
|
5709
5736
|
|
5737
|
+
# [Output Only] The field indicates if the disk is created from a locked source
|
5738
|
+
# image. Attachment of a disk created from a locked source image will cause the
|
5739
|
+
# following operations to become irreversibly prohibited: - R/W or R/O disk
|
5740
|
+
# attachment to any other instance - Disk detachment. And the disk can only be
|
5741
|
+
# deleted when the instance is deleted - Creation of images or snapshots - Disk
|
5742
|
+
# cloning Furthermore, the instance with at least one disk with locked flag set
|
5743
|
+
# to true will be prohibited from performing the operations below: - Further
|
5744
|
+
# attachment of secondary disks. - Detachment of any disks - Create machine
|
5745
|
+
# images - Create instance template - Delete the instance with --keep-disk
|
5746
|
+
# parameter set to true for locked disks - Attach a locked disk with --auto-
|
5747
|
+
# delete parameter set to false
|
5748
|
+
# Corresponds to the JSON property `locked`
|
5749
|
+
# @return [Boolean]
|
5750
|
+
attr_accessor :locked
|
5751
|
+
alias_method :locked?, :locked
|
5752
|
+
|
5710
5753
|
# Indicates whether or not the disk can be read/write attached to more than one
|
5711
5754
|
# instance.
|
5712
5755
|
# Corresponds to the JSON property `multiWriter`
|
@@ -5927,6 +5970,7 @@ module Google
|
|
5927
5970
|
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
5928
5971
|
@licenses = args[:licenses] if args.key?(:licenses)
|
5929
5972
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
5973
|
+
@locked = args[:locked] if args.key?(:locked)
|
5930
5974
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
5931
5975
|
@name = args[:name] if args.key?(:name)
|
5932
5976
|
@options = args[:options] if args.key?(:options)
|
@@ -7481,7 +7525,7 @@ module Google
|
|
7481
7525
|
|
7482
7526
|
# If destination ranges are specified, the firewall rule applies only to traffic
|
7483
7527
|
# that has destination IP address in these ranges. These ranges must be
|
7484
|
-
# expressed in CIDR format.
|
7528
|
+
# expressed in CIDR format. Both IPv4 and IPv6 are supported.
|
7485
7529
|
# Corresponds to the JSON property `destinationRanges`
|
7486
7530
|
# @return [Array<String>]
|
7487
7531
|
attr_accessor :destination_ranges
|
@@ -7569,7 +7613,7 @@ module Google
|
|
7569
7613
|
# fields are set, the rule applies to traffic that has a source IP address
|
7570
7614
|
# within sourceRanges OR a source IP from a resource with a matching tag listed
|
7571
7615
|
# in the sourceTags field. The connection does not need to match both fields for
|
7572
|
-
# the rule to apply.
|
7616
|
+
# the rule to apply. Both IPv4 and IPv6 are supported.
|
7573
7617
|
# Corresponds to the JSON property `sourceRanges`
|
7574
7618
|
# @return [Array<String>]
|
7575
7619
|
attr_accessor :source_ranges
|
@@ -8631,6 +8675,16 @@ module Google
|
|
8631
8675
|
# @return [String]
|
8632
8676
|
attr_accessor :service_name
|
8633
8677
|
|
8678
|
+
# If not empty, this Forwarding Rule will only forward the traffic when the
|
8679
|
+
# source IP address matches one of the IP addresses or CIDR ranges set here.
|
8680
|
+
# Note that a Forwarding Rule can only have up to 64 source IP ranges, and this
|
8681
|
+
# field can only be used with a regional Forwarding Rule whose scheme is
|
8682
|
+
# EXTERNAL. Each source_ip_range entry should be either an IP address (for
|
8683
|
+
# example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
|
8684
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
8685
|
+
# @return [Array<String>]
|
8686
|
+
attr_accessor :source_ip_ranges
|
8687
|
+
|
8634
8688
|
# This field identifies the subnetwork that the load balanced IP should belong
|
8635
8689
|
# to for this Forwarding Rule, used in internal load balancing and network load
|
8636
8690
|
# balancing with IPv6. If the network specified is in auto subnet mode, this
|
@@ -8679,6 +8733,7 @@ module Google
|
|
8679
8733
|
@service_directory_registrations = args[:service_directory_registrations] if args.key?(:service_directory_registrations)
|
8680
8734
|
@service_label = args[:service_label] if args.key?(:service_label)
|
8681
8735
|
@service_name = args[:service_name] if args.key?(:service_name)
|
8736
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
8682
8737
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
8683
8738
|
@target = args[:target] if args.key?(:target)
|
8684
8739
|
end
|
@@ -9201,7 +9256,7 @@ module Google
|
|
9201
9256
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
9202
9257
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
9203
9258
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
9204
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
9259
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
9205
9260
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
9206
9261
|
# google.com/iam/docs/).
|
9207
9262
|
# Corresponds to the JSON property `policy`
|
@@ -9298,7 +9353,7 @@ module Google
|
|
9298
9353
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
9299
9354
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
9300
9355
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
9301
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
9356
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
9302
9357
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
9303
9358
|
# google.com/iam/docs/).
|
9304
9359
|
# Corresponds to the JSON property `policy`
|
@@ -11901,6 +11956,24 @@ module Google
|
|
11901
11956
|
# @return [Array<String>]
|
11902
11957
|
attr_accessor :licenses
|
11903
11958
|
|
11959
|
+
# A flag for marketplace VM disk created from the image, which is designed for
|
11960
|
+
# marketplace VM disk to prevent the proprietary data on the disk from being
|
11961
|
+
# accessed unwantedly. The flag will be inherited by the disk created from the
|
11962
|
+
# image. The disk with locked flag set to true will be prohibited from
|
11963
|
+
# performing the operations below: - R/W or R/O disk attach - Disk detach, if
|
11964
|
+
# disk is created via create-on-create - Create images - Create snapshots -
|
11965
|
+
# Create disk clone (create disk from the current disk) The image with the
|
11966
|
+
# locked field set to true will be prohibited from performing the operations
|
11967
|
+
# below: - Create images from the current image - Update the locked field for
|
11968
|
+
# the current image The instance with at least one disk with locked flag set to
|
11969
|
+
# true will be prohibited from performing the operations below: - Secondary disk
|
11970
|
+
# attach - Create instant snapshot - Create machine images - Create instance
|
11971
|
+
# template - Delete the instance with --keep-disk parameter set to true
|
11972
|
+
# Corresponds to the JSON property `locked`
|
11973
|
+
# @return [Boolean]
|
11974
|
+
attr_accessor :locked
|
11975
|
+
alias_method :locked?, :locked
|
11976
|
+
|
11904
11977
|
# Name of the resource; provided by the client when the resource is created. The
|
11905
11978
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
11906
11979
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -11961,10 +12034,12 @@ module Google
|
|
11961
12034
|
# @return [String]
|
11962
12035
|
attr_accessor :source_disk_id
|
11963
12036
|
|
11964
|
-
# URL of the source image used to create this image.
|
11965
|
-
#
|
11966
|
-
#
|
11967
|
-
#
|
12037
|
+
# URL of the source image used to create this image. The following are valid
|
12038
|
+
# formats for the URL: - https://www.googleapis.com/compute/v1/projects/
|
12039
|
+
# project_id/global/ images/image_name - projects/project_id/global/images/
|
12040
|
+
# image_name In order to create an image, you must provide the full or partial
|
12041
|
+
# URL of one of the following: - The rawDisk.source URL - The sourceDisk URL -
|
12042
|
+
# The sourceImage URL - The sourceSnapshot URL
|
11968
12043
|
# Corresponds to the JSON property `sourceImage`
|
11969
12044
|
# @return [String]
|
11970
12045
|
attr_accessor :source_image
|
@@ -11982,10 +12057,12 @@ module Google
|
|
11982
12057
|
# @return [String]
|
11983
12058
|
attr_accessor :source_image_id
|
11984
12059
|
|
11985
|
-
# URL of the source snapshot used to create this image.
|
11986
|
-
#
|
11987
|
-
#
|
11988
|
-
#
|
12060
|
+
# URL of the source snapshot used to create this image. The following are valid
|
12061
|
+
# formats for the URL: - https://www.googleapis.com/compute/v1/projects/
|
12062
|
+
# project_id/global/ snapshots/snapshot_name - projects/project_id/global/
|
12063
|
+
# snapshots/snapshot_name In order to create an image, you must provide the full
|
12064
|
+
# or partial URL of one of the following: - The rawDisk.source URL - The
|
12065
|
+
# sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
|
11989
12066
|
# Corresponds to the JSON property `sourceSnapshot`
|
11990
12067
|
# @return [String]
|
11991
12068
|
attr_accessor :source_snapshot
|
@@ -12052,6 +12129,7 @@ module Google
|
|
12052
12129
|
@labels = args[:labels] if args.key?(:labels)
|
12053
12130
|
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
12054
12131
|
@licenses = args[:licenses] if args.key?(:licenses)
|
12132
|
+
@locked = args[:locked] if args.key?(:locked)
|
12055
12133
|
@name = args[:name] if args.key?(:name)
|
12056
12134
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
12057
12135
|
@rollout_override = args[:rollout_override] if args.key?(:rollout_override)
|
@@ -12090,10 +12168,12 @@ module Google
|
|
12090
12168
|
# @return [String]
|
12091
12169
|
attr_accessor :sha1_checksum
|
12092
12170
|
|
12093
|
-
# The full Google Cloud Storage URL where the disk image is stored.
|
12094
|
-
#
|
12095
|
-
#
|
12096
|
-
#
|
12171
|
+
# The full Google Cloud Storage URL where the raw disk image archive is stored.
|
12172
|
+
# The following are valid formats for the URL: - https://storage.googleapis.com/
|
12173
|
+
# bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/
|
12174
|
+
# folder_name/ image_archive_name In order to create an image, you must provide
|
12175
|
+
# the full or partial URL of one of the following: - The rawDisk.source URL -
|
12176
|
+
# The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
|
12097
12177
|
# Corresponds to the JSON property `source`
|
12098
12178
|
# @return [String]
|
12099
12179
|
attr_accessor :source
|
@@ -19325,7 +19405,7 @@ module Google
|
|
19325
19405
|
attr_accessor :kind
|
19326
19406
|
|
19327
19407
|
# Maximum Transmission Unit in bytes. The minimum value for this field is 1460
|
19328
|
-
# and the maximum value is 1500 bytes.
|
19408
|
+
# and the maximum value is 1500 bytes. If unspecified, defaults to 1460.
|
19329
19409
|
# Corresponds to the JSON property `mtu`
|
19330
19410
|
# @return [Fixnum]
|
19331
19411
|
attr_accessor :mtu
|
@@ -20653,9 +20733,8 @@ module Google
|
|
20653
20733
|
alias_method :export_custom_routes?, :export_custom_routes
|
20654
20734
|
|
20655
20735
|
# Whether subnet routes with public IP range are exported. The default value is
|
20656
|
-
# true, all subnet routes are exported.
|
20657
|
-
#
|
20658
|
-
# are not controlled by this field.
|
20736
|
+
# true, all subnet routes are exported. IPv4 special-use ranges are always
|
20737
|
+
# exported to peers and are not controlled by this field.
|
20659
20738
|
# Corresponds to the JSON property `exportSubnetRoutesWithPublicIp`
|
20660
20739
|
# @return [Boolean]
|
20661
20740
|
attr_accessor :export_subnet_routes_with_public_ip
|
@@ -20668,9 +20747,8 @@ module Google
|
|
20668
20747
|
alias_method :import_custom_routes?, :import_custom_routes
|
20669
20748
|
|
20670
20749
|
# Whether subnet routes with public IP range are imported. The default value is
|
20671
|
-
# false.
|
20672
|
-
#
|
20673
|
-
# this field.
|
20750
|
+
# false. IPv4 special-use ranges are always imported from peers and are not
|
20751
|
+
# controlled by this field.
|
20674
20752
|
# Corresponds to the JSON property `importSubnetRoutesWithPublicIp`
|
20675
20753
|
# @return [Boolean]
|
20676
20754
|
attr_accessor :import_subnet_routes_with_public_ip
|
@@ -20961,7 +21039,7 @@ module Google
|
|
20961
21039
|
end
|
20962
21040
|
end
|
20963
21041
|
|
20964
|
-
#
|
21042
|
+
# Represents a sole-tenant Node Group resource. A sole-tenant node is a physical
|
20965
21043
|
# server that is dedicated to hosting VM instances only for your specific
|
20966
21044
|
# project. Use sole-tenant nodes to keep your instances physically separated
|
20967
21045
|
# from instances in other projects, or to group your instances together on the
|
@@ -24564,7 +24642,7 @@ module Google
|
|
24564
24642
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
24565
24643
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
24566
24644
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
24567
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
24645
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
24568
24646
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
24569
24647
|
# google.com/iam/docs/).
|
24570
24648
|
class Policy
|
@@ -27217,7 +27295,7 @@ module Google
|
|
27217
27295
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
27218
27296
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
27219
27297
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
27220
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
27298
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
27221
27299
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
27222
27300
|
# google.com/iam/docs/).
|
27223
27301
|
# Corresponds to the JSON property `policy`
|
@@ -27374,6 +27452,7 @@ module Google
|
|
27374
27452
|
attr_accessor :share_settings
|
27375
27453
|
|
27376
27454
|
# This reservation type allows to pre allocate specific instance configuration.
|
27455
|
+
# Next ID: 5
|
27377
27456
|
# Corresponds to the JSON property `specificReservation`
|
27378
27457
|
# @return [Google::Apis::ComputeBeta::AllocationSpecificSkuReservation]
|
27379
27458
|
attr_accessor :specific_reservation
|
@@ -29522,7 +29601,7 @@ module Google
|
|
29522
29601
|
# from the peer router. The actual value is negotiated between the two routers
|
29523
29602
|
# and is equal to the greater of this value and the transmit interval of the
|
29524
29603
|
# other router. Not currently available publicly. If set, this value must be
|
29525
|
-
# between
|
29604
|
+
# between 1000 and 30000. The default is 1000.
|
29526
29605
|
# Corresponds to the JSON property `minReceiveInterval`
|
29527
29606
|
# @return [Fixnum]
|
29528
29607
|
attr_accessor :min_receive_interval
|
@@ -29531,14 +29610,14 @@ module Google
|
|
29531
29610
|
# to the peer router. The actual value is negotiated between the two routers and
|
29532
29611
|
# is equal to the greater of this value and the corresponding receive interval
|
29533
29612
|
# of the other router. Not currently available publicly. If set, this value must
|
29534
|
-
# be between
|
29613
|
+
# be between 1000 and 30000. The default is 1000.
|
29535
29614
|
# Corresponds to the JSON property `minTransmitInterval`
|
29536
29615
|
# @return [Fixnum]
|
29537
29616
|
attr_accessor :min_transmit_interval
|
29538
29617
|
|
29539
29618
|
# The number of consecutive BFD packets that must be missed before BFD declares
|
29540
29619
|
# that a peer is unavailable. Not currently available publicly. If set, the
|
29541
|
-
# value must be a value between
|
29620
|
+
# value must be a value between 5 and 16. The default is 5.
|
29542
29621
|
# Corresponds to the JSON property `multiplier`
|
29543
29622
|
# @return [Fixnum]
|
29544
29623
|
attr_accessor :multiplier
|
@@ -30589,6 +30668,11 @@ module Google
|
|
30589
30668
|
# @return [Fixnum]
|
30590
30669
|
attr_accessor :host_error_timeout_seconds
|
30591
30670
|
|
30671
|
+
# Specifies the termination action for the instance.
|
30672
|
+
# Corresponds to the JSON property `instanceTerminationAction`
|
30673
|
+
# @return [String]
|
30674
|
+
attr_accessor :instance_termination_action
|
30675
|
+
|
30592
30676
|
# An opaque location hint used to place the instance close to other resources.
|
30593
30677
|
# This field is for use by internal tools that use the public API.
|
30594
30678
|
# Corresponds to the JSON property `locationHint`
|
@@ -30636,6 +30720,11 @@ module Google
|
|
30636
30720
|
attr_accessor :preemptible
|
30637
30721
|
alias_method :preemptible?, :preemptible
|
30638
30722
|
|
30723
|
+
# Specifies the provisioning model of the instance.
|
30724
|
+
# Corresponds to the JSON property `provisioningModel`
|
30725
|
+
# @return [String]
|
30726
|
+
attr_accessor :provisioning_model
|
30727
|
+
|
30639
30728
|
def initialize(**args)
|
30640
30729
|
update!(**args)
|
30641
30730
|
end
|
@@ -30644,6 +30733,7 @@ module Google
|
|
30644
30733
|
def update!(**args)
|
30645
30734
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
30646
30735
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
30736
|
+
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
30647
30737
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
30648
30738
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
30649
30739
|
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
@@ -30651,6 +30741,7 @@ module Google
|
|
30651
30741
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
30652
30742
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
30653
30743
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
30744
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
30654
30745
|
end
|
30655
30746
|
end
|
30656
30747
|
|
@@ -30881,8 +30972,8 @@ module Google
|
|
30881
30972
|
# HTTP requests targeting backend services. They filter requests before they hit
|
30882
30973
|
# the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can
|
30883
30974
|
# be configured to filter incoming HTTP requests targeting backend services (
|
30884
|
-
# including Cloud CDN-enabled) as well as backend buckets (
|
30885
|
-
# requests before the request is served from Google
|
30975
|
+
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
30976
|
+
# filter requests before the request is served from Google's cache.
|
30886
30977
|
# Corresponds to the JSON property `type`
|
30887
30978
|
# @return [String]
|
30888
30979
|
attr_accessor :type
|
@@ -31467,23 +31558,23 @@ module Google
|
|
31467
31558
|
attr_accessor :conform_action
|
31468
31559
|
|
31469
31560
|
# Determines the key to enforce the rate_limit_threshold on. Possible values are:
|
31470
|
-
#
|
31561
|
+
# "ALL" -- A single rate limit threshold is applied to all the requests
|
31471
31562
|
# matching this rule. This is the default value if this field 'enforce_on_key'
|
31472
|
-
# is not configured.
|
31473
|
-
# depprecated.
|
31474
|
-
# has this limit enforced separately.
|
31475
|
-
#
|
31476
|
-
# truncated to the first 128 bytes of the
|
31477
|
-
# present in the request, the key type defaults to
|
31563
|
+
# is not configured. "ALL_IPS" -- This definition, equivalent to "ALL", has been
|
31564
|
+
# depprecated. "IP" -- The source IP address of the request is the key. Each IP
|
31565
|
+
# has this limit enforced separately. "HTTP_HEADER" -- The value of the HTTP
|
31566
|
+
# header whose name is configured under "enforce_on_key_name". The key value is
|
31567
|
+
# truncated to the first 128 bytes of the header value. If no such header is
|
31568
|
+
# present in the request, the key type defaults to "ALL". "XFF_IP" -- The first
|
31478
31569
|
# IP address (i.e. the originating client IP address) specified in the list of
|
31479
|
-
# IPs under X-Forwarded-For HTTP
|
31480
|
-
# value is not a valid IP, the key type defaults to
|
31570
|
+
# IPs under X-Forwarded-For HTTP header. If no such header is present or the
|
31571
|
+
# value is not a valid IP, the key type defaults to "ALL".
|
31481
31572
|
# Corresponds to the JSON property `enforceOnKey`
|
31482
31573
|
# @return [String]
|
31483
31574
|
attr_accessor :enforce_on_key
|
31484
31575
|
|
31485
31576
|
# Rate limit key name applicable only for the following key types: HTTP_HEADER --
|
31486
|
-
# Name of the HTTP
|
31577
|
+
# Name of the HTTP header whose value is taken as the key value.
|
31487
31578
|
# Corresponds to the JSON property `enforceOnKeyName`
|
31488
31579
|
# @return [String]
|
31489
31580
|
attr_accessor :enforce_on_key_name
|
@@ -31710,7 +31801,7 @@ module Google
|
|
31710
31801
|
# Represents a ServiceAttachment resource. A service attachment represents a
|
31711
31802
|
# service that a producer has exposed. It encapsulates the load balancer which
|
31712
31803
|
# fronts the service runs and a list of NAT IP ranges that the producers uses to
|
31713
|
-
# represent the consumers connecting to the service. next tag =
|
31804
|
+
# represent the consumers connecting to the service. next tag = 20
|
31714
31805
|
class ServiceAttachment
|
31715
31806
|
include Google::Apis::Core::Hashable
|
31716
31807
|
|
@@ -33941,16 +34032,19 @@ module Google
|
|
33941
34032
|
class Subnetwork
|
33942
34033
|
include Google::Apis::Core::Hashable
|
33943
34034
|
|
33944
|
-
# Whether this subnetwork can conflict with static routes.
|
33945
|
-
# allows this subnetwork's primary and secondary ranges to
|
33946
|
-
# that have already been configured on
|
33947
|
-
#
|
33948
|
-
#
|
33949
|
-
#
|
33950
|
-
#
|
33951
|
-
#
|
33952
|
-
#
|
33953
|
-
#
|
34035
|
+
# Whether this subnetwork's ranges can conflict with existing static routes.
|
34036
|
+
# Setting this to true allows this subnetwork's primary and secondary ranges to
|
34037
|
+
# overlap with (and contain) static routes that have already been configured on
|
34038
|
+
# the corresponding network. For example if a static route has range 10.1.0.0/16,
|
34039
|
+
# a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=
|
34040
|
+
# true. Overlapping is only allowed on subnetwork operations; routes whose
|
34041
|
+
# ranges conflict with this subnetwork's ranges won't be allowed unless route.
|
34042
|
+
# allow_conflicting_subnetworks is set to true. Typically packets destined to
|
34043
|
+
# IPs within the subnetwork (which may contain private/sensitive data) are
|
34044
|
+
# prevented from leaving the virtual network. Setting this field to true will
|
34045
|
+
# disable this feature. The default value is false and applies to all existing
|
34046
|
+
# subnetworks and automatically created subnetworks. This field cannot be set to
|
34047
|
+
# true at resource creation time.
|
33954
34048
|
# Corresponds to the JSON property `allowSubnetCidrRoutesOverlap`
|
33955
34049
|
# @return [Boolean]
|
33956
34050
|
attr_accessor :allow_subnet_cidr_routes_overlap
|
@@ -35509,6 +35603,25 @@ module Google
|
|
35509
35603
|
end
|
35510
35604
|
end
|
35511
35605
|
|
35606
|
+
#
|
35607
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
35608
|
+
include Google::Apis::Core::Hashable
|
35609
|
+
|
35610
|
+
# URL of the Certificate Map to associate with this TargetHttpsProxy.
|
35611
|
+
# Corresponds to the JSON property `certificateMap`
|
35612
|
+
# @return [String]
|
35613
|
+
attr_accessor :certificate_map
|
35614
|
+
|
35615
|
+
def initialize(**args)
|
35616
|
+
update!(**args)
|
35617
|
+
end
|
35618
|
+
|
35619
|
+
# Update properties of this object
|
35620
|
+
def update!(**args)
|
35621
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35622
|
+
end
|
35623
|
+
end
|
35624
|
+
|
35512
35625
|
#
|
35513
35626
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
35514
35627
|
include Google::Apis::Core::Hashable
|
@@ -35582,6 +35695,13 @@ module Google
|
|
35582
35695
|
# @return [String]
|
35583
35696
|
attr_accessor :authorization_policy
|
35584
35697
|
|
35698
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
35699
|
+
# given target proxy. This field can only be set for global target proxies. If
|
35700
|
+
# set, sslCertificates will be ignored.
|
35701
|
+
# Corresponds to the JSON property `certificateMap`
|
35702
|
+
# @return [String]
|
35703
|
+
attr_accessor :certificate_map
|
35704
|
+
|
35585
35705
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
35586
35706
|
# Corresponds to the JSON property `creationTimestamp`
|
35587
35707
|
# @return [String]
|
@@ -35719,6 +35839,7 @@ module Google
|
|
35719
35839
|
@authentication = args[:authentication] if args.key?(:authentication)
|
35720
35840
|
@authorization = args[:authorization] if args.key?(:authorization)
|
35721
35841
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
35842
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35722
35843
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
35723
35844
|
@description = args[:description] if args.key?(:description)
|
35724
35845
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -37007,6 +37128,25 @@ module Google
|
|
37007
37128
|
end
|
37008
37129
|
end
|
37009
37130
|
|
37131
|
+
#
|
37132
|
+
class TargetSslProxiesSetCertificateMapRequest
|
37133
|
+
include Google::Apis::Core::Hashable
|
37134
|
+
|
37135
|
+
# URL of the Certificate Map to associate with this TargetSslProxy.
|
37136
|
+
# Corresponds to the JSON property `certificateMap`
|
37137
|
+
# @return [String]
|
37138
|
+
attr_accessor :certificate_map
|
37139
|
+
|
37140
|
+
def initialize(**args)
|
37141
|
+
update!(**args)
|
37142
|
+
end
|
37143
|
+
|
37144
|
+
# Update properties of this object
|
37145
|
+
def update!(**args)
|
37146
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
37147
|
+
end
|
37148
|
+
end
|
37149
|
+
|
37010
37150
|
#
|
37011
37151
|
class TargetSslProxiesSetProxyHeaderRequest
|
37012
37152
|
include Google::Apis::Core::Hashable
|
@@ -37055,6 +37195,13 @@ module Google
|
|
37055
37195
|
class TargetSslProxy
|
37056
37196
|
include Google::Apis::Core::Hashable
|
37057
37197
|
|
37198
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
37199
|
+
# given target proxy. This field can only be set for global target proxies. If
|
37200
|
+
# set, sslCertificates will be ignored.
|
37201
|
+
# Corresponds to the JSON property `certificateMap`
|
37202
|
+
# @return [String]
|
37203
|
+
attr_accessor :certificate_map
|
37204
|
+
|
37058
37205
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
37059
37206
|
# Corresponds to the JSON property `creationTimestamp`
|
37060
37207
|
# @return [String]
|
@@ -37125,6 +37272,7 @@ module Google
|
|
37125
37272
|
|
37126
37273
|
# Update properties of this object
|
37127
37274
|
def update!(**args)
|
37275
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
37128
37276
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
37129
37277
|
@description = args[:description] if args.key?(:description)
|
37130
37278
|
@id = args[:id] if args.key?(:id)
|
@@ -40902,7 +41050,7 @@ module Google
|
|
40902
41050
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
40903
41051
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
40904
41052
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
40905
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
41053
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
40906
41054
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
40907
41055
|
# google.com/iam/docs/).
|
40908
41056
|
# Corresponds to the JSON property `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.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4666,6 +4666,12 @@ module Google
|
|
4666
4666
|
include Google::Apis::Core::JsonObjectSupport
|
4667
4667
|
end
|
4668
4668
|
|
4669
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
4670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4671
|
+
|
4672
|
+
include Google::Apis::Core::JsonObjectSupport
|
4673
|
+
end
|
4674
|
+
|
4669
4675
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
4670
4676
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4671
4677
|
|
@@ -4882,6 +4888,12 @@ module Google
|
|
4882
4888
|
include Google::Apis::Core::JsonObjectSupport
|
4883
4889
|
end
|
4884
4890
|
|
4891
|
+
class TargetSslProxiesSetCertificateMapRequest
|
4892
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4893
|
+
|
4894
|
+
include Google::Apis::Core::JsonObjectSupport
|
4895
|
+
end
|
4896
|
+
|
4885
4897
|
class TargetSslProxiesSetProxyHeaderRequest
|
4886
4898
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4887
4899
|
|
@@ -5756,6 +5768,7 @@ module Google
|
|
5756
5768
|
property :interface, as: 'interface'
|
5757
5769
|
property :kind, as: 'kind'
|
5758
5770
|
collection :licenses, as: 'licenses'
|
5771
|
+
property :locked, as: 'locked'
|
5759
5772
|
property :mode, as: 'mode'
|
5760
5773
|
property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeBeta::InitialStateConfig, decorator: Google::Apis::ComputeBeta::InitialStateConfig::Representation
|
5761
5774
|
|
@@ -6719,6 +6732,7 @@ module Google
|
|
6719
6732
|
collection :license_codes, as: 'licenseCodes'
|
6720
6733
|
collection :licenses, as: 'licenses'
|
6721
6734
|
property :location_hint, as: 'locationHint'
|
6735
|
+
property :locked, as: 'locked'
|
6722
6736
|
property :multi_writer, as: 'multiWriter'
|
6723
6737
|
property :name, as: 'name'
|
6724
6738
|
property :options, as: 'options'
|
@@ -7379,6 +7393,7 @@ module Google
|
|
7379
7393
|
|
7380
7394
|
property :service_label, as: 'serviceLabel'
|
7381
7395
|
property :service_name, as: 'serviceName'
|
7396
|
+
collection :source_ip_ranges, as: 'sourceIpRanges'
|
7382
7397
|
property :subnetwork, as: 'subnetwork'
|
7383
7398
|
property :target, as: 'target'
|
7384
7399
|
end
|
@@ -8146,6 +8161,7 @@ module Google
|
|
8146
8161
|
hash :labels, as: 'labels'
|
8147
8162
|
collection :license_codes, as: 'licenseCodes'
|
8148
8163
|
collection :licenses, as: 'licenses'
|
8164
|
+
property :locked, as: 'locked'
|
8149
8165
|
property :name, as: 'name'
|
8150
8166
|
property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeBeta::Image::RawDisk, decorator: Google::Apis::ComputeBeta::Image::RawDisk::Representation
|
8151
8167
|
|
@@ -12924,6 +12940,7 @@ module Google
|
|
12924
12940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12925
12941
|
property :automatic_restart, as: 'automaticRestart'
|
12926
12942
|
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
12943
|
+
property :instance_termination_action, as: 'instanceTerminationAction'
|
12927
12944
|
property :location_hint, as: 'locationHint'
|
12928
12945
|
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
12929
12946
|
property :maintenance_interval, as: 'maintenanceInterval'
|
@@ -12932,6 +12949,7 @@ module Google
|
|
12932
12949
|
|
12933
12950
|
property :on_host_maintenance, as: 'onHostMaintenance'
|
12934
12951
|
property :preemptible, as: 'preemptible'
|
12952
|
+
property :provisioning_model, as: 'provisioningModel'
|
12935
12953
|
end
|
12936
12954
|
end
|
12937
12955
|
|
@@ -14146,6 +14164,13 @@ module Google
|
|
14146
14164
|
end
|
14147
14165
|
end
|
14148
14166
|
|
14167
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
14168
|
+
# @private
|
14169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14170
|
+
property :certificate_map, as: 'certificateMap'
|
14171
|
+
end
|
14172
|
+
end
|
14173
|
+
|
14149
14174
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
14150
14175
|
# @private
|
14151
14176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14166,6 +14191,7 @@ module Google
|
|
14166
14191
|
property :authentication, as: 'authentication'
|
14167
14192
|
property :authorization, as: 'authorization'
|
14168
14193
|
property :authorization_policy, as: 'authorizationPolicy'
|
14194
|
+
property :certificate_map, as: 'certificateMap'
|
14169
14195
|
property :creation_timestamp, as: 'creationTimestamp'
|
14170
14196
|
property :description, as: 'description'
|
14171
14197
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -14524,6 +14550,13 @@ module Google
|
|
14524
14550
|
end
|
14525
14551
|
end
|
14526
14552
|
|
14553
|
+
class TargetSslProxiesSetCertificateMapRequest
|
14554
|
+
# @private
|
14555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14556
|
+
property :certificate_map, as: 'certificateMap'
|
14557
|
+
end
|
14558
|
+
end
|
14559
|
+
|
14527
14560
|
class TargetSslProxiesSetProxyHeaderRequest
|
14528
14561
|
# @private
|
14529
14562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14541,6 +14574,7 @@ module Google
|
|
14541
14574
|
class TargetSslProxy
|
14542
14575
|
# @private
|
14543
14576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14577
|
+
property :certificate_map, as: 'certificateMap'
|
14544
14578
|
property :creation_timestamp, as: 'creationTimestamp'
|
14545
14579
|
property :description, as: 'description'
|
14546
14580
|
property :id, :numeric_string => true, as: 'id'
|
@@ -16726,9 +16726,9 @@ module Google
|
|
16726
16726
|
execute_or_queue_command(command, &block)
|
16727
16727
|
end
|
16728
16728
|
|
16729
|
-
# Updates the specified network peering with the data included in the request
|
16730
|
-
#
|
16731
|
-
#
|
16729
|
+
# Updates the specified network peering with the data included in the request.
|
16730
|
+
# You can only modify the NetworkPeering.export_custom_routes field and the
|
16731
|
+
# NetworkPeering.import_custom_routes field.
|
16732
16732
|
# @param [String] project
|
16733
16733
|
# Project ID for this request.
|
16734
16734
|
# @param [String] network
|
@@ -31336,6 +31336,10 @@ module Google
|
|
31336
31336
|
# @param [Boolean] return_partial_success
|
31337
31337
|
# Opt-in for partial success behavior which provides partial results in case of
|
31338
31338
|
# failure. The default value is false.
|
31339
|
+
# @param [String] service_project
|
31340
|
+
# The project id or project number in which the subnetwork is intended to be
|
31341
|
+
# used. Only applied for Shared VPC. See [Shared VPC documentation](https://
|
31342
|
+
# cloud.google.com/vpc/docs/shared-vpc/)
|
31339
31343
|
# @param [String] fields
|
31340
31344
|
# Selector specifying which fields to include in a partial response.
|
31341
31345
|
# @param [String] quota_user
|
@@ -31355,7 +31359,7 @@ module Google
|
|
31355
31359
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31356
31360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31357
31361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31358
|
-
def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31362
|
+
def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31359
31363
|
command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options)
|
31360
31364
|
command.response_representation = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList::Representation
|
31361
31365
|
command.response_class = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList
|
@@ -31365,6 +31369,7 @@ module Google
|
|
31365
31369
|
command.query['orderBy'] = order_by unless order_by.nil?
|
31366
31370
|
command.query['pageToken'] = page_token unless page_token.nil?
|
31367
31371
|
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
31372
|
+
command.query['serviceProject'] = service_project unless service_project.nil?
|
31368
31373
|
command.query['fields'] = fields unless fields.nil?
|
31369
31374
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31370
31375
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -32644,6 +32649,57 @@ module Google
|
|
32644
32649
|
execute_or_queue_command(command, &block)
|
32645
32650
|
end
|
32646
32651
|
|
32652
|
+
# Changes the Certificate Map for TargetHttpsProxy.
|
32653
|
+
# @param [String] project
|
32654
|
+
# Project ID for this request.
|
32655
|
+
# @param [String] target_https_proxy
|
32656
|
+
# Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The
|
32657
|
+
# name must be 1-63 characters long, and comply with RFC1035.
|
32658
|
+
# @param [Google::Apis::ComputeBeta::TargetHttpsProxiesSetCertificateMapRequest] target_https_proxies_set_certificate_map_request_object
|
32659
|
+
# @param [String] request_id
|
32660
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32661
|
+
# that if you must retry your request, the server will know to ignore the
|
32662
|
+
# request if it has already been completed. For example, consider a situation
|
32663
|
+
# where you make an initial request and the request times out. If you make the
|
32664
|
+
# request again with the same request ID, the server can check if original
|
32665
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32666
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32667
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32668
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32669
|
+
# @param [String] fields
|
32670
|
+
# Selector specifying which fields to include in a partial response.
|
32671
|
+
# @param [String] quota_user
|
32672
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32673
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32674
|
+
# @param [String] user_ip
|
32675
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32676
|
+
# @param [Google::Apis::RequestOptions] options
|
32677
|
+
# Request-specific options
|
32678
|
+
#
|
32679
|
+
# @yield [result, err] Result & error if block supplied
|
32680
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
32681
|
+
# @yieldparam err [StandardError] error object if request failed
|
32682
|
+
#
|
32683
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
32684
|
+
#
|
32685
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32686
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32687
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32688
|
+
def set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32689
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap', options)
|
32690
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetCertificateMapRequest::Representation
|
32691
|
+
command.request_object = target_https_proxies_set_certificate_map_request_object
|
32692
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
32693
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
32694
|
+
command.params['project'] = project unless project.nil?
|
32695
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
32696
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
32697
|
+
command.query['fields'] = fields unless fields.nil?
|
32698
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32699
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32700
|
+
execute_or_queue_command(command, &block)
|
32701
|
+
end
|
32702
|
+
|
32647
32703
|
# Sets the QUIC override policy for TargetHttpsProxy.
|
32648
32704
|
# @param [String] project
|
32649
32705
|
# Project ID for this request.
|
@@ -34136,6 +34192,57 @@ module Google
|
|
34136
34192
|
execute_or_queue_command(command, &block)
|
34137
34193
|
end
|
34138
34194
|
|
34195
|
+
# Changes the Certificate Map for TargetSslProxy.
|
34196
|
+
# @param [String] project
|
34197
|
+
# Project ID for this request.
|
34198
|
+
# @param [String] target_ssl_proxy
|
34199
|
+
# Name of the TargetSslProxy resource whose CertificateMap is to be set. The
|
34200
|
+
# name must be 1-63 characters long, and comply with RFC1035.
|
34201
|
+
# @param [Google::Apis::ComputeBeta::TargetSslProxiesSetCertificateMapRequest] target_ssl_proxies_set_certificate_map_request_object
|
34202
|
+
# @param [String] request_id
|
34203
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
34204
|
+
# that if you must retry your request, the server will know to ignore the
|
34205
|
+
# request if it has already been completed. For example, consider a situation
|
34206
|
+
# where you make an initial request and the request times out. If you make the
|
34207
|
+
# request again with the same request ID, the server can check if original
|
34208
|
+
# operation with the same request ID was received, and if so, will ignore the
|
34209
|
+
# second request. This prevents clients from accidentally creating duplicate
|
34210
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
34211
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
34212
|
+
# @param [String] fields
|
34213
|
+
# Selector specifying which fields to include in a partial response.
|
34214
|
+
# @param [String] quota_user
|
34215
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34216
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34217
|
+
# @param [String] user_ip
|
34218
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34219
|
+
# @param [Google::Apis::RequestOptions] options
|
34220
|
+
# Request-specific options
|
34221
|
+
#
|
34222
|
+
# @yield [result, err] Result & error if block supplied
|
34223
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
34224
|
+
# @yieldparam err [StandardError] error object if request failed
|
34225
|
+
#
|
34226
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
34227
|
+
#
|
34228
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34229
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34230
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34231
|
+
def set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34232
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap', options)
|
34233
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetCertificateMapRequest::Representation
|
34234
|
+
command.request_object = target_ssl_proxies_set_certificate_map_request_object
|
34235
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
34236
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
34237
|
+
command.params['project'] = project unless project.nil?
|
34238
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
34239
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
34240
|
+
command.query['fields'] = fields unless fields.nil?
|
34241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34242
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34243
|
+
execute_or_queue_command(command, &block)
|
34244
|
+
end
|
34245
|
+
|
34139
34246
|
# Changes the ProxyHeaderType for TargetSslProxy.
|
34140
34247
|
# @param [String] project
|
34141
34248
|
# Project ID for this request.
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'Beta'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
|
35
35
|
# View and manage your Google Compute Engine resources
|
@@ -38,13 +38,13 @@ module Google
|
|
38
38
|
# View your Google Compute Engine resources
|
39
39
|
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
|
40
40
|
|
41
|
-
# Manage your data and permissions in
|
41
|
+
# Manage your data and permissions in Cloud Storage and see the email address for your Google Account
|
42
42
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
43
43
|
|
44
44
|
# View your data in Google Cloud Storage
|
45
45
|
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
|
46
46
|
|
47
|
-
# Manage your data in
|
47
|
+
# Manage your data in Cloud Storage and see the email address of your Google Account
|
48
48
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
49
49
|
end
|
50
50
|
end
|
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.
|
4
|
+
version: 0.16.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|