google-apis-networkconnectivity_v1 0.64.0 → 0.66.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/networkconnectivity_v1/classes.rb +227 -17
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +50 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +62 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c15876a7fcadd67a059a835d0a00bbc2496b4e23742958f0776e27bd7252745
|
4
|
+
data.tar.gz: d4e3e885378eb2138dee25c103a33dfc0169845523656855abe12d64e719710e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e994be7c3d290052b353c74ff2e88c10e18e094d074f270a9f19bfa2d0f8b6ea0659b7de76fb4ccde0cc0004a82e31c499bf92ead75ccf1c31160aa5b778d73
|
7
|
+
data.tar.gz: 6e0b8623873405c0b60773807402f353e3a05a4a8d3135e67196edbe96754ec009e1b948bf676c19486a528401b131f5e5cc8024d7779576474e8f5d98074dcf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.66.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250925
|
6
|
+
|
7
|
+
### v0.65.0 (2025-09-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250910
|
10
|
+
|
3
11
|
### v0.64.0 (2025-09-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250829
|
@@ -389,6 +389,63 @@ module Google
|
|
389
389
|
end
|
390
390
|
end
|
391
391
|
|
392
|
+
# Request for CheckConsumerConfig.
|
393
|
+
class CheckConsumerConfigRequest
|
394
|
+
include Google::Apis::Core::Hashable
|
395
|
+
|
396
|
+
# Required. Full resource name of the consumer network. Example: - projects/`
|
397
|
+
# project`/global/networks/`network`.
|
398
|
+
# Corresponds to the JSON property `consumerNetwork`
|
399
|
+
# @return [String]
|
400
|
+
attr_accessor :consumer_network
|
401
|
+
|
402
|
+
# The project number or ID where the PSC endpoint is to be created.
|
403
|
+
# Corresponds to the JSON property `endpointProject`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :endpoint_project
|
406
|
+
|
407
|
+
# The requested IP Version
|
408
|
+
# Corresponds to the JSON property `requestedIpVersion`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :requested_ip_version
|
411
|
+
|
412
|
+
# Required. The service class identifier of the producer.
|
413
|
+
# Corresponds to the JSON property `serviceClass`
|
414
|
+
# @return [String]
|
415
|
+
attr_accessor :service_class
|
416
|
+
|
417
|
+
def initialize(**args)
|
418
|
+
update!(**args)
|
419
|
+
end
|
420
|
+
|
421
|
+
# Update properties of this object
|
422
|
+
def update!(**args)
|
423
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
424
|
+
@endpoint_project = args[:endpoint_project] if args.key?(:endpoint_project)
|
425
|
+
@requested_ip_version = args[:requested_ip_version] if args.key?(:requested_ip_version)
|
426
|
+
@service_class = args[:service_class] if args.key?(:service_class)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
# Response for CheckConsumerConfig.
|
431
|
+
class CheckConsumerConfigResponse
|
432
|
+
include Google::Apis::Core::Hashable
|
433
|
+
|
434
|
+
# List of validation errors. If the list is empty, the consumer config is valid.
|
435
|
+
# Corresponds to the JSON property `errors`
|
436
|
+
# @return [Array<String>]
|
437
|
+
attr_accessor :errors
|
438
|
+
|
439
|
+
def initialize(**args)
|
440
|
+
update!(**args)
|
441
|
+
end
|
442
|
+
|
443
|
+
# Update properties of this object
|
444
|
+
def update!(**args)
|
445
|
+
@errors = args[:errors] if args.key?(:errors)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
392
449
|
# Allow the producer to specify which consumers can connect to it.
|
393
450
|
class ConsumerPscConfig
|
394
451
|
include Google::Apis::Core::Hashable
|
@@ -854,6 +911,13 @@ module Google
|
|
854
911
|
# @return [Array<Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation>]
|
855
912
|
attr_accessor :operations
|
856
913
|
|
914
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
915
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
916
|
+
# when attempting to list all resources across all supported locations.
|
917
|
+
# Corresponds to the JSON property `unreachable`
|
918
|
+
# @return [Array<String>]
|
919
|
+
attr_accessor :unreachable
|
920
|
+
|
857
921
|
def initialize(**args)
|
858
922
|
update!(**args)
|
859
923
|
end
|
@@ -862,6 +926,7 @@ module Google
|
|
862
926
|
def update!(**args)
|
863
927
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
864
928
|
@operations = args[:operations] if args.key?(:operations)
|
929
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
865
930
|
end
|
866
931
|
end
|
867
932
|
|
@@ -1998,7 +2063,7 @@ module Google
|
|
1998
2063
|
# @return [String]
|
1999
2064
|
attr_accessor :next_page_token
|
2000
2065
|
|
2001
|
-
# The list of RemoteTransportProfiles
|
2066
|
+
# The list of RemoteTransportProfiles.
|
2002
2067
|
# Corresponds to the JSON property `remoteTransportProfiles`
|
2003
2068
|
# @return [Array<Google::Apis::NetworkconnectivityV1::RemoteTransportProfile>]
|
2004
2069
|
attr_accessor :remote_transport_profiles
|
@@ -2247,7 +2312,7 @@ module Google
|
|
2247
2312
|
end
|
2248
2313
|
end
|
2249
2314
|
|
2250
|
-
# Message for response to listing Transports
|
2315
|
+
# Message for response to listing Transports.
|
2251
2316
|
class ListTransportsResponse
|
2252
2317
|
include Google::Apis::Core::Hashable
|
2253
2318
|
|
@@ -2256,7 +2321,7 @@ module Google
|
|
2256
2321
|
# @return [String]
|
2257
2322
|
attr_accessor :next_page_token
|
2258
2323
|
|
2259
|
-
# The list of Transport
|
2324
|
+
# The list of Transport.
|
2260
2325
|
# Corresponds to the JSON property `transports`
|
2261
2326
|
# @return [Array<Google::Apis::NetworkconnectivityV1::Transport>]
|
2262
2327
|
attr_accessor :transports
|
@@ -3231,8 +3296,8 @@ module Google
|
|
3231
3296
|
# @return [String]
|
3232
3297
|
attr_accessor :name
|
3233
3298
|
|
3234
|
-
# The name of the VPC network for this private regional endpoint.
|
3235
|
-
# projects/`project`/global/networks/`network``
|
3299
|
+
# Optional. The name of the VPC network for this private regional endpoint.
|
3300
|
+
# Format: `projects/`project`/global/networks/`network``
|
3236
3301
|
# Corresponds to the JSON property `network`
|
3237
3302
|
# @return [String]
|
3238
3303
|
attr_accessor :network
|
@@ -3244,8 +3309,9 @@ module Google
|
|
3244
3309
|
# @return [String]
|
3245
3310
|
attr_accessor :psc_forwarding_rule
|
3246
3311
|
|
3247
|
-
# The name of the subnetwork from which the IP address will be
|
3248
|
-
# `projects/`project`/regions/`region`/subnetworks/`
|
3312
|
+
# Optional. The name of the subnetwork from which the IP address will be
|
3313
|
+
# allocated. Format: `projects/`project`/regions/`region`/subnetworks/`
|
3314
|
+
# subnetwork``
|
3249
3315
|
# Corresponds to the JSON property `subnetwork`
|
3250
3316
|
# @return [String]
|
3251
3317
|
attr_accessor :subnetwork
|
@@ -3394,26 +3460,72 @@ module Google
|
|
3394
3460
|
end
|
3395
3461
|
end
|
3396
3462
|
|
3397
|
-
# Message describing RemoteTransportProfile object
|
3463
|
+
# Message describing RemoteTransportProfile object.
|
3398
3464
|
class RemoteTransportProfile
|
3399
3465
|
include Google::Apis::Core::Hashable
|
3400
3466
|
|
3401
|
-
# Output only. [Output only] Create time stamp
|
3467
|
+
# Output only. [Output only] Create time stamp.
|
3402
3468
|
# Corresponds to the JSON property `createTime`
|
3403
3469
|
# @return [String]
|
3404
3470
|
attr_accessor :create_time
|
3405
3471
|
|
3406
|
-
#
|
3472
|
+
# Output only. Description of the profile.
|
3473
|
+
# Corresponds to the JSON property `description`
|
3474
|
+
# @return [String]
|
3475
|
+
attr_accessor :description
|
3476
|
+
|
3477
|
+
# Output only. [Output only] Type of provisioning flows supported by this
|
3478
|
+
# profile.
|
3479
|
+
# Corresponds to the JSON property `flow`
|
3480
|
+
# @return [String]
|
3481
|
+
attr_accessor :flow
|
3482
|
+
|
3483
|
+
# Output only. Labels as key value pairs.
|
3407
3484
|
# Corresponds to the JSON property `labels`
|
3408
3485
|
# @return [Hash<String,String>]
|
3409
3486
|
attr_accessor :labels
|
3410
3487
|
|
3411
|
-
# Identifier.
|
3488
|
+
# Identifier. Name of the resource in the format of $provider-$site.
|
3412
3489
|
# Corresponds to the JSON property `name`
|
3413
3490
|
# @return [String]
|
3414
3491
|
attr_accessor :name
|
3415
3492
|
|
3416
|
-
# Output only. [Output only]
|
3493
|
+
# Output only. [Output only] Order state for this profile.
|
3494
|
+
# Corresponds to the JSON property `orderState`
|
3495
|
+
# @return [String]
|
3496
|
+
attr_accessor :order_state
|
3497
|
+
|
3498
|
+
# Output only. Name of the provider on the other end of this profile. E.g. “
|
3499
|
+
# Amazon Web Services” or “Microsoft Azure”.
|
3500
|
+
# Corresponds to the JSON property `provider`
|
3501
|
+
# @return [String]
|
3502
|
+
attr_accessor :provider
|
3503
|
+
|
3504
|
+
# Output only. If the profile is a Cloud Service Provider with compute resources,
|
3505
|
+
# this is populated with the region where connectivity is being established. If
|
3506
|
+
# the profile provides facility-level selection, this is an identity of the
|
3507
|
+
# facility any connections on this profile are going through.
|
3508
|
+
# Corresponds to the JSON property `providerSite`
|
3509
|
+
# @return [String]
|
3510
|
+
attr_accessor :provider_site
|
3511
|
+
|
3512
|
+
# Output only. GCP Region where this profile is available.
|
3513
|
+
# Corresponds to the JSON property `region`
|
3514
|
+
# @return [String]
|
3515
|
+
attr_accessor :region
|
3516
|
+
|
3517
|
+
# Output only. [Output only] Availability class that will be configured for this
|
3518
|
+
# particular RemoteTransportProfile.
|
3519
|
+
# Corresponds to the JSON property `sla`
|
3520
|
+
# @return [String]
|
3521
|
+
attr_accessor :sla
|
3522
|
+
|
3523
|
+
# Output only. List of bandwidth enum values that are supported by this profile.
|
3524
|
+
# Corresponds to the JSON property `supportedBandwidths`
|
3525
|
+
# @return [Array<String>]
|
3526
|
+
attr_accessor :supported_bandwidths
|
3527
|
+
|
3528
|
+
# Output only. [Output only] Update time stamp.
|
3417
3529
|
# Corresponds to the JSON property `updateTime`
|
3418
3530
|
# @return [String]
|
3419
3531
|
attr_accessor :update_time
|
@@ -3425,8 +3537,16 @@ module Google
|
|
3425
3537
|
# Update properties of this object
|
3426
3538
|
def update!(**args)
|
3427
3539
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3540
|
+
@description = args[:description] if args.key?(:description)
|
3541
|
+
@flow = args[:flow] if args.key?(:flow)
|
3428
3542
|
@labels = args[:labels] if args.key?(:labels)
|
3429
3543
|
@name = args[:name] if args.key?(:name)
|
3544
|
+
@order_state = args[:order_state] if args.key?(:order_state)
|
3545
|
+
@provider = args[:provider] if args.key?(:provider)
|
3546
|
+
@provider_site = args[:provider_site] if args.key?(:provider_site)
|
3547
|
+
@region = args[:region] if args.key?(:region)
|
3548
|
+
@sla = args[:sla] if args.key?(:sla)
|
3549
|
+
@supported_bandwidths = args[:supported_bandwidths] if args.key?(:supported_bandwidths)
|
3430
3550
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3431
3551
|
end
|
3432
3552
|
end
|
@@ -4460,26 +4580,104 @@ module Google
|
|
4460
4580
|
end
|
4461
4581
|
end
|
4462
4582
|
|
4463
|
-
# Message describing Transport object
|
4583
|
+
# Message describing Transport object.
|
4464
4584
|
class Transport
|
4465
4585
|
include Google::Apis::Core::Hashable
|
4466
4586
|
|
4467
|
-
#
|
4587
|
+
# Optional. Administrative state of the underlying connectivity. If set to true (
|
4588
|
+
# default), connectivity should be available between your environments. If set
|
4589
|
+
# to false, the connectivity over these links is disabled. Disabling your
|
4590
|
+
# Transport does not affect billing, and retains the underlying network
|
4591
|
+
# bandwidth associated with the connectivity.
|
4592
|
+
# Corresponds to the JSON property `adminEnabled`
|
4593
|
+
# @return [Boolean]
|
4594
|
+
attr_accessor :admin_enabled
|
4595
|
+
alias_method :admin_enabled?, :admin_enabled
|
4596
|
+
|
4597
|
+
# Optional. [Preview only] List of IP Prefixes that will be advertised to the
|
4598
|
+
# remote provider. Both IPv4 and IPv6 addresses are supported.
|
4599
|
+
# Corresponds to the JSON property `advertisedRoutes`
|
4600
|
+
# @return [Array<String>]
|
4601
|
+
attr_accessor :advertised_routes
|
4602
|
+
|
4603
|
+
# Required. Bandwidth of the Transport. This must be one of the supported
|
4604
|
+
# bandwidths for the remote profile.
|
4605
|
+
# Corresponds to the JSON property `bandwidth`
|
4606
|
+
# @return [String]
|
4607
|
+
attr_accessor :bandwidth
|
4608
|
+
|
4609
|
+
# Output only. [Output only] Create time stamp.
|
4468
4610
|
# Corresponds to the JSON property `createTime`
|
4469
4611
|
# @return [String]
|
4470
4612
|
attr_accessor :create_time
|
4471
4613
|
|
4472
|
-
# Optional.
|
4614
|
+
# Optional. Description of the Transport.
|
4615
|
+
# Corresponds to the JSON property `description`
|
4616
|
+
# @return [String]
|
4617
|
+
attr_accessor :description
|
4618
|
+
|
4619
|
+
# Output only. [Output only] Google-generated activation key. This is only
|
4620
|
+
# output if the selected profile supports an OUTPUT key flow. Inputting this to
|
4621
|
+
# the provider is only valid while the resource is in a PENDING_KEY state. Once
|
4622
|
+
# the provider has accepted the key, the resource will move to the CONFIGURING
|
4623
|
+
# state.
|
4624
|
+
# Corresponds to the JSON property `generatedActivationKey`
|
4625
|
+
# @return [String]
|
4626
|
+
attr_accessor :generated_activation_key
|
4627
|
+
|
4628
|
+
# Optional. Labels as key value pairs.
|
4473
4629
|
# Corresponds to the JSON property `labels`
|
4474
4630
|
# @return [Hash<String,String>]
|
4475
4631
|
attr_accessor :labels
|
4476
4632
|
|
4477
|
-
#
|
4633
|
+
# Output only. [Output only] The maximum transmission unit (MTU) of a packet
|
4634
|
+
# that can be sent over this transport.
|
4635
|
+
# Corresponds to the JSON property `mtuLimit`
|
4636
|
+
# @return [Fixnum]
|
4637
|
+
attr_accessor :mtu_limit
|
4638
|
+
|
4639
|
+
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
|
4478
4640
|
# Corresponds to the JSON property `name`
|
4479
4641
|
# @return [String]
|
4480
4642
|
attr_accessor :name
|
4481
4643
|
|
4482
|
-
#
|
4644
|
+
# Required. [Preview only] Resource URL of the Network that will be peered with
|
4645
|
+
# this Transport. This field must be provided during resource creation and
|
4646
|
+
# cannot be changed.
|
4647
|
+
# Corresponds to the JSON property `network`
|
4648
|
+
# @return [String]
|
4649
|
+
attr_accessor :network
|
4650
|
+
|
4651
|
+
# Optional. Key used for establishing a connection with the remote transport.
|
4652
|
+
# This key can only be provided if the profile supports an INPUT key flow and
|
4653
|
+
# the resource is in the PENDING_KEY state.
|
4654
|
+
# Corresponds to the JSON property `providedActivationKey`
|
4655
|
+
# @return [String]
|
4656
|
+
attr_accessor :provided_activation_key
|
4657
|
+
|
4658
|
+
# Required. GCP Region where this Transport is located.
|
4659
|
+
# Corresponds to the JSON property `region`
|
4660
|
+
# @return [String]
|
4661
|
+
attr_accessor :region
|
4662
|
+
|
4663
|
+
# Required. Resource URL of the remoteTransportProfile that this Transport is
|
4664
|
+
# connecting to. Format: projects/`project`/locations/`location`/
|
4665
|
+
# remoteTransportProfiles/`remote_transport_profile`
|
4666
|
+
# Corresponds to the JSON property `remoteProfile`
|
4667
|
+
# @return [String]
|
4668
|
+
attr_accessor :remote_profile
|
4669
|
+
|
4670
|
+
# Optional. IP version stack for the established connectivity.
|
4671
|
+
# Corresponds to the JSON property `stackType`
|
4672
|
+
# @return [String]
|
4673
|
+
attr_accessor :stack_type
|
4674
|
+
|
4675
|
+
# Output only. [Output only] State of the underlying connectivity.
|
4676
|
+
# Corresponds to the JSON property `state`
|
4677
|
+
# @return [String]
|
4678
|
+
attr_accessor :state
|
4679
|
+
|
4680
|
+
# Output only. [Output only] Update time stamp.
|
4483
4681
|
# Corresponds to the JSON property `updateTime`
|
4484
4682
|
# @return [String]
|
4485
4683
|
attr_accessor :update_time
|
@@ -4490,9 +4688,21 @@ module Google
|
|
4490
4688
|
|
4491
4689
|
# Update properties of this object
|
4492
4690
|
def update!(**args)
|
4691
|
+
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
4692
|
+
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
|
4693
|
+
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
4493
4694
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4695
|
+
@description = args[:description] if args.key?(:description)
|
4696
|
+
@generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key)
|
4494
4697
|
@labels = args[:labels] if args.key?(:labels)
|
4698
|
+
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
|
4495
4699
|
@name = args[:name] if args.key?(:name)
|
4700
|
+
@network = args[:network] if args.key?(:network)
|
4701
|
+
@provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key)
|
4702
|
+
@region = args[:region] if args.key?(:region)
|
4703
|
+
@remote_profile = args[:remote_profile] if args.key?(:remote_profile)
|
4704
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
4705
|
+
@state = args[:state] if args.key?(:state)
|
4496
4706
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4497
4707
|
end
|
4498
4708
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.66.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250925"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,18 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class CheckConsumerConfigRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CheckConsumerConfigResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
79
91
|
class ConsumerPscConfig
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
@@ -675,6 +687,23 @@ module Google
|
|
675
687
|
end
|
676
688
|
end
|
677
689
|
|
690
|
+
class CheckConsumerConfigRequest
|
691
|
+
# @private
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
693
|
+
property :consumer_network, as: 'consumerNetwork'
|
694
|
+
property :endpoint_project, as: 'endpointProject'
|
695
|
+
property :requested_ip_version, as: 'requestedIpVersion'
|
696
|
+
property :service_class, as: 'serviceClass'
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
class CheckConsumerConfigResponse
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
collection :errors, as: 'errors'
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
678
707
|
class ConsumerPscConfig
|
679
708
|
# @private
|
680
709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -779,6 +808,7 @@ module Google
|
|
779
808
|
property :next_page_token, as: 'nextPageToken'
|
780
809
|
collection :operations, as: 'operations', class: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation, decorator: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
781
810
|
|
811
|
+
collection :unreachable, as: 'unreachable'
|
782
812
|
end
|
783
813
|
end
|
784
814
|
|
@@ -1390,8 +1420,16 @@ module Google
|
|
1390
1420
|
# @private
|
1391
1421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1392
1422
|
property :create_time, as: 'createTime'
|
1423
|
+
property :description, as: 'description'
|
1424
|
+
property :flow, as: 'flow'
|
1393
1425
|
hash :labels, as: 'labels'
|
1394
1426
|
property :name, as: 'name'
|
1427
|
+
property :order_state, as: 'orderState'
|
1428
|
+
property :provider, as: 'provider'
|
1429
|
+
property :provider_site, as: 'providerSite'
|
1430
|
+
property :region, as: 'region'
|
1431
|
+
property :sla, as: 'sla'
|
1432
|
+
collection :supported_bandwidths, as: 'supportedBandwidths'
|
1395
1433
|
property :update_time, as: 'updateTime'
|
1396
1434
|
end
|
1397
1435
|
end
|
@@ -1649,9 +1687,21 @@ module Google
|
|
1649
1687
|
class Transport
|
1650
1688
|
# @private
|
1651
1689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1690
|
+
property :admin_enabled, as: 'adminEnabled'
|
1691
|
+
collection :advertised_routes, as: 'advertisedRoutes'
|
1692
|
+
property :bandwidth, as: 'bandwidth'
|
1652
1693
|
property :create_time, as: 'createTime'
|
1694
|
+
property :description, as: 'description'
|
1695
|
+
property :generated_activation_key, as: 'generatedActivationKey'
|
1653
1696
|
hash :labels, as: 'labels'
|
1697
|
+
property :mtu_limit, as: 'mtuLimit'
|
1654
1698
|
property :name, as: 'name'
|
1699
|
+
property :network, as: 'network'
|
1700
|
+
property :provided_activation_key, as: 'providedActivationKey'
|
1701
|
+
property :region, as: 'region'
|
1702
|
+
property :remote_profile, as: 'remoteProfile'
|
1703
|
+
property :stack_type, as: 'stackType'
|
1704
|
+
property :state, as: 'state'
|
1655
1705
|
property :update_time, as: 'updateTime'
|
1656
1706
|
end
|
1657
1707
|
end
|
@@ -51,6 +51,47 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# CheckConsumerConfig validates the consumer network and project for potential
|
55
|
+
# PSC connection creation. This method performs several checks, including: -
|
56
|
+
# Validating the existence and permissions of the service class. - Ensuring the
|
57
|
+
# consumer network exists and is accessible. - Verifying XPN relationships if
|
58
|
+
# applicable. - Checking for compatible IP versions between the consumer network
|
59
|
+
# and the requested version. This method performs a dynamic IAM check for the `
|
60
|
+
# networkconnectivity.serviceClasses.use` permission on the service class
|
61
|
+
# resource in the Prepare phase.
|
62
|
+
# @param [String] location
|
63
|
+
# Required. The location resource path. Example: - projects/`project`/locations/`
|
64
|
+
# location`
|
65
|
+
# @param [Google::Apis::NetworkconnectivityV1::CheckConsumerConfigRequest] check_consumer_config_request_object
|
66
|
+
# @param [String] fields
|
67
|
+
# Selector specifying which fields to include in a partial response.
|
68
|
+
# @param [String] quota_user
|
69
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
70
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
71
|
+
# @param [Google::Apis::RequestOptions] options
|
72
|
+
# Request-specific options
|
73
|
+
#
|
74
|
+
# @yield [result, err] Result & error if block supplied
|
75
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::CheckConsumerConfigResponse] parsed result object
|
76
|
+
# @yieldparam err [StandardError] error object if request failed
|
77
|
+
#
|
78
|
+
# @return [Google::Apis::NetworkconnectivityV1::CheckConsumerConfigResponse]
|
79
|
+
#
|
80
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
81
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
82
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
83
|
+
def check_location_consumer_config(location, check_consumer_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
84
|
+
command = make_simple_command(:post, 'v1/{+location}:checkConsumerConfig', options)
|
85
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::CheckConsumerConfigRequest::Representation
|
86
|
+
command.request_object = check_consumer_config_request_object
|
87
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::CheckConsumerConfigResponse::Representation
|
88
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::CheckConsumerConfigResponse
|
89
|
+
command.params['location'] = location unless location.nil?
|
90
|
+
command.query['fields'] = fields unless fields.nil?
|
91
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
92
|
+
execute_or_queue_command(command, &block)
|
93
|
+
end
|
94
|
+
|
54
95
|
# Gets information about a location.
|
55
96
|
# @param [String] name
|
56
97
|
# Resource name for the location.
|
@@ -85,8 +126,8 @@ module Google
|
|
85
126
|
# @param [String] name
|
86
127
|
# The resource that owns the locations collection, if applicable.
|
87
128
|
# @param [Array<String>, String] extra_location_types
|
88
|
-
# Optional.
|
89
|
-
#
|
129
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
130
|
+
# field which is primarily intended for internal usage.
|
90
131
|
# @param [String] filter
|
91
132
|
# A filter to narrow down results to a preferred subset. The filtering language
|
92
133
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -2373,6 +2414,13 @@ module Google
|
|
2373
2414
|
# The standard list page size.
|
2374
2415
|
# @param [String] page_token
|
2375
2416
|
# The standard list page token.
|
2417
|
+
# @param [Boolean] return_partial_success
|
2418
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
2419
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
2420
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
2421
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
2422
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
2423
|
+
# explicitly documented otherwise in service or product specific documentation.
|
2376
2424
|
# @param [String] fields
|
2377
2425
|
# Selector specifying which fields to include in a partial response.
|
2378
2426
|
# @param [String] quota_user
|
@@ -2390,7 +2438,7 @@ module Google
|
|
2390
2438
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2391
2439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2392
2440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2393
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2441
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2394
2442
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
2395
2443
|
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningListOperationsResponse::Representation
|
2396
2444
|
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningListOperationsResponse
|
@@ -2398,6 +2446,7 @@ module Google
|
|
2398
2446
|
command.query['filter'] = filter unless filter.nil?
|
2399
2447
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2400
2448
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2449
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
2401
2450
|
command.query['fields'] = fields unless fields.nil?
|
2402
2451
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2403
2452
|
execute_or_queue_command(command, &block)
|
@@ -2570,7 +2619,7 @@ module Google
|
|
2570
2619
|
|
2571
2620
|
# Gets details of a single RemoteTransportProfile.
|
2572
2621
|
# @param [String] name
|
2573
|
-
# Required. Name of the resource
|
2622
|
+
# Required. Name of the resource.
|
2574
2623
|
# @param [String] fields
|
2575
2624
|
# Selector specifying which fields to include in a partial response.
|
2576
2625
|
# @param [String] quota_user
|
@@ -2600,11 +2649,11 @@ module Google
|
|
2600
2649
|
|
2601
2650
|
# Lists RemoteTransportProfiles in a given project and location.
|
2602
2651
|
# @param [String] parent
|
2603
|
-
# Required. Parent value for ListRemoteTransportProfilesRequest
|
2652
|
+
# Required. Parent value for ListRemoteTransportProfilesRequest.
|
2604
2653
|
# @param [String] filter
|
2605
|
-
# Optional. Filtering results
|
2654
|
+
# Optional. Filtering results.
|
2606
2655
|
# @param [String] order_by
|
2607
|
-
# Optional. Hint for how to order the results
|
2656
|
+
# Optional. Hint for how to order the results.
|
2608
2657
|
# @param [Fixnum] page_size
|
2609
2658
|
# Optional. Requested page size. Server may return fewer items than requested.
|
2610
2659
|
# If unspecified, server will pick an appropriate default.
|
@@ -4200,7 +4249,7 @@ module Google
|
|
4200
4249
|
|
4201
4250
|
# Deletes a single Transport.
|
4202
4251
|
# @param [String] name
|
4203
|
-
# Required. Name of the resource
|
4252
|
+
# Required. Name of the resource.
|
4204
4253
|
# @param [String] request_id
|
4205
4254
|
# Optional. An optional request ID to identify requests. Specify a unique
|
4206
4255
|
# request ID so that if you must retry your request, the server will know to
|
@@ -4242,7 +4291,7 @@ module Google
|
|
4242
4291
|
|
4243
4292
|
# Gets details of a single Transport.
|
4244
4293
|
# @param [String] name
|
4245
|
-
# Required. Name of the resource
|
4294
|
+
# Required. Name of the resource.
|
4246
4295
|
# @param [String] fields
|
4247
4296
|
# Selector specifying which fields to include in a partial response.
|
4248
4297
|
# @param [String] quota_user
|
@@ -4272,11 +4321,11 @@ module Google
|
|
4272
4321
|
|
4273
4322
|
# Lists Transports in a given project and location.
|
4274
4323
|
# @param [String] parent
|
4275
|
-
# Required. Parent value for ListTransportsRequest
|
4324
|
+
# Required. Parent value for ListTransportsRequest.
|
4276
4325
|
# @param [String] filter
|
4277
|
-
# Optional. Filtering results
|
4326
|
+
# Optional. Filtering results.
|
4278
4327
|
# @param [String] order_by
|
4279
|
-
# Optional. Hint for how to order the results
|
4328
|
+
# Optional. Hint for how to order the results.
|
4280
4329
|
# @param [Fixnum] page_size
|
4281
4330
|
# Optional. Requested page size. Server may return fewer items than requested.
|
4282
4331
|
# If unspecified, server will pick an appropriate default.
|
@@ -4315,7 +4364,7 @@ module Google
|
|
4315
4364
|
|
4316
4365
|
# Updates the parameters of a single Transport.
|
4317
4366
|
# @param [String] name
|
4318
|
-
# Identifier.
|
4367
|
+
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
|
4319
4368
|
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
4320
4369
|
# @param [String] request_id
|
4321
4370
|
# Optional. An optional request ID to identify requests. Specify a unique
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.66.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|