google-apis-compute_v1 0.79.0 → 0.81.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 +8 -0
- data/lib/google/apis/compute_v1/classes.rb +465 -31
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +190 -0
- data/lib/google/apis/compute_v1/service.rb +970 -270
- metadata +3 -3
@@ -2624,7 +2624,7 @@ module Google
|
|
2624
2624
|
|
2625
2625
|
# The time zone to use when interpreting the schedule. The value of this field
|
2626
2626
|
# must be a time zone name from the tz database: https://en.wikipedia.org/wiki/
|
2627
|
-
# Tz_database. This field is assigned a default value of
|
2627
|
+
# Tz_database. This field is assigned a default value of "UTC" if left empty.
|
2628
2628
|
# Corresponds to the JSON property `timeZone`
|
2629
2629
|
# @return [String]
|
2630
2630
|
attr_accessor :time_zone
|
@@ -3402,11 +3402,11 @@ module Google
|
|
3402
3402
|
# applicable to either: - A regional backend service with the service_protocol
|
3403
3403
|
# set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
|
3404
3404
|
# INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme
|
3405
|
-
# set to INTERNAL_SELF_MANAGED
|
3406
|
-
# is not set to MAGLEV or RING_HASH,
|
3407
|
-
# effect. Only ROUND_ROBIN and RING_HASH
|
3408
|
-
# is referenced by a URL map that is
|
3409
|
-
# validateForProxyless field set to true.
|
3405
|
+
# set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
|
3406
|
+
# sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH,
|
3407
|
+
# session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH
|
3408
|
+
# are supported when the backend service is referenced by a URL map that is
|
3409
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
3410
3410
|
# Corresponds to the JSON property `localityLbPolicy`
|
3411
3411
|
# @return [String]
|
3412
3412
|
attr_accessor :locality_lb_policy
|
@@ -3539,6 +3539,11 @@ module Google
|
|
3539
3539
|
# @return [Fixnum]
|
3540
3540
|
attr_accessor :timeout_sec
|
3541
3541
|
|
3542
|
+
#
|
3543
|
+
# Corresponds to the JSON property `usedBy`
|
3544
|
+
# @return [Array<Google::Apis::ComputeV1::BackendServiceUsedBy>]
|
3545
|
+
attr_accessor :used_by
|
3546
|
+
|
3542
3547
|
def initialize(**args)
|
3543
3548
|
update!(**args)
|
3544
3549
|
end
|
@@ -3585,6 +3590,7 @@ module Google
|
|
3585
3590
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3586
3591
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3587
3592
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3593
|
+
@used_by = args[:used_by] if args.key?(:used_by)
|
3588
3594
|
end
|
3589
3595
|
end
|
3590
3596
|
|
@@ -4233,6 +4239,124 @@ module Google
|
|
4233
4239
|
end
|
4234
4240
|
end
|
4235
4241
|
|
4242
|
+
# Contains a list of usable BackendService resources.
|
4243
|
+
class BackendServiceListUsable
|
4244
|
+
include Google::Apis::Core::Hashable
|
4245
|
+
|
4246
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
4247
|
+
# Corresponds to the JSON property `id`
|
4248
|
+
# @return [String]
|
4249
|
+
attr_accessor :id
|
4250
|
+
|
4251
|
+
# A list of BackendService resources.
|
4252
|
+
# Corresponds to the JSON property `items`
|
4253
|
+
# @return [Array<Google::Apis::ComputeV1::BackendService>]
|
4254
|
+
attr_accessor :items
|
4255
|
+
|
4256
|
+
# [Output Only] Type of resource. Always compute#usableBackendServiceList for
|
4257
|
+
# lists of usable backend services.
|
4258
|
+
# Corresponds to the JSON property `kind`
|
4259
|
+
# @return [String]
|
4260
|
+
attr_accessor :kind
|
4261
|
+
|
4262
|
+
# [Output Only] This token allows you to get the next page of results for list
|
4263
|
+
# requests. If the number of results is larger than maxResults, use the
|
4264
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
4265
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
4266
|
+
# continue paging through the results.
|
4267
|
+
# Corresponds to the JSON property `nextPageToken`
|
4268
|
+
# @return [String]
|
4269
|
+
attr_accessor :next_page_token
|
4270
|
+
|
4271
|
+
# [Output Only] Server-defined URL for this resource.
|
4272
|
+
# Corresponds to the JSON property `selfLink`
|
4273
|
+
# @return [String]
|
4274
|
+
attr_accessor :self_link
|
4275
|
+
|
4276
|
+
# [Output Only] Informational warning message.
|
4277
|
+
# Corresponds to the JSON property `warning`
|
4278
|
+
# @return [Google::Apis::ComputeV1::BackendServiceListUsable::Warning]
|
4279
|
+
attr_accessor :warning
|
4280
|
+
|
4281
|
+
def initialize(**args)
|
4282
|
+
update!(**args)
|
4283
|
+
end
|
4284
|
+
|
4285
|
+
# Update properties of this object
|
4286
|
+
def update!(**args)
|
4287
|
+
@id = args[:id] if args.key?(:id)
|
4288
|
+
@items = args[:items] if args.key?(:items)
|
4289
|
+
@kind = args[:kind] if args.key?(:kind)
|
4290
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4291
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
4292
|
+
@warning = args[:warning] if args.key?(:warning)
|
4293
|
+
end
|
4294
|
+
|
4295
|
+
# [Output Only] Informational warning message.
|
4296
|
+
class Warning
|
4297
|
+
include Google::Apis::Core::Hashable
|
4298
|
+
|
4299
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
4300
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
4301
|
+
# Corresponds to the JSON property `code`
|
4302
|
+
# @return [String]
|
4303
|
+
attr_accessor :code
|
4304
|
+
|
4305
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
4306
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
4307
|
+
# Corresponds to the JSON property `data`
|
4308
|
+
# @return [Array<Google::Apis::ComputeV1::BackendServiceListUsable::Warning::Datum>]
|
4309
|
+
attr_accessor :data
|
4310
|
+
|
4311
|
+
# [Output Only] A human-readable description of the warning code.
|
4312
|
+
# Corresponds to the JSON property `message`
|
4313
|
+
# @return [String]
|
4314
|
+
attr_accessor :message
|
4315
|
+
|
4316
|
+
def initialize(**args)
|
4317
|
+
update!(**args)
|
4318
|
+
end
|
4319
|
+
|
4320
|
+
# Update properties of this object
|
4321
|
+
def update!(**args)
|
4322
|
+
@code = args[:code] if args.key?(:code)
|
4323
|
+
@data = args[:data] if args.key?(:data)
|
4324
|
+
@message = args[:message] if args.key?(:message)
|
4325
|
+
end
|
4326
|
+
|
4327
|
+
#
|
4328
|
+
class Datum
|
4329
|
+
include Google::Apis::Core::Hashable
|
4330
|
+
|
4331
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
4332
|
+
# For example, for warnings where there are no results in a list request for a
|
4333
|
+
# particular zone, this key might be scope and the key value might be the zone
|
4334
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
4335
|
+
# suggested replacement, or a warning about invalid network settings (for
|
4336
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4337
|
+
# for IP forwarding).
|
4338
|
+
# Corresponds to the JSON property `key`
|
4339
|
+
# @return [String]
|
4340
|
+
attr_accessor :key
|
4341
|
+
|
4342
|
+
# [Output Only] A warning data value corresponding to the key.
|
4343
|
+
# Corresponds to the JSON property `value`
|
4344
|
+
# @return [String]
|
4345
|
+
attr_accessor :value
|
4346
|
+
|
4347
|
+
def initialize(**args)
|
4348
|
+
update!(**args)
|
4349
|
+
end
|
4350
|
+
|
4351
|
+
# Update properties of this object
|
4352
|
+
def update!(**args)
|
4353
|
+
@key = args[:key] if args.key?(:key)
|
4354
|
+
@value = args[:value] if args.key?(:value)
|
4355
|
+
end
|
4356
|
+
end
|
4357
|
+
end
|
4358
|
+
end
|
4359
|
+
|
4236
4360
|
# Container for either a built-in LB policy supported by gRPC or Envoy or a
|
4237
4361
|
# custom one implemented by the end user.
|
4238
4362
|
class BackendServiceLocalityLoadBalancingPolicyConfig
|
@@ -4384,6 +4508,25 @@ module Google
|
|
4384
4508
|
end
|
4385
4509
|
end
|
4386
4510
|
|
4511
|
+
#
|
4512
|
+
class BackendServiceUsedBy
|
4513
|
+
include Google::Apis::Core::Hashable
|
4514
|
+
|
4515
|
+
#
|
4516
|
+
# Corresponds to the JSON property `reference`
|
4517
|
+
# @return [String]
|
4518
|
+
attr_accessor :reference
|
4519
|
+
|
4520
|
+
def initialize(**args)
|
4521
|
+
update!(**args)
|
4522
|
+
end
|
4523
|
+
|
4524
|
+
# Update properties of this object
|
4525
|
+
def update!(**args)
|
4526
|
+
@reference = args[:reference] if args.key?(:reference)
|
4527
|
+
end
|
4528
|
+
end
|
4529
|
+
|
4387
4530
|
#
|
4388
4531
|
class BackendServicesScopedList
|
4389
4532
|
include Google::Apis::Core::Hashable
|
@@ -10563,19 +10706,22 @@ module Google
|
|
10563
10706
|
end
|
10564
10707
|
end
|
10565
10708
|
|
10566
|
-
# Represents a
|
10567
|
-
# resources: * [
|
10568
|
-
#
|
10569
|
-
# load
|
10570
|
-
# ).
|
10571
|
-
#
|
10572
|
-
#
|
10573
|
-
#
|
10574
|
-
#
|
10575
|
-
#
|
10576
|
-
# health checks
|
10577
|
-
#
|
10578
|
-
#
|
10709
|
+
# Represents a health check resource. Google Compute Engine has two health check
|
10710
|
+
# resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [
|
10711
|
+
# Global](/compute/docs/reference/rest/v1/healthChecks) These health check
|
10712
|
+
# resources can be used for load balancing and for autohealing VMs in a managed
|
10713
|
+
# instance group (MIG). **Load balancing** The following load balancer can use
|
10714
|
+
# either regional or global health check: * Internal TCP/UDP load balancer The
|
10715
|
+
# following load balancers require regional health check: * Internal HTTP(S)
|
10716
|
+
# load balancer * Backend service-based network load balancer Traffic Director
|
10717
|
+
# and the following load balancers require global health check: * External HTTP(
|
10718
|
+
# S) load balancer * TCP proxy load balancer * SSL proxy load balancer The
|
10719
|
+
# following load balancer require [legacy HTTP health checks](/compute/docs/
|
10720
|
+
# reference/rest/v1/httpHealthChecks): * Target pool-based network load balancer
|
10721
|
+
# **Autohealing in MIGs** The health checks that you use for autohealing VMs in
|
10722
|
+
# a MIG can be either regional or global. For more information, see Set up an
|
10723
|
+
# application health check and autohealing. For more information, see Health
|
10724
|
+
# checks overview.
|
10579
10725
|
class HealthCheck
|
10580
10726
|
include Google::Apis::Core::Hashable
|
10581
10727
|
|
@@ -16328,9 +16474,15 @@ module Google
|
|
16328
16474
|
end
|
16329
16475
|
end
|
16330
16476
|
|
16331
|
-
# Represents an Instance Template resource.
|
16332
|
-
#
|
16333
|
-
#
|
16477
|
+
# Represents an Instance Template resource. Google Compute Engine has two
|
16478
|
+
# Instance Template resources: * [Global](/compute/docs/reference/rest/v1/
|
16479
|
+
# instanceTemplates) * [Regional](/compute/docs/reference/rest/v1/
|
16480
|
+
# regionInstanceTemplates) You can reuse a global instance template in different
|
16481
|
+
# regions whereas you can use a regional instance template in a specified region
|
16482
|
+
# only. If you want to reduce cross-region dependency or achieve data residency,
|
16483
|
+
# use a regional instance template. To create VMs, managed instance groups, and
|
16484
|
+
# reservations, you can use either global or regional instance templates. For
|
16485
|
+
# more information, read Instance Templates.
|
16334
16486
|
class InstanceTemplate
|
16335
16487
|
include Google::Apis::Core::Hashable
|
16336
16488
|
|
@@ -17223,6 +17375,15 @@ module Google
|
|
17223
17375
|
attr_accessor :admin_enabled
|
17224
17376
|
alias_method :admin_enabled?, :admin_enabled
|
17225
17377
|
|
17378
|
+
# [Output only] List of features available for this Interconnect connection,
|
17379
|
+
# which can take one of the following values: - MACSEC If present then the
|
17380
|
+
# Interconnect connection is provisioned on MACsec capable hardware ports. If
|
17381
|
+
# not present then the Interconnect connection is provisioned on non-MACsec
|
17382
|
+
# capable ports and MACsec isn't supported and enabling MACsec fails.
|
17383
|
+
# Corresponds to the JSON property `availableFeatures`
|
17384
|
+
# @return [Array<String>]
|
17385
|
+
attr_accessor :available_features
|
17386
|
+
|
17226
17387
|
# [Output Only] A list of CircuitInfo objects, that describe the individual
|
17227
17388
|
# circuits in this LAG.
|
17228
17389
|
# Corresponds to the JSON property `circuitInfos`
|
@@ -17323,6 +17484,20 @@ module Google
|
|
17323
17484
|
# @return [String]
|
17324
17485
|
attr_accessor :location
|
17325
17486
|
|
17487
|
+
# Configuration information for enabling Media Access Control security (MACsec)
|
17488
|
+
# on this Cloud Interconnect connection between Google and your on-premises
|
17489
|
+
# router.
|
17490
|
+
# Corresponds to the JSON property `macsec`
|
17491
|
+
# @return [Google::Apis::ComputeV1::InterconnectMacsec]
|
17492
|
+
attr_accessor :macsec
|
17493
|
+
|
17494
|
+
# Enable or disable MACsec on this Interconnect connection. MACsec enablement
|
17495
|
+
# fails if the MACsec object is not specified.
|
17496
|
+
# Corresponds to the JSON property `macsecEnabled`
|
17497
|
+
# @return [Boolean]
|
17498
|
+
attr_accessor :macsec_enabled
|
17499
|
+
alias_method :macsec_enabled?, :macsec_enabled
|
17500
|
+
|
17326
17501
|
# Name of the resource. Provided by the client when the resource is created. The
|
17327
17502
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
17328
17503
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -17371,6 +17546,16 @@ module Google
|
|
17371
17546
|
# @return [String]
|
17372
17547
|
attr_accessor :remote_location
|
17373
17548
|
|
17549
|
+
# Optional. List of features requested for this Interconnect connection, which
|
17550
|
+
# can take one of the following values: - MACSEC If specified then the
|
17551
|
+
# connection is created on MACsec capable hardware ports. If not specified, the
|
17552
|
+
# default value is false, which allocates non-MACsec capable ports first if
|
17553
|
+
# available. This parameter can be provided only with Interconnect INSERT. It
|
17554
|
+
# isn't valid for Interconnect PATCH.
|
17555
|
+
# Corresponds to the JSON property `requestedFeatures`
|
17556
|
+
# @return [Array<String>]
|
17557
|
+
attr_accessor :requested_features
|
17558
|
+
|
17374
17559
|
# Target number of physical links in the link bundle, as requested by the
|
17375
17560
|
# customer.
|
17376
17561
|
# Corresponds to the JSON property `requestedLinkCount`
|
@@ -17406,6 +17591,7 @@ module Google
|
|
17406
17591
|
# Update properties of this object
|
17407
17592
|
def update!(**args)
|
17408
17593
|
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
17594
|
+
@available_features = args[:available_features] if args.key?(:available_features)
|
17409
17595
|
@circuit_infos = args[:circuit_infos] if args.key?(:circuit_infos)
|
17410
17596
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
17411
17597
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
@@ -17421,12 +17607,15 @@ module Google
|
|
17421
17607
|
@labels = args[:labels] if args.key?(:labels)
|
17422
17608
|
@link_type = args[:link_type] if args.key?(:link_type)
|
17423
17609
|
@location = args[:location] if args.key?(:location)
|
17610
|
+
@macsec = args[:macsec] if args.key?(:macsec)
|
17611
|
+
@macsec_enabled = args[:macsec_enabled] if args.key?(:macsec_enabled)
|
17424
17612
|
@name = args[:name] if args.key?(:name)
|
17425
17613
|
@noc_contact_email = args[:noc_contact_email] if args.key?(:noc_contact_email)
|
17426
17614
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
17427
17615
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
17428
17616
|
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
17429
17617
|
@remote_location = args[:remote_location] if args.key?(:remote_location)
|
17618
|
+
@requested_features = args[:requested_features] if args.key?(:requested_features)
|
17430
17619
|
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
17431
17620
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
17432
17621
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -18464,6 +18653,11 @@ module Google
|
|
18464
18653
|
# @return [Google::Apis::ComputeV1::InterconnectDiagnosticsLinkLacpStatus]
|
18465
18654
|
attr_accessor :lacp_status
|
18466
18655
|
|
18656
|
+
# Describes the status of MACsec encryption on the link.
|
18657
|
+
# Corresponds to the JSON property `macsec`
|
18658
|
+
# @return [Google::Apis::ComputeV1::InterconnectDiagnosticsMacsecStatus]
|
18659
|
+
attr_accessor :macsec
|
18660
|
+
|
18467
18661
|
# The operational status of the link.
|
18468
18662
|
# Corresponds to the JSON property `operationalStatus`
|
18469
18663
|
# @return [String]
|
@@ -18491,12 +18685,40 @@ module Google
|
|
18491
18685
|
@circuit_id = args[:circuit_id] if args.key?(:circuit_id)
|
18492
18686
|
@google_demarc = args[:google_demarc] if args.key?(:google_demarc)
|
18493
18687
|
@lacp_status = args[:lacp_status] if args.key?(:lacp_status)
|
18688
|
+
@macsec = args[:macsec] if args.key?(:macsec)
|
18494
18689
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
18495
18690
|
@receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
|
18496
18691
|
@transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
|
18497
18692
|
end
|
18498
18693
|
end
|
18499
18694
|
|
18695
|
+
# Describes the status of MACsec encryption on the link.
|
18696
|
+
class InterconnectDiagnosticsMacsecStatus
|
18697
|
+
include Google::Apis::Core::Hashable
|
18698
|
+
|
18699
|
+
# Indicates the Connectivity Association Key Name (CKN) currently being used if
|
18700
|
+
# MACsec is operational.
|
18701
|
+
# Corresponds to the JSON property `ckn`
|
18702
|
+
# @return [String]
|
18703
|
+
attr_accessor :ckn
|
18704
|
+
|
18705
|
+
# Indicates whether or not MACsec is operational on this link.
|
18706
|
+
# Corresponds to the JSON property `operational`
|
18707
|
+
# @return [Boolean]
|
18708
|
+
attr_accessor :operational
|
18709
|
+
alias_method :operational?, :operational
|
18710
|
+
|
18711
|
+
def initialize(**args)
|
18712
|
+
update!(**args)
|
18713
|
+
end
|
18714
|
+
|
18715
|
+
# Update properties of this object
|
18716
|
+
def update!(**args)
|
18717
|
+
@ckn = args[:ckn] if args.key?(:ckn)
|
18718
|
+
@operational = args[:operational] if args.key?(:operational)
|
18719
|
+
end
|
18720
|
+
end
|
18721
|
+
|
18500
18722
|
# Response to the list request, and contains a list of interconnects.
|
18501
18723
|
class InterconnectList
|
18502
18724
|
include Google::Apis::Core::Hashable
|
@@ -18635,6 +18857,19 @@ module Google
|
|
18635
18857
|
# @return [String]
|
18636
18858
|
attr_accessor :availability_zone
|
18637
18859
|
|
18860
|
+
# [Output only] List of features available at this InterconnectLocation, which
|
18861
|
+
# can take one of the following values: - MACSEC
|
18862
|
+
# Corresponds to the JSON property `availableFeatures`
|
18863
|
+
# @return [Array<String>]
|
18864
|
+
attr_accessor :available_features
|
18865
|
+
|
18866
|
+
# [Output only] List of link types available at this InterconnectLocation, which
|
18867
|
+
# can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
|
18868
|
+
# LINK_TYPE_ETHERNET_100G_LR
|
18869
|
+
# Corresponds to the JSON property `availableLinkTypes`
|
18870
|
+
# @return [Array<String>]
|
18871
|
+
attr_accessor :available_link_types
|
18872
|
+
|
18638
18873
|
# [Output Only] Metropolitan area designator that indicates which city an
|
18639
18874
|
# interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
|
18640
18875
|
# Corresponds to the JSON property `city`
|
@@ -18725,6 +18960,8 @@ module Google
|
|
18725
18960
|
def update!(**args)
|
18726
18961
|
@address = args[:address] if args.key?(:address)
|
18727
18962
|
@availability_zone = args[:availability_zone] if args.key?(:availability_zone)
|
18963
|
+
@available_features = args[:available_features] if args.key?(:available_features)
|
18964
|
+
@available_link_types = args[:available_link_types] if args.key?(:available_link_types)
|
18728
18965
|
@city = args[:city] if args.key?(:city)
|
18729
18966
|
@continent = args[:continent] if args.key?(:continent)
|
18730
18967
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -18893,6 +19130,138 @@ module Google
|
|
18893
19130
|
end
|
18894
19131
|
end
|
18895
19132
|
|
19133
|
+
# Configuration information for enabling Media Access Control security (MACsec)
|
19134
|
+
# on this Cloud Interconnect connection between Google and your on-premises
|
19135
|
+
# router.
|
19136
|
+
class InterconnectMacsec
|
19137
|
+
include Google::Apis::Core::Hashable
|
19138
|
+
|
19139
|
+
# If set to true, the Interconnect connection is configured with a should-secure
|
19140
|
+
# MACsec security policy, that allows the Google router to fallback to cleartext
|
19141
|
+
# traffic if the MKA session cannot be established. By default, the Interconnect
|
19142
|
+
# connection is configured with a must-secure security policy that drops all
|
19143
|
+
# traffic if the MKA session cannot be established with your router.
|
19144
|
+
# Corresponds to the JSON property `failOpen`
|
19145
|
+
# @return [Boolean]
|
19146
|
+
attr_accessor :fail_open
|
19147
|
+
alias_method :fail_open?, :fail_open
|
19148
|
+
|
19149
|
+
# Required. A keychain placeholder describing a set of named key objects along
|
19150
|
+
# with their start times. A MACsec CKN/CAK is generated for each key in the key
|
19151
|
+
# chain. Google router automatically picks the key with the most recent
|
19152
|
+
# startTime when establishing or re-establishing a MACsec secure link.
|
19153
|
+
# Corresponds to the JSON property `preSharedKeys`
|
19154
|
+
# @return [Array<Google::Apis::ComputeV1::InterconnectMacsecPreSharedKey>]
|
19155
|
+
attr_accessor :pre_shared_keys
|
19156
|
+
|
19157
|
+
def initialize(**args)
|
19158
|
+
update!(**args)
|
19159
|
+
end
|
19160
|
+
|
19161
|
+
# Update properties of this object
|
19162
|
+
def update!(**args)
|
19163
|
+
@fail_open = args[:fail_open] if args.key?(:fail_open)
|
19164
|
+
@pre_shared_keys = args[:pre_shared_keys] if args.key?(:pre_shared_keys)
|
19165
|
+
end
|
19166
|
+
end
|
19167
|
+
|
19168
|
+
# MACsec configuration information for the Interconnect connection. Contains the
|
19169
|
+
# generated Connectivity Association Key Name (CKN) and the key (CAK) for this
|
19170
|
+
# Interconnect connection.
|
19171
|
+
class InterconnectMacsecConfig
|
19172
|
+
include Google::Apis::Core::Hashable
|
19173
|
+
|
19174
|
+
# A keychain placeholder describing a set of named key objects along with their
|
19175
|
+
# start times. A MACsec CKN/CAK is generated for each key in the key chain.
|
19176
|
+
# Google router automatically picks the key with the most recent startTime when
|
19177
|
+
# establishing or re-establishing a MACsec secure link.
|
19178
|
+
# Corresponds to the JSON property `preSharedKeys`
|
19179
|
+
# @return [Array<Google::Apis::ComputeV1::InterconnectMacsecConfigPreSharedKey>]
|
19180
|
+
attr_accessor :pre_shared_keys
|
19181
|
+
|
19182
|
+
def initialize(**args)
|
19183
|
+
update!(**args)
|
19184
|
+
end
|
19185
|
+
|
19186
|
+
# Update properties of this object
|
19187
|
+
def update!(**args)
|
19188
|
+
@pre_shared_keys = args[:pre_shared_keys] if args.key?(:pre_shared_keys)
|
19189
|
+
end
|
19190
|
+
end
|
19191
|
+
|
19192
|
+
# Describes a pre-shared key used to setup MACsec in static connectivity
|
19193
|
+
# association key (CAK) mode.
|
19194
|
+
class InterconnectMacsecConfigPreSharedKey
|
19195
|
+
include Google::Apis::Core::Hashable
|
19196
|
+
|
19197
|
+
# An auto-generated Connectivity Association Key (CAK) for this key.
|
19198
|
+
# Corresponds to the JSON property `cak`
|
19199
|
+
# @return [String]
|
19200
|
+
attr_accessor :cak
|
19201
|
+
|
19202
|
+
# An auto-generated Connectivity Association Key Name (CKN) for this key.
|
19203
|
+
# Corresponds to the JSON property `ckn`
|
19204
|
+
# @return [String]
|
19205
|
+
attr_accessor :ckn
|
19206
|
+
|
19207
|
+
# User provided name for this pre-shared key.
|
19208
|
+
# Corresponds to the JSON property `name`
|
19209
|
+
# @return [String]
|
19210
|
+
attr_accessor :name
|
19211
|
+
|
19212
|
+
# User provided timestamp on or after which this key is valid.
|
19213
|
+
# Corresponds to the JSON property `startTime`
|
19214
|
+
# @return [String]
|
19215
|
+
attr_accessor :start_time
|
19216
|
+
|
19217
|
+
def initialize(**args)
|
19218
|
+
update!(**args)
|
19219
|
+
end
|
19220
|
+
|
19221
|
+
# Update properties of this object
|
19222
|
+
def update!(**args)
|
19223
|
+
@cak = args[:cak] if args.key?(:cak)
|
19224
|
+
@ckn = args[:ckn] if args.key?(:ckn)
|
19225
|
+
@name = args[:name] if args.key?(:name)
|
19226
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
19227
|
+
end
|
19228
|
+
end
|
19229
|
+
|
19230
|
+
# Describes a pre-shared key used to setup MACsec in static connectivity
|
19231
|
+
# association key (CAK) mode.
|
19232
|
+
class InterconnectMacsecPreSharedKey
|
19233
|
+
include Google::Apis::Core::Hashable
|
19234
|
+
|
19235
|
+
# Required. A name for this pre-shared key. The name must be 1-63 characters
|
19236
|
+
# long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
19237
|
+
# long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
19238
|
+
# the first character must be a lowercase letter, and all following characters
|
19239
|
+
# must be a dash, lowercase letter, or digit, except the last character, which
|
19240
|
+
# cannot be a dash.
|
19241
|
+
# Corresponds to the JSON property `name`
|
19242
|
+
# @return [String]
|
19243
|
+
attr_accessor :name
|
19244
|
+
|
19245
|
+
# A RFC3339 timestamp on or after which the key is valid. startTime can be in
|
19246
|
+
# the future. If the keychain has a single key, startTime can be omitted. If the
|
19247
|
+
# keychain has multiple keys, startTime is mandatory for each key. The start
|
19248
|
+
# times of keys must be in increasing order. The start times of two consecutive
|
19249
|
+
# keys must be at least 6 hours apart.
|
19250
|
+
# Corresponds to the JSON property `startTime`
|
19251
|
+
# @return [String]
|
19252
|
+
attr_accessor :start_time
|
19253
|
+
|
19254
|
+
def initialize(**args)
|
19255
|
+
update!(**args)
|
19256
|
+
end
|
19257
|
+
|
19258
|
+
# Update properties of this object
|
19259
|
+
def update!(**args)
|
19260
|
+
@name = args[:name] if args.key?(:name)
|
19261
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
19262
|
+
end
|
19263
|
+
end
|
19264
|
+
|
18896
19265
|
# Description of a planned outage on this Interconnect.
|
18897
19266
|
class InterconnectOutageNotification
|
18898
19267
|
include Google::Apis::Core::Hashable
|
@@ -19354,6 +19723,33 @@ module Google
|
|
19354
19723
|
end
|
19355
19724
|
end
|
19356
19725
|
|
19726
|
+
# Response for the InterconnectsGetMacsecConfigRequest.
|
19727
|
+
class InterconnectsGetMacsecConfigResponse
|
19728
|
+
include Google::Apis::Core::Hashable
|
19729
|
+
|
19730
|
+
# end_interface: MixerGetResponseWithEtagBuilder
|
19731
|
+
# Corresponds to the JSON property `etag`
|
19732
|
+
# @return [String]
|
19733
|
+
attr_accessor :etag
|
19734
|
+
|
19735
|
+
# MACsec configuration information for the Interconnect connection. Contains the
|
19736
|
+
# generated Connectivity Association Key Name (CKN) and the key (CAK) for this
|
19737
|
+
# Interconnect connection.
|
19738
|
+
# Corresponds to the JSON property `result`
|
19739
|
+
# @return [Google::Apis::ComputeV1::InterconnectMacsecConfig]
|
19740
|
+
attr_accessor :result
|
19741
|
+
|
19742
|
+
def initialize(**args)
|
19743
|
+
update!(**args)
|
19744
|
+
end
|
19745
|
+
|
19746
|
+
# Update properties of this object
|
19747
|
+
def update!(**args)
|
19748
|
+
@etag = args[:etag] if args.key?(:etag)
|
19749
|
+
@result = args[:result] if args.key?(:result)
|
19750
|
+
end
|
19751
|
+
end
|
19752
|
+
|
19357
19753
|
# Represents a License resource. A License represents billing and aggregate
|
19358
19754
|
# usage data for public and marketplace images. *Caution* This resource is
|
19359
19755
|
# intended for use only by third-party partners who are creating Cloud
|
@@ -30105,6 +30501,44 @@ module Google
|
|
30105
30501
|
end
|
30106
30502
|
end
|
30107
30503
|
|
30504
|
+
#
|
30505
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
30506
|
+
include Google::Apis::Core::Hashable
|
30507
|
+
|
30508
|
+
# The list of network endpoints to be attached.
|
30509
|
+
# Corresponds to the JSON property `networkEndpoints`
|
30510
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpoint>]
|
30511
|
+
attr_accessor :network_endpoints
|
30512
|
+
|
30513
|
+
def initialize(**args)
|
30514
|
+
update!(**args)
|
30515
|
+
end
|
30516
|
+
|
30517
|
+
# Update properties of this object
|
30518
|
+
def update!(**args)
|
30519
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
30520
|
+
end
|
30521
|
+
end
|
30522
|
+
|
30523
|
+
#
|
30524
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
30525
|
+
include Google::Apis::Core::Hashable
|
30526
|
+
|
30527
|
+
# The list of network endpoints to be detached.
|
30528
|
+
# Corresponds to the JSON property `networkEndpoints`
|
30529
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpoint>]
|
30530
|
+
attr_accessor :network_endpoints
|
30531
|
+
|
30532
|
+
def initialize(**args)
|
30533
|
+
update!(**args)
|
30534
|
+
end
|
30535
|
+
|
30536
|
+
# Update properties of this object
|
30537
|
+
def update!(**args)
|
30538
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
30539
|
+
end
|
30540
|
+
end
|
30541
|
+
|
30108
30542
|
#
|
30109
30543
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
30110
30544
|
include Google::Apis::Core::Hashable
|
@@ -35878,7 +36312,7 @@ module Google
|
|
35878
36312
|
# affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an
|
35879
36313
|
# ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the
|
35880
36314
|
# reject list. For newly created service attachment, this boolean defaults to
|
35881
|
-
#
|
36315
|
+
# false.
|
35882
36316
|
# Corresponds to the JSON property `reconcileConnections`
|
35883
36317
|
# @return [Boolean]
|
35884
36318
|
attr_accessor :reconcile_connections
|
@@ -39444,14 +39878,14 @@ module Google
|
|
39444
39878
|
# Represents a Target HTTP Proxy resource. Google Compute Engine has two Target
|
39445
39879
|
# HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/
|
39446
39880
|
# targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/
|
39447
|
-
# regionTargetHttpProxies) A target HTTP proxy is a component of
|
39448
|
-
# balancers. * targetHttpProxies are used by global external
|
39449
|
-
# Balancers, classic Application Load Balancers, cross-region
|
39450
|
-
# Application Load Balancers, and Traffic Director. *
|
39451
|
-
# are used by regional internal Application Load
|
39452
|
-
# Application Load Balancers. Forwarding rules
|
39453
|
-
# and the target proxy then references a URL map.
|
39454
|
-
# Using Target Proxies and Forwarding rule concepts.
|
39881
|
+
# regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud
|
39882
|
+
# HTTP load balancers. * targetHttpProxies are used by global external
|
39883
|
+
# Application Load Balancers, classic Application Load Balancers, cross-region
|
39884
|
+
# internal Application Load Balancers, and Traffic Director. *
|
39885
|
+
# regionTargetHttpProxies are used by regional internal Application Load
|
39886
|
+
# Balancers and regional external Application Load Balancers. Forwarding rules
|
39887
|
+
# reference a target HTTP proxy, and the target proxy then references a URL map.
|
39888
|
+
# For more information, read Using Target Proxies and Forwarding rule concepts.
|
39455
39889
|
class TargetHttpProxy
|
39456
39890
|
include Google::Apis::Core::Hashable
|
39457
39891
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.81.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230923"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|