google-apis-networkconnectivity_v1 0.73.0 → 0.74.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 +265 -0
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +82 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +302 -372
- 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: c9ffcd164f233e7d3042e91f6dca90472c026e3657d2d8cad49b318915cead92
|
|
4
|
+
data.tar.gz: de2a050eac48f260a39eca417d8844dc706a6d325de32bcde3b31542f442c192
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd2929a0de617b91785f258bc3b38c27656123685da0042c1f7922ab6819e336a9363300ab639b383031db51aaf3b28f7ff5a0e04553daa45ee959757386d7f1
|
|
7
|
+
data.tar.gz: 4fb1b168a423a14d26627ea3544448d78c0e4b0b73d21fd28f35145877d3b597f4a3f786d0b2b3e0d4380d0ae7a4ea4b10e8721996c392cd69a18c5c6f2dd91c
|
data/CHANGELOG.md
CHANGED
|
@@ -2409,6 +2409,37 @@ module Google
|
|
|
2409
2409
|
end
|
|
2410
2410
|
end
|
|
2411
2411
|
|
|
2412
|
+
# Message for response to listing RemoteTransportProfiles
|
|
2413
|
+
class ListRemoteTransportProfilesResponse
|
|
2414
|
+
include Google::Apis::Core::Hashable
|
|
2415
|
+
|
|
2416
|
+
# A token identifying a page of results the server should return.
|
|
2417
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2418
|
+
# @return [String]
|
|
2419
|
+
attr_accessor :next_page_token
|
|
2420
|
+
|
|
2421
|
+
# The list of RemoteTransportProfiles.
|
|
2422
|
+
# Corresponds to the JSON property `remoteTransportProfiles`
|
|
2423
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::RemoteTransportProfile>]
|
|
2424
|
+
attr_accessor :remote_transport_profiles
|
|
2425
|
+
|
|
2426
|
+
# Unordered list. Locations that could not be reached.
|
|
2427
|
+
# Corresponds to the JSON property `unreachable`
|
|
2428
|
+
# @return [Array<String>]
|
|
2429
|
+
attr_accessor :unreachable
|
|
2430
|
+
|
|
2431
|
+
def initialize(**args)
|
|
2432
|
+
update!(**args)
|
|
2433
|
+
end
|
|
2434
|
+
|
|
2435
|
+
# Update properties of this object
|
|
2436
|
+
def update!(**args)
|
|
2437
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2438
|
+
@remote_transport_profiles = args[:remote_transport_profiles] if args.key?(:remote_transport_profiles)
|
|
2439
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2440
|
+
end
|
|
2441
|
+
end
|
|
2442
|
+
|
|
2412
2443
|
# Response for HubService.ListRouteTables method.
|
|
2413
2444
|
class ListRouteTablesResponse
|
|
2414
2445
|
include Google::Apis::Core::Hashable
|
|
@@ -2636,6 +2667,37 @@ module Google
|
|
|
2636
2667
|
end
|
|
2637
2668
|
end
|
|
2638
2669
|
|
|
2670
|
+
# Message for response to listing Transports.
|
|
2671
|
+
class ListTransportsResponse
|
|
2672
|
+
include Google::Apis::Core::Hashable
|
|
2673
|
+
|
|
2674
|
+
# A token identifying a page of results the server should return.
|
|
2675
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2676
|
+
# @return [String]
|
|
2677
|
+
attr_accessor :next_page_token
|
|
2678
|
+
|
|
2679
|
+
# The list of Transport.
|
|
2680
|
+
# Corresponds to the JSON property `transports`
|
|
2681
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::Transport>]
|
|
2682
|
+
attr_accessor :transports
|
|
2683
|
+
|
|
2684
|
+
# Unordered list. Locations that could not be reached.
|
|
2685
|
+
# Corresponds to the JSON property `unreachable`
|
|
2686
|
+
# @return [Array<String>]
|
|
2687
|
+
attr_accessor :unreachable
|
|
2688
|
+
|
|
2689
|
+
def initialize(**args)
|
|
2690
|
+
update!(**args)
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
# Update properties of this object
|
|
2694
|
+
def update!(**args)
|
|
2695
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2696
|
+
@transports = args[:transports] if args.key?(:transports)
|
|
2697
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2698
|
+
end
|
|
2699
|
+
end
|
|
2700
|
+
|
|
2639
2701
|
# A resource that represents a Google Cloud location.
|
|
2640
2702
|
class Location
|
|
2641
2703
|
include Google::Apis::Core::Hashable
|
|
@@ -3759,6 +3821,85 @@ module Google
|
|
|
3759
3821
|
end
|
|
3760
3822
|
end
|
|
3761
3823
|
|
|
3824
|
+
# Message describing RemoteTransportProfile object.
|
|
3825
|
+
class RemoteTransportProfile
|
|
3826
|
+
include Google::Apis::Core::Hashable
|
|
3827
|
+
|
|
3828
|
+
# Output only. Description of the profile.
|
|
3829
|
+
# Corresponds to the JSON property `description`
|
|
3830
|
+
# @return [String]
|
|
3831
|
+
attr_accessor :description
|
|
3832
|
+
|
|
3833
|
+
# Output only. Human readable name of this profile, used to identify this
|
|
3834
|
+
# profile in the UI.
|
|
3835
|
+
# Corresponds to the JSON property `displayName`
|
|
3836
|
+
# @return [String]
|
|
3837
|
+
attr_accessor :display_name
|
|
3838
|
+
|
|
3839
|
+
# Output only. Type of provisioning flows supported by this profile.
|
|
3840
|
+
# Corresponds to the JSON property `flow`
|
|
3841
|
+
# @return [String]
|
|
3842
|
+
attr_accessor :flow
|
|
3843
|
+
|
|
3844
|
+
# Output only. Labels as key value pairs.
|
|
3845
|
+
# Corresponds to the JSON property `labels`
|
|
3846
|
+
# @return [Hash<String,String>]
|
|
3847
|
+
attr_accessor :labels
|
|
3848
|
+
|
|
3849
|
+
# Identifier. Name of the resource in the format of $provider-$site.
|
|
3850
|
+
# Corresponds to the JSON property `name`
|
|
3851
|
+
# @return [String]
|
|
3852
|
+
attr_accessor :name
|
|
3853
|
+
|
|
3854
|
+
# Output only. Order state for this profile.
|
|
3855
|
+
# Corresponds to the JSON property `orderState`
|
|
3856
|
+
# @return [String]
|
|
3857
|
+
attr_accessor :order_state
|
|
3858
|
+
|
|
3859
|
+
# Output only. Name of the provider on the other end of this profile. E.g. “
|
|
3860
|
+
# Amazon Web Services” or “Microsoft Azure”.
|
|
3861
|
+
# Corresponds to the JSON property `provider`
|
|
3862
|
+
# @return [String]
|
|
3863
|
+
attr_accessor :provider
|
|
3864
|
+
|
|
3865
|
+
# Output only. If the profile is a Cloud Service Provider with compute resources,
|
|
3866
|
+
# this is populated with the region where connectivity is being established. If
|
|
3867
|
+
# the profile provides facility-level selection, this is an identity of the
|
|
3868
|
+
# facility any connections on this profile are going through.
|
|
3869
|
+
# Corresponds to the JSON property `providerSite`
|
|
3870
|
+
# @return [String]
|
|
3871
|
+
attr_accessor :provider_site
|
|
3872
|
+
|
|
3873
|
+
# Output only. Availability class that will be configured for this particular
|
|
3874
|
+
# RemoteTransportProfile.
|
|
3875
|
+
# Corresponds to the JSON property `sla`
|
|
3876
|
+
# @return [String]
|
|
3877
|
+
attr_accessor :sla
|
|
3878
|
+
|
|
3879
|
+
# Output only. List of bandwidth enum values that are supported by this profile.
|
|
3880
|
+
# Corresponds to the JSON property `supportedBandwidths`
|
|
3881
|
+
# @return [Array<String>]
|
|
3882
|
+
attr_accessor :supported_bandwidths
|
|
3883
|
+
|
|
3884
|
+
def initialize(**args)
|
|
3885
|
+
update!(**args)
|
|
3886
|
+
end
|
|
3887
|
+
|
|
3888
|
+
# Update properties of this object
|
|
3889
|
+
def update!(**args)
|
|
3890
|
+
@description = args[:description] if args.key?(:description)
|
|
3891
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3892
|
+
@flow = args[:flow] if args.key?(:flow)
|
|
3893
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
3894
|
+
@name = args[:name] if args.key?(:name)
|
|
3895
|
+
@order_state = args[:order_state] if args.key?(:order_state)
|
|
3896
|
+
@provider = args[:provider] if args.key?(:provider)
|
|
3897
|
+
@provider_site = args[:provider_site] if args.key?(:provider_site)
|
|
3898
|
+
@sla = args[:sla] if args.key?(:sla)
|
|
3899
|
+
@supported_bandwidths = args[:supported_bandwidths] if args.key?(:supported_bandwidths)
|
|
3900
|
+
end
|
|
3901
|
+
end
|
|
3902
|
+
|
|
3762
3903
|
# A route defines a path from VM instances within a spoke to a specific
|
|
3763
3904
|
# destination resource. Only VPC spokes have routes.
|
|
3764
3905
|
class Route
|
|
@@ -4788,6 +4929,130 @@ module Google
|
|
|
4788
4929
|
end
|
|
4789
4930
|
end
|
|
4790
4931
|
|
|
4932
|
+
# Message describing Transport object.
|
|
4933
|
+
class Transport
|
|
4934
|
+
include Google::Apis::Core::Hashable
|
|
4935
|
+
|
|
4936
|
+
# Optional. List of IP Prefixes that will be advertised to the remote provider.
|
|
4937
|
+
# Both IPv4 and IPv6 addresses are supported.
|
|
4938
|
+
# Corresponds to the JSON property `advertisedRoutes`
|
|
4939
|
+
# @return [Array<String>]
|
|
4940
|
+
attr_accessor :advertised_routes
|
|
4941
|
+
|
|
4942
|
+
# Optional. Bandwidth of the Transport. This must be one of the supported
|
|
4943
|
+
# bandwidths for the remote profile, and must be set when no activation key is
|
|
4944
|
+
# being provided.
|
|
4945
|
+
# Corresponds to the JSON property `bandwidth`
|
|
4946
|
+
# @return [String]
|
|
4947
|
+
attr_accessor :bandwidth
|
|
4948
|
+
|
|
4949
|
+
# Output only. Create time stamp.
|
|
4950
|
+
# Corresponds to the JSON property `createTime`
|
|
4951
|
+
# @return [String]
|
|
4952
|
+
attr_accessor :create_time
|
|
4953
|
+
|
|
4954
|
+
# Optional. Description of the Transport.
|
|
4955
|
+
# Corresponds to the JSON property `description`
|
|
4956
|
+
# @return [String]
|
|
4957
|
+
attr_accessor :description
|
|
4958
|
+
|
|
4959
|
+
# Output only. Google-generated activation key. This is only output if the
|
|
4960
|
+
# selected profile supports an OUTPUT key flow. Inputting this to the provider
|
|
4961
|
+
# is only valid while the resource is in a PENDING_KEY state. Once the provider
|
|
4962
|
+
# has accepted the key, the resource will move to the CONFIGURING state.
|
|
4963
|
+
# Corresponds to the JSON property `generatedActivationKey`
|
|
4964
|
+
# @return [String]
|
|
4965
|
+
attr_accessor :generated_activation_key
|
|
4966
|
+
|
|
4967
|
+
# Optional. Labels as key value pairs.
|
|
4968
|
+
# Corresponds to the JSON property `labels`
|
|
4969
|
+
# @return [Hash<String,String>]
|
|
4970
|
+
attr_accessor :labels
|
|
4971
|
+
|
|
4972
|
+
# Output only. The maximum transmission unit (MTU) of a packet that can be sent
|
|
4973
|
+
# over this transport.
|
|
4974
|
+
# Corresponds to the JSON property `mtuLimit`
|
|
4975
|
+
# @return [Fixnum]
|
|
4976
|
+
attr_accessor :mtu_limit
|
|
4977
|
+
|
|
4978
|
+
# Identifier. Name of the resource.
|
|
4979
|
+
# Corresponds to the JSON property `name`
|
|
4980
|
+
# @return [String]
|
|
4981
|
+
attr_accessor :name
|
|
4982
|
+
|
|
4983
|
+
# Optional. Immutable. Resource URI of the Network that will be peered with this
|
|
4984
|
+
# Transport. This field must be provided during resource creation and cannot be
|
|
4985
|
+
# changed.
|
|
4986
|
+
# Corresponds to the JSON property `network`
|
|
4987
|
+
# @return [String]
|
|
4988
|
+
attr_accessor :network
|
|
4989
|
+
|
|
4990
|
+
# Output only. VPC Network URI that was created for the VPC Peering connection
|
|
4991
|
+
# to the provided `network`. If VPC Peering is disconnected, this can be used to
|
|
4992
|
+
# re-establish.
|
|
4993
|
+
# Corresponds to the JSON property `peeringNetwork`
|
|
4994
|
+
# @return [String]
|
|
4995
|
+
attr_accessor :peering_network
|
|
4996
|
+
|
|
4997
|
+
# Optional. Immutable. Key used for establishing a connection with the remote
|
|
4998
|
+
# transport. This key can only be provided if the profile supports an INPUT key
|
|
4999
|
+
# flow and the resource is in the PENDING_KEY state.
|
|
5000
|
+
# Corresponds to the JSON property `providedActivationKey`
|
|
5001
|
+
# @return [String]
|
|
5002
|
+
attr_accessor :provided_activation_key
|
|
5003
|
+
|
|
5004
|
+
# Optional. Immutable. The user supplied account id for the CSP associated with
|
|
5005
|
+
# the remote profile.
|
|
5006
|
+
# Corresponds to the JSON property `remoteAccountId`
|
|
5007
|
+
# @return [String]
|
|
5008
|
+
attr_accessor :remote_account_id
|
|
5009
|
+
|
|
5010
|
+
# Optional. Immutable. Name of the remoteTransportProfile that this Transport is
|
|
5011
|
+
# connecting to.
|
|
5012
|
+
# Corresponds to the JSON property `remoteProfile`
|
|
5013
|
+
# @return [String]
|
|
5014
|
+
attr_accessor :remote_profile
|
|
5015
|
+
|
|
5016
|
+
# Optional. IP version stack for the established connectivity.
|
|
5017
|
+
# Corresponds to the JSON property `stackType`
|
|
5018
|
+
# @return [String]
|
|
5019
|
+
attr_accessor :stack_type
|
|
5020
|
+
|
|
5021
|
+
# Output only. State of the underlying connectivity.
|
|
5022
|
+
# Corresponds to the JSON property `state`
|
|
5023
|
+
# @return [String]
|
|
5024
|
+
attr_accessor :state
|
|
5025
|
+
|
|
5026
|
+
# Output only. Update time stamp.
|
|
5027
|
+
# Corresponds to the JSON property `updateTime`
|
|
5028
|
+
# @return [String]
|
|
5029
|
+
attr_accessor :update_time
|
|
5030
|
+
|
|
5031
|
+
def initialize(**args)
|
|
5032
|
+
update!(**args)
|
|
5033
|
+
end
|
|
5034
|
+
|
|
5035
|
+
# Update properties of this object
|
|
5036
|
+
def update!(**args)
|
|
5037
|
+
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
|
|
5038
|
+
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
|
5039
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5040
|
+
@description = args[:description] if args.key?(:description)
|
|
5041
|
+
@generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key)
|
|
5042
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
5043
|
+
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
|
|
5044
|
+
@name = args[:name] if args.key?(:name)
|
|
5045
|
+
@network = args[:network] if args.key?(:network)
|
|
5046
|
+
@peering_network = args[:peering_network] if args.key?(:peering_network)
|
|
5047
|
+
@provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key)
|
|
5048
|
+
@remote_account_id = args[:remote_account_id] if args.key?(:remote_account_id)
|
|
5049
|
+
@remote_profile = args[:remote_profile] if args.key?(:remote_profile)
|
|
5050
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
|
5051
|
+
@state = args[:state] if args.key?(:state)
|
|
5052
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
5053
|
+
end
|
|
5054
|
+
end
|
|
5055
|
+
|
|
4791
5056
|
# VM instances that this policy-based route applies to.
|
|
4792
5057
|
class VirtualMachine
|
|
4793
5058
|
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.74.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 = "20260326"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -310,6 +310,12 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
class ListRemoteTransportProfilesResponse
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
313
319
|
class ListRouteTablesResponse
|
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
321
|
|
|
@@ -352,6 +358,12 @@ module Google
|
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
359
|
end
|
|
354
360
|
|
|
361
|
+
class ListTransportsResponse
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
355
367
|
class Location
|
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
369
|
|
|
@@ -484,6 +496,12 @@ module Google
|
|
|
484
496
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
497
|
end
|
|
486
498
|
|
|
499
|
+
class RemoteTransportProfile
|
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
+
|
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
+
end
|
|
504
|
+
|
|
487
505
|
class Route
|
|
488
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
507
|
|
|
@@ -604,6 +622,12 @@ module Google
|
|
|
604
622
|
include Google::Apis::Core::JsonObjectSupport
|
|
605
623
|
end
|
|
606
624
|
|
|
625
|
+
class Transport
|
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
|
+
|
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
629
|
+
end
|
|
630
|
+
|
|
607
631
|
class VirtualMachine
|
|
608
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
633
|
|
|
@@ -1157,6 +1181,16 @@ module Google
|
|
|
1157
1181
|
end
|
|
1158
1182
|
end
|
|
1159
1183
|
|
|
1184
|
+
class ListRemoteTransportProfilesResponse
|
|
1185
|
+
# @private
|
|
1186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1187
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1188
|
+
collection :remote_transport_profiles, as: 'remoteTransportProfiles', class: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile, decorator: Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
|
1189
|
+
|
|
1190
|
+
collection :unreachable, as: 'unreachable'
|
|
1191
|
+
end
|
|
1192
|
+
end
|
|
1193
|
+
|
|
1160
1194
|
class ListRouteTablesResponse
|
|
1161
1195
|
# @private
|
|
1162
1196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1227,6 +1261,16 @@ module Google
|
|
|
1227
1261
|
end
|
|
1228
1262
|
end
|
|
1229
1263
|
|
|
1264
|
+
class ListTransportsResponse
|
|
1265
|
+
# @private
|
|
1266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1267
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1268
|
+
collection :transports, as: 'transports', class: Google::Apis::NetworkconnectivityV1::Transport, decorator: Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
1269
|
+
|
|
1270
|
+
collection :unreachable, as: 'unreachable'
|
|
1271
|
+
end
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1230
1274
|
class Location
|
|
1231
1275
|
# @private
|
|
1232
1276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1479,6 +1523,22 @@ module Google
|
|
|
1479
1523
|
end
|
|
1480
1524
|
end
|
|
1481
1525
|
|
|
1526
|
+
class RemoteTransportProfile
|
|
1527
|
+
# @private
|
|
1528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1529
|
+
property :description, as: 'description'
|
|
1530
|
+
property :display_name, as: 'displayName'
|
|
1531
|
+
property :flow, as: 'flow'
|
|
1532
|
+
hash :labels, as: 'labels'
|
|
1533
|
+
property :name, as: 'name'
|
|
1534
|
+
property :order_state, as: 'orderState'
|
|
1535
|
+
property :provider, as: 'provider'
|
|
1536
|
+
property :provider_site, as: 'providerSite'
|
|
1537
|
+
property :sla, as: 'sla'
|
|
1538
|
+
collection :supported_bandwidths, as: 'supportedBandwidths'
|
|
1539
|
+
end
|
|
1540
|
+
end
|
|
1541
|
+
|
|
1482
1542
|
class Route
|
|
1483
1543
|
# @private
|
|
1484
1544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1729,6 +1789,28 @@ module Google
|
|
|
1729
1789
|
end
|
|
1730
1790
|
end
|
|
1731
1791
|
|
|
1792
|
+
class Transport
|
|
1793
|
+
# @private
|
|
1794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1795
|
+
collection :advertised_routes, as: 'advertisedRoutes'
|
|
1796
|
+
property :bandwidth, as: 'bandwidth'
|
|
1797
|
+
property :create_time, as: 'createTime'
|
|
1798
|
+
property :description, as: 'description'
|
|
1799
|
+
property :generated_activation_key, as: 'generatedActivationKey'
|
|
1800
|
+
hash :labels, as: 'labels'
|
|
1801
|
+
property :mtu_limit, as: 'mtuLimit'
|
|
1802
|
+
property :name, as: 'name'
|
|
1803
|
+
property :network, as: 'network'
|
|
1804
|
+
property :peering_network, as: 'peeringNetwork'
|
|
1805
|
+
property :provided_activation_key, as: 'providedActivationKey'
|
|
1806
|
+
property :remote_account_id, as: 'remoteAccountId'
|
|
1807
|
+
property :remote_profile, as: 'remoteProfile'
|
|
1808
|
+
property :stack_type, as: 'stackType'
|
|
1809
|
+
property :state, as: 'state'
|
|
1810
|
+
property :update_time, as: 'updateTime'
|
|
1811
|
+
end
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1732
1814
|
class VirtualMachine
|
|
1733
1815
|
# @private
|
|
1734
1816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -123,10 +123,15 @@ module Google
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
# Lists information about the supported locations for this service. This method
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
126
|
+
# lists locations based on the resource scope provided in the [
|
|
127
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
128
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
129
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
130
|
+
# method lists locations visible to that specific project. This includes public,
|
|
131
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
132
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
133
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
134
|
+
# request path based on the specific service implementation and version.
|
|
130
135
|
# @param [String] name
|
|
131
136
|
# The resource that owns the locations collection, if applicable.
|
|
132
137
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -2800,6 +2805,79 @@ module Google
|
|
|
2800
2805
|
execute_or_queue_command(command, &block)
|
|
2801
2806
|
end
|
|
2802
2807
|
|
|
2808
|
+
# Gets details of a single RemoteTransportProfile.
|
|
2809
|
+
# @param [String] name
|
|
2810
|
+
# Required. Name of the resource.
|
|
2811
|
+
# @param [String] fields
|
|
2812
|
+
# Selector specifying which fields to include in a partial response.
|
|
2813
|
+
# @param [String] quota_user
|
|
2814
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2815
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2816
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2817
|
+
# Request-specific options
|
|
2818
|
+
#
|
|
2819
|
+
# @yield [result, err] Result & error if block supplied
|
|
2820
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile] parsed result object
|
|
2821
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2822
|
+
#
|
|
2823
|
+
# @return [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile]
|
|
2824
|
+
#
|
|
2825
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2826
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2827
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2828
|
+
def get_project_location_remote_transport_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2829
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2830
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
|
|
2831
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile
|
|
2832
|
+
command.params['name'] = name unless name.nil?
|
|
2833
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2834
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2835
|
+
execute_or_queue_command(command, &block)
|
|
2836
|
+
end
|
|
2837
|
+
|
|
2838
|
+
# Lists RemoteTransportProfiles in a given project and location.
|
|
2839
|
+
# @param [String] parent
|
|
2840
|
+
# Required. Parent value for ListRemoteTransportProfilesRequest.
|
|
2841
|
+
# @param [String] filter
|
|
2842
|
+
# Optional. Filtering results.
|
|
2843
|
+
# @param [String] order_by
|
|
2844
|
+
# Optional. Hint for how to order the results.
|
|
2845
|
+
# @param [Fixnum] page_size
|
|
2846
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
2847
|
+
# If unspecified, server will pick an appropriate default.
|
|
2848
|
+
# @param [String] page_token
|
|
2849
|
+
# Optional. A token identifying a page of results the server should return.
|
|
2850
|
+
# @param [String] fields
|
|
2851
|
+
# Selector specifying which fields to include in a partial response.
|
|
2852
|
+
# @param [String] quota_user
|
|
2853
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2854
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2855
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2856
|
+
# Request-specific options
|
|
2857
|
+
#
|
|
2858
|
+
# @yield [result, err] Result & error if block supplied
|
|
2859
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse] parsed result object
|
|
2860
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2861
|
+
#
|
|
2862
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse]
|
|
2863
|
+
#
|
|
2864
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2865
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2866
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2867
|
+
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)
|
|
2868
|
+
command = make_simple_command(:get, 'v1/{+parent}/remoteTransportProfiles', options)
|
|
2869
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse::Representation
|
|
2870
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse
|
|
2871
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2872
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2873
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2874
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2875
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2876
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2878
|
+
execute_or_queue_command(command, &block)
|
|
2879
|
+
end
|
|
2880
|
+
|
|
2803
2881
|
# Deletes a single ServiceClass.
|
|
2804
2882
|
# @param [String] name
|
|
2805
2883
|
# Required. The name of the ServiceClass to delete.
|
|
@@ -2876,51 +2954,6 @@ module Google
|
|
|
2876
2954
|
execute_or_queue_command(command, &block)
|
|
2877
2955
|
end
|
|
2878
2956
|
|
|
2879
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
2880
|
-
# resource exists and does not have a policy set.
|
|
2881
|
-
# @param [String] resource
|
|
2882
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
2883
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
2884
|
-
# appropriate value for this field.
|
|
2885
|
-
# @param [Fixnum] options_requested_policy_version
|
|
2886
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
|
2887
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
2888
|
-
# rejected. Requests for policies with any conditional role bindings must
|
|
2889
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
|
2890
|
-
# valid value or leave the field unset. The policy in the response might use the
|
|
2891
|
-
# policy version that you specified, or it might use a lower policy version. For
|
|
2892
|
-
# example, if you specify version 3, but the policy has no conditional role
|
|
2893
|
-
# bindings, the response uses version 1. To learn which resources support
|
|
2894
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
2895
|
-
# google.com/iam/help/conditions/resource-policies).
|
|
2896
|
-
# @param [String] fields
|
|
2897
|
-
# Selector specifying which fields to include in a partial response.
|
|
2898
|
-
# @param [String] quota_user
|
|
2899
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2900
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2901
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2902
|
-
# Request-specific options
|
|
2903
|
-
#
|
|
2904
|
-
# @yield [result, err] Result & error if block supplied
|
|
2905
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
2906
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2907
|
-
#
|
|
2908
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
2909
|
-
#
|
|
2910
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2911
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2912
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2913
|
-
def get_project_location_service_class_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2914
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
2915
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
2916
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
2917
|
-
command.params['resource'] = resource unless resource.nil?
|
|
2918
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
2919
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2920
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2921
|
-
execute_or_queue_command(command, &block)
|
|
2922
|
-
end
|
|
2923
|
-
|
|
2924
2957
|
# Lists ServiceClasses in a given project and location.
|
|
2925
2958
|
# @param [String] parent
|
|
2926
2959
|
# Required. The parent resource's name. ex. projects/123/locations/us-east1
|
|
@@ -3017,82 +3050,6 @@ module Google
|
|
|
3017
3050
|
execute_or_queue_command(command, &block)
|
|
3018
3051
|
end
|
|
3019
3052
|
|
|
3020
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
3021
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
3022
|
-
# PERMISSION_DENIED` errors.
|
|
3023
|
-
# @param [String] resource
|
|
3024
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
3025
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3026
|
-
# appropriate value for this field.
|
|
3027
|
-
# @param [Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
3028
|
-
# @param [String] fields
|
|
3029
|
-
# Selector specifying which fields to include in a partial response.
|
|
3030
|
-
# @param [String] quota_user
|
|
3031
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3032
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3033
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3034
|
-
# Request-specific options
|
|
3035
|
-
#
|
|
3036
|
-
# @yield [result, err] Result & error if block supplied
|
|
3037
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
3038
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3039
|
-
#
|
|
3040
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
3041
|
-
#
|
|
3042
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3043
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3044
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3045
|
-
def set_service_class_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3046
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
3047
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest::Representation
|
|
3048
|
-
command.request_object = set_iam_policy_request_object
|
|
3049
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
3050
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
3051
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3052
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3053
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3054
|
-
execute_or_queue_command(command, &block)
|
|
3055
|
-
end
|
|
3056
|
-
|
|
3057
|
-
# Returns permissions that a caller has on the specified resource. If the
|
|
3058
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
|
3059
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
3060
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
3061
|
-
# This operation may "fail open" without warning.
|
|
3062
|
-
# @param [String] resource
|
|
3063
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
3064
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3065
|
-
# appropriate value for this field.
|
|
3066
|
-
# @param [Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
3067
|
-
# @param [String] fields
|
|
3068
|
-
# Selector specifying which fields to include in a partial response.
|
|
3069
|
-
# @param [String] quota_user
|
|
3070
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3071
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3072
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3073
|
-
# Request-specific options
|
|
3074
|
-
#
|
|
3075
|
-
# @yield [result, err] Result & error if block supplied
|
|
3076
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse] parsed result object
|
|
3077
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3078
|
-
#
|
|
3079
|
-
# @return [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse]
|
|
3080
|
-
#
|
|
3081
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3082
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3083
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3084
|
-
def test_service_class_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3085
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
3086
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest::Representation
|
|
3087
|
-
command.request_object = test_iam_permissions_request_object
|
|
3088
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse::Representation
|
|
3089
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse
|
|
3090
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3091
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3092
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3093
|
-
execute_or_queue_command(command, &block)
|
|
3094
|
-
end
|
|
3095
|
-
|
|
3096
3053
|
# Creates a new ServiceConnectionMap in a given project and location.
|
|
3097
3054
|
# @param [String] parent
|
|
3098
3055
|
# Required. The parent resource's name of the ServiceConnectionMap. ex. projects/
|
|
@@ -3220,51 +3177,6 @@ module Google
|
|
|
3220
3177
|
execute_or_queue_command(command, &block)
|
|
3221
3178
|
end
|
|
3222
3179
|
|
|
3223
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
3224
|
-
# resource exists and does not have a policy set.
|
|
3225
|
-
# @param [String] resource
|
|
3226
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
3227
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3228
|
-
# appropriate value for this field.
|
|
3229
|
-
# @param [Fixnum] options_requested_policy_version
|
|
3230
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
|
3231
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
3232
|
-
# rejected. Requests for policies with any conditional role bindings must
|
|
3233
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
|
3234
|
-
# valid value or leave the field unset. The policy in the response might use the
|
|
3235
|
-
# policy version that you specified, or it might use a lower policy version. For
|
|
3236
|
-
# example, if you specify version 3, but the policy has no conditional role
|
|
3237
|
-
# bindings, the response uses version 1. To learn which resources support
|
|
3238
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
3239
|
-
# google.com/iam/help/conditions/resource-policies).
|
|
3240
|
-
# @param [String] fields
|
|
3241
|
-
# Selector specifying which fields to include in a partial response.
|
|
3242
|
-
# @param [String] quota_user
|
|
3243
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3244
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3245
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3246
|
-
# Request-specific options
|
|
3247
|
-
#
|
|
3248
|
-
# @yield [result, err] Result & error if block supplied
|
|
3249
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
3250
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3251
|
-
#
|
|
3252
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
3253
|
-
#
|
|
3254
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3255
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3256
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3257
|
-
def get_project_location_service_connection_map_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3258
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
3259
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
3260
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
3261
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3262
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
3263
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3264
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3265
|
-
execute_or_queue_command(command, &block)
|
|
3266
|
-
end
|
|
3267
|
-
|
|
3268
3180
|
# Lists ServiceConnectionMaps in a given project and location.
|
|
3269
3181
|
# @param [String] parent
|
|
3270
3182
|
# Required. The parent resource's name. ex. projects/123/locations/us-east1
|
|
@@ -3361,82 +3273,6 @@ module Google
|
|
|
3361
3273
|
execute_or_queue_command(command, &block)
|
|
3362
3274
|
end
|
|
3363
3275
|
|
|
3364
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
3365
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
3366
|
-
# PERMISSION_DENIED` errors.
|
|
3367
|
-
# @param [String] resource
|
|
3368
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
3369
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3370
|
-
# appropriate value for this field.
|
|
3371
|
-
# @param [Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
3372
|
-
# @param [String] fields
|
|
3373
|
-
# Selector specifying which fields to include in a partial response.
|
|
3374
|
-
# @param [String] quota_user
|
|
3375
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3376
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3377
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3378
|
-
# Request-specific options
|
|
3379
|
-
#
|
|
3380
|
-
# @yield [result, err] Result & error if block supplied
|
|
3381
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
3382
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3383
|
-
#
|
|
3384
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
3385
|
-
#
|
|
3386
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3387
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3388
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3389
|
-
def set_service_connection_map_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3390
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
3391
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest::Representation
|
|
3392
|
-
command.request_object = set_iam_policy_request_object
|
|
3393
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
3394
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
3395
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3396
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3397
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3398
|
-
execute_or_queue_command(command, &block)
|
|
3399
|
-
end
|
|
3400
|
-
|
|
3401
|
-
# Returns permissions that a caller has on the specified resource. If the
|
|
3402
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
|
3403
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
3404
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
3405
|
-
# This operation may "fail open" without warning.
|
|
3406
|
-
# @param [String] resource
|
|
3407
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
3408
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3409
|
-
# appropriate value for this field.
|
|
3410
|
-
# @param [Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
3411
|
-
# @param [String] fields
|
|
3412
|
-
# Selector specifying which fields to include in a partial response.
|
|
3413
|
-
# @param [String] quota_user
|
|
3414
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3415
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3416
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3417
|
-
# Request-specific options
|
|
3418
|
-
#
|
|
3419
|
-
# @yield [result, err] Result & error if block supplied
|
|
3420
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse] parsed result object
|
|
3421
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3422
|
-
#
|
|
3423
|
-
# @return [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse]
|
|
3424
|
-
#
|
|
3425
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3426
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3427
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3428
|
-
def test_service_connection_map_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3429
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
3430
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest::Representation
|
|
3431
|
-
command.request_object = test_iam_permissions_request_object
|
|
3432
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse::Representation
|
|
3433
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse
|
|
3434
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3435
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3436
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3437
|
-
execute_or_queue_command(command, &block)
|
|
3438
|
-
end
|
|
3439
|
-
|
|
3440
3276
|
# Creates a new ServiceConnectionPolicy in a given project and location.
|
|
3441
3277
|
# @param [String] parent
|
|
3442
3278
|
# Required. The parent resource's name of the ServiceConnectionPolicy. ex.
|
|
@@ -3572,56 +3408,11 @@ module Google
|
|
|
3572
3408
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3573
3409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3574
3410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3575
|
-
def get_project_location_service_connection_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3576
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3577
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy::Representation
|
|
3578
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy
|
|
3579
|
-
command.params['name'] = name unless name.nil?
|
|
3580
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3581
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3582
|
-
execute_or_queue_command(command, &block)
|
|
3583
|
-
end
|
|
3584
|
-
|
|
3585
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
3586
|
-
# resource exists and does not have a policy set.
|
|
3587
|
-
# @param [String] resource
|
|
3588
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
3589
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3590
|
-
# appropriate value for this field.
|
|
3591
|
-
# @param [Fixnum] options_requested_policy_version
|
|
3592
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
|
3593
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
3594
|
-
# rejected. Requests for policies with any conditional role bindings must
|
|
3595
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
|
3596
|
-
# valid value or leave the field unset. The policy in the response might use the
|
|
3597
|
-
# policy version that you specified, or it might use a lower policy version. For
|
|
3598
|
-
# example, if you specify version 3, but the policy has no conditional role
|
|
3599
|
-
# bindings, the response uses version 1. To learn which resources support
|
|
3600
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
3601
|
-
# google.com/iam/help/conditions/resource-policies).
|
|
3602
|
-
# @param [String] fields
|
|
3603
|
-
# Selector specifying which fields to include in a partial response.
|
|
3604
|
-
# @param [String] quota_user
|
|
3605
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3606
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3607
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3608
|
-
# Request-specific options
|
|
3609
|
-
#
|
|
3610
|
-
# @yield [result, err] Result & error if block supplied
|
|
3611
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
3612
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3613
|
-
#
|
|
3614
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
3615
|
-
#
|
|
3616
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3617
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3618
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3619
|
-
def get_project_location_service_connection_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3620
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
3621
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
3622
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
3623
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3624
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
3411
|
+
def get_project_location_service_connection_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3412
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3413
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy::Representation
|
|
3414
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy
|
|
3415
|
+
command.params['name'] = name unless name.nil?
|
|
3625
3416
|
command.query['fields'] = fields unless fields.nil?
|
|
3626
3417
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3627
3418
|
execute_or_queue_command(command, &block)
|
|
@@ -3723,82 +3514,6 @@ module Google
|
|
|
3723
3514
|
execute_or_queue_command(command, &block)
|
|
3724
3515
|
end
|
|
3725
3516
|
|
|
3726
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
3727
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
3728
|
-
# PERMISSION_DENIED` errors.
|
|
3729
|
-
# @param [String] resource
|
|
3730
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
3731
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3732
|
-
# appropriate value for this field.
|
|
3733
|
-
# @param [Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
3734
|
-
# @param [String] fields
|
|
3735
|
-
# Selector specifying which fields to include in a partial response.
|
|
3736
|
-
# @param [String] quota_user
|
|
3737
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3738
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3739
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3740
|
-
# Request-specific options
|
|
3741
|
-
#
|
|
3742
|
-
# @yield [result, err] Result & error if block supplied
|
|
3743
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
|
3744
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3745
|
-
#
|
|
3746
|
-
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
|
3747
|
-
#
|
|
3748
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3749
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3750
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3751
|
-
def set_service_connection_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3752
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
3753
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest::Representation
|
|
3754
|
-
command.request_object = set_iam_policy_request_object
|
|
3755
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
|
3756
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
|
3757
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3758
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3759
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3760
|
-
execute_or_queue_command(command, &block)
|
|
3761
|
-
end
|
|
3762
|
-
|
|
3763
|
-
# Returns permissions that a caller has on the specified resource. If the
|
|
3764
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
|
3765
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
3766
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
3767
|
-
# This operation may "fail open" without warning.
|
|
3768
|
-
# @param [String] resource
|
|
3769
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
3770
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
3771
|
-
# appropriate value for this field.
|
|
3772
|
-
# @param [Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
3773
|
-
# @param [String] fields
|
|
3774
|
-
# Selector specifying which fields to include in a partial response.
|
|
3775
|
-
# @param [String] quota_user
|
|
3776
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3777
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3778
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3779
|
-
# Request-specific options
|
|
3780
|
-
#
|
|
3781
|
-
# @yield [result, err] Result & error if block supplied
|
|
3782
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse] parsed result object
|
|
3783
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3784
|
-
#
|
|
3785
|
-
# @return [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse]
|
|
3786
|
-
#
|
|
3787
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3788
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3789
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3790
|
-
def test_service_connection_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3791
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
3792
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest::Representation
|
|
3793
|
-
command.request_object = test_iam_permissions_request_object
|
|
3794
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse::Representation
|
|
3795
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse
|
|
3796
|
-
command.params['resource'] = resource unless resource.nil?
|
|
3797
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3798
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3799
|
-
execute_or_queue_command(command, &block)
|
|
3800
|
-
end
|
|
3801
|
-
|
|
3802
3517
|
# Creates a new ServiceConnectionToken in a given project and location.
|
|
3803
3518
|
# @param [String] parent
|
|
3804
3519
|
# Required. The parent resource's name of the ServiceConnectionToken. ex.
|
|
@@ -4308,6 +4023,221 @@ module Google
|
|
|
4308
4023
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4309
4024
|
execute_or_queue_command(command, &block)
|
|
4310
4025
|
end
|
|
4026
|
+
|
|
4027
|
+
# Creates a new Transport in a given project and location.
|
|
4028
|
+
# @param [String] parent
|
|
4029
|
+
# Required. Value for parent.
|
|
4030
|
+
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
|
4031
|
+
# @param [String] request_id
|
|
4032
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4033
|
+
# request ID so that if you must retry your request, the server will know to
|
|
4034
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
4035
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
4036
|
+
# situation where you make an initial request and the request times out. If you
|
|
4037
|
+
# make the request again with the same request ID, the server can check if
|
|
4038
|
+
# original operation with the same request ID was received, and if so, will
|
|
4039
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
4040
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4041
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4042
|
+
# @param [String] transport_id
|
|
4043
|
+
# Required. Id of the requesting object
|
|
4044
|
+
# @param [String] fields
|
|
4045
|
+
# Selector specifying which fields to include in a partial response.
|
|
4046
|
+
# @param [String] quota_user
|
|
4047
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4048
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4049
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4050
|
+
# Request-specific options
|
|
4051
|
+
#
|
|
4052
|
+
# @yield [result, err] Result & error if block supplied
|
|
4053
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4054
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4055
|
+
#
|
|
4056
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4057
|
+
#
|
|
4058
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4059
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4060
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4061
|
+
def create_project_location_transport(parent, transport_object = nil, request_id: nil, transport_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4062
|
+
command = make_simple_command(:post, 'v1/{+parent}/transports', options)
|
|
4063
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4064
|
+
command.request_object = transport_object
|
|
4065
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4066
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4067
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4068
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4069
|
+
command.query['transportId'] = transport_id unless transport_id.nil?
|
|
4070
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4072
|
+
execute_or_queue_command(command, &block)
|
|
4073
|
+
end
|
|
4074
|
+
|
|
4075
|
+
# Deletes a single Transport.
|
|
4076
|
+
# @param [String] name
|
|
4077
|
+
# Required. Name of the resource.
|
|
4078
|
+
# @param [String] request_id
|
|
4079
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4080
|
+
# request ID so that if you must retry your request, the server will know to
|
|
4081
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
4082
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
|
4083
|
+
# situation where you make an initial request and the request times out. If you
|
|
4084
|
+
# make the request again with the same request ID, the server can check if
|
|
4085
|
+
# original operation with the same request ID was received, and if so, will
|
|
4086
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
4087
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4088
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4089
|
+
# @param [String] fields
|
|
4090
|
+
# Selector specifying which fields to include in a partial response.
|
|
4091
|
+
# @param [String] quota_user
|
|
4092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4094
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4095
|
+
# Request-specific options
|
|
4096
|
+
#
|
|
4097
|
+
# @yield [result, err] Result & error if block supplied
|
|
4098
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4099
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4100
|
+
#
|
|
4101
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4102
|
+
#
|
|
4103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4106
|
+
def delete_project_location_transport(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4107
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
4108
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4109
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4110
|
+
command.params['name'] = name unless name.nil?
|
|
4111
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4112
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4113
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4114
|
+
execute_or_queue_command(command, &block)
|
|
4115
|
+
end
|
|
4116
|
+
|
|
4117
|
+
# Gets details of a single Transport.
|
|
4118
|
+
# @param [String] name
|
|
4119
|
+
# Required. Name of the resource.
|
|
4120
|
+
# @param [String] fields
|
|
4121
|
+
# Selector specifying which fields to include in a partial response.
|
|
4122
|
+
# @param [String] quota_user
|
|
4123
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4124
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4125
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4126
|
+
# Request-specific options
|
|
4127
|
+
#
|
|
4128
|
+
# @yield [result, err] Result & error if block supplied
|
|
4129
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Transport] parsed result object
|
|
4130
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4131
|
+
#
|
|
4132
|
+
# @return [Google::Apis::NetworkconnectivityV1::Transport]
|
|
4133
|
+
#
|
|
4134
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4135
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4136
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4137
|
+
def get_project_location_transport(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4138
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4139
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4140
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Transport
|
|
4141
|
+
command.params['name'] = name unless name.nil?
|
|
4142
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4143
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4144
|
+
execute_or_queue_command(command, &block)
|
|
4145
|
+
end
|
|
4146
|
+
|
|
4147
|
+
# Lists Transports in a given project and location.
|
|
4148
|
+
# @param [String] parent
|
|
4149
|
+
# Required. Parent value for ListTransportsRequest.
|
|
4150
|
+
# @param [String] filter
|
|
4151
|
+
# Optional. Filtering results.
|
|
4152
|
+
# @param [String] order_by
|
|
4153
|
+
# Optional. Hint for how to order the results.
|
|
4154
|
+
# @param [Fixnum] page_size
|
|
4155
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
4156
|
+
# If unspecified, server will pick an appropriate default.
|
|
4157
|
+
# @param [String] page_token
|
|
4158
|
+
# Optional. A token identifying a page of results the server should return.
|
|
4159
|
+
# @param [String] fields
|
|
4160
|
+
# Selector specifying which fields to include in a partial response.
|
|
4161
|
+
# @param [String] quota_user
|
|
4162
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4163
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4164
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4165
|
+
# Request-specific options
|
|
4166
|
+
#
|
|
4167
|
+
# @yield [result, err] Result & error if block supplied
|
|
4168
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListTransportsResponse] parsed result object
|
|
4169
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4170
|
+
#
|
|
4171
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListTransportsResponse]
|
|
4172
|
+
#
|
|
4173
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4174
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4175
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4176
|
+
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)
|
|
4177
|
+
command = make_simple_command(:get, 'v1/{+parent}/transports', options)
|
|
4178
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListTransportsResponse::Representation
|
|
4179
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListTransportsResponse
|
|
4180
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4181
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4182
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4183
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4184
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4185
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4187
|
+
execute_or_queue_command(command, &block)
|
|
4188
|
+
end
|
|
4189
|
+
|
|
4190
|
+
# Updates the parameters of a single Transport.
|
|
4191
|
+
# @param [String] name
|
|
4192
|
+
# Identifier. Name of the resource.
|
|
4193
|
+
# @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
|
|
4194
|
+
# @param [String] request_id
|
|
4195
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
4196
|
+
# request ID so that if you must retry your request, the server will know to
|
|
4197
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
4198
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
4199
|
+
# situation where you make an initial request and the request times out. If you
|
|
4200
|
+
# make the request again with the same request ID, the server can check if
|
|
4201
|
+
# original operation with the same request ID was received, and if so, will
|
|
4202
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
4203
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
4204
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4205
|
+
# @param [String] update_mask
|
|
4206
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
4207
|
+
# Transport resource by the update. The fields specified in the update_mask are
|
|
4208
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
|
4209
|
+
# it is in the mask. If the user does not provide a mask then all fields present
|
|
4210
|
+
# in the request will be overwritten.
|
|
4211
|
+
# @param [String] fields
|
|
4212
|
+
# Selector specifying which fields to include in a partial response.
|
|
4213
|
+
# @param [String] quota_user
|
|
4214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4216
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4217
|
+
# Request-specific options
|
|
4218
|
+
#
|
|
4219
|
+
# @yield [result, err] Result & error if block supplied
|
|
4220
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4221
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4222
|
+
#
|
|
4223
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4224
|
+
#
|
|
4225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4228
|
+
def patch_project_location_transport(name, transport_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4229
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4230
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
|
|
4231
|
+
command.request_object = transport_object
|
|
4232
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4233
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4234
|
+
command.params['name'] = name unless name.nil?
|
|
4235
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4236
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4237
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4238
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4239
|
+
execute_or_queue_command(command, &block)
|
|
4240
|
+
end
|
|
4311
4241
|
|
|
4312
4242
|
protected
|
|
4313
4243
|
|
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.74.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.74.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:
|