google-apis-networkconnectivity_v1 0.66.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 +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +86 -280
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +35 -84
- data/lib/google/apis/networkconnectivity_v1/service.rb +1 -289
- 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
@@ -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
|
@@ -530,6 +568,11 @@ module Google
|
|
530
568
|
class ConsumerPscConnection
|
531
569
|
include Google::Apis::Core::Hashable
|
532
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
|
+
|
533
576
|
# The `Status` type defines a logical error model that is suitable for different
|
534
577
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
535
578
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -633,6 +676,7 @@ module Google
|
|
633
676
|
|
634
677
|
# Update properties of this object
|
635
678
|
def update!(**args)
|
679
|
+
@dns_automation_status = args[:dns_automation_status] if args.key?(:dns_automation_status)
|
636
680
|
@error = args[:error] if args.key?(:error)
|
637
681
|
@error_info = args[:error_info] if args.key?(:error_info)
|
638
682
|
@error_type = args[:error_type] if args.key?(:error_type)
|
@@ -771,6 +815,42 @@ module Google
|
|
771
815
|
end
|
772
816
|
end
|
773
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
|
+
|
774
854
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
775
855
|
# messages in your APIs. A typical example is to use it as the request or the
|
776
856
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2054,37 +2134,6 @@ module Google
|
|
2054
2134
|
end
|
2055
2135
|
end
|
2056
2136
|
|
2057
|
-
# Message for response to listing RemoteTransportProfiles
|
2058
|
-
class ListRemoteTransportProfilesResponse
|
2059
|
-
include Google::Apis::Core::Hashable
|
2060
|
-
|
2061
|
-
# A token identifying a page of results the server should return.
|
2062
|
-
# Corresponds to the JSON property `nextPageToken`
|
2063
|
-
# @return [String]
|
2064
|
-
attr_accessor :next_page_token
|
2065
|
-
|
2066
|
-
# The list of RemoteTransportProfiles.
|
2067
|
-
# Corresponds to the JSON property `remoteTransportProfiles`
|
2068
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1::RemoteTransportProfile>]
|
2069
|
-
attr_accessor :remote_transport_profiles
|
2070
|
-
|
2071
|
-
# Unordered list. Locations that could not be reached.
|
2072
|
-
# Corresponds to the JSON property `unreachable`
|
2073
|
-
# @return [Array<String>]
|
2074
|
-
attr_accessor :unreachable
|
2075
|
-
|
2076
|
-
def initialize(**args)
|
2077
|
-
update!(**args)
|
2078
|
-
end
|
2079
|
-
|
2080
|
-
# Update properties of this object
|
2081
|
-
def update!(**args)
|
2082
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2083
|
-
@remote_transport_profiles = args[:remote_transport_profiles] if args.key?(:remote_transport_profiles)
|
2084
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2085
|
-
end
|
2086
|
-
end
|
2087
|
-
|
2088
2137
|
# Response for HubService.ListRouteTables method.
|
2089
2138
|
class ListRouteTablesResponse
|
2090
2139
|
include Google::Apis::Core::Hashable
|
@@ -2312,37 +2361,6 @@ module Google
|
|
2312
2361
|
end
|
2313
2362
|
end
|
2314
2363
|
|
2315
|
-
# Message for response to listing Transports.
|
2316
|
-
class ListTransportsResponse
|
2317
|
-
include Google::Apis::Core::Hashable
|
2318
|
-
|
2319
|
-
# A token identifying a page of results the server should return.
|
2320
|
-
# Corresponds to the JSON property `nextPageToken`
|
2321
|
-
# @return [String]
|
2322
|
-
attr_accessor :next_page_token
|
2323
|
-
|
2324
|
-
# The list of Transport.
|
2325
|
-
# Corresponds to the JSON property `transports`
|
2326
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1::Transport>]
|
2327
|
-
attr_accessor :transports
|
2328
|
-
|
2329
|
-
# Unordered list. Locations that could not be reached.
|
2330
|
-
# Corresponds to the JSON property `unreachable`
|
2331
|
-
# @return [Array<String>]
|
2332
|
-
attr_accessor :unreachable
|
2333
|
-
|
2334
|
-
def initialize(**args)
|
2335
|
-
update!(**args)
|
2336
|
-
end
|
2337
|
-
|
2338
|
-
# Update properties of this object
|
2339
|
-
def update!(**args)
|
2340
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2341
|
-
@transports = args[:transports] if args.key?(:transports)
|
2342
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2343
|
-
end
|
2344
|
-
end
|
2345
|
-
|
2346
2364
|
# A resource that represents a Google Cloud location.
|
2347
2365
|
class Location
|
2348
2366
|
include Google::Apis::Core::Hashable
|
@@ -2984,6 +3002,11 @@ module Google
|
|
2984
3002
|
class ProducerPscConfig
|
2985
3003
|
include Google::Apis::Core::Hashable
|
2986
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
|
+
|
2987
3010
|
# The resource path of a service attachment. Example: projects/`projectNumOrId`/
|
2988
3011
|
# regions/`region`/serviceAttachments/`resourceId`.
|
2989
3012
|
# Corresponds to the JSON property `serviceAttachmentUri`
|
@@ -2996,6 +3019,7 @@ module Google
|
|
2996
3019
|
|
2997
3020
|
# Update properties of this object
|
2998
3021
|
def update!(**args)
|
3022
|
+
@automated_dns_creation_spec = args[:automated_dns_creation_spec] if args.key?(:automated_dns_creation_spec)
|
2999
3023
|
@service_attachment_uri = args[:service_attachment_uri] if args.key?(:service_attachment_uri)
|
3000
3024
|
end
|
3001
3025
|
end
|
@@ -3460,97 +3484,6 @@ module Google
|
|
3460
3484
|
end
|
3461
3485
|
end
|
3462
3486
|
|
3463
|
-
# Message describing RemoteTransportProfile object.
|
3464
|
-
class RemoteTransportProfile
|
3465
|
-
include Google::Apis::Core::Hashable
|
3466
|
-
|
3467
|
-
# Output only. [Output only] Create time stamp.
|
3468
|
-
# Corresponds to the JSON property `createTime`
|
3469
|
-
# @return [String]
|
3470
|
-
attr_accessor :create_time
|
3471
|
-
|
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.
|
3484
|
-
# Corresponds to the JSON property `labels`
|
3485
|
-
# @return [Hash<String,String>]
|
3486
|
-
attr_accessor :labels
|
3487
|
-
|
3488
|
-
# Identifier. Name of the resource in the format of $provider-$site.
|
3489
|
-
# Corresponds to the JSON property `name`
|
3490
|
-
# @return [String]
|
3491
|
-
attr_accessor :name
|
3492
|
-
|
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.
|
3529
|
-
# Corresponds to the JSON property `updateTime`
|
3530
|
-
# @return [String]
|
3531
|
-
attr_accessor :update_time
|
3532
|
-
|
3533
|
-
def initialize(**args)
|
3534
|
-
update!(**args)
|
3535
|
-
end
|
3536
|
-
|
3537
|
-
# Update properties of this object
|
3538
|
-
def update!(**args)
|
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)
|
3542
|
-
@labels = args[:labels] if args.key?(:labels)
|
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)
|
3550
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
3551
|
-
end
|
3552
|
-
end
|
3553
|
-
|
3554
3487
|
# A route defines a path from VM instances within a spoke to a specific
|
3555
3488
|
# destination resource. Only VPC spokes have routes.
|
3556
3489
|
class Route
|
@@ -4580,133 +4513,6 @@ module Google
|
|
4580
4513
|
end
|
4581
4514
|
end
|
4582
4515
|
|
4583
|
-
# Message describing Transport object.
|
4584
|
-
class Transport
|
4585
|
-
include Google::Apis::Core::Hashable
|
4586
|
-
|
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.
|
4610
|
-
# Corresponds to the JSON property `createTime`
|
4611
|
-
# @return [String]
|
4612
|
-
attr_accessor :create_time
|
4613
|
-
|
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.
|
4629
|
-
# Corresponds to the JSON property `labels`
|
4630
|
-
# @return [Hash<String,String>]
|
4631
|
-
attr_accessor :labels
|
4632
|
-
|
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.
|
4640
|
-
# Corresponds to the JSON property `name`
|
4641
|
-
# @return [String]
|
4642
|
-
attr_accessor :name
|
4643
|
-
|
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.
|
4681
|
-
# Corresponds to the JSON property `updateTime`
|
4682
|
-
# @return [String]
|
4683
|
-
attr_accessor :update_time
|
4684
|
-
|
4685
|
-
def initialize(**args)
|
4686
|
-
update!(**args)
|
4687
|
-
end
|
4688
|
-
|
4689
|
-
# Update properties of this object
|
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)
|
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)
|
4697
|
-
@labels = args[:labels] if args.key?(:labels)
|
4698
|
-
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
|
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)
|
4706
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
4707
|
-
end
|
4708
|
-
end
|
4709
|
-
|
4710
4516
|
# VM instances that this policy-based route applies to.
|
4711
4517
|
class VirtualMachine
|
4712
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,6 +70,12 @@ 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
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class DnsAutomationStatus
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class Empty
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -280,12 +292,6 @@ module Google
|
|
280
292
|
include Google::Apis::Core::JsonObjectSupport
|
281
293
|
end
|
282
294
|
|
283
|
-
class ListRemoteTransportProfilesResponse
|
284
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
-
|
286
|
-
include Google::Apis::Core::JsonObjectSupport
|
287
|
-
end
|
288
|
-
|
289
295
|
class ListRouteTablesResponse
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
297
|
|
@@ -328,12 +334,6 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
331
|
-
class ListTransportsResponse
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
-
|
334
|
-
include Google::Apis::Core::JsonObjectSupport
|
335
|
-
end
|
336
|
-
|
337
337
|
class Location
|
338
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
339
|
|
@@ -466,12 +466,6 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
-
class RemoteTransportProfile
|
470
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
-
|
472
|
-
include Google::Apis::Core::JsonObjectSupport
|
473
|
-
end
|
474
|
-
|
475
469
|
class Route
|
476
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
471
|
|
@@ -592,12 +586,6 @@ module Google
|
|
592
586
|
include Google::Apis::Core::JsonObjectSupport
|
593
587
|
end
|
594
588
|
|
595
|
-
class Transport
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
-
|
598
|
-
include Google::Apis::Core::JsonObjectSupport
|
599
|
-
end
|
600
|
-
|
601
589
|
class VirtualMachine
|
602
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
591
|
|
@@ -677,6 +665,15 @@ module Google
|
|
677
665
|
end
|
678
666
|
end
|
679
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
|
+
|
680
677
|
class Binding
|
681
678
|
# @private
|
682
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -722,6 +719,8 @@ module Google
|
|
722
719
|
class ConsumerPscConnection
|
723
720
|
# @private
|
724
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
|
+
|
725
724
|
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
726
725
|
|
727
726
|
property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
|
@@ -770,6 +769,16 @@ module Google
|
|
770
769
|
end
|
771
770
|
end
|
772
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
|
+
|
773
782
|
class Empty
|
774
783
|
# @private
|
775
784
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1076,16 +1085,6 @@ module Google
|
|
1076
1085
|
end
|
1077
1086
|
end
|
1078
1087
|
|
1079
|
-
class ListRemoteTransportProfilesResponse
|
1080
|
-
# @private
|
1081
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1082
|
-
property :next_page_token, as: 'nextPageToken'
|
1083
|
-
collection :remote_transport_profiles, as: 'remoteTransportProfiles', class: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile, decorator: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
1084
|
-
|
1085
|
-
collection :unreachable, as: 'unreachable'
|
1086
|
-
end
|
1087
|
-
end
|
1088
|
-
|
1089
1088
|
class ListRouteTablesResponse
|
1090
1089
|
# @private
|
1091
1090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1156,16 +1155,6 @@ module Google
|
|
1156
1155
|
end
|
1157
1156
|
end
|
1158
1157
|
|
1159
|
-
class ListTransportsResponse
|
1160
|
-
# @private
|
1161
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1162
|
-
property :next_page_token, as: 'nextPageToken'
|
1163
|
-
collection :transports, as: 'transports', class: Google::Apis::NetworkconnectivityV1::Transport, decorator: Google::Apis::NetworkconnectivityV1::Transport::Representation
|
1164
|
-
|
1165
|
-
collection :unreachable, as: 'unreachable'
|
1166
|
-
end
|
1167
|
-
end
|
1168
|
-
|
1169
1158
|
class Location
|
1170
1159
|
# @private
|
1171
1160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1313,6 +1302,8 @@ module Google
|
|
1313
1302
|
class ProducerPscConfig
|
1314
1303
|
# @private
|
1315
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
|
+
|
1316
1307
|
property :service_attachment_uri, as: 'serviceAttachmentUri'
|
1317
1308
|
end
|
1318
1309
|
end
|
@@ -1416,24 +1407,6 @@ module Google
|
|
1416
1407
|
end
|
1417
1408
|
end
|
1418
1409
|
|
1419
|
-
class RemoteTransportProfile
|
1420
|
-
# @private
|
1421
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1422
|
-
property :create_time, as: 'createTime'
|
1423
|
-
property :description, as: 'description'
|
1424
|
-
property :flow, as: 'flow'
|
1425
|
-
hash :labels, as: 'labels'
|
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'
|
1433
|
-
property :update_time, as: 'updateTime'
|
1434
|
-
end
|
1435
|
-
end
|
1436
|
-
|
1437
1410
|
class Route
|
1438
1411
|
# @private
|
1439
1412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1684,28 +1657,6 @@ module Google
|
|
1684
1657
|
end
|
1685
1658
|
end
|
1686
1659
|
|
1687
|
-
class Transport
|
1688
|
-
# @private
|
1689
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1690
|
-
property :admin_enabled, as: 'adminEnabled'
|
1691
|
-
collection :advertised_routes, as: 'advertisedRoutes'
|
1692
|
-
property :bandwidth, as: 'bandwidth'
|
1693
|
-
property :create_time, as: 'createTime'
|
1694
|
-
property :description, as: 'description'
|
1695
|
-
property :generated_activation_key, as: 'generatedActivationKey'
|
1696
|
-
hash :labels, as: 'labels'
|
1697
|
-
property :mtu_limit, as: 'mtuLimit'
|
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'
|
1705
|
-
property :update_time, as: 'updateTime'
|
1706
|
-
end
|
1707
|
-
end
|
1708
|
-
|
1709
1660
|
class VirtualMachine
|
1710
1661
|
# @private
|
1711
1662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2617,79 +2617,6 @@ module Google
|
|
2617
2617
|
execute_or_queue_command(command, &block)
|
2618
2618
|
end
|
2619
2619
|
|
2620
|
-
# Gets details of a single RemoteTransportProfile.
|
2621
|
-
# @param [String] name
|
2622
|
-
# Required. Name of the resource.
|
2623
|
-
# @param [String] fields
|
2624
|
-
# Selector specifying which fields to include in a partial response.
|
2625
|
-
# @param [String] quota_user
|
2626
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2627
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2628
|
-
# @param [Google::Apis::RequestOptions] options
|
2629
|
-
# Request-specific options
|
2630
|
-
#
|
2631
|
-
# @yield [result, err] Result & error if block supplied
|
2632
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile] parsed result object
|
2633
|
-
# @yieldparam err [StandardError] error object if request failed
|
2634
|
-
#
|
2635
|
-
# @return [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile]
|
2636
|
-
#
|
2637
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2638
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2639
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2640
|
-
def get_project_location_remote_transport_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
2641
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
2642
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
2643
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile
|
2644
|
-
command.params['name'] = name unless name.nil?
|
2645
|
-
command.query['fields'] = fields unless fields.nil?
|
2646
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2647
|
-
execute_or_queue_command(command, &block)
|
2648
|
-
end
|
2649
|
-
|
2650
|
-
# Lists RemoteTransportProfiles in a given project and location.
|
2651
|
-
# @param [String] parent
|
2652
|
-
# Required. Parent value for ListRemoteTransportProfilesRequest.
|
2653
|
-
# @param [String] filter
|
2654
|
-
# Optional. Filtering results.
|
2655
|
-
# @param [String] order_by
|
2656
|
-
# Optional. Hint for how to order the results.
|
2657
|
-
# @param [Fixnum] page_size
|
2658
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
2659
|
-
# If unspecified, server will pick an appropriate default.
|
2660
|
-
# @param [String] page_token
|
2661
|
-
# Optional. A token identifying a page of results the server should return.
|
2662
|
-
# @param [String] fields
|
2663
|
-
# Selector specifying which fields to include in a partial response.
|
2664
|
-
# @param [String] quota_user
|
2665
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2666
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2667
|
-
# @param [Google::Apis::RequestOptions] options
|
2668
|
-
# Request-specific options
|
2669
|
-
#
|
2670
|
-
# @yield [result, err] Result & error if block supplied
|
2671
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse] parsed result object
|
2672
|
-
# @yieldparam err [StandardError] error object if request failed
|
2673
|
-
#
|
2674
|
-
# @return [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse]
|
2675
|
-
#
|
2676
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2677
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2678
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2679
|
-
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)
|
2680
|
-
command = make_simple_command(:get, 'v1/{+parent}/remoteTransportProfiles', options)
|
2681
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse::Representation
|
2682
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse
|
2683
|
-
command.params['parent'] = parent unless parent.nil?
|
2684
|
-
command.query['filter'] = filter unless filter.nil?
|
2685
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
2686
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2687
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2688
|
-
command.query['fields'] = fields unless fields.nil?
|
2689
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2690
|
-
execute_or_queue_command(command, &block)
|
2691
|
-
end
|
2692
|
-
|
2693
2620
|
# Deletes a single ServiceClass.
|
2694
2621
|
# @param [String] name
|
2695
2622
|
# Required. The name of the ServiceClass to delete.
|
@@ -3332,7 +3259,7 @@ module Google
|
|
3332
3259
|
# Required. The parent resource's name of the ServiceConnectionPolicy. ex.
|
3333
3260
|
# projects/123/locations/us-east1
|
3334
3261
|
# @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy] service_connection_policy_object
|
3335
|
-
# @param [String] auto_subnetwork_config_alloc_range_space
|
3262
|
+
# @param [Array<String>, String] auto_subnetwork_config_alloc_range_space
|
3336
3263
|
# Optional. The space where we search for a free range to create a subnetwork.
|
3337
3264
|
# It can be narrow down or pick a different space. This is in standard CIDR
|
3338
3265
|
# format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY
|
@@ -4198,221 +4125,6 @@ module Google
|
|
4198
4125
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4199
4126
|
execute_or_queue_command(command, &block)
|
4200
4127
|
end
|
4201
|
-
|
4202
|
-
# Creates a new Transport in a given project and location.
|
4203
|
-
# @param [String] parent
|
4204
|
-
# Required. Value for parent.
|
4205
|
-
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
4206
|
-
# @param [String] request_id
|
4207
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
4208
|
-
# request ID so that if you must retry your request, the server will know to
|
4209
|
-
# ignore the request if it has already been completed. The server will guarantee
|
4210
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
4211
|
-
# situation where you make an initial request and the request times out. If you
|
4212
|
-
# make the request again with the same request ID, the server can check if
|
4213
|
-
# original operation with the same request ID was received, and if so, will
|
4214
|
-
# ignore the second request. This prevents clients from accidentally creating
|
4215
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4216
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4217
|
-
# @param [String] transport_id
|
4218
|
-
# Required. Id of the requesting object
|
4219
|
-
# @param [String] fields
|
4220
|
-
# Selector specifying which fields to include in a partial response.
|
4221
|
-
# @param [String] quota_user
|
4222
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4223
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4224
|
-
# @param [Google::Apis::RequestOptions] options
|
4225
|
-
# Request-specific options
|
4226
|
-
#
|
4227
|
-
# @yield [result, err] Result & error if block supplied
|
4228
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
4229
|
-
# @yieldparam err [StandardError] error object if request failed
|
4230
|
-
#
|
4231
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
4232
|
-
#
|
4233
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4234
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4235
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4236
|
-
def create_project_location_transport(parent, transport_object = nil, request_id: nil, transport_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4237
|
-
command = make_simple_command(:post, 'v1/{+parent}/transports', options)
|
4238
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
4239
|
-
command.request_object = transport_object
|
4240
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
4241
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
4242
|
-
command.params['parent'] = parent unless parent.nil?
|
4243
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
4244
|
-
command.query['transportId'] = transport_id unless transport_id.nil?
|
4245
|
-
command.query['fields'] = fields unless fields.nil?
|
4246
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4247
|
-
execute_or_queue_command(command, &block)
|
4248
|
-
end
|
4249
|
-
|
4250
|
-
# Deletes a single Transport.
|
4251
|
-
# @param [String] name
|
4252
|
-
# Required. Name of the resource.
|
4253
|
-
# @param [String] request_id
|
4254
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
4255
|
-
# request ID so that if you must retry your request, the server will know to
|
4256
|
-
# ignore the request if it has already been completed. The server will guarantee
|
4257
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
4258
|
-
# situation where you make an initial request and the request times out. If you
|
4259
|
-
# make the request again with the same request ID, the server can check if
|
4260
|
-
# original operation with the same request ID was received, and if so, will
|
4261
|
-
# ignore the second request. This prevents clients from accidentally creating
|
4262
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4263
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4264
|
-
# @param [String] fields
|
4265
|
-
# Selector specifying which fields to include in a partial response.
|
4266
|
-
# @param [String] quota_user
|
4267
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4268
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4269
|
-
# @param [Google::Apis::RequestOptions] options
|
4270
|
-
# Request-specific options
|
4271
|
-
#
|
4272
|
-
# @yield [result, err] Result & error if block supplied
|
4273
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
4274
|
-
# @yieldparam err [StandardError] error object if request failed
|
4275
|
-
#
|
4276
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
4277
|
-
#
|
4278
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4279
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4280
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4281
|
-
def delete_project_location_transport(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4282
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
4283
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
4284
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
4285
|
-
command.params['name'] = name unless name.nil?
|
4286
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
4287
|
-
command.query['fields'] = fields unless fields.nil?
|
4288
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4289
|
-
execute_or_queue_command(command, &block)
|
4290
|
-
end
|
4291
|
-
|
4292
|
-
# Gets details of a single Transport.
|
4293
|
-
# @param [String] name
|
4294
|
-
# Required. Name of the resource.
|
4295
|
-
# @param [String] fields
|
4296
|
-
# Selector specifying which fields to include in a partial response.
|
4297
|
-
# @param [String] quota_user
|
4298
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4299
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4300
|
-
# @param [Google::Apis::RequestOptions] options
|
4301
|
-
# Request-specific options
|
4302
|
-
#
|
4303
|
-
# @yield [result, err] Result & error if block supplied
|
4304
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Transport] parsed result object
|
4305
|
-
# @yieldparam err [StandardError] error object if request failed
|
4306
|
-
#
|
4307
|
-
# @return [Google::Apis::NetworkconnectivityV1::Transport]
|
4308
|
-
#
|
4309
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4310
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4311
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4312
|
-
def get_project_location_transport(name, fields: nil, quota_user: nil, options: nil, &block)
|
4313
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
4314
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
4315
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Transport
|
4316
|
-
command.params['name'] = name unless name.nil?
|
4317
|
-
command.query['fields'] = fields unless fields.nil?
|
4318
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4319
|
-
execute_or_queue_command(command, &block)
|
4320
|
-
end
|
4321
|
-
|
4322
|
-
# Lists Transports in a given project and location.
|
4323
|
-
# @param [String] parent
|
4324
|
-
# Required. Parent value for ListTransportsRequest.
|
4325
|
-
# @param [String] filter
|
4326
|
-
# Optional. Filtering results.
|
4327
|
-
# @param [String] order_by
|
4328
|
-
# Optional. Hint for how to order the results.
|
4329
|
-
# @param [Fixnum] page_size
|
4330
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
4331
|
-
# If unspecified, server will pick an appropriate default.
|
4332
|
-
# @param [String] page_token
|
4333
|
-
# Optional. A token identifying a page of results the server should return.
|
4334
|
-
# @param [String] fields
|
4335
|
-
# Selector specifying which fields to include in a partial response.
|
4336
|
-
# @param [String] quota_user
|
4337
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4338
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4339
|
-
# @param [Google::Apis::RequestOptions] options
|
4340
|
-
# Request-specific options
|
4341
|
-
#
|
4342
|
-
# @yield [result, err] Result & error if block supplied
|
4343
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListTransportsResponse] parsed result object
|
4344
|
-
# @yieldparam err [StandardError] error object if request failed
|
4345
|
-
#
|
4346
|
-
# @return [Google::Apis::NetworkconnectivityV1::ListTransportsResponse]
|
4347
|
-
#
|
4348
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4349
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4350
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4351
|
-
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)
|
4352
|
-
command = make_simple_command(:get, 'v1/{+parent}/transports', options)
|
4353
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::ListTransportsResponse::Representation
|
4354
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::ListTransportsResponse
|
4355
|
-
command.params['parent'] = parent unless parent.nil?
|
4356
|
-
command.query['filter'] = filter unless filter.nil?
|
4357
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
4358
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
4359
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
4360
|
-
command.query['fields'] = fields unless fields.nil?
|
4361
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4362
|
-
execute_or_queue_command(command, &block)
|
4363
|
-
end
|
4364
|
-
|
4365
|
-
# Updates the parameters of a single Transport.
|
4366
|
-
# @param [String] name
|
4367
|
-
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
|
4368
|
-
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
4369
|
-
# @param [String] request_id
|
4370
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
4371
|
-
# request ID so that if you must retry your request, the server will know to
|
4372
|
-
# ignore the request if it has already been completed. The server will guarantee
|
4373
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
4374
|
-
# situation where you make an initial request and the request times out. If you
|
4375
|
-
# make the request again with the same request ID, the server can check if
|
4376
|
-
# original operation with the same request ID was received, and if so, will
|
4377
|
-
# ignore the second request. This prevents clients from accidentally creating
|
4378
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4379
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4380
|
-
# @param [String] update_mask
|
4381
|
-
# Optional. Field mask is used to specify the fields to be overwritten in the
|
4382
|
-
# Transport resource by the update. The fields specified in the update_mask are
|
4383
|
-
# relative to the resource, not the full request. A field will be overwritten if
|
4384
|
-
# it is in the mask. If the user does not provide a mask then all fields present
|
4385
|
-
# in the request will be overwritten.
|
4386
|
-
# @param [String] fields
|
4387
|
-
# Selector specifying which fields to include in a partial response.
|
4388
|
-
# @param [String] quota_user
|
4389
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4390
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4391
|
-
# @param [Google::Apis::RequestOptions] options
|
4392
|
-
# Request-specific options
|
4393
|
-
#
|
4394
|
-
# @yield [result, err] Result & error if block supplied
|
4395
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
4396
|
-
# @yieldparam err [StandardError] error object if request failed
|
4397
|
-
#
|
4398
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
4399
|
-
#
|
4400
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4401
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4402
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4403
|
-
def patch_project_location_transport(name, transport_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4404
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
4405
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
4406
|
-
command.request_object = transport_object
|
4407
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
4408
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
4409
|
-
command.params['name'] = name unless name.nil?
|
4410
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
4411
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4412
|
-
command.query['fields'] = fields unless fields.nil?
|
4413
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4414
|
-
execute_or_queue_command(command, &block)
|
4415
|
-
end
|
4416
4128
|
|
4417
4129
|
protected
|
4418
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:
|