You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able to connect to other spokes that are attached to the hub.</p>
<pclass="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
<pre>Accepts a proposal to update a Network Connectivity Center spoke in a hub.
188
+
189
+
Args:
190
+
name: string, Required. The name of the hub to accept spoke update. (required)
191
+
body: object, The request body.
192
+
The object takes the form of:
193
+
194
+
{ # The request for HubService.AcceptSpokeUpdate.
195
+
"requestId": "A String", # Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
196
+
"spokeEtag": "A String", # Required. The etag of the spoke to accept update.
197
+
"spokeUri": "A String", # Required. The URI of the spoke to accept update.
198
+
}
199
+
200
+
x__xgafv: string, V1 error format.
201
+
Allowed values
202
+
1 - v1 error format
203
+
2 - v2 error format
204
+
205
+
Returns:
206
+
An object of the form:
207
+
208
+
{ # This resource represents a long-running operation that is the result of a network API call.
209
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
210
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
211
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
212
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
213
+
{
214
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
215
+
},
216
+
],
217
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
218
+
},
219
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
220
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
221
+
},
222
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
223
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
224
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
225
+
},
226
+
}</pre>
227
+
</div>
228
+
179
229
<divclass="method">
180
230
<codeclass="details" id="close">close()</code>
181
231
<pre>Close httplib2 connections.</pre>
@@ -509,6 +559,10 @@ <h3>Method Details</h3>
509
559
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_network
510
560
"createTime": "A String", # Output only. The time the spoke was created.
511
561
"description": "A String", # Optional. An optional description of the spoke.
562
+
"etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
563
+
"fieldPathsPendingUpdate": [ # Optional. The list of fields waiting for hub administration's approval.
564
+
"A String",
565
+
],
512
566
"group": "A String", # Optional. The name of the group that this spoke is associated with.
513
567
"hub": "A String", # Immutable. The name of the hub that this spoke is attached to.
514
568
"labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
@@ -534,6 +588,9 @@ <h3>Method Details</h3>
534
588
"network": "A String", # Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
535
589
"peering": "A String", # Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.
536
590
"producerNetwork": "A String", # Output only. The URI of the Producer VPC.
591
+
"proposedIncludeExportRanges": [ # Optional. The proposed include export IP ranges waiting for hub administration's approval.
592
+
"A String",
593
+
],
537
594
"serviceConsumerVpcSpoke": "A String", # Output only. The Service Consumer Network spoke.
538
595
},
539
596
"linkedRouterApplianceInstances": { # A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke. # Optional. Router appliance instances that are associated with the spoke.
@@ -559,6 +616,9 @@ <h3>Method Details</h3>
559
616
"producerVpcSpokes": [ # Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network. Because they are directly connected throuh VPC peering, NCC export filters do not apply between the service consumer VPC spoke and any of its producer VPC spokes. This VPC spoke cannot be deleted as long as any of these producer VPC spokes are connected to the NCC Hub.
560
617
"A String",
561
618
],
619
+
"proposedIncludeExportRanges": [ # Optional. The proposed include export IP ranges waiting for hub administration's approval.
620
+
"A String",
621
+
],
562
622
"uri": "A String", # Required. The URI of the VPC network resource.
563
623
},
564
624
"linkedVpnTunnels": { # A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes. # Optional. VPN tunnels that are associated with the spoke.
<pre>Rejects a proposal to update a Network Connectivity Center spoke in a hub.
866
+
867
+
Args:
868
+
name: string, Required. The name of the hub to reject spoke update. (required)
869
+
body: object, The request body.
870
+
The object takes the form of:
871
+
872
+
{ # The request for HubService.RejectSpokeUpdate.
873
+
"details": "A String", # Optional. Additional information provided by the hub administrator.
874
+
"requestId": "A String", # Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
875
+
"spokeEtag": "A String", # Required. The etag of the spoke to reject update.
876
+
"spokeUri": "A String", # Required. The URI of the spoke to reject update.
877
+
}
878
+
879
+
x__xgafv: string, V1 error format.
880
+
Allowed values
881
+
1 - v1 error format
882
+
2 - v2 error format
883
+
884
+
Returns:
885
+
An object of the form:
886
+
887
+
{ # This resource represents a long-running operation that is the result of a network API call.
888
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
889
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
890
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
891
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
892
+
{
893
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
894
+
},
895
+
],
896
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
897
+
},
898
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
899
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
900
+
},
901
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
902
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
903
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
0 commit comments