google-apis-networkconnectivity_v1 0.38.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +160 -11
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +43 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +164 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98faf7dfb26c98c780fe27093be21e67fc3e854a844aa7a741a54b55856f6c46
|
4
|
+
data.tar.gz: 3fda9bd8bd7d8178653570c98fa24d7acd62113949d54cf5a827e71505d097d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dcd43882b9584efc1b2c95b778c52cb1f9ccaeb35a2fcdb28c8f73f2705adbf111ac61ceaddb612b431509c4640ceb3f30a853dbca24ae8202b3a256067ba4f
|
7
|
+
data.tar.gz: 11bb2cb1f6e17137eafcf16c3a68d4f7b1ba56bdcd4aefdac36d688d7d42ce4b07f3f5fc556769382e1ea45a50f24d87b512ccb6c679deef36a293c7f3ced355
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2024-04-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240423
|
6
|
+
|
7
|
+
### v0.39.0 (2024-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240228
|
10
|
+
|
3
11
|
### v0.38.0 (2024-02-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240221
|
@@ -271,6 +271,11 @@ module Google
|
|
271
271
|
# @return [String]
|
272
272
|
attr_accessor :network
|
273
273
|
|
274
|
+
# Immutable. An immutable identifier for the producer instance.
|
275
|
+
# Corresponds to the JSON property `producerInstanceId`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :producer_instance_id
|
278
|
+
|
274
279
|
# The consumer project where PSC connections are allowed to be created in.
|
275
280
|
# Corresponds to the JSON property `project`
|
276
281
|
# @return [String]
|
@@ -290,6 +295,7 @@ module Google
|
|
290
295
|
def update!(**args)
|
291
296
|
@disable_global_access = args[:disable_global_access] if args.key?(:disable_global_access)
|
292
297
|
@network = args[:network] if args.key?(:network)
|
298
|
+
@producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
|
293
299
|
@project = args[:project] if args.key?(:project)
|
294
300
|
@state = args[:state] if args.key?(:state)
|
295
301
|
end
|
@@ -352,6 +358,11 @@ module Google
|
|
352
358
|
# @return [String]
|
353
359
|
attr_accessor :network
|
354
360
|
|
361
|
+
# Immutable. An immutable identifier for the producer instance.
|
362
|
+
# Corresponds to the JSON property `producerInstanceId`
|
363
|
+
# @return [String]
|
364
|
+
attr_accessor :producer_instance_id
|
365
|
+
|
355
366
|
# The consumer project whose PSC forwarding rule is connected to the service
|
356
367
|
# attachments in this service connection map.
|
357
368
|
# Corresponds to the JSON property `project`
|
@@ -393,6 +404,7 @@ module Google
|
|
393
404
|
@gce_operation = args[:gce_operation] if args.key?(:gce_operation)
|
394
405
|
@ip = args[:ip] if args.key?(:ip)
|
395
406
|
@network = args[:network] if args.key?(:network)
|
407
|
+
@producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
|
396
408
|
@project = args[:project] if args.key?(:project)
|
397
409
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
398
410
|
@selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
|
@@ -633,12 +645,13 @@ module Google
|
|
633
645
|
# @return [String]
|
634
646
|
attr_accessor :domain
|
635
647
|
|
636
|
-
# Additional structured details about this error. Keys
|
637
|
-
#
|
638
|
-
# value of an exceeded limit, the units
|
639
|
-
# value. For example, rather than `"
|
640
|
-
#
|
641
|
-
#
|
648
|
+
# Additional structured details about this error. Keys must match /a-z+/ but
|
649
|
+
# should ideally be lowerCamelCase. Also they must be limited to 64 characters
|
650
|
+
# in length. When identifying the current value of an exceeded limit, the units
|
651
|
+
# should be contained in the key, not the value. For example, rather than `"
|
652
|
+
# instanceLimit": "100/request"`, should be returned as, `"
|
653
|
+
# instanceLimitPerRequest": "100"`, if the client exceeds the number of
|
654
|
+
# instances that can be created in a single (batch) request.
|
642
655
|
# Corresponds to the JSON property `metadata`
|
643
656
|
# @return [Hash<String,String>]
|
644
657
|
attr_accessor :metadata
|
@@ -910,9 +923,9 @@ module Google
|
|
910
923
|
|
911
924
|
# The URL or resource ID of the network in which to reserve the internal range.
|
912
925
|
# The network cannot be deleted if there are any reserved internal ranges
|
913
|
-
# referring to it. Legacy networks are not supported.
|
914
|
-
#
|
915
|
-
# global/networks/`
|
926
|
+
# referring to it. Legacy networks are not supported. For example: https://www.
|
927
|
+
# googleapis.com/compute/v1/projects/`project`/locations/global/networks/`
|
928
|
+
# network` projects/`project`/locations/global/networks/`network` `network`
|
916
929
|
# Corresponds to the JSON property `network`
|
917
930
|
# @return [String]
|
918
931
|
attr_accessor :network
|
@@ -1315,6 +1328,38 @@ module Google
|
|
1315
1328
|
end
|
1316
1329
|
end
|
1317
1330
|
|
1331
|
+
# Response for ListRegionalEndpoints.
|
1332
|
+
class ListRegionalEndpointsResponse
|
1333
|
+
include Google::Apis::Core::Hashable
|
1334
|
+
|
1335
|
+
# The next pagination token in the List response. It should be used as
|
1336
|
+
# page_token for the following request. An empty value means no more result.
|
1337
|
+
# Corresponds to the JSON property `nextPageToken`
|
1338
|
+
# @return [String]
|
1339
|
+
attr_accessor :next_page_token
|
1340
|
+
|
1341
|
+
# Regional endpoints to be returned.
|
1342
|
+
# Corresponds to the JSON property `regionalEndpoints`
|
1343
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::RegionalEndpoint>]
|
1344
|
+
attr_accessor :regional_endpoints
|
1345
|
+
|
1346
|
+
# Locations that could not be reached.
|
1347
|
+
# Corresponds to the JSON property `unreachable`
|
1348
|
+
# @return [Array<String>]
|
1349
|
+
attr_accessor :unreachable
|
1350
|
+
|
1351
|
+
def initialize(**args)
|
1352
|
+
update!(**args)
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# Update properties of this object
|
1356
|
+
def update!(**args)
|
1357
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1358
|
+
@regional_endpoints = args[:regional_endpoints] if args.key?(:regional_endpoints)
|
1359
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1318
1363
|
# Response for HubService.ListRouteTables method.
|
1319
1364
|
class ListRouteTablesResponse
|
1320
1365
|
include Google::Apis::Core::Hashable
|
@@ -1997,6 +2042,11 @@ module Google
|
|
1997
2042
|
# @return [String]
|
1998
2043
|
attr_accessor :gce_operation
|
1999
2044
|
|
2045
|
+
# Immutable. An immutable identifier for the producer instance.
|
2046
|
+
# Corresponds to the JSON property `producerInstanceId`
|
2047
|
+
# @return [String]
|
2048
|
+
attr_accessor :producer_instance_id
|
2049
|
+
|
2000
2050
|
# The PSC connection id of the PSC forwarding rule.
|
2001
2051
|
# Corresponds to the JSON property `pscConnectionId`
|
2002
2052
|
# @return [String]
|
@@ -2026,12 +2076,110 @@ module Google
|
|
2026
2076
|
@error_info = args[:error_info] if args.key?(:error_info)
|
2027
2077
|
@error_type = args[:error_type] if args.key?(:error_type)
|
2028
2078
|
@gce_operation = args[:gce_operation] if args.key?(:gce_operation)
|
2079
|
+
@producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
|
2029
2080
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
2030
2081
|
@selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
|
2031
2082
|
@state = args[:state] if args.key?(:state)
|
2032
2083
|
end
|
2033
2084
|
end
|
2034
2085
|
|
2086
|
+
# The RegionalEndpoint resource.
|
2087
|
+
class RegionalEndpoint
|
2088
|
+
include Google::Apis::Core::Hashable
|
2089
|
+
|
2090
|
+
# Required. The access type of this regional endpoint. This field is reflected
|
2091
|
+
# in the PSC Forwarding Rule configuration to enable global access.
|
2092
|
+
# Corresponds to the JSON property `accessType`
|
2093
|
+
# @return [String]
|
2094
|
+
attr_accessor :access_type
|
2095
|
+
|
2096
|
+
# Optional. The IP Address of the Regional Endpoint. When no address is provided,
|
2097
|
+
# an IP from the subnetwork is allocated. Use one of the following formats: *
|
2098
|
+
# IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/`project`/
|
2099
|
+
# regions/`region`/addresses/`address_name``
|
2100
|
+
# Corresponds to the JSON property `address`
|
2101
|
+
# @return [String]
|
2102
|
+
attr_accessor :address
|
2103
|
+
|
2104
|
+
# Output only. Time when the RegionalEndpoint was created.
|
2105
|
+
# Corresponds to the JSON property `createTime`
|
2106
|
+
# @return [String]
|
2107
|
+
attr_accessor :create_time
|
2108
|
+
|
2109
|
+
# Optional. A description of this resource.
|
2110
|
+
# Corresponds to the JSON property `description`
|
2111
|
+
# @return [String]
|
2112
|
+
attr_accessor :description
|
2113
|
+
|
2114
|
+
# Output only. The literal IP address of the PSC Forwarding Rule created on
|
2115
|
+
# behalf of the customer. This field is deprecated. Use address instead.
|
2116
|
+
# Corresponds to the JSON property `ipAddress`
|
2117
|
+
# @return [String]
|
2118
|
+
attr_accessor :ip_address
|
2119
|
+
|
2120
|
+
# User-defined labels.
|
2121
|
+
# Corresponds to the JSON property `labels`
|
2122
|
+
# @return [Hash<String,String>]
|
2123
|
+
attr_accessor :labels
|
2124
|
+
|
2125
|
+
# Output only. The name of a RegionalEndpoint. Format: `projects/`project`/
|
2126
|
+
# locations/`location`/regionalEndpoints/`regional_endpoint``.
|
2127
|
+
# Corresponds to the JSON property `name`
|
2128
|
+
# @return [String]
|
2129
|
+
attr_accessor :name
|
2130
|
+
|
2131
|
+
# The name of the VPC network for this private regional endpoint. Format: `
|
2132
|
+
# projects/`project`/global/networks/`network``
|
2133
|
+
# Corresponds to the JSON property `network`
|
2134
|
+
# @return [String]
|
2135
|
+
attr_accessor :network
|
2136
|
+
|
2137
|
+
# Output only. The resource reference of the PSC Forwarding Rule created on
|
2138
|
+
# behalf of the customer. Format: `//compute.googleapis.com/projects/`project`/
|
2139
|
+
# regions/`region`/forwardingRules/`forwarding_rule_name``
|
2140
|
+
# Corresponds to the JSON property `pscForwardingRule`
|
2141
|
+
# @return [String]
|
2142
|
+
attr_accessor :psc_forwarding_rule
|
2143
|
+
|
2144
|
+
# The name of the subnetwork from which the IP address will be allocated. Format:
|
2145
|
+
# `projects/`project`/regions/`region`/subnetworks/`subnetwork``
|
2146
|
+
# Corresponds to the JSON property `subnetwork`
|
2147
|
+
# @return [String]
|
2148
|
+
attr_accessor :subnetwork
|
2149
|
+
|
2150
|
+
# Required. The service endpoint this private regional endpoint connects to.
|
2151
|
+
# Format: ``apiname`.`region`.p.rep.googleapis.com` Example: "cloudkms.us-
|
2152
|
+
# central1.p.rep.googleapis.com".
|
2153
|
+
# Corresponds to the JSON property `targetGoogleApi`
|
2154
|
+
# @return [String]
|
2155
|
+
attr_accessor :target_google_api
|
2156
|
+
|
2157
|
+
# Output only. Time when the RegionalEndpoint was updated.
|
2158
|
+
# Corresponds to the JSON property `updateTime`
|
2159
|
+
# @return [String]
|
2160
|
+
attr_accessor :update_time
|
2161
|
+
|
2162
|
+
def initialize(**args)
|
2163
|
+
update!(**args)
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
# Update properties of this object
|
2167
|
+
def update!(**args)
|
2168
|
+
@access_type = args[:access_type] if args.key?(:access_type)
|
2169
|
+
@address = args[:address] if args.key?(:address)
|
2170
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2171
|
+
@description = args[:description] if args.key?(:description)
|
2172
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
2173
|
+
@labels = args[:labels] if args.key?(:labels)
|
2174
|
+
@name = args[:name] if args.key?(:name)
|
2175
|
+
@network = args[:network] if args.key?(:network)
|
2176
|
+
@psc_forwarding_rule = args[:psc_forwarding_rule] if args.key?(:psc_forwarding_rule)
|
2177
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
2178
|
+
@target_google_api = args[:target_google_api] if args.key?(:target_google_api)
|
2179
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
|
2035
2183
|
# The request for HubService.RejectHubSpoke.
|
2036
2184
|
class RejectHubSpokeRequest
|
2037
2185
|
include Google::Apis::Core::Hashable
|
@@ -2123,8 +2271,9 @@ module Google
|
|
2123
2271
|
# @return [Hash<String,String>]
|
2124
2272
|
attr_accessor :labels
|
2125
2273
|
|
2126
|
-
# Output only. The location of the route. Uses the following form: "
|
2127
|
-
# project`/locations/`location`" Example: projects/1234/locations/us-
|
2274
|
+
# Output only. The origin location of the route. Uses the following form: "
|
2275
|
+
# projects/`project`/locations/`location`" Example: projects/1234/locations/us-
|
2276
|
+
# central1
|
2128
2277
|
# Corresponds to the JSON property `location`
|
2129
2278
|
# @return [String]
|
2130
2279
|
attr_accessor :location
|
@@ -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.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240423"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class ListRegionalEndpointsResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class ListRouteTablesResponse
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -292,6 +298,12 @@ module Google
|
|
292
298
|
include Google::Apis::Core::JsonObjectSupport
|
293
299
|
end
|
294
300
|
|
301
|
+
class RegionalEndpoint
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
295
307
|
class RejectHubSpokeRequest
|
296
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
309
|
|
@@ -466,6 +478,7 @@ module Google
|
|
466
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
467
479
|
property :disable_global_access, as: 'disableGlobalAccess'
|
468
480
|
property :network, as: 'network'
|
481
|
+
property :producer_instance_id, as: 'producerInstanceId'
|
469
482
|
property :project, as: 'project'
|
470
483
|
property :state, as: 'state'
|
471
484
|
end
|
@@ -483,6 +496,7 @@ module Google
|
|
483
496
|
property :gce_operation, as: 'gceOperation'
|
484
497
|
property :ip, as: 'ip'
|
485
498
|
property :network, as: 'network'
|
499
|
+
property :producer_instance_id, as: 'producerInstanceId'
|
486
500
|
property :project, as: 'project'
|
487
501
|
property :psc_connection_id, as: 'pscConnectionId'
|
488
502
|
property :selected_subnetwork, as: 'selectedSubnetwork'
|
@@ -714,6 +728,16 @@ module Google
|
|
714
728
|
end
|
715
729
|
end
|
716
730
|
|
731
|
+
class ListRegionalEndpointsResponse
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
property :next_page_token, as: 'nextPageToken'
|
735
|
+
collection :regional_endpoints, as: 'regionalEndpoints', class: Google::Apis::NetworkconnectivityV1::RegionalEndpoint, decorator: Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
|
736
|
+
|
737
|
+
collection :unreachable, as: 'unreachable'
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
717
741
|
class ListRouteTablesResponse
|
718
742
|
# @private
|
719
743
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -886,12 +910,31 @@ module Google
|
|
886
910
|
|
887
911
|
property :error_type, as: 'errorType'
|
888
912
|
property :gce_operation, as: 'gceOperation'
|
913
|
+
property :producer_instance_id, as: 'producerInstanceId'
|
889
914
|
property :psc_connection_id, as: 'pscConnectionId'
|
890
915
|
property :selected_subnetwork, as: 'selectedSubnetwork'
|
891
916
|
property :state, as: 'state'
|
892
917
|
end
|
893
918
|
end
|
894
919
|
|
920
|
+
class RegionalEndpoint
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
property :access_type, as: 'accessType'
|
924
|
+
property :address, as: 'address'
|
925
|
+
property :create_time, as: 'createTime'
|
926
|
+
property :description, as: 'description'
|
927
|
+
property :ip_address, as: 'ipAddress'
|
928
|
+
hash :labels, as: 'labels'
|
929
|
+
property :name, as: 'name'
|
930
|
+
property :network, as: 'network'
|
931
|
+
property :psc_forwarding_rule, as: 'pscForwardingRule'
|
932
|
+
property :subnetwork, as: 'subnetwork'
|
933
|
+
property :target_google_api, as: 'targetGoogleApi'
|
934
|
+
property :update_time, as: 'updateTime'
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
895
938
|
class RejectHubSpokeRequest
|
896
939
|
# @private
|
897
940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1570,6 +1570,170 @@ module Google
|
|
1570
1570
|
execute_or_queue_command(command, &block)
|
1571
1571
|
end
|
1572
1572
|
|
1573
|
+
# Creates a new RegionalEndpoint in a given project and location.
|
1574
|
+
# @param [String] parent
|
1575
|
+
# Required. The parent resource's name of the RegionalEndpoint.
|
1576
|
+
# @param [Google::Apis::NetworkconnectivityV1::RegionalEndpoint] regional_endpoint_object
|
1577
|
+
# @param [String] regional_endpoint_id
|
1578
|
+
# Required. Unique id of the Regional Endpoint to be created.
|
1579
|
+
# @param [String] request_id
|
1580
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1581
|
+
# request ID so that if you must retry your request, the server knows to ignore
|
1582
|
+
# the request if it has already been completed. The server guarantees that for
|
1583
|
+
# at least 60 minutes since the first request. For example, consider a situation
|
1584
|
+
# where you make an initial request and the request times out. If you make the
|
1585
|
+
# request again with the same request ID, the server can check if the original
|
1586
|
+
# operation with the same request ID was received, and if so, ignores the second
|
1587
|
+
# request. This prevents clients from accidentally creating duplicate
|
1588
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1589
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1590
|
+
# @param [String] fields
|
1591
|
+
# Selector specifying which fields to include in a partial response.
|
1592
|
+
# @param [String] quota_user
|
1593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1595
|
+
# @param [Google::Apis::RequestOptions] options
|
1596
|
+
# Request-specific options
|
1597
|
+
#
|
1598
|
+
# @yield [result, err] Result & error if block supplied
|
1599
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1600
|
+
# @yieldparam err [StandardError] error object if request failed
|
1601
|
+
#
|
1602
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1603
|
+
#
|
1604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1607
|
+
def create_project_location_regional_endpoint(parent, regional_endpoint_object = nil, regional_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1608
|
+
command = make_simple_command(:post, 'v1/{+parent}/regionalEndpoints', options)
|
1609
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
|
1610
|
+
command.request_object = regional_endpoint_object
|
1611
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1612
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1613
|
+
command.params['parent'] = parent unless parent.nil?
|
1614
|
+
command.query['regionalEndpointId'] = regional_endpoint_id unless regional_endpoint_id.nil?
|
1615
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1616
|
+
command.query['fields'] = fields unless fields.nil?
|
1617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1618
|
+
execute_or_queue_command(command, &block)
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# Deletes a single RegionalEndpoint.
|
1622
|
+
# @param [String] name
|
1623
|
+
# Required. The name of the RegionalEndpoint to delete.
|
1624
|
+
# @param [String] request_id
|
1625
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1626
|
+
# request ID so that if you must retry your request, the server knows to ignore
|
1627
|
+
# the request if it has already been completed. The server guarantees that for
|
1628
|
+
# at least 60 minutes since the first request. For example, consider a situation
|
1629
|
+
# where you make an initial request and the request times out. If you make the
|
1630
|
+
# request again with the same request ID, the server can check if the original
|
1631
|
+
# operation with the same request ID was received, and if so, ignores the second
|
1632
|
+
# request. This prevents clients from accidentally creating duplicate
|
1633
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1634
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1635
|
+
# @param [String] fields
|
1636
|
+
# Selector specifying which fields to include in a partial response.
|
1637
|
+
# @param [String] quota_user
|
1638
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1639
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1640
|
+
# @param [Google::Apis::RequestOptions] options
|
1641
|
+
# Request-specific options
|
1642
|
+
#
|
1643
|
+
# @yield [result, err] Result & error if block supplied
|
1644
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1645
|
+
# @yieldparam err [StandardError] error object if request failed
|
1646
|
+
#
|
1647
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1648
|
+
#
|
1649
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1650
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1651
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1652
|
+
def delete_project_location_regional_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1653
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1654
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1655
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1656
|
+
command.params['name'] = name unless name.nil?
|
1657
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1658
|
+
command.query['fields'] = fields unless fields.nil?
|
1659
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1660
|
+
execute_or_queue_command(command, &block)
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# Gets details of a single RegionalEndpoint.
|
1664
|
+
# @param [String] name
|
1665
|
+
# Required. Name of the RegionalEndpoint resource to get. Format: `projects/`
|
1666
|
+
# project`/locations/`location`/regionalEndpoints/`regional_endpoint``
|
1667
|
+
# @param [String] fields
|
1668
|
+
# Selector specifying which fields to include in a partial response.
|
1669
|
+
# @param [String] quota_user
|
1670
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1671
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1672
|
+
# @param [Google::Apis::RequestOptions] options
|
1673
|
+
# Request-specific options
|
1674
|
+
#
|
1675
|
+
# @yield [result, err] Result & error if block supplied
|
1676
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::RegionalEndpoint] parsed result object
|
1677
|
+
# @yieldparam err [StandardError] error object if request failed
|
1678
|
+
#
|
1679
|
+
# @return [Google::Apis::NetworkconnectivityV1::RegionalEndpoint]
|
1680
|
+
#
|
1681
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1682
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1683
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1684
|
+
def get_project_location_regional_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
|
1685
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1686
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
|
1687
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::RegionalEndpoint
|
1688
|
+
command.params['name'] = name unless name.nil?
|
1689
|
+
command.query['fields'] = fields unless fields.nil?
|
1690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1691
|
+
execute_or_queue_command(command, &block)
|
1692
|
+
end
|
1693
|
+
|
1694
|
+
# Lists RegionalEndpoints in a given project and location.
|
1695
|
+
# @param [String] parent
|
1696
|
+
# Required. The parent resource's name of the RegionalEndpoint.
|
1697
|
+
# @param [String] filter
|
1698
|
+
# A filter expression that filters the results listed in the response.
|
1699
|
+
# @param [String] order_by
|
1700
|
+
# Sort the results by a certain order.
|
1701
|
+
# @param [Fixnum] page_size
|
1702
|
+
# Requested page size. Server may return fewer items than requested. If
|
1703
|
+
# unspecified, server will pick an appropriate default.
|
1704
|
+
# @param [String] page_token
|
1705
|
+
# A page token.
|
1706
|
+
# @param [String] fields
|
1707
|
+
# Selector specifying which fields to include in a partial response.
|
1708
|
+
# @param [String] quota_user
|
1709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1711
|
+
# @param [Google::Apis::RequestOptions] options
|
1712
|
+
# Request-specific options
|
1713
|
+
#
|
1714
|
+
# @yield [result, err] Result & error if block supplied
|
1715
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse] parsed result object
|
1716
|
+
# @yieldparam err [StandardError] error object if request failed
|
1717
|
+
#
|
1718
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse]
|
1719
|
+
#
|
1720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1723
|
+
def list_project_location_regional_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1724
|
+
command = make_simple_command(:get, 'v1/{+parent}/regionalEndpoints', options)
|
1725
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse::Representation
|
1726
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse
|
1727
|
+
command.params['parent'] = parent unless parent.nil?
|
1728
|
+
command.query['filter'] = filter unless filter.nil?
|
1729
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1730
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1731
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1732
|
+
command.query['fields'] = fields unless fields.nil?
|
1733
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1734
|
+
execute_or_queue_command(command, &block)
|
1735
|
+
end
|
1736
|
+
|
1573
1737
|
# Deletes a single ServiceClass.
|
1574
1738
|
# @param [String] name
|
1575
1739
|
# Required. The name of the ServiceClass to delete.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|