ProjectsLocationsGlobalHubsResource class

Constructors

ProjectsLocationsGlobalHubsResource(ApiRequester client)

Properties

groups ProjectsLocationsGlobalHubsGroupsResource
no setter
hashCode int
The hash code for this object.
no setterinherited
routeTables ProjectsLocationsGlobalHubsRouteTablesResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptSpoke(AcceptHubSpokeRequest request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
create(Hub request, String parent, {String? hubId, String? requestId, String? $fields}) Future<GoogleLongrunningOperation>
Creates a new Network Connectivity Center hub in the specified project.
delete(String name, {String? requestId, String? $fields}) Future<GoogleLongrunningOperation>
Deletes a Network Connectivity Center hub.
get(String name, {String? $fields}) Future<Hub>
Gets details about a Network Connectivity Center hub.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListHubsResponse>
Lists the Network Connectivity Center hubs associated with a given project.
listSpokes(String name, {String? filter, String? orderBy, int? pageSize, String? pageToken, List<String>? spokeLocations, String? view, String? $fields}) Future<ListHubSpokesResponse>
Lists the Network Connectivity Center spokes associated with a specified hub and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Hub request, String name, {String? requestId, String? updateMask, String? $fields}) Future<GoogleLongrunningOperation>
Updates the description and/or labels of a Network Connectivity Center hub.
rejectSpoke(RejectHubSpokeRequest request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Rejects a Network Connectivity Center spoke from being attached to a hub.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited