google-apis-networkconnectivity_v1 0.65.0 → 0.67.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 +156 -284
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +65 -84
- data/lib/google/apis/networkconnectivity_v1/service.rb +51 -290
- 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: c45ec3e62f1445c034dde7274d83a5c8093188acb79310b67652a0c5bbf41fb2
|
|
4
|
+
data.tar.gz: 7f9c9ae722965b0b7351e0afd188ca4473804e250ce300825412220841602e7c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f24af19ff610daadf836b8aab5fb8c8a281ea6f8966d17438d482253ac75f8c8330d911831211b076a46a40f3dbd762176531d1600e6262865806e9a0d943cc
|
|
7
|
+
data.tar.gz: 0f18899cdead16da2d5f120b6fe6af93b7b6ac4bb6a5322d432f85d633e91bc317ca27e39ae38b1666bc0f9c23c0630765ac877df2a14d115af4bcb93b887c75
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
|
2
2
|
|
|
3
|
+
### v0.67.0 (2025-10-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251009
|
|
6
|
+
|
|
7
|
+
### v0.66.0 (2025-10-05)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250925
|
|
10
|
+
|
|
3
11
|
### v0.65.0 (2025-09-21)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250910
|
|
@@ -288,6 +288,44 @@ module Google
|
|
|
288
288
|
end
|
|
289
289
|
end
|
|
290
290
|
|
|
291
|
+
# The specification for automatically creating a DNS record.
|
|
292
|
+
class AutomatedDnsCreationSpec
|
|
293
|
+
include Google::Apis::Core::Hashable
|
|
294
|
+
|
|
295
|
+
# Required. The DNS suffix to use for the DNS record. Must end with a dot. This
|
|
296
|
+
# should be a valid DNS domain name as per RFC 1035. Each label (between dots)
|
|
297
|
+
# can contain letters, digits, and hyphens, and must not start or end with a
|
|
298
|
+
# hyphen. Example: "my-service.example.com.", "internal."
|
|
299
|
+
# Corresponds to the JSON property `dnsSuffix`
|
|
300
|
+
# @return [String]
|
|
301
|
+
attr_accessor :dns_suffix
|
|
302
|
+
|
|
303
|
+
# Required. The hostname (the first label of the FQDN) to use for the DNS record.
|
|
304
|
+
# This should be a valid DNS label as per RFC 1035. Generally, this means the
|
|
305
|
+
# hostname can contain letters, digits, and hyphens, and must not start or end
|
|
306
|
+
# with a hyphen. Example: "my-instance", "db-1"
|
|
307
|
+
# Corresponds to the JSON property `hostname`
|
|
308
|
+
# @return [String]
|
|
309
|
+
attr_accessor :hostname
|
|
310
|
+
|
|
311
|
+
# Optional. The Time To Live for the DNS record, in seconds. If not provided, a
|
|
312
|
+
# default of 30 seconds will be used.
|
|
313
|
+
# Corresponds to the JSON property `ttl`
|
|
314
|
+
# @return [String]
|
|
315
|
+
attr_accessor :ttl
|
|
316
|
+
|
|
317
|
+
def initialize(**args)
|
|
318
|
+
update!(**args)
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# Update properties of this object
|
|
322
|
+
def update!(**args)
|
|
323
|
+
@dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
|
|
324
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
|
325
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
291
329
|
# Associates `members`, or principals, with a `role`.
|
|
292
330
|
class Binding
|
|
293
331
|
include Google::Apis::Core::Hashable
|
|
@@ -389,6 +427,63 @@ module Google
|
|
|
389
427
|
end
|
|
390
428
|
end
|
|
391
429
|
|
|
430
|
+
# Request for CheckConsumerConfig.
|
|
431
|
+
class CheckConsumerConfigRequest
|
|
432
|
+
include Google::Apis::Core::Hashable
|
|
433
|
+
|
|
434
|
+
# Required. Full resource name of the consumer network. Example: - projects/`
|
|
435
|
+
# project`/global/networks/`network`.
|
|
436
|
+
# Corresponds to the JSON property `consumerNetwork`
|
|
437
|
+
# @return [String]
|
|
438
|
+
attr_accessor :consumer_network
|
|
439
|
+
|
|
440
|
+
# The project number or ID where the PSC endpoint is to be created.
|
|
441
|
+
# Corresponds to the JSON property `endpointProject`
|
|
442
|
+
# @return [String]
|
|
443
|
+
attr_accessor :endpoint_project
|
|
444
|
+
|
|
445
|
+
# The requested IP Version
|
|
446
|
+
# Corresponds to the JSON property `requestedIpVersion`
|
|
447
|
+
# @return [String]
|
|
448
|
+
attr_accessor :requested_ip_version
|
|
449
|
+
|
|
450
|
+
# Required. The service class identifier of the producer.
|
|
451
|
+
# Corresponds to the JSON property `serviceClass`
|
|
452
|
+
# @return [String]
|
|
453
|
+
attr_accessor :service_class
|
|
454
|
+
|
|
455
|
+
def initialize(**args)
|
|
456
|
+
update!(**args)
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Update properties of this object
|
|
460
|
+
def update!(**args)
|
|
461
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
|
462
|
+
@endpoint_project = args[:endpoint_project] if args.key?(:endpoint_project)
|
|
463
|
+
@requested_ip_version = args[:requested_ip_version] if args.key?(:requested_ip_version)
|
|
464
|
+
@service_class = args[:service_class] if args.key?(:service_class)
|
|
465
|
+
end
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# Response for CheckConsumerConfig.
|
|
469
|
+
class CheckConsumerConfigResponse
|
|
470
|
+
include Google::Apis::Core::Hashable
|
|
471
|
+
|
|
472
|
+
# List of validation errors. If the list is empty, the consumer config is valid.
|
|
473
|
+
# Corresponds to the JSON property `errors`
|
|
474
|
+
# @return [Array<String>]
|
|
475
|
+
attr_accessor :errors
|
|
476
|
+
|
|
477
|
+
def initialize(**args)
|
|
478
|
+
update!(**args)
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
# Update properties of this object
|
|
482
|
+
def update!(**args)
|
|
483
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
484
|
+
end
|
|
485
|
+
end
|
|
486
|
+
|
|
392
487
|
# Allow the producer to specify which consumers can connect to it.
|
|
393
488
|
class ConsumerPscConfig
|
|
394
489
|
include Google::Apis::Core::Hashable
|
|
@@ -473,6 +568,11 @@ module Google
|
|
|
473
568
|
class ConsumerPscConnection
|
|
474
569
|
include Google::Apis::Core::Hashable
|
|
475
570
|
|
|
571
|
+
# The status of DNS automation for a PSC connection.
|
|
572
|
+
# Corresponds to the JSON property `dnsAutomationStatus`
|
|
573
|
+
# @return [Google::Apis::NetworkconnectivityV1::DnsAutomationStatus]
|
|
574
|
+
attr_accessor :dns_automation_status
|
|
575
|
+
|
|
476
576
|
# The `Status` type defines a logical error model that is suitable for different
|
|
477
577
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
478
578
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -576,6 +676,7 @@ module Google
|
|
|
576
676
|
|
|
577
677
|
# Update properties of this object
|
|
578
678
|
def update!(**args)
|
|
679
|
+
@dns_automation_status = args[:dns_automation_status] if args.key?(:dns_automation_status)
|
|
579
680
|
@error = args[:error] if args.key?(:error)
|
|
580
681
|
@error_info = args[:error_info] if args.key?(:error_info)
|
|
581
682
|
@error_type = args[:error_type] if args.key?(:error_type)
|
|
@@ -714,6 +815,42 @@ module Google
|
|
|
714
815
|
end
|
|
715
816
|
end
|
|
716
817
|
|
|
818
|
+
# The status of DNS automation for a PSC connection.
|
|
819
|
+
class DnsAutomationStatus
|
|
820
|
+
include Google::Apis::Core::Hashable
|
|
821
|
+
|
|
822
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
823
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
824
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
825
|
+
# data: error code, error message, and error details. You can find out more
|
|
826
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
827
|
+
# //cloud.google.com/apis/design/errors).
|
|
828
|
+
# Corresponds to the JSON property `error`
|
|
829
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleRpcStatus]
|
|
830
|
+
attr_accessor :error
|
|
831
|
+
|
|
832
|
+
# Output only. The fully qualified domain name of the DNS record.
|
|
833
|
+
# Corresponds to the JSON property `fqdn`
|
|
834
|
+
# @return [String]
|
|
835
|
+
attr_accessor :fqdn
|
|
836
|
+
|
|
837
|
+
# Output only. The current state of DNS automation.
|
|
838
|
+
# Corresponds to the JSON property `state`
|
|
839
|
+
# @return [String]
|
|
840
|
+
attr_accessor :state
|
|
841
|
+
|
|
842
|
+
def initialize(**args)
|
|
843
|
+
update!(**args)
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
# Update properties of this object
|
|
847
|
+
def update!(**args)
|
|
848
|
+
@error = args[:error] if args.key?(:error)
|
|
849
|
+
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
|
850
|
+
@state = args[:state] if args.key?(:state)
|
|
851
|
+
end
|
|
852
|
+
end
|
|
853
|
+
|
|
717
854
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
718
855
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
719
856
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -854,6 +991,13 @@ module Google
|
|
|
854
991
|
# @return [Array<Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation>]
|
|
855
992
|
attr_accessor :operations
|
|
856
993
|
|
|
994
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
995
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
996
|
+
# when attempting to list all resources across all supported locations.
|
|
997
|
+
# Corresponds to the JSON property `unreachable`
|
|
998
|
+
# @return [Array<String>]
|
|
999
|
+
attr_accessor :unreachable
|
|
1000
|
+
|
|
857
1001
|
def initialize(**args)
|
|
858
1002
|
update!(**args)
|
|
859
1003
|
end
|
|
@@ -862,6 +1006,7 @@ module Google
|
|
|
862
1006
|
def update!(**args)
|
|
863
1007
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
864
1008
|
@operations = args[:operations] if args.key?(:operations)
|
|
1009
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
865
1010
|
end
|
|
866
1011
|
end
|
|
867
1012
|
|
|
@@ -1989,37 +2134,6 @@ module Google
|
|
|
1989
2134
|
end
|
|
1990
2135
|
end
|
|
1991
2136
|
|
|
1992
|
-
# Message for response to listing RemoteTransportProfiles
|
|
1993
|
-
class ListRemoteTransportProfilesResponse
|
|
1994
|
-
include Google::Apis::Core::Hashable
|
|
1995
|
-
|
|
1996
|
-
# A token identifying a page of results the server should return.
|
|
1997
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1998
|
-
# @return [String]
|
|
1999
|
-
attr_accessor :next_page_token
|
|
2000
|
-
|
|
2001
|
-
# The list of RemoteTransportProfiles.
|
|
2002
|
-
# Corresponds to the JSON property `remoteTransportProfiles`
|
|
2003
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1::RemoteTransportProfile>]
|
|
2004
|
-
attr_accessor :remote_transport_profiles
|
|
2005
|
-
|
|
2006
|
-
# Unordered list. Locations that could not be reached.
|
|
2007
|
-
# Corresponds to the JSON property `unreachable`
|
|
2008
|
-
# @return [Array<String>]
|
|
2009
|
-
attr_accessor :unreachable
|
|
2010
|
-
|
|
2011
|
-
def initialize(**args)
|
|
2012
|
-
update!(**args)
|
|
2013
|
-
end
|
|
2014
|
-
|
|
2015
|
-
# Update properties of this object
|
|
2016
|
-
def update!(**args)
|
|
2017
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2018
|
-
@remote_transport_profiles = args[:remote_transport_profiles] if args.key?(:remote_transport_profiles)
|
|
2019
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2020
|
-
end
|
|
2021
|
-
end
|
|
2022
|
-
|
|
2023
2137
|
# Response for HubService.ListRouteTables method.
|
|
2024
2138
|
class ListRouteTablesResponse
|
|
2025
2139
|
include Google::Apis::Core::Hashable
|
|
@@ -2247,37 +2361,6 @@ module Google
|
|
|
2247
2361
|
end
|
|
2248
2362
|
end
|
|
2249
2363
|
|
|
2250
|
-
# Message for response to listing Transports.
|
|
2251
|
-
class ListTransportsResponse
|
|
2252
|
-
include Google::Apis::Core::Hashable
|
|
2253
|
-
|
|
2254
|
-
# A token identifying a page of results the server should return.
|
|
2255
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
2256
|
-
# @return [String]
|
|
2257
|
-
attr_accessor :next_page_token
|
|
2258
|
-
|
|
2259
|
-
# The list of Transport.
|
|
2260
|
-
# Corresponds to the JSON property `transports`
|
|
2261
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1::Transport>]
|
|
2262
|
-
attr_accessor :transports
|
|
2263
|
-
|
|
2264
|
-
# Unordered list. Locations that could not be reached.
|
|
2265
|
-
# Corresponds to the JSON property `unreachable`
|
|
2266
|
-
# @return [Array<String>]
|
|
2267
|
-
attr_accessor :unreachable
|
|
2268
|
-
|
|
2269
|
-
def initialize(**args)
|
|
2270
|
-
update!(**args)
|
|
2271
|
-
end
|
|
2272
|
-
|
|
2273
|
-
# Update properties of this object
|
|
2274
|
-
def update!(**args)
|
|
2275
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2276
|
-
@transports = args[:transports] if args.key?(:transports)
|
|
2277
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2278
|
-
end
|
|
2279
|
-
end
|
|
2280
|
-
|
|
2281
2364
|
# A resource that represents a Google Cloud location.
|
|
2282
2365
|
class Location
|
|
2283
2366
|
include Google::Apis::Core::Hashable
|
|
@@ -2919,6 +3002,11 @@ module Google
|
|
|
2919
3002
|
class ProducerPscConfig
|
|
2920
3003
|
include Google::Apis::Core::Hashable
|
|
2921
3004
|
|
|
3005
|
+
# The specification for automatically creating a DNS record.
|
|
3006
|
+
# Corresponds to the JSON property `automatedDnsCreationSpec`
|
|
3007
|
+
# @return [Google::Apis::NetworkconnectivityV1::AutomatedDnsCreationSpec]
|
|
3008
|
+
attr_accessor :automated_dns_creation_spec
|
|
3009
|
+
|
|
2922
3010
|
# The resource path of a service attachment. Example: projects/`projectNumOrId`/
|
|
2923
3011
|
# regions/`region`/serviceAttachments/`resourceId`.
|
|
2924
3012
|
# Corresponds to the JSON property `serviceAttachmentUri`
|
|
@@ -2931,6 +3019,7 @@ module Google
|
|
|
2931
3019
|
|
|
2932
3020
|
# Update properties of this object
|
|
2933
3021
|
def update!(**args)
|
|
3022
|
+
@automated_dns_creation_spec = args[:automated_dns_creation_spec] if args.key?(:automated_dns_creation_spec)
|
|
2934
3023
|
@service_attachment_uri = args[:service_attachment_uri] if args.key?(:service_attachment_uri)
|
|
2935
3024
|
end
|
|
2936
3025
|
end
|
|
@@ -3231,8 +3320,8 @@ module Google
|
|
|
3231
3320
|
# @return [String]
|
|
3232
3321
|
attr_accessor :name
|
|
3233
3322
|
|
|
3234
|
-
# The name of the VPC network for this private regional endpoint.
|
|
3235
|
-
# projects/`project`/global/networks/`network``
|
|
3323
|
+
# Optional. The name of the VPC network for this private regional endpoint.
|
|
3324
|
+
# Format: `projects/`project`/global/networks/`network``
|
|
3236
3325
|
# Corresponds to the JSON property `network`
|
|
3237
3326
|
# @return [String]
|
|
3238
3327
|
attr_accessor :network
|
|
@@ -3244,8 +3333,9 @@ module Google
|
|
|
3244
3333
|
# @return [String]
|
|
3245
3334
|
attr_accessor :psc_forwarding_rule
|
|
3246
3335
|
|
|
3247
|
-
# The name of the subnetwork from which the IP address will be
|
|
3248
|
-
# `projects/`project`/regions/`region`/subnetworks/`
|
|
3336
|
+
# Optional. The name of the subnetwork from which the IP address will be
|
|
3337
|
+
# allocated. Format: `projects/`project`/regions/`region`/subnetworks/`
|
|
3338
|
+
# subnetwork``
|
|
3249
3339
|
# Corresponds to the JSON property `subnetwork`
|
|
3250
3340
|
# @return [String]
|
|
3251
3341
|
attr_accessor :subnetwork
|
|
@@ -3394,97 +3484,6 @@ module Google
|
|
|
3394
3484
|
end
|
|
3395
3485
|
end
|
|
3396
3486
|
|
|
3397
|
-
# Message describing RemoteTransportProfile object.
|
|
3398
|
-
class RemoteTransportProfile
|
|
3399
|
-
include Google::Apis::Core::Hashable
|
|
3400
|
-
|
|
3401
|
-
# Output only. [Output only] Create time stamp.
|
|
3402
|
-
# Corresponds to the JSON property `createTime`
|
|
3403
|
-
# @return [String]
|
|
3404
|
-
attr_accessor :create_time
|
|
3405
|
-
|
|
3406
|
-
# Output only. Description of the profile.
|
|
3407
|
-
# Corresponds to the JSON property `description`
|
|
3408
|
-
# @return [String]
|
|
3409
|
-
attr_accessor :description
|
|
3410
|
-
|
|
3411
|
-
# Output only. [Output only] Type of provisioning flows supported by this
|
|
3412
|
-
# profile.
|
|
3413
|
-
# Corresponds to the JSON property `flow`
|
|
3414
|
-
# @return [String]
|
|
3415
|
-
attr_accessor :flow
|
|
3416
|
-
|
|
3417
|
-
# Output only. Labels as key value pairs.
|
|
3418
|
-
# Corresponds to the JSON property `labels`
|
|
3419
|
-
# @return [Hash<String,String>]
|
|
3420
|
-
attr_accessor :labels
|
|
3421
|
-
|
|
3422
|
-
# Identifier. Name of the resource in the format of $provider-$site.
|
|
3423
|
-
# Corresponds to the JSON property `name`
|
|
3424
|
-
# @return [String]
|
|
3425
|
-
attr_accessor :name
|
|
3426
|
-
|
|
3427
|
-
# Output only. [Output only] Order state for this profile.
|
|
3428
|
-
# Corresponds to the JSON property `orderState`
|
|
3429
|
-
# @return [String]
|
|
3430
|
-
attr_accessor :order_state
|
|
3431
|
-
|
|
3432
|
-
# Output only. Name of the provider on the other end of this profile. E.g. “
|
|
3433
|
-
# Amazon Web Services” or “Microsoft Azure”.
|
|
3434
|
-
# Corresponds to the JSON property `provider`
|
|
3435
|
-
# @return [String]
|
|
3436
|
-
attr_accessor :provider
|
|
3437
|
-
|
|
3438
|
-
# Output only. If the profile is a Cloud Service Provider with compute resources,
|
|
3439
|
-
# this is populated with the region where connectivity is being established. If
|
|
3440
|
-
# the profile provides facility-level selection, this is an identity of the
|
|
3441
|
-
# facility any connections on this profile are going through.
|
|
3442
|
-
# Corresponds to the JSON property `providerSite`
|
|
3443
|
-
# @return [String]
|
|
3444
|
-
attr_accessor :provider_site
|
|
3445
|
-
|
|
3446
|
-
# Output only. GCP Region where this profile is available.
|
|
3447
|
-
# Corresponds to the JSON property `region`
|
|
3448
|
-
# @return [String]
|
|
3449
|
-
attr_accessor :region
|
|
3450
|
-
|
|
3451
|
-
# Output only. [Output only] Availability class that will be configured for this
|
|
3452
|
-
# particular RemoteTransportProfile.
|
|
3453
|
-
# Corresponds to the JSON property `sla`
|
|
3454
|
-
# @return [String]
|
|
3455
|
-
attr_accessor :sla
|
|
3456
|
-
|
|
3457
|
-
# Output only. List of bandwidth enum values that are supported by this profile.
|
|
3458
|
-
# Corresponds to the JSON property `supportedBandwidths`
|
|
3459
|
-
# @return [Array<String>]
|
|
3460
|
-
attr_accessor :supported_bandwidths
|
|
3461
|
-
|
|
3462
|
-
# Output only. [Output only] Update time stamp.
|
|
3463
|
-
# Corresponds to the JSON property `updateTime`
|
|
3464
|
-
# @return [String]
|
|
3465
|
-
attr_accessor :update_time
|
|
3466
|
-
|
|
3467
|
-
def initialize(**args)
|
|
3468
|
-
update!(**args)
|
|
3469
|
-
end
|
|
3470
|
-
|
|
3471
|
-
# Update properties of this object
|
|
3472
|
-
def update!(**args)
|
|
3473
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3474
|
-
@description = args[:description] if args.key?(:description)
|
|
3475
|
-
@flow = args[:flow] if args.key?(:flow)
|
|
3476
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
3477
|
-
@name = args[:name] if args.key?(:name)
|
|
3478
|
-
@order_state = args[:order_state] if args.key?(:order_state)
|
|
3479
|
-
@provider = args[:provider] if args.key?(:provider)
|
|
3480
|
-
@provider_site = args[:provider_site] if args.key?(:provider_site)
|
|
3481
|
-
@region = args[:region] if args.key?(:region)
|
|
3482
|
-
@sla = args[:sla] if args.key?(:sla)
|
|
3483
|
-
@supported_bandwidths = args[:supported_bandwidths] if args.key?(:supported_bandwidths)
|
|
3484
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3485
|
-
end
|
|
3486
|
-
end
|
|
3487
|
-
|
|
3488
3487
|
# A route defines a path from VM instances within a spoke to a specific
|
|
3489
3488
|
# destination resource. Only VPC spokes have routes.
|
|
3490
3489
|
class Route
|
|
@@ -4514,133 +4513,6 @@ module Google
|
|
|
4514
4513
|
end
|
|
4515
4514
|
end
|
|
4516
4515
|
|
|
4517
|
-
# Message describing Transport object.
|
|
4518
|
-
class Transport
|
|
4519
|
-
include Google::Apis::Core::Hashable
|
|
4520
|
-
|
|
4521
|
-
# Optional. Administrative state of the underlying connectivity. If set to true (
|
|
4522
|
-
# default), connectivity should be available between your environments. If set
|
|
4523
|
-
# to false, the connectivity over these links is disabled. Disabling your
|
|
4524
|
-
# Transport does not affect billing, and retains the underlying network
|
|
4525
|
-
# bandwidth associated with the connectivity.
|
|
4526
|
-
# Corresponds to the JSON property `adminEnabled`
|
|
4527
|
-
# @return [Boolean]
|
|
4528
|
-
attr_accessor :admin_enabled
|
|
4529
|
-
alias_method :admin_enabled?, :admin_enabled
|
|
4530
|
-
|
|
4531
|
-
# Optional. [Preview only] List of IP Prefixes that will be advertised to the
|
|
4532
|
-
# remote provider. Both IPv4 and IPv6 addresses are supported.
|
|
4533
|
-
# Corresponds to the JSON property `advertisedRoutes`
|
|
4534
|
-
# @return [String]
|
|
4535
|
-
attr_accessor :advertised_routes
|
|
4536
|
-
|
|
4537
|
-
# Required. Bandwidth of the Transport. This must be one of the supported
|
|
4538
|
-
# bandwidths for the remote profile.
|
|
4539
|
-
# Corresponds to the JSON property `bandwidth`
|
|
4540
|
-
# @return [String]
|
|
4541
|
-
attr_accessor :bandwidth
|
|
4542
|
-
|
|
4543
|
-
# Output only. [Output only] Create time stamp.
|
|
4544
|
-
# Corresponds to the JSON property `createTime`
|
|
4545
|
-
# @return [String]
|
|
4546
|
-
attr_accessor :create_time
|
|
4547
|
-
|
|
4548
|
-
# Optional. Description of the Transport.
|
|
4549
|
-
# Corresponds to the JSON property `description`
|
|
4550
|
-
# @return [String]
|
|
4551
|
-
attr_accessor :description
|
|
4552
|
-
|
|
4553
|
-
# Output only. [Output only] Google-generated activation key. This is only
|
|
4554
|
-
# output if the selected profile supports an OUTPUT key flow. Inputting this to
|
|
4555
|
-
# the provider is only valid while the resource is in a PENDING_KEY state. Once
|
|
4556
|
-
# the provider has accepted the key, the resource will move to the CONFIGURING
|
|
4557
|
-
# state.
|
|
4558
|
-
# Corresponds to the JSON property `generatedActivationKey`
|
|
4559
|
-
# @return [String]
|
|
4560
|
-
attr_accessor :generated_activation_key
|
|
4561
|
-
|
|
4562
|
-
# Optional. Labels as key value pairs.
|
|
4563
|
-
# Corresponds to the JSON property `labels`
|
|
4564
|
-
# @return [Hash<String,String>]
|
|
4565
|
-
attr_accessor :labels
|
|
4566
|
-
|
|
4567
|
-
# Output only. [Output only] The maximum transmission unit (MTU) of a packet
|
|
4568
|
-
# that can be sent over this transport.
|
|
4569
|
-
# Corresponds to the JSON property `mtuLimit`
|
|
4570
|
-
# @return [Fixnum]
|
|
4571
|
-
attr_accessor :mtu_limit
|
|
4572
|
-
|
|
4573
|
-
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
|
|
4574
|
-
# Corresponds to the JSON property `name`
|
|
4575
|
-
# @return [String]
|
|
4576
|
-
attr_accessor :name
|
|
4577
|
-
|
|
4578
|
-
# Required. [Preview only] Resource URL of the Network that will be peered with
|
|
4579
|
-
# this Transport. This field must be provided during resource creation and
|
|
4580
|
-
# cannot be changed.
|
|
4581
|
-
# Corresponds to the JSON property `network`
|
|
4582
|
-
# @return [String]
|
|
4583
|
-
attr_accessor :network
|
|
4584
|
-
|
|
4585
|
-
# Optional. Key used for establishing a connection with the remote transport.
|
|
4586
|
-
# This key can only be provided if the profile supports an INPUT key flow and
|
|
4587
|
-
# the resource is in the PENDING_KEY state.
|
|
4588
|
-
# Corresponds to the JSON property `providedActivationKey`
|
|
4589
|
-
# @return [String]
|
|
4590
|
-
attr_accessor :provided_activation_key
|
|
4591
|
-
|
|
4592
|
-
# Required. GCP Region where this Transport is located.
|
|
4593
|
-
# Corresponds to the JSON property `region`
|
|
4594
|
-
# @return [String]
|
|
4595
|
-
attr_accessor :region
|
|
4596
|
-
|
|
4597
|
-
# Required. Resource URL of the remoteTransportProfile that this Transport is
|
|
4598
|
-
# connecting to. Format: projects/`project`/locations/`location`/
|
|
4599
|
-
# remoteTransportProfiles/`remote_transport_profile`
|
|
4600
|
-
# Corresponds to the JSON property `remoteProfile`
|
|
4601
|
-
# @return [String]
|
|
4602
|
-
attr_accessor :remote_profile
|
|
4603
|
-
|
|
4604
|
-
# Optional. IP version stack for the established connectivity.
|
|
4605
|
-
# Corresponds to the JSON property `stackType`
|
|
4606
|
-
# @return [String]
|
|
4607
|
-
attr_accessor :stack_type
|
|
4608
|
-
|
|
4609
|
-
# Output only. [Output only] State of the underlying connectivity.
|
|
4610
|
-
# Corresponds to the JSON property `state`
|
|
4611
|
-
# @return [String]
|
|
4612
|
-
attr_accessor :state
|
|
4613
|
-
|
|
4614
|
-
# Output only. [Output only] Update time stamp.
|
|
4615
|
-
# Corresponds to the JSON property `updateTime`
|
|
4616
|
-
# @return [String]
|
|
4617
|
-
attr_accessor :update_time
|
|
4618
|
-
|
|
4619
|
-
def initialize(**args)
|
|
4620
|
-
update!(**args)
|
|
4621
|
-
end
|
|
4622
|
-
|
|
4623
|
-
# Update properties of this object
|
|
4624
|
-
def update!(**args)
|
|
4625
|
-
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
|
4626
|
-
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
|
|
4627
|
-
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
|
4628
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4629
|
-
@description = args[:description] if args.key?(:description)
|
|
4630
|
-
@generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key)
|
|
4631
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
4632
|
-
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
|
|
4633
|
-
@name = args[:name] if args.key?(:name)
|
|
4634
|
-
@network = args[:network] if args.key?(:network)
|
|
4635
|
-
@provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key)
|
|
4636
|
-
@region = args[:region] if args.key?(:region)
|
|
4637
|
-
@remote_profile = args[:remote_profile] if args.key?(:remote_profile)
|
|
4638
|
-
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
|
4639
|
-
@state = args[:state] if args.key?(:state)
|
|
4640
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4641
|
-
end
|
|
4642
|
-
end
|
|
4643
|
-
|
|
4644
4516
|
# VM instances that this policy-based route applies to.
|
|
4645
4517
|
class VirtualMachine
|
|
4646
4518
|
include Google::Apis::Core::Hashable
|
|
@@ -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.67.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 = "20251009"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -70,12 +70,30 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class AutomatedDnsCreationSpec
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
class Binding
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
83
|
end
|
|
78
84
|
|
|
85
|
+
class CheckConsumerConfigRequest
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class CheckConsumerConfigResponse
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
79
97
|
class ConsumerPscConfig
|
|
80
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
99
|
|
|
@@ -100,6 +118,12 @@ module Google
|
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
119
|
end
|
|
102
120
|
|
|
121
|
+
class DnsAutomationStatus
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
103
127
|
class Empty
|
|
104
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
129
|
|
|
@@ -268,12 +292,6 @@ module Google
|
|
|
268
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
293
|
end
|
|
270
294
|
|
|
271
|
-
class ListRemoteTransportProfilesResponse
|
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
-
|
|
274
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
-
end
|
|
276
|
-
|
|
277
295
|
class ListRouteTablesResponse
|
|
278
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
297
|
|
|
@@ -316,12 +334,6 @@ module Google
|
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
|
317
335
|
end
|
|
318
336
|
|
|
319
|
-
class ListTransportsResponse
|
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
-
|
|
322
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
-
end
|
|
324
|
-
|
|
325
337
|
class Location
|
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
339
|
|
|
@@ -454,12 +466,6 @@ module Google
|
|
|
454
466
|
include Google::Apis::Core::JsonObjectSupport
|
|
455
467
|
end
|
|
456
468
|
|
|
457
|
-
class RemoteTransportProfile
|
|
458
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
-
|
|
460
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
-
end
|
|
462
|
-
|
|
463
469
|
class Route
|
|
464
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
471
|
|
|
@@ -580,12 +586,6 @@ module Google
|
|
|
580
586
|
include Google::Apis::Core::JsonObjectSupport
|
|
581
587
|
end
|
|
582
588
|
|
|
583
|
-
class Transport
|
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
|
-
|
|
586
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
587
|
-
end
|
|
588
|
-
|
|
589
589
|
class VirtualMachine
|
|
590
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
591
|
|
|
@@ -665,6 +665,15 @@ module Google
|
|
|
665
665
|
end
|
|
666
666
|
end
|
|
667
667
|
|
|
668
|
+
class AutomatedDnsCreationSpec
|
|
669
|
+
# @private
|
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
671
|
+
property :dns_suffix, as: 'dnsSuffix'
|
|
672
|
+
property :hostname, as: 'hostname'
|
|
673
|
+
property :ttl, as: 'ttl'
|
|
674
|
+
end
|
|
675
|
+
end
|
|
676
|
+
|
|
668
677
|
class Binding
|
|
669
678
|
# @private
|
|
670
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -675,6 +684,23 @@ module Google
|
|
|
675
684
|
end
|
|
676
685
|
end
|
|
677
686
|
|
|
687
|
+
class CheckConsumerConfigRequest
|
|
688
|
+
# @private
|
|
689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
690
|
+
property :consumer_network, as: 'consumerNetwork'
|
|
691
|
+
property :endpoint_project, as: 'endpointProject'
|
|
692
|
+
property :requested_ip_version, as: 'requestedIpVersion'
|
|
693
|
+
property :service_class, as: 'serviceClass'
|
|
694
|
+
end
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
class CheckConsumerConfigResponse
|
|
698
|
+
# @private
|
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
700
|
+
collection :errors, as: 'errors'
|
|
701
|
+
end
|
|
702
|
+
end
|
|
703
|
+
|
|
678
704
|
class ConsumerPscConfig
|
|
679
705
|
# @private
|
|
680
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -693,6 +719,8 @@ module Google
|
|
|
693
719
|
class ConsumerPscConnection
|
|
694
720
|
# @private
|
|
695
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
722
|
+
property :dns_automation_status, as: 'dnsAutomationStatus', class: Google::Apis::NetworkconnectivityV1::DnsAutomationStatus, decorator: Google::Apis::NetworkconnectivityV1::DnsAutomationStatus::Representation
|
|
723
|
+
|
|
696
724
|
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
|
697
725
|
|
|
698
726
|
property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
|
|
@@ -741,6 +769,16 @@ module Google
|
|
|
741
769
|
end
|
|
742
770
|
end
|
|
743
771
|
|
|
772
|
+
class DnsAutomationStatus
|
|
773
|
+
# @private
|
|
774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
775
|
+
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
|
776
|
+
|
|
777
|
+
property :fqdn, as: 'fqdn'
|
|
778
|
+
property :state, as: 'state'
|
|
779
|
+
end
|
|
780
|
+
end
|
|
781
|
+
|
|
744
782
|
class Empty
|
|
745
783
|
# @private
|
|
746
784
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -779,6 +817,7 @@ module Google
|
|
|
779
817
|
property :next_page_token, as: 'nextPageToken'
|
|
780
818
|
collection :operations, as: 'operations', class: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation, decorator: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
781
819
|
|
|
820
|
+
collection :unreachable, as: 'unreachable'
|
|
782
821
|
end
|
|
783
822
|
end
|
|
784
823
|
|
|
@@ -1046,16 +1085,6 @@ module Google
|
|
|
1046
1085
|
end
|
|
1047
1086
|
end
|
|
1048
1087
|
|
|
1049
|
-
class ListRemoteTransportProfilesResponse
|
|
1050
|
-
# @private
|
|
1051
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1052
|
-
property :next_page_token, as: 'nextPageToken'
|
|
1053
|
-
collection :remote_transport_profiles, as: 'remoteTransportProfiles', class: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile, decorator: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
|
1054
|
-
|
|
1055
|
-
collection :unreachable, as: 'unreachable'
|
|
1056
|
-
end
|
|
1057
|
-
end
|
|
1058
|
-
|
|
1059
1088
|
class ListRouteTablesResponse
|
|
1060
1089
|
# @private
|
|
1061
1090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1126,16 +1155,6 @@ module Google
|
|
|
1126
1155
|
end
|
|
1127
1156
|
end
|
|
1128
1157
|
|
|
1129
|
-
class ListTransportsResponse
|
|
1130
|
-
# @private
|
|
1131
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1132
|
-
property :next_page_token, as: 'nextPageToken'
|
|
1133
|
-
collection :transports, as: 'transports', class: Google::Apis::NetworkconnectivityV1::Transport, decorator: Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
1134
|
-
|
|
1135
|
-
collection :unreachable, as: 'unreachable'
|
|
1136
|
-
end
|
|
1137
|
-
end
|
|
1138
|
-
|
|
1139
1158
|
class Location
|
|
1140
1159
|
# @private
|
|
1141
1160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1283,6 +1302,8 @@ module Google
|
|
|
1283
1302
|
class ProducerPscConfig
|
|
1284
1303
|
# @private
|
|
1285
1304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1305
|
+
property :automated_dns_creation_spec, as: 'automatedDnsCreationSpec', class: Google::Apis::NetworkconnectivityV1::AutomatedDnsCreationSpec, decorator: Google::Apis::NetworkconnectivityV1::AutomatedDnsCreationSpec::Representation
|
|
1306
|
+
|
|
1286
1307
|
property :service_attachment_uri, as: 'serviceAttachmentUri'
|
|
1287
1308
|
end
|
|
1288
1309
|
end
|
|
@@ -1386,24 +1407,6 @@ module Google
|
|
|
1386
1407
|
end
|
|
1387
1408
|
end
|
|
1388
1409
|
|
|
1389
|
-
class RemoteTransportProfile
|
|
1390
|
-
# @private
|
|
1391
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1392
|
-
property :create_time, as: 'createTime'
|
|
1393
|
-
property :description, as: 'description'
|
|
1394
|
-
property :flow, as: 'flow'
|
|
1395
|
-
hash :labels, as: 'labels'
|
|
1396
|
-
property :name, as: 'name'
|
|
1397
|
-
property :order_state, as: 'orderState'
|
|
1398
|
-
property :provider, as: 'provider'
|
|
1399
|
-
property :provider_site, as: 'providerSite'
|
|
1400
|
-
property :region, as: 'region'
|
|
1401
|
-
property :sla, as: 'sla'
|
|
1402
|
-
collection :supported_bandwidths, as: 'supportedBandwidths'
|
|
1403
|
-
property :update_time, as: 'updateTime'
|
|
1404
|
-
end
|
|
1405
|
-
end
|
|
1406
|
-
|
|
1407
1410
|
class Route
|
|
1408
1411
|
# @private
|
|
1409
1412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1654,28 +1657,6 @@ module Google
|
|
|
1654
1657
|
end
|
|
1655
1658
|
end
|
|
1656
1659
|
|
|
1657
|
-
class Transport
|
|
1658
|
-
# @private
|
|
1659
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1660
|
-
property :admin_enabled, as: 'adminEnabled'
|
|
1661
|
-
property :advertised_routes, as: 'advertisedRoutes'
|
|
1662
|
-
property :bandwidth, as: 'bandwidth'
|
|
1663
|
-
property :create_time, as: 'createTime'
|
|
1664
|
-
property :description, as: 'description'
|
|
1665
|
-
property :generated_activation_key, as: 'generatedActivationKey'
|
|
1666
|
-
hash :labels, as: 'labels'
|
|
1667
|
-
property :mtu_limit, as: 'mtuLimit'
|
|
1668
|
-
property :name, as: 'name'
|
|
1669
|
-
property :network, as: 'network'
|
|
1670
|
-
property :provided_activation_key, as: 'providedActivationKey'
|
|
1671
|
-
property :region, as: 'region'
|
|
1672
|
-
property :remote_profile, as: 'remoteProfile'
|
|
1673
|
-
property :stack_type, as: 'stackType'
|
|
1674
|
-
property :state, as: 'state'
|
|
1675
|
-
property :update_time, as: 'updateTime'
|
|
1676
|
-
end
|
|
1677
|
-
end
|
|
1678
|
-
|
|
1679
1660
|
class VirtualMachine
|
|
1680
1661
|
# @private
|
|
1681
1662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -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.
|
|
@@ -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)
|
|
@@ -2568,79 +2617,6 @@ module Google
|
|
|
2568
2617
|
execute_or_queue_command(command, &block)
|
|
2569
2618
|
end
|
|
2570
2619
|
|
|
2571
|
-
# Gets details of a single RemoteTransportProfile.
|
|
2572
|
-
# @param [String] name
|
|
2573
|
-
# Required. Name of the resource.
|
|
2574
|
-
# @param [String] fields
|
|
2575
|
-
# Selector specifying which fields to include in a partial response.
|
|
2576
|
-
# @param [String] quota_user
|
|
2577
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2578
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2579
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2580
|
-
# Request-specific options
|
|
2581
|
-
#
|
|
2582
|
-
# @yield [result, err] Result & error if block supplied
|
|
2583
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile] parsed result object
|
|
2584
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2585
|
-
#
|
|
2586
|
-
# @return [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile]
|
|
2587
|
-
#
|
|
2588
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2589
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2590
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2591
|
-
def get_project_location_remote_transport_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2592
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2593
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
|
2594
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile
|
|
2595
|
-
command.params['name'] = name unless name.nil?
|
|
2596
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2597
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2598
|
-
execute_or_queue_command(command, &block)
|
|
2599
|
-
end
|
|
2600
|
-
|
|
2601
|
-
# Lists RemoteTransportProfiles in a given project and location.
|
|
2602
|
-
# @param [String] parent
|
|
2603
|
-
# Required. Parent value for ListRemoteTransportProfilesRequest.
|
|
2604
|
-
# @param [String] filter
|
|
2605
|
-
# Optional. Filtering results.
|
|
2606
|
-
# @param [String] order_by
|
|
2607
|
-
# Optional. Hint for how to order the results.
|
|
2608
|
-
# @param [Fixnum] page_size
|
|
2609
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
|
2610
|
-
# If unspecified, server will pick an appropriate default.
|
|
2611
|
-
# @param [String] page_token
|
|
2612
|
-
# Optional. A token identifying a page of results the server should return.
|
|
2613
|
-
# @param [String] fields
|
|
2614
|
-
# Selector specifying which fields to include in a partial response.
|
|
2615
|
-
# @param [String] quota_user
|
|
2616
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2617
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2618
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2619
|
-
# Request-specific options
|
|
2620
|
-
#
|
|
2621
|
-
# @yield [result, err] Result & error if block supplied
|
|
2622
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse] parsed result object
|
|
2623
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2624
|
-
#
|
|
2625
|
-
# @return [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse]
|
|
2626
|
-
#
|
|
2627
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2628
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2629
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2630
|
-
def list_project_location_remote_transport_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2631
|
-
command = make_simple_command(:get, 'v1/{+parent}/remoteTransportProfiles', options)
|
|
2632
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse::Representation
|
|
2633
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse
|
|
2634
|
-
command.params['parent'] = parent unless parent.nil?
|
|
2635
|
-
command.query['filter'] = filter unless filter.nil?
|
|
2636
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2637
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2638
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2639
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2640
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2641
|
-
execute_or_queue_command(command, &block)
|
|
2642
|
-
end
|
|
2643
|
-
|
|
2644
2620
|
# Deletes a single ServiceClass.
|
|
2645
2621
|
# @param [String] name
|
|
2646
2622
|
# Required. The name of the ServiceClass to delete.
|
|
@@ -3283,7 +3259,7 @@ module Google
|
|
|
3283
3259
|
# Required. The parent resource's name of the ServiceConnectionPolicy. ex.
|
|
3284
3260
|
# projects/123/locations/us-east1
|
|
3285
3261
|
# @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy] service_connection_policy_object
|
|
3286
|
-
# @param [String] auto_subnetwork_config_alloc_range_space
|
|
3262
|
+
# @param [Array<String>, String] auto_subnetwork_config_alloc_range_space
|
|
3287
3263
|
# Optional. The space where we search for a free range to create a subnetwork.
|
|
3288
3264
|
# It can be narrow down or pick a different space. This is in standard CIDR
|
|
3289
3265
|
# format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY
|
|
@@ -4149,221 +4125,6 @@ module Google
|
|
|
4149
4125
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4150
4126
|
execute_or_queue_command(command, &block)
|
|
4151
4127
|
end
|
|
4152
|
-
|
|
4153
|
-
# Creates a new Transport in a given project and location.
|
|
4154
|
-
# @param [String] parent
|
|
4155
|
-
# Required. Value for parent.
|
|
4156
|
-
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
|
4157
|
-
# @param [String] request_id
|
|
4158
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4159
|
-
# request ID so that if you must retry your request, the server will know to
|
|
4160
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
4161
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
|
4162
|
-
# situation where you make an initial request and the request times out. If you
|
|
4163
|
-
# make the request again with the same request ID, the server can check if
|
|
4164
|
-
# original operation with the same request ID was received, and if so, will
|
|
4165
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
4166
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4167
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4168
|
-
# @param [String] transport_id
|
|
4169
|
-
# Required. Id of the requesting object
|
|
4170
|
-
# @param [String] fields
|
|
4171
|
-
# Selector specifying which fields to include in a partial response.
|
|
4172
|
-
# @param [String] quota_user
|
|
4173
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4174
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4175
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4176
|
-
# Request-specific options
|
|
4177
|
-
#
|
|
4178
|
-
# @yield [result, err] Result & error if block supplied
|
|
4179
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4180
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4181
|
-
#
|
|
4182
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4183
|
-
#
|
|
4184
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4185
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4186
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4187
|
-
def create_project_location_transport(parent, transport_object = nil, request_id: nil, transport_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4188
|
-
command = make_simple_command(:post, 'v1/{+parent}/transports', options)
|
|
4189
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4190
|
-
command.request_object = transport_object
|
|
4191
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4192
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4193
|
-
command.params['parent'] = parent unless parent.nil?
|
|
4194
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
4195
|
-
command.query['transportId'] = transport_id unless transport_id.nil?
|
|
4196
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4197
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4198
|
-
execute_or_queue_command(command, &block)
|
|
4199
|
-
end
|
|
4200
|
-
|
|
4201
|
-
# Deletes a single Transport.
|
|
4202
|
-
# @param [String] name
|
|
4203
|
-
# Required. Name of the resource.
|
|
4204
|
-
# @param [String] request_id
|
|
4205
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4206
|
-
# request ID so that if you must retry your request, the server will know to
|
|
4207
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
4208
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
|
4209
|
-
# situation where you make an initial request and the request times out. If you
|
|
4210
|
-
# make the request again with the same request ID, the server can check if
|
|
4211
|
-
# original operation with the same request ID was received, and if so, will
|
|
4212
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
4213
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4214
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4215
|
-
# @param [String] fields
|
|
4216
|
-
# Selector specifying which fields to include in a partial response.
|
|
4217
|
-
# @param [String] quota_user
|
|
4218
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4219
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4220
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4221
|
-
# Request-specific options
|
|
4222
|
-
#
|
|
4223
|
-
# @yield [result, err] Result & error if block supplied
|
|
4224
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4225
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4226
|
-
#
|
|
4227
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4228
|
-
#
|
|
4229
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4230
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4231
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4232
|
-
def delete_project_location_transport(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4233
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
4234
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4235
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4236
|
-
command.params['name'] = name unless name.nil?
|
|
4237
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
4238
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4239
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4240
|
-
execute_or_queue_command(command, &block)
|
|
4241
|
-
end
|
|
4242
|
-
|
|
4243
|
-
# Gets details of a single Transport.
|
|
4244
|
-
# @param [String] name
|
|
4245
|
-
# Required. Name of the resource.
|
|
4246
|
-
# @param [String] fields
|
|
4247
|
-
# Selector specifying which fields to include in a partial response.
|
|
4248
|
-
# @param [String] quota_user
|
|
4249
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4250
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4251
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4252
|
-
# Request-specific options
|
|
4253
|
-
#
|
|
4254
|
-
# @yield [result, err] Result & error if block supplied
|
|
4255
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Transport] parsed result object
|
|
4256
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4257
|
-
#
|
|
4258
|
-
# @return [Google::Apis::NetworkconnectivityV1::Transport]
|
|
4259
|
-
#
|
|
4260
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4261
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4262
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4263
|
-
def get_project_location_transport(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4264
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4265
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4266
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Transport
|
|
4267
|
-
command.params['name'] = name unless name.nil?
|
|
4268
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4269
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4270
|
-
execute_or_queue_command(command, &block)
|
|
4271
|
-
end
|
|
4272
|
-
|
|
4273
|
-
# Lists Transports in a given project and location.
|
|
4274
|
-
# @param [String] parent
|
|
4275
|
-
# Required. Parent value for ListTransportsRequest.
|
|
4276
|
-
# @param [String] filter
|
|
4277
|
-
# Optional. Filtering results.
|
|
4278
|
-
# @param [String] order_by
|
|
4279
|
-
# Optional. Hint for how to order the results.
|
|
4280
|
-
# @param [Fixnum] page_size
|
|
4281
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
|
4282
|
-
# If unspecified, server will pick an appropriate default.
|
|
4283
|
-
# @param [String] page_token
|
|
4284
|
-
# Optional. A token identifying a page of results the server should return.
|
|
4285
|
-
# @param [String] fields
|
|
4286
|
-
# Selector specifying which fields to include in a partial response.
|
|
4287
|
-
# @param [String] quota_user
|
|
4288
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4289
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4290
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4291
|
-
# Request-specific options
|
|
4292
|
-
#
|
|
4293
|
-
# @yield [result, err] Result & error if block supplied
|
|
4294
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListTransportsResponse] parsed result object
|
|
4295
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4296
|
-
#
|
|
4297
|
-
# @return [Google::Apis::NetworkconnectivityV1::ListTransportsResponse]
|
|
4298
|
-
#
|
|
4299
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4300
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4301
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4302
|
-
def list_project_location_transports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4303
|
-
command = make_simple_command(:get, 'v1/{+parent}/transports', options)
|
|
4304
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::ListTransportsResponse::Representation
|
|
4305
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::ListTransportsResponse
|
|
4306
|
-
command.params['parent'] = parent unless parent.nil?
|
|
4307
|
-
command.query['filter'] = filter unless filter.nil?
|
|
4308
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4309
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4310
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4311
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4312
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4313
|
-
execute_or_queue_command(command, &block)
|
|
4314
|
-
end
|
|
4315
|
-
|
|
4316
|
-
# Updates the parameters of a single Transport.
|
|
4317
|
-
# @param [String] name
|
|
4318
|
-
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
|
|
4319
|
-
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
|
4320
|
-
# @param [String] request_id
|
|
4321
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4322
|
-
# request ID so that if you must retry your request, the server will know to
|
|
4323
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
4324
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
|
4325
|
-
# situation where you make an initial request and the request times out. If you
|
|
4326
|
-
# make the request again with the same request ID, the server can check if
|
|
4327
|
-
# original operation with the same request ID was received, and if so, will
|
|
4328
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
4329
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4330
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4331
|
-
# @param [String] update_mask
|
|
4332
|
-
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
4333
|
-
# Transport resource by the update. The fields specified in the update_mask are
|
|
4334
|
-
# relative to the resource, not the full request. A field will be overwritten if
|
|
4335
|
-
# it is in the mask. If the user does not provide a mask then all fields present
|
|
4336
|
-
# in the request will be overwritten.
|
|
4337
|
-
# @param [String] fields
|
|
4338
|
-
# Selector specifying which fields to include in a partial response.
|
|
4339
|
-
# @param [String] quota_user
|
|
4340
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4341
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4342
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4343
|
-
# Request-specific options
|
|
4344
|
-
#
|
|
4345
|
-
# @yield [result, err] Result & error if block supplied
|
|
4346
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4347
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4348
|
-
#
|
|
4349
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4350
|
-
#
|
|
4351
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4352
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4353
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4354
|
-
def patch_project_location_transport(name, transport_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4355
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4356
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4357
|
-
command.request_object = transport_object
|
|
4358
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4359
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4360
|
-
command.params['name'] = name unless name.nil?
|
|
4361
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
4362
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4363
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4364
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4365
|
-
execute_or_queue_command(command, &block)
|
|
4366
|
-
end
|
|
4367
4128
|
|
|
4368
4129
|
protected
|
|
4369
4130
|
|
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.67.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.67.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:
|