Summary of entries of Methods for networkconnectivity.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient
HubServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1.services.hub_service.transports.base.HubServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1.services.hub_service.transports.base.HubServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the hub service async client.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.accept_hub_spoke
accept_hub_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.AcceptHubSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
spoke_uri: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.accept_hub_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.cancel_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_folder_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_location_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.common_project_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.create_hub
create_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.CreateHubRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
hub: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Hub] = None,
hub_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new Network Connectivity Center hub in the specified project.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.create_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.create_spoke
create_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.CreateSpokeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
spoke: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Spoke] = None,
spoke_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.create_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_hub
delete_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.DeleteHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_spoke
delete_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.DeleteSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.delete_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_group
get_group(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetGroupRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Group
Gets details about a Network Connectivity Center group.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_group
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_hub
get_hub(
request: typing.Optional[
typing.Union[google.cloud.networkconnectivity_v1.types.hub.GetHubRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Hub
Gets details about a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_iam_policy
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_location
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_route
get_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetRouteRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Route
Gets details about the specified route.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_route
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_route_table
get_route_table(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetRouteTableRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.RouteTable
Gets details about a Network Connectivity Center route table.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_route_table
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_spoke
get_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Spoke
Gets details about a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.networkconnectivity_v1.services.hub_service.transports.base.HubServiceTransport
]
Returns an appropriate transport class.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.get_transport_class
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.group_path
group_path(project: str, hub: str, group: str) -> str
Returns a fully-qualified group string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.group_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.hub_path
hub_path(project: str, hub: str) -> str
Returns a fully-qualified hub string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.hub_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.hub_route_path
hub_route_path(project: str, hub: str, route_table: str, route: str) -> str
Returns a fully-qualified hub_route string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.hub_route_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.instance_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.interconnect_attachment_path
interconnect_attachment_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified interconnect_attachment string.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_groups
list_groups(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsAsyncPager
)
Lists groups in a given hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_groups
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_hub_spokes
list_hub_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesAsyncPager
)
Lists the Network Connectivity Center spokes associated with a specified hub and location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_hub_spokes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_hubs
list_hubs(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsAsyncPager
Lists the Network Connectivity Center hubs associated with a given project.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_hubs
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_locations
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_operations
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_route_tables
list_route_tables(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesAsyncPager
)
Lists route tables in a given hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_route_tables
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_routes
list_routes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesAsyncPager
)
Lists routes in a given route table.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_routes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_spokes
list_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesAsyncPager
)
Lists the Network Connectivity Center spokes in a specified project and location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.list_spokes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.network_path
network_path(project: str, resource_id: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.network_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_group_path
parse_group_path(path: str) -> typing.Dict[str, str]
Parses a group path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_group_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_hub_path
parse_hub_path(path: str) -> typing.Dict[str, str]
Parses a hub path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_hub_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_hub_route_path
parse_hub_route_path(path: str) -> typing.Dict[str, str]
Parses a hub_route path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_hub_route_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_instance_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_interconnect_attachment_path
parse_interconnect_attachment_path(path: str) -> typing.Dict[str, str]
Parses a interconnect_attachment path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_network_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_route_table_path
parse_route_table_path(path: str) -> typing.Dict[str, str]
Parses a route_table path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_spoke_path
parse_spoke_path(path: str) -> typing.Dict[str, str]
Parses a spoke path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_spoke_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_vpn_tunnel_path
parse_vpn_tunnel_path(path: str) -> typing.Dict[str, str]
Parses a vpn_tunnel path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.parse_vpn_tunnel_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.query_hub_status
query_hub_status(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusAsyncPager
)
Query the Private Service Connect propagation status of a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.query_hub_status
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.reject_hub_spoke
reject_hub_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.RejectHubSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
spoke_uri: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Rejects a Network Connectivity Center spoke from being attached to a hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.reject_hub_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.route_table_path
route_table_path(project: str, hub: str, route_table: str) -> str
Returns a fully-qualified route_table string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.route_table_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.set_iam_policy
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.spoke_path
spoke_path(project: str, location: str, spoke: str) -> str
Returns a fully-qualified spoke string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.spoke_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.test_iam_permissions
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_group
update_group(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateGroupRequest, dict
]
] = None,
*,
group: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Group] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a Network Connectivity Center group.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_group
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_hub
update_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateHubRequest, dict
]
] = None,
*,
hub: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Hub] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the description and/or labels of a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_spoke
update_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateSpokeRequest, dict
]
] = None,
*,
spoke: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Spoke] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.update_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.vpn_tunnel_path
vpn_tunnel_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified vpn_tunnel string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceAsyncClient.vpn_tunnel_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient
HubServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1.services.hub_service.transports.base.HubServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1.services.hub_service.transports.base.HubServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the hub service client.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.exit
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.accept_hub_spoke
accept_hub_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.AcceptHubSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
spoke_uri: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.accept_hub_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.cancel_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_folder_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_location_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_organization_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.common_project_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.create_hub
create_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.CreateHubRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
hub: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Hub] = None,
hub_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new Network Connectivity Center hub in the specified project.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.create_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.create_spoke
create_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.CreateSpokeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
spoke: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Spoke] = None,
spoke_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.create_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_hub
delete_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.DeleteHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_spoke
delete_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.DeleteSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.delete_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_file
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_info
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.from_service_account_json
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_group
get_group(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetGroupRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Group
Gets details about a Network Connectivity Center group.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_group
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_hub
get_hub(
request: typing.Optional[
typing.Union[google.cloud.networkconnectivity_v1.types.hub.GetHubRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Hub
Gets details about a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_iam_policy
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_location
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_operation
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_route
get_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetRouteRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Route
Gets details about the specified route.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_route
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_route_table
get_route_table(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetRouteTableRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.RouteTable
Gets details about a Network Connectivity Center route table.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_route_table
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_spoke
get_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.GetSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.hub.Spoke
Gets details about a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.get_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.group_path
group_path(project: str, hub: str, group: str) -> str
Returns a fully-qualified group string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.group_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.hub_path
hub_path(project: str, hub: str) -> str
Returns a fully-qualified hub string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.hub_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.hub_route_path
hub_route_path(project: str, hub: str, route_table: str, route: str) -> str
Returns a fully-qualified hub_route string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.hub_route_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.instance_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.interconnect_attachment_path
interconnect_attachment_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified interconnect_attachment string.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_groups
list_groups(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsPager
Lists groups in a given hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_groups
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_hub_spokes
list_hub_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesPager
Lists the Network Connectivity Center spokes associated with a specified hub and location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_hub_spokes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_hubs
list_hubs(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsPager
Lists the Network Connectivity Center hubs associated with a given project.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_hubs
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_locations
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_operations
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_route_tables
list_route_tables(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesPager
)
Lists route tables in a given hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_route_tables
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_routes
list_routes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesPager
Lists routes in a given route table.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_routes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_spokes
list_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesPager
Lists the Network Connectivity Center spokes in a specified project and location.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.list_spokes
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.network_path
network_path(project: str, resource_id: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.network_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_folder_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_location_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_common_project_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_group_path
parse_group_path(path: str) -> typing.Dict[str, str]
Parses a group path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_group_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_hub_path
parse_hub_path(path: str) -> typing.Dict[str, str]
Parses a hub path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_hub_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_hub_route_path
parse_hub_route_path(path: str) -> typing.Dict[str, str]
Parses a hub_route path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_hub_route_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_instance_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_interconnect_attachment_path
parse_interconnect_attachment_path(path: str) -> typing.Dict[str, str]
Parses a interconnect_attachment path into its component segments.
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_network_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_route_table_path
parse_route_table_path(path: str) -> typing.Dict[str, str]
Parses a route_table path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_route_table_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_spoke_path
parse_spoke_path(path: str) -> typing.Dict[str, str]
Parses a spoke path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_spoke_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_vpn_tunnel_path
parse_vpn_tunnel_path(path: str) -> typing.Dict[str, str]
Parses a vpn_tunnel path into its component segments.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.parse_vpn_tunnel_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.query_hub_status
query_hub_status(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusPager
)
Query the Private Service Connect propagation status of a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.query_hub_status
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.reject_hub_spoke
reject_hub_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.RejectHubSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
spoke_uri: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Rejects a Network Connectivity Center spoke from being attached to a hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.reject_hub_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.route_table_path
route_table_path(project: str, hub: str, route_table: str) -> str
Returns a fully-qualified route_table string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.route_table_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.set_iam_policy
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.spoke_path
spoke_path(project: str, location: str, spoke: str) -> str
Returns a fully-qualified spoke string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.spoke_path
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.test_iam_permissions
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_group
update_group(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateGroupRequest, dict
]
] = None,
*,
group: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Group] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a Network Connectivity Center group.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_group
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_hub
update_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateHubRequest, dict
]
] = None,
*,
hub: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Hub] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the description and/or labels of a Network Connectivity Center hub.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_hub
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_spoke
update_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.hub.UpdateSpokeRequest, dict
]
] = None,
*,
spoke: typing.Optional[google.cloud.networkconnectivity_v1.types.hub.Spoke] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a Network Connectivity Center spoke.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.update_spoke
google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.vpn_tunnel_path
vpn_tunnel_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified vpn_tunnel string.
See more: google.cloud.networkconnectivity_v1.services.hub_service.HubServiceClient.vpn_tunnel_path
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsAsyncPager
ListGroupsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsPager
ListGroupsPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListGroupsPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesAsyncPager
ListHubSpokesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesPager
ListHubSpokesPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubSpokesPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsAsyncPager
ListHubsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsPager
ListHubsPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListHubsPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesAsyncPager
ListRouteTablesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesPager
ListRouteTablesPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRouteTablesPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesAsyncPager
ListRoutesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesPager
ListRoutesPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListRoutesPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesAsyncPager
ListSpokesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesPager
ListSpokesPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest,
response: google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.ListSpokesPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusAsyncPager
QueryHubStatusAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusResponse
],
],
request: google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusRequest,
response: google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusAsyncPager
google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusPager
QueryHubStatusPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusResponse
],
request: google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusRequest,
response: google.cloud.networkconnectivity_v1.types.hub.QueryHubStatusResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1.services.hub_service.pagers.QueryHubStatusPager
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient
PolicyBasedRoutingServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1.services.policy_based_routing_service.transports.base.PolicyBasedRoutingServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1.services.policy_based_routing_service.transports.base.PolicyBasedRoutingServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the policy based routing service async client.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.create_policy_based_route
create_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.CreatePolicyBasedRouteRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
policy_based_route: typing.Optional[
google.cloud.networkconnectivity_v1.types.policy_based_routing.PolicyBasedRoute
] = None,
policy_based_route_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new PolicyBasedRoute in a given project and location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.delete_policy_based_route
delete_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.DeletePolicyBasedRouteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single PolicyBasedRoute.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_policy_based_route
get_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.GetPolicyBasedRouteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.policy_based_routing.PolicyBasedRoute
Gets details of a single PolicyBasedRoute.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.transports.base.PolicyBasedRoutingServiceTransport
]
Returns an appropriate transport class.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.list_policy_based_routes
list_policy_based_routes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.pagers.ListPolicyBasedRoutesAsyncPager
)
Lists PolicyBasedRoutes in a given project and location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.network_path
network_path(project: str, resource_id: str) -> str
Returns a fully-qualified network string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.parse_policy_based_route_path
parse_policy_based_route_path(path: str) -> typing.Dict[str, str]
Parses a policy_based_route path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.policy_based_route_path
policy_based_route_path(project: str, policy_based_route: str) -> str
Returns a fully-qualified policy_based_route string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient
PolicyBasedRoutingServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1.services.policy_based_routing_service.transports.base.PolicyBasedRoutingServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1.services.policy_based_routing_service.transports.base.PolicyBasedRoutingServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the policy based routing service client.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.create_policy_based_route
create_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.CreatePolicyBasedRouteRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
policy_based_route: typing.Optional[
google.cloud.networkconnectivity_v1.types.policy_based_routing.PolicyBasedRoute
] = None,
policy_based_route_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new PolicyBasedRoute in a given project and location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.delete_policy_based_route
delete_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.DeletePolicyBasedRouteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single PolicyBasedRoute.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.get_policy_based_route
get_policy_based_route(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.GetPolicyBasedRouteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1.types.policy_based_routing.PolicyBasedRoute
Gets details of a single PolicyBasedRoute.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.list_policy_based_routes
list_policy_based_routes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.pagers.ListPolicyBasedRoutesPager
)
Lists PolicyBasedRoutes in a given project and location.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.network_path
network_path(project: str, resource_id: str) -> str
Returns a fully-qualified network string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.parse_policy_based_route_path
parse_policy_based_route_path(path: str) -> typing.Dict[str, str]
Parses a policy_based_route path into its component segments.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.policy_based_route_path
policy_based_route_path(project: str, policy_based_route: str) -> str
Returns a fully-qualified policy_based_route string.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.PolicyBasedRoutingServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.pagers.ListPolicyBasedRoutesAsyncPager
ListPolicyBasedRoutesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesResponse
],
],
request: google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesRequest,
response: google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
google.cloud.networkconnectivity_v1.services.policy_based_routing_service.pagers.ListPolicyBasedRoutesPager
ListPolicyBasedRoutesPager(
method: typing.Callable[
[...],
google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesResponse,
],
request: google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesRequest,
response: google.cloud.networkconnectivity_v1.types.policy_based_routing.ListPolicyBasedRoutesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient
HubServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1alpha1.services.hub_service.transports.base.HubServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1alpha1.services.hub_service.transports.base.HubServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the hub service async client.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.create_hub
create_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.CreateHubRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
hub: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
] = None,
hub_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new Hub in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.create_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.create_spoke
create_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.CreateSpokeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
spoke: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
] = None,
spoke_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new Spoke in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.create_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.delete_hub
delete_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.DeleteHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.delete_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.delete_spoke
delete_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.DeleteSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.delete_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_hub
get_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.GetHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
Gets details of a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_spoke
get_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.GetSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
Gets details of a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.networkconnectivity_v1alpha1.services.hub_service.transports.base.HubServiceTransport
]
Returns an appropriate transport class.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.hub_path
hub_path(project: str, hub: str) -> str
Returns a fully-qualified hub string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.hub_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.instance_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.interconnect_attachment_path
interconnect_attachment_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified interconnect_attachment string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.list_hubs
list_hubs(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsAsyncPager
)
Lists Hubs in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.list_hubs
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.list_spokes
list_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesAsyncPager
)
Lists Spokes in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.list_spokes
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_hub_path
parse_hub_path(path: str) -> typing.Dict[str, str]
Parses a hub path into its component segments.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_hub_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_interconnect_attachment_path
parse_interconnect_attachment_path(path: str) -> typing.Dict[str, str]
Parses a interconnect_attachment path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_spoke_path
parse_spoke_path(path: str) -> typing.Dict[str, str]
Parses a spoke path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.parse_vpn_tunnel_path
parse_vpn_tunnel_path(path: str) -> typing.Dict[str, str]
Parses a vpn_tunnel path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.spoke_path
spoke_path(project: str, location: str, spoke: str) -> str
Returns a fully-qualified spoke string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.spoke_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.update_hub
update_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.UpdateHubRequest, dict
]
] = None,
*,
hub: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.update_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.update_spoke
update_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.UpdateSpokeRequest, dict
]
] = None,
*,
spoke: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.update_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.vpn_tunnel_path
vpn_tunnel_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified vpn_tunnel string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceAsyncClient.vpn_tunnel_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient
HubServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.networkconnectivity_v1alpha1.services.hub_service.transports.base.HubServiceTransport, typing.Callable[[...], google.cloud.networkconnectivity_v1alpha1.services.hub_service.transports.base.HubServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the hub service client.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.exit
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_folder_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_location_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.common_project_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.create_hub
create_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.CreateHubRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
hub: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
] = None,
hub_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new Hub in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.create_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.create_spoke
create_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.CreateSpokeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
spoke: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
] = None,
spoke_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new Spoke in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.create_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.delete_hub
delete_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.DeleteHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.delete_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.delete_spoke
delete_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.DeleteSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.delete_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.get_hub
get_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.GetHubRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
Gets details of a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.get_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.get_spoke
get_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.GetSpokeRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
Gets details of a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.get_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.hub_path
hub_path(project: str, hub: str) -> str
Returns a fully-qualified hub string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.hub_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.instance_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.interconnect_attachment_path
interconnect_attachment_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified interconnect_attachment string.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.list_hubs
list_hubs(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsPager
)
Lists Hubs in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.list_hubs
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.list_spokes
list_spokes(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesPager
)
Lists Spokes in a given project and location.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.list_spokes
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_hub_path
parse_hub_path(path: str) -> typing.Dict[str, str]
Parses a hub path into its component segments.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_hub_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_instance_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_interconnect_attachment_path
parse_interconnect_attachment_path(path: str) -> typing.Dict[str, str]
Parses a interconnect_attachment path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_spoke_path
parse_spoke_path(path: str) -> typing.Dict[str, str]
Parses a spoke path into its component segments.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_spoke_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.parse_vpn_tunnel_path
parse_vpn_tunnel_path(path: str) -> typing.Dict[str, str]
Parses a vpn_tunnel path into its component segments.
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.spoke_path
spoke_path(project: str, location: str, spoke: str) -> str
Returns a fully-qualified spoke string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.spoke_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.update_hub
update_hub(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.UpdateHubRequest, dict
]
] = None,
*,
hub: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Hub
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single Hub.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.update_hub
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.update_spoke
update_spoke(
request: typing.Optional[
typing.Union[
google.cloud.networkconnectivity_v1alpha1.types.hub.UpdateSpokeRequest, dict
]
] = None,
*,
spoke: typing.Optional[
google.cloud.networkconnectivity_v1alpha1.types.hub.Spoke
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single Spoke.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.update_spoke
google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.vpn_tunnel_path
vpn_tunnel_path(project: str, region: str, resource_id: str) -> str
Returns a fully-qualified vpn_tunnel string.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.HubServiceClient.vpn_tunnel_path
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsAsyncPager
ListHubsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsResponse
],
],
request: google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsRequest,
response: google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsAsyncPager
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsPager
ListHubsPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsResponse
],
request: google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsRequest,
response: google.cloud.networkconnectivity_v1alpha1.types.hub.ListHubsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListHubsPager
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesAsyncPager
ListSpokesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesResponse
],
],
request: google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesRequest,
response: google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesAsyncPager
google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesPager
ListSpokesPager(
method: typing.Callable[
[...], google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesResponse
],
request: google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesRequest,
response: google.cloud.networkconnectivity_v1alpha1.types.hub.ListSpokesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.networkconnectivity_v1alpha1.services.hub_service.pagers.ListSpokesPager