google-apis-networkconnectivity_v1 0.26.0 → 0.27.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 +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +583 -5
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +233 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +288 -4
- metadata +3 -3
@@ -331,6 +331,62 @@ module Google
|
|
331
331
|
execute_or_queue_command(command, &block)
|
332
332
|
end
|
333
333
|
|
334
|
+
# Lists the Network Connectivity Center spokes associated with a specified hub
|
335
|
+
# and location. The list includes both spokes that are attached to the hub and
|
336
|
+
# spokes that have been proposed but not yet accepted.
|
337
|
+
# @param [String] name
|
338
|
+
# Required. The name of the hub.
|
339
|
+
# @param [String] filter
|
340
|
+
# An expression that filters the list of results.
|
341
|
+
# @param [String] order_by
|
342
|
+
# Sort the results by name or create_time.
|
343
|
+
# @param [Fixnum] page_size
|
344
|
+
# The maximum number of results to return per page.
|
345
|
+
# @param [String] page_token
|
346
|
+
# The page token.
|
347
|
+
# @param [Array<String>, String] spoke_locations
|
348
|
+
# A list of locations. Specify one of the following: `[global]`, a single region
|
349
|
+
# (for example, `[us-central1]`), or a combination of values (for example, `[
|
350
|
+
# global, us-central1, us-west1]`). If the spoke_locations field is populated,
|
351
|
+
# the list of results includes only spokes in the specified location. If the
|
352
|
+
# spoke_locations field is not populated, the list of results includes spokes in
|
353
|
+
# all locations.
|
354
|
+
# @param [String] view
|
355
|
+
# The view of the spoke to return. The view you use determines which spoke
|
356
|
+
# fields are included in the response.
|
357
|
+
# @param [String] fields
|
358
|
+
# Selector specifying which fields to include in a partial response.
|
359
|
+
# @param [String] quota_user
|
360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
362
|
+
# @param [Google::Apis::RequestOptions] options
|
363
|
+
# Request-specific options
|
364
|
+
#
|
365
|
+
# @yield [result, err] Result & error if block supplied
|
366
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListHubSpokesResponse] parsed result object
|
367
|
+
# @yieldparam err [StandardError] error object if request failed
|
368
|
+
#
|
369
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListHubSpokesResponse]
|
370
|
+
#
|
371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
374
|
+
def list_project_location_global_hub_spokes(name, filter: nil, order_by: nil, page_size: nil, page_token: nil, spoke_locations: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
375
|
+
command = make_simple_command(:get, 'v1/{+name}:listSpokes', options)
|
376
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListHubSpokesResponse::Representation
|
377
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListHubSpokesResponse
|
378
|
+
command.params['name'] = name unless name.nil?
|
379
|
+
command.query['filter'] = filter unless filter.nil?
|
380
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
381
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
382
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
383
|
+
command.query['spokeLocations'] = spoke_locations unless spoke_locations.nil?
|
384
|
+
command.query['view'] = view unless view.nil?
|
385
|
+
command.query['fields'] = fields unless fields.nil?
|
386
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
387
|
+
execute_or_queue_command(command, &block)
|
388
|
+
end
|
389
|
+
|
334
390
|
# Updates the description and/or labels of a Network Connectivity Center hub.
|
335
391
|
# @param [String] name
|
336
392
|
# Immutable. The name of the hub. Hub names must be unique. They use the
|
@@ -582,6 +638,150 @@ module Google
|
|
582
638
|
execute_or_queue_command(command, &block)
|
583
639
|
end
|
584
640
|
|
641
|
+
# Gets details about a Network Connectivity Center route table.
|
642
|
+
# @param [String] name
|
643
|
+
# Required. The name of the route table resource.
|
644
|
+
# @param [String] fields
|
645
|
+
# Selector specifying which fields to include in a partial response.
|
646
|
+
# @param [String] quota_user
|
647
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
648
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
649
|
+
# @param [Google::Apis::RequestOptions] options
|
650
|
+
# Request-specific options
|
651
|
+
#
|
652
|
+
# @yield [result, err] Result & error if block supplied
|
653
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::RouteTable] parsed result object
|
654
|
+
# @yieldparam err [StandardError] error object if request failed
|
655
|
+
#
|
656
|
+
# @return [Google::Apis::NetworkconnectivityV1::RouteTable]
|
657
|
+
#
|
658
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
659
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
660
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
661
|
+
def get_project_location_global_hub_route_table(name, fields: nil, quota_user: nil, options: nil, &block)
|
662
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
663
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::RouteTable::Representation
|
664
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::RouteTable
|
665
|
+
command.params['name'] = name unless name.nil?
|
666
|
+
command.query['fields'] = fields unless fields.nil?
|
667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
668
|
+
execute_or_queue_command(command, &block)
|
669
|
+
end
|
670
|
+
|
671
|
+
# Lists route tables in a given project.
|
672
|
+
# @param [String] parent
|
673
|
+
# Required. The parent resource's name.
|
674
|
+
# @param [String] filter
|
675
|
+
# An expression that filters the list of results.
|
676
|
+
# @param [String] order_by
|
677
|
+
# Sort the results by a certain order.
|
678
|
+
# @param [Fixnum] page_size
|
679
|
+
# The maximum number of results to return per page.
|
680
|
+
# @param [String] page_token
|
681
|
+
# The page token.
|
682
|
+
# @param [String] fields
|
683
|
+
# Selector specifying which fields to include in a partial response.
|
684
|
+
# @param [String] quota_user
|
685
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
686
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
687
|
+
# @param [Google::Apis::RequestOptions] options
|
688
|
+
# Request-specific options
|
689
|
+
#
|
690
|
+
# @yield [result, err] Result & error if block supplied
|
691
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRouteTablesResponse] parsed result object
|
692
|
+
# @yieldparam err [StandardError] error object if request failed
|
693
|
+
#
|
694
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListRouteTablesResponse]
|
695
|
+
#
|
696
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
697
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
698
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
699
|
+
def list_project_location_global_hub_route_tables(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
700
|
+
command = make_simple_command(:get, 'v1/{+parent}/routeTables', options)
|
701
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRouteTablesResponse::Representation
|
702
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListRouteTablesResponse
|
703
|
+
command.params['parent'] = parent unless parent.nil?
|
704
|
+
command.query['filter'] = filter unless filter.nil?
|
705
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
706
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
707
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
708
|
+
command.query['fields'] = fields unless fields.nil?
|
709
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
710
|
+
execute_or_queue_command(command, &block)
|
711
|
+
end
|
712
|
+
|
713
|
+
# Gets details about the specified route.
|
714
|
+
# @param [String] name
|
715
|
+
# Required. The name of the route resource.
|
716
|
+
# @param [String] fields
|
717
|
+
# Selector specifying which fields to include in a partial response.
|
718
|
+
# @param [String] quota_user
|
719
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
720
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
721
|
+
# @param [Google::Apis::RequestOptions] options
|
722
|
+
# Request-specific options
|
723
|
+
#
|
724
|
+
# @yield [result, err] Result & error if block supplied
|
725
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Route] parsed result object
|
726
|
+
# @yieldparam err [StandardError] error object if request failed
|
727
|
+
#
|
728
|
+
# @return [Google::Apis::NetworkconnectivityV1::Route]
|
729
|
+
#
|
730
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
731
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
732
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
733
|
+
def get_project_location_global_hub_route_table_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
734
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
735
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Route::Representation
|
736
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Route
|
737
|
+
command.params['name'] = name unless name.nil?
|
738
|
+
command.query['fields'] = fields unless fields.nil?
|
739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
740
|
+
execute_or_queue_command(command, &block)
|
741
|
+
end
|
742
|
+
|
743
|
+
# Lists routes in a given project.
|
744
|
+
# @param [String] parent
|
745
|
+
# Required. The parent resource's name.
|
746
|
+
# @param [String] filter
|
747
|
+
# An expression that filters the list of results.
|
748
|
+
# @param [String] order_by
|
749
|
+
# Sort the results by a certain order.
|
750
|
+
# @param [Fixnum] page_size
|
751
|
+
# The maximum number of results to return per page.
|
752
|
+
# @param [String] page_token
|
753
|
+
# The page token.
|
754
|
+
# @param [String] fields
|
755
|
+
# Selector specifying which fields to include in a partial response.
|
756
|
+
# @param [String] quota_user
|
757
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
758
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
759
|
+
# @param [Google::Apis::RequestOptions] options
|
760
|
+
# Request-specific options
|
761
|
+
#
|
762
|
+
# @yield [result, err] Result & error if block supplied
|
763
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRoutesResponse] parsed result object
|
764
|
+
# @yieldparam err [StandardError] error object if request failed
|
765
|
+
#
|
766
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListRoutesResponse]
|
767
|
+
#
|
768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
771
|
+
def list_project_location_global_hub_route_table_routes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
772
|
+
command = make_simple_command(:get, 'v1/{+parent}/routes', options)
|
773
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListRoutesResponse::Representation
|
774
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListRoutesResponse
|
775
|
+
command.params['parent'] = parent unless parent.nil?
|
776
|
+
command.query['filter'] = filter unless filter.nil?
|
777
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
778
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
779
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
780
|
+
command.query['fields'] = fields unless fields.nil?
|
781
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
782
|
+
execute_or_queue_command(command, &block)
|
783
|
+
end
|
784
|
+
|
585
785
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
586
786
|
# resource exists and does not have a policy set.
|
587
787
|
# @param [String] resource
|
@@ -1068,6 +1268,9 @@ module Google
|
|
1068
1268
|
# Deletes a single ServiceClass.
|
1069
1269
|
# @param [String] name
|
1070
1270
|
# Required. The name of the ServiceClass to delete.
|
1271
|
+
# @param [String] etag
|
1272
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
1273
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
1071
1274
|
# @param [String] request_id
|
1072
1275
|
# Optional. An optional request ID to identify requests. Specify a unique
|
1073
1276
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1096,11 +1299,12 @@ module Google
|
|
1096
1299
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1097
1300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1098
1301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1099
|
-
def delete_project_location_service_class(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1302
|
+
def delete_project_location_service_class(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1100
1303
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1101
1304
|
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1102
1305
|
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1103
1306
|
command.params['name'] = name unless name.nil?
|
1307
|
+
command.query['etag'] = etag unless etag.nil?
|
1104
1308
|
command.query['requestId'] = request_id unless request_id.nil?
|
1105
1309
|
command.query['fields'] = fields unless fields.nil?
|
1106
1310
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1407,6 +1611,9 @@ module Google
|
|
1407
1611
|
# Deletes a single ServiceConnectionMap.
|
1408
1612
|
# @param [String] name
|
1409
1613
|
# Required. The name of the ServiceConnectionMap to delete.
|
1614
|
+
# @param [String] etag
|
1615
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
1616
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
1410
1617
|
# @param [String] request_id
|
1411
1618
|
# Optional. An optional request ID to identify requests. Specify a unique
|
1412
1619
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1435,11 +1642,12 @@ module Google
|
|
1435
1642
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1436
1643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1437
1644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1438
|
-
def delete_project_location_service_connection_map(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1645
|
+
def delete_project_location_service_connection_map(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1439
1646
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1440
1647
|
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1441
1648
|
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1442
1649
|
command.params['name'] = name unless name.nil?
|
1650
|
+
command.query['etag'] = etag unless etag.nil?
|
1443
1651
|
command.query['requestId'] = request_id unless request_id.nil?
|
1444
1652
|
command.query['fields'] = fields unless fields.nil?
|
1445
1653
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1746,6 +1954,9 @@ module Google
|
|
1746
1954
|
# Deletes a single ServiceConnectionPolicy.
|
1747
1955
|
# @param [String] name
|
1748
1956
|
# Required. The name of the ServiceConnectionPolicy to delete.
|
1957
|
+
# @param [String] etag
|
1958
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
1959
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
1749
1960
|
# @param [String] request_id
|
1750
1961
|
# Optional. An optional request ID to identify requests. Specify a unique
|
1751
1962
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1774,11 +1985,12 @@ module Google
|
|
1774
1985
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1775
1986
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1776
1987
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1777
|
-
def delete_project_location_service_connection_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1988
|
+
def delete_project_location_service_connection_policy(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1778
1989
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1779
1990
|
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1780
1991
|
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1781
1992
|
command.params['name'] = name unless name.nil?
|
1993
|
+
command.query['etag'] = etag unless etag.nil?
|
1782
1994
|
command.query['requestId'] = request_id unless request_id.nil?
|
1783
1995
|
command.query['fields'] = fields unless fields.nil?
|
1784
1996
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2085,6 +2297,9 @@ module Google
|
|
2085
2297
|
# Deletes a single ServiceConnectionToken.
|
2086
2298
|
# @param [String] name
|
2087
2299
|
# Required. The name of the ServiceConnectionToken to delete.
|
2300
|
+
# @param [String] etag
|
2301
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
2302
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
2088
2303
|
# @param [String] request_id
|
2089
2304
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2090
2305
|
# request ID so that if you must retry your request, the server will know to
|
@@ -2113,11 +2328,12 @@ module Google
|
|
2113
2328
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2114
2329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2115
2330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2116
|
-
def delete_project_location_service_connection_token(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2331
|
+
def delete_project_location_service_connection_token(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2117
2332
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2118
2333
|
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2119
2334
|
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2120
2335
|
command.params['name'] = name unless name.nil?
|
2336
|
+
command.query['etag'] = etag unless etag.nil?
|
2121
2337
|
command.query['requestId'] = request_id unless request_id.nil?
|
2122
2338
|
command.query['fields'] = fields unless fields.nil?
|
2123
2339
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2196,6 +2412,39 @@ module Google
|
|
2196
2412
|
execute_or_queue_command(command, &block)
|
2197
2413
|
end
|
2198
2414
|
|
2415
|
+
# Accepts a proposal to attach a Network Connectivity Center spoke to the hub.
|
2416
|
+
# @param [String] name
|
2417
|
+
# Required. The name of the spoke to accept.
|
2418
|
+
# @param [Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest] accept_spoke_request_object
|
2419
|
+
# @param [String] fields
|
2420
|
+
# Selector specifying which fields to include in a partial response.
|
2421
|
+
# @param [String] quota_user
|
2422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2424
|
+
# @param [Google::Apis::RequestOptions] options
|
2425
|
+
# Request-specific options
|
2426
|
+
#
|
2427
|
+
# @yield [result, err] Result & error if block supplied
|
2428
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2429
|
+
# @yieldparam err [StandardError] error object if request failed
|
2430
|
+
#
|
2431
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2432
|
+
#
|
2433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2436
|
+
def accept_spoke(name, accept_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2437
|
+
command = make_simple_command(:post, 'v1/{+name}:accept', options)
|
2438
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest::Representation
|
2439
|
+
command.request_object = accept_spoke_request_object
|
2440
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2441
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2442
|
+
command.params['name'] = name unless name.nil?
|
2443
|
+
command.query['fields'] = fields unless fields.nil?
|
2444
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2445
|
+
execute_or_queue_command(command, &block)
|
2446
|
+
end
|
2447
|
+
|
2199
2448
|
# Creates a Network Connectivity Center spoke.
|
2200
2449
|
# @param [String] parent
|
2201
2450
|
# Required. The parent resource.
|
@@ -2461,6 +2710,41 @@ module Google
|
|
2461
2710
|
execute_or_queue_command(command, &block)
|
2462
2711
|
end
|
2463
2712
|
|
2713
|
+
# Does one of the following: * Rejects a proposal to attach a Network
|
2714
|
+
# Connectivity Center spoke to the hub. * Rejects and removes a previously
|
2715
|
+
# attached spoke from the hub.
|
2716
|
+
# @param [String] name
|
2717
|
+
# Required. The name of the spoke to reject.
|
2718
|
+
# @param [Google::Apis::NetworkconnectivityV1::RejectSpokeRequest] reject_spoke_request_object
|
2719
|
+
# @param [String] fields
|
2720
|
+
# Selector specifying which fields to include in a partial response.
|
2721
|
+
# @param [String] quota_user
|
2722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2724
|
+
# @param [Google::Apis::RequestOptions] options
|
2725
|
+
# Request-specific options
|
2726
|
+
#
|
2727
|
+
# @yield [result, err] Result & error if block supplied
|
2728
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2729
|
+
# @yieldparam err [StandardError] error object if request failed
|
2730
|
+
#
|
2731
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2732
|
+
#
|
2733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2736
|
+
def reject_spoke(name, reject_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2737
|
+
command = make_simple_command(:post, 'v1/{+name}:reject', options)
|
2738
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::RejectSpokeRequest::Representation
|
2739
|
+
command.request_object = reject_spoke_request_object
|
2740
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2741
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2742
|
+
command.params['name'] = name unless name.nil?
|
2743
|
+
command.query['fields'] = fields unless fields.nil?
|
2744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2745
|
+
execute_or_queue_command(command, &block)
|
2746
|
+
end
|
2747
|
+
|
2464
2748
|
# Sets the access control policy on the specified resource. Replaces any
|
2465
2749
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2466
2750
|
# PERMISSION_DENIED` errors.
|
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.27.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: 2023-06-
|
11
|
+
date: 2023-06-25 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.27.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: []
|