google-api-client 0.30.0 → 0.30.1
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 +44 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +255 -155
- data/generated/google/apis/compute_alpha/representations.rb +4 -3
- data/generated/google/apis/compute_alpha/service.rb +11 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2818 -235
- data/generated/google/apis/compute_beta/representations.rb +957 -0
- data/generated/google/apis/compute_beta/service.rb +2371 -475
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +239 -92
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -0
- data/generated/google/apis/container_v1beta1/representations.rb +3 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +29 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +125 -0
- data/generated/google/apis/redis_v1/representations.rb +83 -0
- data/generated/google/apis/redis_v1/service.rb +78 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
- data/generated/google/apis/redis_v1beta1/service.rb +78 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190528'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1216,6 +1216,22 @@ module Google
|
|
|
1216
1216
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
|
1217
1217
|
attr_accessor :source_image_encryption_key
|
|
1218
1218
|
|
|
1219
|
+
# The source snapshot to create this disk. When creating a new instance, one of
|
|
1220
|
+
# initializeParams.sourceSnapshot or disks.source is required except for local
|
|
1221
|
+
# SSD.
|
|
1222
|
+
# To create a disk with a snapshot that you created, specify the snapshot name
|
|
1223
|
+
# in the following format:
|
|
1224
|
+
# global/snapshots/my-backup
|
|
1225
|
+
# If the source snapshot is deleted later, this field will not be set.
|
|
1226
|
+
# Corresponds to the JSON property `sourceSnapshot`
|
|
1227
|
+
# @return [String]
|
|
1228
|
+
attr_accessor :source_snapshot
|
|
1229
|
+
|
|
1230
|
+
# Represents a customer-supplied encryption key
|
|
1231
|
+
# Corresponds to the JSON property `sourceSnapshotEncryptionKey`
|
|
1232
|
+
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
|
1233
|
+
attr_accessor :source_snapshot_encryption_key
|
|
1234
|
+
|
|
1219
1235
|
def initialize(**args)
|
|
1220
1236
|
update!(**args)
|
|
1221
1237
|
end
|
|
@@ -1229,6 +1245,8 @@ module Google
|
|
|
1229
1245
|
@labels = args[:labels] if args.key?(:labels)
|
|
1230
1246
|
@source_image = args[:source_image] if args.key?(:source_image)
|
|
1231
1247
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
|
1248
|
+
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
1249
|
+
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
|
1232
1250
|
end
|
|
1233
1251
|
end
|
|
1234
1252
|
|
|
@@ -3863,14 +3881,14 @@ module Google
|
|
|
3863
3881
|
attr_accessor :status
|
|
3864
3882
|
|
|
3865
3883
|
# URL of the disk type resource describing which disk type to use to create the
|
|
3866
|
-
# disk. Provide this when creating the disk. For example: project/zones/
|
|
3867
|
-
# diskTypes/pd-standard or pd-ssd
|
|
3884
|
+
# disk. Provide this when creating the disk. For example: projects/project/zones/
|
|
3885
|
+
# zone/diskTypes/pd-standard or pd-ssd
|
|
3868
3886
|
# Corresponds to the JSON property `type`
|
|
3869
3887
|
# @return [String]
|
|
3870
3888
|
attr_accessor :type
|
|
3871
3889
|
|
|
3872
3890
|
# [Output Only] Links to the users of the disk (attached instances) in form:
|
|
3873
|
-
# project/zones/zone/instances/instance
|
|
3891
|
+
# projects/project/zones/zone/instances/instance
|
|
3874
3892
|
# Corresponds to the JSON property `users`
|
|
3875
3893
|
# @return [Array<String>]
|
|
3876
3894
|
attr_accessor :users
|
|
@@ -7267,8 +7285,8 @@ module Google
|
|
|
7267
7285
|
# @return [String]
|
|
7268
7286
|
attr_accessor :container_type
|
|
7269
7287
|
|
|
7270
|
-
# An optional SHA1 checksum of the disk
|
|
7271
|
-
# client when the disk image is created.
|
|
7288
|
+
# [Deprecated] This field is deprecated. An optional SHA1 checksum of the disk
|
|
7289
|
+
# image before unpackaging provided by the client when the disk image is created.
|
|
7272
7290
|
# Corresponds to the JSON property `sha1Checksum`
|
|
7273
7291
|
# @return [String]
|
|
7274
7292
|
attr_accessor :sha1_checksum
|
|
@@ -10173,8 +10191,11 @@ module Google
|
|
|
10173
10191
|
# @return [Array<String>]
|
|
10174
10192
|
attr_accessor :interconnect_attachments
|
|
10175
10193
|
|
|
10176
|
-
# Type of interconnect
|
|
10177
|
-
#
|
|
10194
|
+
# Type of interconnect, which can take one of the following values:
|
|
10195
|
+
# - PARTNER: A partner-managed interconnection shared between customers though a
|
|
10196
|
+
# partner.
|
|
10197
|
+
# - DEDICATED: A dedicated physical interconnection with the customer. Note that
|
|
10198
|
+
# a value IT_PRIVATE has been deprecated in favor of DEDICATED.
|
|
10178
10199
|
# Corresponds to the JSON property `interconnectType`
|
|
10179
10200
|
# @return [String]
|
|
10180
10201
|
attr_accessor :interconnect_type
|
|
@@ -10185,8 +10206,11 @@ module Google
|
|
|
10185
10206
|
# @return [String]
|
|
10186
10207
|
attr_accessor :kind
|
|
10187
10208
|
|
|
10188
|
-
# Type of link requested
|
|
10189
|
-
#
|
|
10209
|
+
# Type of link requested, which can take one of the following values:
|
|
10210
|
+
# - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
|
|
10211
|
+
# - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this
|
|
10212
|
+
# field indicates the speed of each of the links in the bundle, not the speed of
|
|
10213
|
+
# the entire bundle.
|
|
10190
10214
|
# Corresponds to the JSON property `linkType`
|
|
10191
10215
|
# @return [String]
|
|
10192
10216
|
attr_accessor :link_type
|
|
@@ -10215,8 +10239,14 @@ module Google
|
|
|
10215
10239
|
# @return [String]
|
|
10216
10240
|
attr_accessor :noc_contact_email
|
|
10217
10241
|
|
|
10218
|
-
# [Output Only] The current status of
|
|
10219
|
-
#
|
|
10242
|
+
# [Output Only] The current status of this Interconnect's functionality, which
|
|
10243
|
+
# can take one of the following values:
|
|
10244
|
+
# - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use.
|
|
10245
|
+
# Attachments may be provisioned on this Interconnect.
|
|
10246
|
+
# - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No
|
|
10247
|
+
# attachments may be provisioned on this Interconnect.
|
|
10248
|
+
# - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal
|
|
10249
|
+
# maintenance. No attachments may be provisioned or updated on this Interconnect.
|
|
10220
10250
|
# Corresponds to the JSON property `operationalStatus`
|
|
10221
10251
|
# @return [String]
|
|
10222
10252
|
attr_accessor :operational_status
|
|
@@ -10244,8 +10274,14 @@ module Google
|
|
|
10244
10274
|
# @return [String]
|
|
10245
10275
|
attr_accessor :self_link
|
|
10246
10276
|
|
|
10247
|
-
# [Output Only] The current state of
|
|
10248
|
-
#
|
|
10277
|
+
# [Output Only] The current state of Interconnect functionality, which can take
|
|
10278
|
+
# one of the following values:
|
|
10279
|
+
# - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments
|
|
10280
|
+
# may be provisioned on this Interconnect.
|
|
10281
|
+
# - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may
|
|
10282
|
+
# be provisioned on this Interconnect.
|
|
10283
|
+
# - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No
|
|
10284
|
+
# attachments may be provisioned or updated on this Interconnect.
|
|
10249
10285
|
# Corresponds to the JSON property `state`
|
|
10250
10286
|
# @return [String]
|
|
10251
10287
|
attr_accessor :state
|
|
@@ -10294,9 +10330,21 @@ module Google
|
|
|
10294
10330
|
attr_accessor :admin_enabled
|
|
10295
10331
|
alias_method :admin_enabled?, :admin_enabled
|
|
10296
10332
|
|
|
10297
|
-
# Provisioned bandwidth capacity for the
|
|
10298
|
-
#
|
|
10299
|
-
#
|
|
10333
|
+
# Provisioned bandwidth capacity for the interconnect attachment. For
|
|
10334
|
+
# attachments of type DEDICATED, the user can set the bandwidth. For attachments
|
|
10335
|
+
# of type PARTNER, the Google Partner that is operating the interconnect must
|
|
10336
|
+
# set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER
|
|
10337
|
+
# and DEDICATED, and can take one of the following values:
|
|
10338
|
+
# - BPS_50M: 50 Mbit/s
|
|
10339
|
+
# - BPS_100M: 100 Mbit/s
|
|
10340
|
+
# - BPS_200M: 200 Mbit/s
|
|
10341
|
+
# - BPS_300M: 300 Mbit/s
|
|
10342
|
+
# - BPS_400M: 400 Mbit/s
|
|
10343
|
+
# - BPS_500M: 500 Mbit/s
|
|
10344
|
+
# - BPS_1G: 1 Gbit/s
|
|
10345
|
+
# - BPS_2G: 2 Gbit/s
|
|
10346
|
+
# - BPS_5G: 5 Gbit/s
|
|
10347
|
+
# - BPS_10G: 10 Gbit/s
|
|
10300
10348
|
# Corresponds to the JSON property `bandwidth`
|
|
10301
10349
|
# @return [String]
|
|
10302
10350
|
attr_accessor :bandwidth
|
|
@@ -10335,11 +10383,14 @@ module Google
|
|
|
10335
10383
|
attr_accessor :description
|
|
10336
10384
|
|
|
10337
10385
|
# Desired availability domain for the attachment. Only available for type
|
|
10338
|
-
# PARTNER, at creation time
|
|
10339
|
-
#
|
|
10340
|
-
#
|
|
10341
|
-
#
|
|
10342
|
-
#
|
|
10386
|
+
# PARTNER, at creation time, and can take one of the following values:
|
|
10387
|
+
# - AVAILABILITY_DOMAIN_ANY
|
|
10388
|
+
# - AVAILABILITY_DOMAIN_1
|
|
10389
|
+
# - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a
|
|
10390
|
+
# pair of attachments, one per availability domain. The selected availability
|
|
10391
|
+
# domain will be provided to the Partner via the pairing key, so that the
|
|
10392
|
+
# provisioned circuit will lie in the specified domain. If not specified, the
|
|
10393
|
+
# value will default to AVAILABILITY_DOMAIN_ANY.
|
|
10343
10394
|
# Corresponds to the JSON property `edgeAvailabilityDomain`
|
|
10344
10395
|
# @return [String]
|
|
10345
10396
|
attr_accessor :edge_availability_domain
|
|
@@ -10379,7 +10430,10 @@ module Google
|
|
|
10379
10430
|
attr_accessor :name
|
|
10380
10431
|
|
|
10381
10432
|
# [Output Only] The current status of whether or not this interconnect
|
|
10382
|
-
# attachment is functional
|
|
10433
|
+
# attachment is functional, which can take one of the following values:
|
|
10434
|
+
# - OS_ACTIVE: The attachment has been turned up and is ready to use.
|
|
10435
|
+
# - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is
|
|
10436
|
+
# not complete.
|
|
10383
10437
|
# Corresponds to the JSON property `operationalStatus`
|
|
10384
10438
|
# @return [String]
|
|
10385
10439
|
attr_accessor :operational_status
|
|
@@ -10392,9 +10446,9 @@ module Google
|
|
|
10392
10446
|
# @return [String]
|
|
10393
10447
|
attr_accessor :pairing_key
|
|
10394
10448
|
|
|
10395
|
-
# Optional BGP ASN for the router
|
|
10396
|
-
#
|
|
10397
|
-
#
|
|
10449
|
+
# Optional BGP ASN for the router supplied by a Layer 3 Partner if they
|
|
10450
|
+
# configured BGP on behalf of the customer. Output only for PARTNER type, input
|
|
10451
|
+
# only for PARTNER_PROVIDER, not available for DEDICATED.
|
|
10398
10452
|
# Corresponds to the JSON property `partnerAsn`
|
|
10399
10453
|
# @return [Fixnum]
|
|
10400
10454
|
attr_accessor :partner_asn
|
|
@@ -10432,12 +10486,35 @@ module Google
|
|
|
10432
10486
|
# @return [String]
|
|
10433
10487
|
attr_accessor :self_link
|
|
10434
10488
|
|
|
10435
|
-
# [Output Only] The current state of this attachment's functionality.
|
|
10489
|
+
# [Output Only] The current state of this attachment's functionality. Enum
|
|
10490
|
+
# values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and
|
|
10491
|
+
# PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,
|
|
10492
|
+
# PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and
|
|
10493
|
+
# PARTNER_PROVIDER interconnect attachments. This state can take one of the
|
|
10494
|
+
# following values:
|
|
10495
|
+
# - ACTIVE: The attachment has been turned up and is ready to use.
|
|
10496
|
+
# - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not
|
|
10497
|
+
# complete.
|
|
10498
|
+
# - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been
|
|
10499
|
+
# configured on the Partner side.
|
|
10500
|
+
# - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of
|
|
10501
|
+
# provisioning after a PARTNER_PROVIDER attachment was created that references
|
|
10502
|
+
# it.
|
|
10503
|
+
# - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting
|
|
10504
|
+
# for a customer to activate it.
|
|
10505
|
+
# - DEFUNCT: The attachment was deleted externally and is no longer functional.
|
|
10506
|
+
# This could be because the associated Interconnect was removed, or because the
|
|
10507
|
+
# other side of a Partner attachment was deleted.
|
|
10436
10508
|
# Corresponds to the JSON property `state`
|
|
10437
10509
|
# @return [String]
|
|
10438
10510
|
attr_accessor :state
|
|
10439
10511
|
|
|
10440
|
-
#
|
|
10512
|
+
# The type of interconnect attachment this is, which can take one of the
|
|
10513
|
+
# following values:
|
|
10514
|
+
# - DEDICATED: an attachment to a Dedicated Interconnect.
|
|
10515
|
+
# - PARTNER: an attachment to a Partner Interconnect, created by the customer.
|
|
10516
|
+
# - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the
|
|
10517
|
+
# partner.
|
|
10441
10518
|
# Corresponds to the JSON property `type`
|
|
10442
10519
|
# @return [String]
|
|
10443
10520
|
attr_accessor :type
|
|
@@ -10738,7 +10815,7 @@ module Google
|
|
|
10738
10815
|
attr_accessor :partner_name
|
|
10739
10816
|
|
|
10740
10817
|
# URL of the Partner?s portal for this Attachment. Partners may customise this
|
|
10741
|
-
# to be a deep
|
|
10818
|
+
# to be a deep link to the specific resource on the Partner portal. This value
|
|
10742
10819
|
# may be validated to match approved Partner values.
|
|
10743
10820
|
# Corresponds to the JSON property `portalUrl`
|
|
10744
10821
|
# @return [String]
|
|
@@ -10976,7 +11053,10 @@ module Google
|
|
|
10976
11053
|
# @return [String]
|
|
10977
11054
|
attr_accessor :neighbor_system_id
|
|
10978
11055
|
|
|
10979
|
-
#
|
|
11056
|
+
# The state of a LACP link, which can take one of the following values:
|
|
11057
|
+
# - ACTIVE: The link is configured and active within the bundle.
|
|
11058
|
+
# - DETACHED: The link is not configured within the bundle. This means that the
|
|
11059
|
+
# rest of the object should be empty.
|
|
10980
11060
|
# Corresponds to the JSON property `state`
|
|
10981
11061
|
# @return [String]
|
|
10982
11062
|
attr_accessor :state
|
|
@@ -11222,7 +11302,13 @@ module Google
|
|
|
11222
11302
|
# @return [String]
|
|
11223
11303
|
attr_accessor :city
|
|
11224
11304
|
|
|
11225
|
-
# [Output Only] Continent for this location
|
|
11305
|
+
# [Output Only] Continent for this location, which can take one of the following
|
|
11306
|
+
# values:
|
|
11307
|
+
# - AFRICA
|
|
11308
|
+
# - ASIA_PAC
|
|
11309
|
+
# - EUROPE
|
|
11310
|
+
# - NORTH_AMERICA
|
|
11311
|
+
# - SOUTH_AMERICA
|
|
11226
11312
|
# Corresponds to the JSON property `continent`
|
|
11227
11313
|
# @return [String]
|
|
11228
11314
|
attr_accessor :continent
|
|
@@ -11283,9 +11369,12 @@ module Google
|
|
|
11283
11369
|
# @return [String]
|
|
11284
11370
|
attr_accessor :self_link
|
|
11285
11371
|
|
|
11286
|
-
# [Output Only] The status of this InterconnectLocation
|
|
11287
|
-
#
|
|
11288
|
-
#
|
|
11372
|
+
# [Output Only] The status of this InterconnectLocation, which can take one of
|
|
11373
|
+
# the following values:
|
|
11374
|
+
# - CLOSED: The InterconnectLocation is closed and is unavailable for
|
|
11375
|
+
# provisioning new Interconnects.
|
|
11376
|
+
# - AVAILABLE: The InterconnectLocation is available for provisioning new
|
|
11377
|
+
# Interconnects.
|
|
11289
11378
|
# Corresponds to the JSON property `status`
|
|
11290
11379
|
# @return [String]
|
|
11291
11380
|
attr_accessor :status
|
|
@@ -11485,8 +11574,13 @@ module Google
|
|
|
11485
11574
|
# @return [Fixnum]
|
|
11486
11575
|
attr_accessor :end_time
|
|
11487
11576
|
|
|
11488
|
-
# Form this outage is expected to take
|
|
11489
|
-
#
|
|
11577
|
+
# Form this outage is expected to take, which can take one of the following
|
|
11578
|
+
# values:
|
|
11579
|
+
# - OUTAGE: The Interconnect may be completely out of service for some or all of
|
|
11580
|
+
# the specified window.
|
|
11581
|
+
# - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should
|
|
11582
|
+
# remain up, but with reduced bandwidth. Note that the versions of this enum
|
|
11583
|
+
# prefixed with "IT_" have been deprecated in favor of the unprefixed values.
|
|
11490
11584
|
# Corresponds to the JSON property `issueType`
|
|
11491
11585
|
# @return [String]
|
|
11492
11586
|
attr_accessor :issue_type
|
|
@@ -11496,8 +11590,10 @@ module Google
|
|
|
11496
11590
|
# @return [String]
|
|
11497
11591
|
attr_accessor :name
|
|
11498
11592
|
|
|
11499
|
-
# The party that generated this notification
|
|
11500
|
-
#
|
|
11593
|
+
# The party that generated this notification, which can take the following value:
|
|
11594
|
+
#
|
|
11595
|
+
# - GOOGLE: this notification as generated by Google. Note that the value of
|
|
11596
|
+
# NSRC_GOOGLE has been deprecated in favor of GOOGLE.
|
|
11501
11597
|
# Corresponds to the JSON property `source`
|
|
11502
11598
|
# @return [String]
|
|
11503
11599
|
attr_accessor :source
|
|
@@ -11507,8 +11603,12 @@ module Google
|
|
|
11507
11603
|
# @return [Fixnum]
|
|
11508
11604
|
attr_accessor :start_time
|
|
11509
11605
|
|
|
11510
|
-
# State of this notification
|
|
11511
|
-
#
|
|
11606
|
+
# State of this notification, which can take one of the following values:
|
|
11607
|
+
# - ACTIVE: This outage notification is active. The event could be in the past,
|
|
11608
|
+
# present, or future. See start_time and end_time for scheduling.
|
|
11609
|
+
# - CANCELLED: The outage associated with this notification was cancelled before
|
|
11610
|
+
# the outage was due to start. Note that the versions of this enum prefixed with
|
|
11611
|
+
# "NS_" have been deprecated in favor of the unprefixed values.
|
|
11512
11612
|
# Corresponds to the JSON property `state`
|
|
11513
11613
|
# @return [String]
|
|
11514
11614
|
attr_accessor :state
|
|
@@ -11983,10 +12083,6 @@ module Google
|
|
|
11983
12083
|
|
|
11984
12084
|
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
|
11985
12085
|
# is relevant only in the LocalIAM implementation, for now.
|
|
11986
|
-
# NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
|
|
11987
|
-
# work is being done to satisfy the requirements of go/345. Currently, setting
|
|
11988
|
-
# LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
|
|
11989
|
-
# active work being done to support it (b/115874152).
|
|
11990
12086
|
# Corresponds to the JSON property `logMode`
|
|
11991
12087
|
# @return [String]
|
|
11992
12088
|
attr_accessor :log_mode
|
|
@@ -17908,9 +18004,9 @@ module Google
|
|
|
17908
18004
|
# @return [Google::Apis::ComputeV1::RouterBgp]
|
|
17909
18005
|
attr_accessor :bgp
|
|
17910
18006
|
|
|
17911
|
-
# BGP information that
|
|
17912
|
-
#
|
|
17913
|
-
# IP, or peer IP. Please refer to RFC4273.
|
|
18007
|
+
# BGP information that must be configured into the routing stack to establish
|
|
18008
|
+
# BGP peering. This information must specify the peer ASN and either the
|
|
18009
|
+
# interface name, IP address, or peer IP address. Please refer to RFC4273.
|
|
17914
18010
|
# Corresponds to the JSON property `bgpPeers`
|
|
17915
18011
|
# @return [Array<Google::Apis::ComputeV1::RouterBgpPeer>]
|
|
17916
18012
|
attr_accessor :bgp_peers
|
|
@@ -17932,8 +18028,9 @@ module Google
|
|
|
17932
18028
|
# @return [Fixnum]
|
|
17933
18029
|
attr_accessor :id
|
|
17934
18030
|
|
|
17935
|
-
# Router interfaces. Each interface requires either one linked resource (
|
|
17936
|
-
# linkedVpnTunnel), or IP address and IP address range (
|
|
18031
|
+
# Router interfaces. Each interface requires either one linked resource, (for
|
|
18032
|
+
# example, linkedVpnTunnel), or IP address and IP address range (for example,
|
|
18033
|
+
# ipRange), or both.
|
|
17937
18034
|
# Corresponds to the JSON property `interfaces`
|
|
17938
18035
|
# @return [Array<Google::Apis::ComputeV1::RouterInterface>]
|
|
17939
18036
|
attr_accessor :interfaces
|
|
@@ -17953,7 +18050,7 @@ module Google
|
|
|
17953
18050
|
# @return [String]
|
|
17954
18051
|
attr_accessor :name
|
|
17955
18052
|
|
|
17956
|
-
# A list of
|
|
18053
|
+
# A list of NAT services created in this router.
|
|
17957
18054
|
# Corresponds to the JSON property `nats`
|
|
17958
18055
|
# @return [Array<Google::Apis::ComputeV1::RouterNat>]
|
|
17959
18056
|
attr_accessor :nats
|
|
@@ -18142,7 +18239,8 @@ module Google
|
|
|
18142
18239
|
class RouterBgp
|
|
18143
18240
|
include Google::Apis::Core::Hashable
|
|
18144
18241
|
|
|
18145
|
-
# User-specified flag to indicate which mode to use for advertisement.
|
|
18242
|
+
# User-specified flag to indicate which mode to use for advertisement. The
|
|
18243
|
+
# options are DEFAULT or CUSTOM.
|
|
18146
18244
|
# Corresponds to the JSON property `advertiseMode`
|
|
18147
18245
|
# @return [String]
|
|
18148
18246
|
attr_accessor :advertise_mode
|
|
@@ -18192,27 +18290,31 @@ module Google
|
|
|
18192
18290
|
# @return [String]
|
|
18193
18291
|
attr_accessor :advertise_mode
|
|
18194
18292
|
|
|
18195
|
-
# User-specified list of prefix groups to advertise in custom mode
|
|
18196
|
-
#
|
|
18197
|
-
#
|
|
18198
|
-
#
|
|
18199
|
-
#
|
|
18293
|
+
# User-specified list of prefix groups to advertise in custom mode, which can
|
|
18294
|
+
# take one of the following options:
|
|
18295
|
+
# - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
|
|
18296
|
+
# - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets.
|
|
18297
|
+
# - ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network.
|
|
18298
|
+
# Note that this field can only be populated if advertise_mode is CUSTOM and
|
|
18299
|
+
# overrides the list defined for the router (in the "bgp" message). These groups
|
|
18300
|
+
# are advertised in addition to any specified prefixes. Leave this field blank
|
|
18301
|
+
# to advertise no custom groups.
|
|
18200
18302
|
# Corresponds to the JSON property `advertisedGroups`
|
|
18201
18303
|
# @return [Array<String>]
|
|
18202
18304
|
attr_accessor :advertised_groups
|
|
18203
18305
|
|
|
18204
18306
|
# User-specified list of individual IP ranges to advertise in custom mode. This
|
|
18205
18307
|
# field can only be populated if advertise_mode is CUSTOM and overrides the list
|
|
18206
|
-
# defined for the router (in
|
|
18207
|
-
# addition to any specified groups. Leave this field blank to advertise no
|
|
18308
|
+
# defined for the router (in the "bgp" message). These IP ranges are advertised
|
|
18309
|
+
# in addition to any specified groups. Leave this field blank to advertise no
|
|
18208
18310
|
# custom IP ranges.
|
|
18209
18311
|
# Corresponds to the JSON property `advertisedIpRanges`
|
|
18210
18312
|
# @return [Array<Google::Apis::ComputeV1::RouterAdvertisedIpRange>]
|
|
18211
18313
|
attr_accessor :advertised_ip_ranges
|
|
18212
18314
|
|
|
18213
|
-
# The priority of routes advertised to this BGP peer.
|
|
18214
|
-
#
|
|
18215
|
-
#
|
|
18315
|
+
# The priority of routes advertised to this BGP peer. Where there is more than
|
|
18316
|
+
# one matching route of maximum length, the routes with the lowest priority
|
|
18317
|
+
# value win.
|
|
18216
18318
|
# Corresponds to the JSON property `advertisedRoutePriority`
|
|
18217
18319
|
# @return [Fixnum]
|
|
18218
18320
|
attr_accessor :advertised_route_priority
|
|
@@ -18229,11 +18331,12 @@ module Google
|
|
|
18229
18331
|
attr_accessor :ip_address
|
|
18230
18332
|
|
|
18231
18333
|
# [Output Only] The resource that configures and manages this BGP peer.
|
|
18232
|
-
# MANAGED_BY_USER is the default value and can be managed by you or other
|
|
18233
|
-
#
|
|
18334
|
+
# - MANAGED_BY_USER is the default value and can be managed by you or other
|
|
18335
|
+
# users
|
|
18336
|
+
# - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
|
|
18234
18337
|
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
|
|
18235
|
-
# Google
|
|
18236
|
-
#
|
|
18338
|
+
# Google automatically creates, updates, and deletes this type of BGP peer when
|
|
18339
|
+
# the PARTNER InterconnectAttachment is created, updated, or deleted.
|
|
18237
18340
|
# Corresponds to the JSON property `managementType`
|
|
18238
18341
|
# @return [String]
|
|
18239
18342
|
attr_accessor :management_type
|
|
@@ -18244,13 +18347,14 @@ module Google
|
|
|
18244
18347
|
# @return [String]
|
|
18245
18348
|
attr_accessor :name
|
|
18246
18349
|
|
|
18247
|
-
# Peer BGP Autonomous System Number (ASN).
|
|
18248
|
-
# different
|
|
18350
|
+
# Peer BGP Autonomous System Number (ASN). Each BGP interface may use a
|
|
18351
|
+
# different value.
|
|
18249
18352
|
# Corresponds to the JSON property `peerAsn`
|
|
18250
18353
|
# @return [Fixnum]
|
|
18251
18354
|
attr_accessor :peer_asn
|
|
18252
18355
|
|
|
18253
|
-
# IP address of the BGP interface outside Google
|
|
18356
|
+
# IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
|
|
18357
|
+
# supported.
|
|
18254
18358
|
# Corresponds to the JSON property `peerIpAddress`
|
|
18255
18359
|
# @return [String]
|
|
18256
18360
|
attr_accessor :peer_ip_address
|
|
@@ -18279,32 +18383,32 @@ module Google
|
|
|
18279
18383
|
include Google::Apis::Core::Hashable
|
|
18280
18384
|
|
|
18281
18385
|
# IP address and range of the interface. The IP range must be in the RFC3927
|
|
18282
|
-
# link-local IP space. The value must be a CIDR-formatted string, for
|
|
18283
|
-
# 169.254.0.1/30. NOTE: Do not truncate the address as it represents
|
|
18284
|
-
# address of the interface.
|
|
18386
|
+
# link-local IP address space. The value must be a CIDR-formatted string, for
|
|
18387
|
+
# example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
|
|
18388
|
+
# the IP address of the interface.
|
|
18285
18389
|
# Corresponds to the JSON property `ipRange`
|
|
18286
18390
|
# @return [String]
|
|
18287
18391
|
attr_accessor :ip_range
|
|
18288
18392
|
|
|
18289
|
-
# URI of the linked
|
|
18290
|
-
# the router. Each interface can have
|
|
18291
|
-
#
|
|
18393
|
+
# URI of the linked Interconnect attachment. It must be in the same region as
|
|
18394
|
+
# the router. Each interface can have one linked resource, which can be either
|
|
18395
|
+
# be a VPN tunnel or an Interconnect attachment.
|
|
18292
18396
|
# Corresponds to the JSON property `linkedInterconnectAttachment`
|
|
18293
18397
|
# @return [String]
|
|
18294
18398
|
attr_accessor :linked_interconnect_attachment
|
|
18295
18399
|
|
|
18296
|
-
# URI of the linked VPN tunnel
|
|
18297
|
-
# Each interface can have
|
|
18298
|
-
#
|
|
18400
|
+
# URI of the linked VPN tunnel, which must be in the same region as the router.
|
|
18401
|
+
# Each interface can have one linked resource, which can be either a VPN tunnel
|
|
18402
|
+
# or an Interconnect attachment.
|
|
18299
18403
|
# Corresponds to the JSON property `linkedVpnTunnel`
|
|
18300
18404
|
# @return [String]
|
|
18301
18405
|
attr_accessor :linked_vpn_tunnel
|
|
18302
18406
|
|
|
18303
18407
|
# [Output Only] The resource that configures and manages this interface.
|
|
18304
|
-
# MANAGED_BY_USER is the default value and can be managed by
|
|
18305
|
-
# MANAGED_BY_ATTACHMENT is an interface that is configured and managed by
|
|
18306
|
-
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
|
|
18307
|
-
# Google
|
|
18408
|
+
# - MANAGED_BY_USER is the default value and can be managed directly by users.
|
|
18409
|
+
# - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by
|
|
18410
|
+
# Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER.
|
|
18411
|
+
# Google automatically creates, updates, and deletes this type of interface
|
|
18308
18412
|
# when the PARTNER InterconnectAttachment is created, updated, or deleted.
|
|
18309
18413
|
# Corresponds to the JSON property `managementType`
|
|
18310
18414
|
# @return [String]
|
|
@@ -18460,10 +18564,15 @@ module Google
|
|
|
18460
18564
|
# @return [Fixnum]
|
|
18461
18565
|
attr_accessor :icmp_idle_timeout_sec
|
|
18462
18566
|
|
|
18567
|
+
# Configuration of logging on a NAT.
|
|
18568
|
+
# Corresponds to the JSON property `logConfig`
|
|
18569
|
+
# @return [Google::Apis::ComputeV1::RouterNatLogConfig]
|
|
18570
|
+
attr_accessor :log_config
|
|
18571
|
+
|
|
18463
18572
|
# Minimum number of ports allocated to a VM from this NAT config. If not set, a
|
|
18464
|
-
# default number of ports is allocated to a VM. This
|
|
18465
|
-
# nearest power of 2.
|
|
18466
|
-
#
|
|
18573
|
+
# default number of ports is allocated to a VM. This is rounded up to the
|
|
18574
|
+
# nearest power of 2. For example, if the value of this field is 50, at least 64
|
|
18575
|
+
# ports are allocated to a VM.
|
|
18467
18576
|
# Corresponds to the JSON property `minPortsPerVm`
|
|
18468
18577
|
# @return [Fixnum]
|
|
18469
18578
|
attr_accessor :min_ports_per_vm
|
|
@@ -18474,21 +18583,31 @@ module Google
|
|
|
18474
18583
|
# @return [String]
|
|
18475
18584
|
attr_accessor :name
|
|
18476
18585
|
|
|
18477
|
-
# Specify the NatIpAllocateOption
|
|
18478
|
-
#
|
|
18586
|
+
# Specify the NatIpAllocateOption, which can take one of the following values:
|
|
18587
|
+
# - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there
|
|
18588
|
+
# are not enough specified Nat IPs, the Nat service fails for new VMs.
|
|
18589
|
+
# - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't
|
|
18590
|
+
# specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.
|
|
18479
18591
|
# Corresponds to the JSON property `natIpAllocateOption`
|
|
18480
18592
|
# @return [String]
|
|
18481
18593
|
attr_accessor :nat_ip_allocate_option
|
|
18482
18594
|
|
|
18483
|
-
# A list of URLs of the IP resources used for this Nat service. These
|
|
18484
|
-
# be valid static external IP addresses assigned to the project.
|
|
18485
|
-
# subject to change post alpha.
|
|
18595
|
+
# A list of URLs of the IP resources used for this Nat service. These IP
|
|
18596
|
+
# addresses must be valid static external IP addresses assigned to the project.
|
|
18486
18597
|
# Corresponds to the JSON property `natIps`
|
|
18487
18598
|
# @return [Array<String>]
|
|
18488
18599
|
attr_accessor :nat_ips
|
|
18489
18600
|
|
|
18490
|
-
# Specify the Nat option
|
|
18491
|
-
#
|
|
18601
|
+
# Specify the Nat option, which can take one of the following values:
|
|
18602
|
+
# - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are
|
|
18603
|
+
# allowed to Nat.
|
|
18604
|
+
# - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every
|
|
18605
|
+
# Subnetwork are allowed to Nat.
|
|
18606
|
+
# - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in
|
|
18607
|
+
# the field subnetwork below) The default is
|
|
18608
|
+
# SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field
|
|
18609
|
+
# contains ALL_SUBNETWORKS_ALL_IP_RANGES or
|
|
18610
|
+
# ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other
|
|
18492
18611
|
# Router.Nat section in any Router for this network in this region.
|
|
18493
18612
|
# Corresponds to the JSON property `sourceSubnetworkIpRangesToNat`
|
|
18494
18613
|
# @return [String]
|
|
@@ -18525,6 +18644,7 @@ module Google
|
|
|
18525
18644
|
# Update properties of this object
|
|
18526
18645
|
def update!(**args)
|
|
18527
18646
|
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
|
18647
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
|
18528
18648
|
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
|
|
18529
18649
|
@name = args[:name] if args.key?(:name)
|
|
18530
18650
|
@nat_ip_allocate_option = args[:nat_ip_allocate_option] if args.key?(:nat_ip_allocate_option)
|
|
@@ -18537,11 +18657,38 @@ module Google
|
|
|
18537
18657
|
end
|
|
18538
18658
|
end
|
|
18539
18659
|
|
|
18660
|
+
# Configuration of logging on a NAT.
|
|
18661
|
+
class RouterNatLogConfig
|
|
18662
|
+
include Google::Apis::Core::Hashable
|
|
18663
|
+
|
|
18664
|
+
# Indicates whether or not to export logs. This is false by default.
|
|
18665
|
+
# Corresponds to the JSON property `enable`
|
|
18666
|
+
# @return [Boolean]
|
|
18667
|
+
attr_accessor :enable
|
|
18668
|
+
alias_method :enable?, :enable
|
|
18669
|
+
|
|
18670
|
+
# Specifies the desired filtering of logs on this NAT. If unspecified, logs are
|
|
18671
|
+
# exported for all connections handled by this NAT.
|
|
18672
|
+
# Corresponds to the JSON property `filter`
|
|
18673
|
+
# @return [String]
|
|
18674
|
+
attr_accessor :filter
|
|
18675
|
+
|
|
18676
|
+
def initialize(**args)
|
|
18677
|
+
update!(**args)
|
|
18678
|
+
end
|
|
18679
|
+
|
|
18680
|
+
# Update properties of this object
|
|
18681
|
+
def update!(**args)
|
|
18682
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
18683
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
18684
|
+
end
|
|
18685
|
+
end
|
|
18686
|
+
|
|
18540
18687
|
# Defines the IP ranges that want to use NAT for a subnetwork.
|
|
18541
18688
|
class RouterNatSubnetworkToNat
|
|
18542
18689
|
include Google::Apis::Core::Hashable
|
|
18543
18690
|
|
|
18544
|
-
# URL for the subnetwork resource
|
|
18691
|
+
# URL for the subnetwork resource that will use NAT.
|
|
18545
18692
|
# Corresponds to the JSON property `name`
|
|
18546
18693
|
# @return [String]
|
|
18547
18694
|
attr_accessor :name
|
|
@@ -18553,7 +18700,7 @@ module Google
|
|
|
18553
18700
|
# @return [Array<String>]
|
|
18554
18701
|
attr_accessor :secondary_ip_range_names
|
|
18555
18702
|
|
|
18556
|
-
# Specify the options for NAT ranges in the Subnetwork. All
|
|
18703
|
+
# Specify the options for NAT ranges in the Subnetwork. All options of a single
|
|
18557
18704
|
# value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option
|
|
18558
18705
|
# with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"]
|
|
18559
18706
|
# Default: [ALL_IP_RANGES]
|