Summary of entries of Methods for google-cloud-apihub.
google.cloud.apihub_v1.services.api_hub.ApiHubClient
ApiHubClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.api_hub.transports.base.ApiHubTransport, typing.Callable[[...], google.cloud.apihub_v1.services.api_hub.transports.base.ApiHubTransport]]] = 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 api hub client.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient
google.cloud.apihub_v1.services.api_hub.ApiHubClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.exit
google.cloud.apihub_v1.services.api_hub.ApiHubClient.api_operation_path
api_operation_path(
project: str, location: str, api: str, version: str, operation: str
) -> str
Returns a fully-qualified api_operation string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.api_operation_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.api_path
api_path(project: str, location: str, api: str) -> str
Returns a fully-qualified api string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.api_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.attribute_path
attribute_path(project: str, location: str, attribute: str) -> str
Returns a fully-qualified attribute string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.attribute_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.cancel_operation
google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_billing_account_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_folder_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_location_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_organization_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.common_project_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_api
create_api(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.CreateApiRequest, dict]
] = None,
*,
parent: typing.Optional[str] = None,
api: typing.Optional[google.cloud.apihub_v1.types.common_fields.Api] = None,
api_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.cloud.apihub_v1.types.common_fields.Api
Create an API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_attribute
create_attribute(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateAttributeRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
attribute: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Attribute
] = None,
attribute_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.cloud.apihub_v1.types.common_fields.Attribute
Create a user defined attribute.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_attribute
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_deployment
create_deployment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateDeploymentRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
deployment: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Deployment
] = None,
deployment_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.cloud.apihub_v1.types.common_fields.Deployment
Create a deployment resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_deployment
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_external_api
create_external_api(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateExternalApiRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
external_api: typing.Optional[
google.cloud.apihub_v1.types.common_fields.ExternalApi
] = None,
external_api_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.cloud.apihub_v1.types.common_fields.ExternalApi
Create an External API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_external_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_spec
create_spec(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateSpecRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
spec: typing.Optional[google.cloud.apihub_v1.types.common_fields.Spec] = None,
spec_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.cloud.apihub_v1.types.common_fields.Spec
Add a spec to an API version in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_spec
google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_version
create_version(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateVersionRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
version: typing.Optional[google.cloud.apihub_v1.types.common_fields.Version] = None,
version_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.cloud.apihub_v1.types.common_fields.Version
Create an API version for an API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.create_version
google.cloud.apihub_v1.services.api_hub.ApiHubClient.definition_path
definition_path(
project: str, location: str, api: str, version: str, definition: str
) -> str
Returns a fully-qualified definition string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.definition_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_api
delete_api(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.DeleteApiRequest, 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]]] = ()
) -> None
Delete an API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_attribute
delete_attribute(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteAttributeRequest, 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]]] = ()
) -> None
Delete an attribute.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_attribute
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_deployment
delete_deployment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteDeploymentRequest, 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]]] = ()
) -> None
Delete a deployment resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_deployment
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_external_api
delete_external_api(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteExternalApiRequest, 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]]] = ()
) -> None
Delete an External API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_external_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.delete_operation
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_spec
delete_spec(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteSpecRequest, 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]]] = ()
) -> None
Delete a spec.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_spec
google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_version
delete_version(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteVersionRequest, 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]]] = ()
) -> None
Delete an API version.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.delete_version
google.cloud.apihub_v1.services.api_hub.ApiHubClient.deployment_path
deployment_path(project: str, location: str, deployment: str) -> str
Returns a fully-qualified deployment string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.deployment_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.external_api_path
external_api_path(project: str, location: str, external_api: str) -> str
Returns a fully-qualified external_api string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.external_api_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.from_service_account_file
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.from_service_account_info
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.from_service_account_json
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_api
get_api(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.GetApiRequest, 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.apihub_v1.types.common_fields.Api
Get API resource details including the API versions contained in it.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_api_operation
get_api_operation(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetApiOperationRequest, 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.apihub_v1.types.common_fields.ApiOperation
Get details about a particular operation in API version.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_api_operation
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_attribute
get_attribute(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetAttributeRequest, 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.apihub_v1.types.common_fields.Attribute
Get details about the attribute.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_attribute
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_definition
get_definition(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetDefinitionRequest, 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.apihub_v1.types.common_fields.Definition
Get details about a definition in an API version.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_definition
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_deployment
get_deployment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetDeploymentRequest, 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.apihub_v1.types.common_fields.Deployment
Get details about a deployment and the API versions linked to it.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_deployment
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_external_api
get_external_api(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetExternalApiRequest, 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.apihub_v1.types.common_fields.ExternalApi
Get details about an External API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_external_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.get_location
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_mtls_endpoint_and_cert_source
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.get_operation
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_spec
get_spec(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.GetSpecRequest, 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.apihub_v1.types.common_fields.Spec
Get details about the information parsed from a spec.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_spec
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_spec_contents
get_spec_contents(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetSpecContentsRequest, 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.apihub_v1.types.common_fields.SpecContents
Get spec contents.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_spec_contents
google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_version
get_version(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetVersionRequest, 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.apihub_v1.types.common_fields.Version
Get details about the API version of an API resource.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.get_version
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_api_operations
list_api_operations(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListApiOperationsRequest, 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.apihub_v1.services.api_hub.pagers.ListApiOperationsPager
List operations in an API version.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_api_operations
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_apis
list_apis(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.ListApisRequest, 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.apihub_v1.services.api_hub.pagers.ListApisPager
List API resources in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_apis
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_attributes
list_attributes(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListAttributesRequest, 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.apihub_v1.services.api_hub.pagers.ListAttributesPager
List all attributes.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_attributes
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_deployments
list_deployments(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListDeploymentsRequest, 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.apihub_v1.services.api_hub.pagers.ListDeploymentsPager
List deployment resources in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_deployments
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_external_apis
list_external_apis(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListExternalApisRequest, 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.apihub_v1.services.api_hub.pagers.ListExternalApisPager
List External API resources in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_external_apis
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.list_locations
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.list_operations
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_specs
list_specs(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.ListSpecsRequest, 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.apihub_v1.services.api_hub.pagers.ListSpecsPager
List specs corresponding to a particular API resource.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_specs
google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_versions
list_versions(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListVersionsRequest, 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.apihub_v1.services.api_hub.pagers.ListVersionsPager
List API versions of an API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.list_versions
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_api_operation_path
parse_api_operation_path(path: str) -> typing.Dict[str, str]
Parses a api_operation path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_api_operation_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_api_path
parse_api_path(path: str) -> typing.Dict[str, str]
Parses a api path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_api_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_attribute_path
parse_attribute_path(path: str) -> typing.Dict[str, str]
Parses a attribute path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_attribute_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_common_billing_account_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.parse_common_folder_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.parse_common_location_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_common_organization_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.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.apihub_v1.services.api_hub.ApiHubClient.parse_common_project_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_definition_path
parse_definition_path(path: str) -> typing.Dict[str, str]
Parses a definition path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_definition_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_deployment_path
parse_deployment_path(path: str) -> typing.Dict[str, str]
Parses a deployment path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_deployment_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_external_api_path
parse_external_api_path(path: str) -> typing.Dict[str, str]
Parses a external_api path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_external_api_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_spec_path
parse_spec_path(path: str) -> typing.Dict[str, str]
Parses a spec path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_spec_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_version_path
parse_version_path(path: str) -> typing.Dict[str, str]
Parses a version path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.parse_version_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.search_resources
search_resources(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.SearchResourcesRequest, dict
]
] = None,
*,
location: typing.Optional[str] = None,
query: 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.apihub_v1.services.api_hub.pagers.SearchResourcesPager
Search across API-Hub resources.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.search_resources
google.cloud.apihub_v1.services.api_hub.ApiHubClient.spec_path
spec_path(project: str, location: str, api: str, version: str, spec: str) -> str
Returns a fully-qualified spec string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.spec_path
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_api
update_api(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.apihub_service.UpdateApiRequest, dict]
] = None,
*,
api: typing.Optional[google.cloud.apihub_v1.types.common_fields.Api] = 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.cloud.apihub_v1.types.common_fields.Api
Update an API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_attribute
update_attribute(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateAttributeRequest, dict
]
] = None,
*,
attribute: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Attribute
] = 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.cloud.apihub_v1.types.common_fields.Attribute
Update the attribute.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_attribute
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_deployment
update_deployment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateDeploymentRequest, dict
]
] = None,
*,
deployment: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Deployment
] = 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.cloud.apihub_v1.types.common_fields.Deployment
Update a deployment resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_deployment
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_external_api
update_external_api(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateExternalApiRequest, dict
]
] = None,
*,
external_api: typing.Optional[
google.cloud.apihub_v1.types.common_fields.ExternalApi
] = 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.cloud.apihub_v1.types.common_fields.ExternalApi
Update an External API resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_external_api
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_spec
update_spec(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateSpecRequest, dict
]
] = None,
*,
spec: typing.Optional[google.cloud.apihub_v1.types.common_fields.Spec] = 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.cloud.apihub_v1.types.common_fields.Spec
Update spec.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_spec
google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_version
update_version(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateVersionRequest, dict
]
] = None,
*,
version: typing.Optional[google.cloud.apihub_v1.types.common_fields.Version] = 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.cloud.apihub_v1.types.common_fields.Version
Update API version.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.update_version
google.cloud.apihub_v1.services.api_hub.ApiHubClient.version_path
version_path(project: str, location: str, api: str, version: str) -> str
Returns a fully-qualified version string.
See more: google.cloud.apihub_v1.services.api_hub.ApiHubClient.version_path
google.cloud.apihub_v1.services.api_hub.pagers.ListApiOperationsPager
ListApiOperationsPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListApiOperationsResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListApiOperationsRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListApiOperationsResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListApiOperationsPager
google.cloud.apihub_v1.services.api_hub.pagers.ListApisPager
ListApisPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListApisResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListApisRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListApisResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListApisPager
google.cloud.apihub_v1.services.api_hub.pagers.ListAttributesPager
ListAttributesPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListAttributesResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListAttributesRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListAttributesResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListAttributesPager
google.cloud.apihub_v1.services.api_hub.pagers.ListDeploymentsPager
ListDeploymentsPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListDeploymentsResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListDeploymentsRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListDeploymentsResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListDeploymentsPager
google.cloud.apihub_v1.services.api_hub.pagers.ListExternalApisPager
ListExternalApisPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListExternalApisResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListExternalApisRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListExternalApisResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListExternalApisPager
google.cloud.apihub_v1.services.api_hub.pagers.ListSpecsPager
ListSpecsPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListSpecsResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListSpecsRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListSpecsResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListSpecsPager
google.cloud.apihub_v1.services.api_hub.pagers.ListVersionsPager
ListVersionsPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListVersionsResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListVersionsRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListVersionsResponse,
*,
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.apihub_v1.services.api_hub.pagers.ListVersionsPager
google.cloud.apihub_v1.services.api_hub.pagers.SearchResourcesPager
SearchResourcesPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.SearchResourcesResponse
],
request: google.cloud.apihub_v1.types.apihub_service.SearchResourcesRequest,
response: google.cloud.apihub_v1.types.apihub_service.SearchResourcesResponse,
*,
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.apihub_v1.services.api_hub.pagers.SearchResourcesPager
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient
ApiHubDependenciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.api_hub_dependencies.transports.base.ApiHubDependenciesTransport, typing.Callable[[...], google.cloud.apihub_v1.services.api_hub_dependencies.transports.base.ApiHubDependenciesTransport]]] = 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 api hub dependencies client.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.exit
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.attribute_path
attribute_path(project: str, location: str, attribute: str) -> str
Returns a fully-qualified attribute string.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.attribute_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.cancel_operation
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_folder_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_location_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.common_project_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.create_dependency
create_dependency(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.CreateDependencyRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
dependency: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Dependency
] = None,
dependency_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.cloud.apihub_v1.types.common_fields.Dependency
Create a dependency between two entities in the API hub.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.create_dependency
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.delete_dependency
delete_dependency(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.DeleteDependencyRequest, 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]]] = ()
) -> None
Delete the dependency resource.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.delete_dependency
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.delete_operation
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.dependency_path
dependency_path(project: str, location: str, dependency: str) -> str
Returns a fully-qualified dependency string.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.dependency_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.get_dependency
get_dependency(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.GetDependencyRequest, 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.apihub_v1.types.common_fields.Dependency
Get details about a dependency resource in the API hub.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.get_dependency
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.get_location
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.get_operation
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.list_dependencies
list_dependencies(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.ListDependenciesRequest, 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.apihub_v1.services.api_hub_dependencies.pagers.ListDependenciesPager
List dependencies based on the provided filter and pagination parameters.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.list_dependencies
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.list_locations
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.list_operations
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_attribute_path
parse_attribute_path(path: str) -> typing.Dict[str, str]
Parses a attribute path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_attribute_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.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.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_dependency_path
parse_dependency_path(path: str) -> typing.Dict[str, str]
Parses a dependency path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.parse_dependency_path
google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.update_dependency
update_dependency(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.apihub_service.UpdateDependencyRequest, dict
]
] = None,
*,
dependency: typing.Optional[
google.cloud.apihub_v1.types.common_fields.Dependency
] = 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.cloud.apihub_v1.types.common_fields.Dependency
Update a dependency based on the xref_update_mask provided in the request.
See more: google.cloud.apihub_v1.services.api_hub_dependencies.ApiHubDependenciesClient.update_dependency
google.cloud.apihub_v1.services.api_hub_dependencies.pagers.ListDependenciesPager
ListDependenciesPager(
method: typing.Callable[
[...], google.cloud.apihub_v1.types.apihub_service.ListDependenciesResponse
],
request: google.cloud.apihub_v1.types.apihub_service.ListDependenciesRequest,
response: google.cloud.apihub_v1.types.apihub_service.ListDependenciesResponse,
*,
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.apihub_v1.services.api_hub_dependencies.pagers.ListDependenciesPager
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient
ApiHubPluginClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.api_hub_plugin.transports.base.ApiHubPluginTransport, typing.Callable[[...], google.cloud.apihub_v1.services.api_hub_plugin.transports.base.ApiHubPluginTransport]]] = 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 api hub plugin client.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.exit
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.attribute_path
attribute_path(project: str, location: str, attribute: str) -> str
Returns a fully-qualified attribute string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.attribute_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.cancel_operation
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_billing_account_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_folder_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_location_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_organization_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.common_project_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.delete_operation
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.disable_plugin
disable_plugin(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.plugin_service.DisablePluginRequest, 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.apihub_v1.types.plugin_service.Plugin
Disables a plugin.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.disable_plugin
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.enable_plugin
enable_plugin(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.plugin_service.EnablePluginRequest, 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.apihub_v1.types.plugin_service.Plugin
Enables a plugin.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.enable_plugin
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.from_service_account_file
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.from_service_account_info
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.from_service_account_json
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_location
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_mtls_endpoint_and_cert_source
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_operation
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_plugin
get_plugin(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.plugin_service.GetPluginRequest, 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.apihub_v1.types.plugin_service.Plugin
Get details about an API Hub plugin.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.get_plugin
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.list_locations
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.list_operations
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_attribute_path
parse_attribute_path(path: str) -> typing.Dict[str, str]
Parses a attribute path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_attribute_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_billing_account_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_folder_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_location_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_organization_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.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.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_common_project_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_plugin_path
parse_plugin_path(path: str) -> typing.Dict[str, str]
Parses a plugin path into its component segments.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.parse_plugin_path
google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.plugin_path
plugin_path(project: str, location: str, plugin: str) -> str
Returns a fully-qualified plugin string.
See more: google.cloud.apihub_v1.services.api_hub_plugin.ApiHubPluginClient.plugin_path
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient
HostProjectRegistrationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.host_project_registration_service.transports.base.HostProjectRegistrationServiceTransport, typing.Callable[[...], google.cloud.apihub_v1.services.host_project_registration_service.transports.base.HostProjectRegistrationServiceTransport]]] = 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 host project registration service client.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.create_host_project_registration
create_host_project_registration(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.host_project_registration_service.CreateHostProjectRegistrationRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
host_project_registration: typing.Optional[
google.cloud.apihub_v1.types.host_project_registration_service.HostProjectRegistration
] = None,
host_project_registration_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.cloud.apihub_v1.types.host_project_registration_service.HostProjectRegistration
)
Create a host project registration.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.get_host_project_registration
get_host_project_registration(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.host_project_registration_service.GetHostProjectRegistrationRequest,
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.apihub_v1.types.host_project_registration_service.HostProjectRegistration
)
Get a host project registration.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.host_project_registration_path
host_project_registration_path(
project: str, location: str, host_project_registration: str
) -> str
Returns a fully-qualified host_project_registration string.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.list_host_project_registrations
list_host_project_registrations(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.host_project_registration_service.ListHostProjectRegistrationsRequest,
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.apihub_v1.services.host_project_registration_service.pagers.ListHostProjectRegistrationsPager
)
Lists host project registrations.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.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.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.apihub_v1.services.host_project_registration_service.HostProjectRegistrationServiceClient.parse_host_project_registration_path
parse_host_project_registration_path(path: str) -> typing.Dict[str, str]
Parses a host_project_registration path into its component segments.
google.cloud.apihub_v1.services.host_project_registration_service.pagers.ListHostProjectRegistrationsPager
ListHostProjectRegistrationsPager(
method: typing.Callable[
[...],
google.cloud.apihub_v1.types.host_project_registration_service.ListHostProjectRegistrationsResponse,
],
request: google.cloud.apihub_v1.types.host_project_registration_service.ListHostProjectRegistrationsRequest,
response: google.cloud.apihub_v1.types.host_project_registration_service.ListHostProjectRegistrationsResponse,
*,
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.apihub_v1.services.linting_service.LintingServiceClient
LintingServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.linting_service.transports.base.LintingServiceTransport, typing.Callable[[...], google.cloud.apihub_v1.services.linting_service.transports.base.LintingServiceTransport]]] = 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 linting service client.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.exit
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.cancel_operation
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_billing_account_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_folder_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_location_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_organization_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.common_project_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.delete_operation
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.from_service_account_file
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.from_service_account_info
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.from_service_account_json
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.get_location
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.get_operation
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.get_style_guide
get_style_guide(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.linting_service.GetStyleGuideRequest, 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.apihub_v1.types.linting_service.StyleGuide
Get the style guide being used for linting.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.get_style_guide
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.get_style_guide_contents
get_style_guide_contents(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.linting_service.GetStyleGuideContentsRequest,
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.apihub_v1.types.linting_service.StyleGuideContents
Get the contents of the style guide.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.get_style_guide_contents
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.lint_spec
lint_spec(
request: typing.Optional[
typing.Union[google.cloud.apihub_v1.types.linting_service.LintSpecRequest, dict]
] = 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
Lints the requested spec and updates the corresponding API Spec with the lint response.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.lint_spec
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.list_locations
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.list_operations
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.parse_common_folder_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.parse_common_location_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_common_organization_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.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.apihub_v1.services.linting_service.LintingServiceClient.parse_common_project_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_spec_path
parse_spec_path(path: str) -> typing.Dict[str, str]
Parses a spec path into its component segments.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_spec_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_style_guide_path
parse_style_guide_path(path: str) -> typing.Dict[str, str]
Parses a style_guide path into its component segments.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.parse_style_guide_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.spec_path
spec_path(project: str, location: str, api: str, version: str, spec: str) -> str
Returns a fully-qualified spec string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.spec_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.style_guide_path
style_guide_path(project: str, location: str, plugin: str) -> str
Returns a fully-qualified style_guide string.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.style_guide_path
google.cloud.apihub_v1.services.linting_service.LintingServiceClient.update_style_guide
update_style_guide(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.linting_service.UpdateStyleGuideRequest, dict
]
] = None,
*,
style_guide: typing.Optional[
google.cloud.apihub_v1.types.linting_service.StyleGuide
] = 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.cloud.apihub_v1.types.linting_service.StyleGuide
Update the styleGuide to be used for liniting in by API hub.
See more: google.cloud.apihub_v1.services.linting_service.LintingServiceClient.update_style_guide
google.cloud.apihub_v1.services.provisioning.ProvisioningClient
ProvisioningClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.provisioning.transports.base.ProvisioningTransport, typing.Callable[[...], google.cloud.apihub_v1.services.provisioning.transports.base.ProvisioningTransport]]] = 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 provisioning client.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.exit
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.api_hub_instance_path
api_hub_instance_path(project: str, location: str, api_hub_instance: str) -> str
Returns a fully-qualified api_hub_instance string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.api_hub_instance_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.cancel_operation
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_billing_account_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_folder_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_location_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_organization_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.common_project_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.create_api_hub_instance
create_api_hub_instance(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.provisioning_service.CreateApiHubInstanceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
api_hub_instance: typing.Optional[
google.cloud.apihub_v1.types.common_fields.ApiHubInstance
] = None,
api_hub_instance_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
Provisions instance resources for the API Hub.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.create_api_hub_instance
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.delete_operation
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.from_service_account_file
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.from_service_account_info
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.from_service_account_json
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.get_api_hub_instance
get_api_hub_instance(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.provisioning_service.GetApiHubInstanceRequest,
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.apihub_v1.types.common_fields.ApiHubInstance
Gets details of a single API Hub instance.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.get_api_hub_instance
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.get_location
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.get_mtls_endpoint_and_cert_source
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.get_operation
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.list_locations
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.list_operations
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.lookup_api_hub_instance
lookup_api_hub_instance(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.provisioning_service.LookupApiHubInstanceRequest,
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.apihub_v1.types.provisioning_service.LookupApiHubInstanceResponse
Looks up an Api Hub instance in a given GCP project.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.lookup_api_hub_instance
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.parse_api_hub_instance_path
parse_api_hub_instance_path(path: str) -> typing.Dict[str, str]
Parses a api_hub_instance path into its component segments.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.parse_api_hub_instance_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.parse_common_billing_account_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.parse_common_folder_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.parse_common_location_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.apihub_v1.services.provisioning.ProvisioningClient.parse_common_organization_path
google.cloud.apihub_v1.services.provisioning.ProvisioningClient.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.apihub_v1.services.provisioning.ProvisioningClient.parse_common_project_path
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient
RuntimeProjectAttachmentServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.apihub_v1.services.runtime_project_attachment_service.transports.base.RuntimeProjectAttachmentServiceTransport, typing.Callable[[...], google.cloud.apihub_v1.services.runtime_project_attachment_service.transports.base.RuntimeProjectAttachmentServiceTransport]]] = 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 runtime project attachment service client.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.create_runtime_project_attachment
create_runtime_project_attachment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.runtime_project_attachment_service.CreateRuntimeProjectAttachmentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
runtime_project_attachment: typing.Optional[
google.cloud.apihub_v1.types.runtime_project_attachment_service.RuntimeProjectAttachment
] = None,
runtime_project_attachment_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.cloud.apihub_v1.types.runtime_project_attachment_service.RuntimeProjectAttachment
)
Attaches a runtime project to the host project.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.delete_runtime_project_attachment
delete_runtime_project_attachment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.runtime_project_attachment_service.DeleteRuntimeProjectAttachmentRequest,
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]]] = ()
) -> None
Delete a runtime project attachment in the API Hub.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.get_runtime_project_attachment
get_runtime_project_attachment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.runtime_project_attachment_service.GetRuntimeProjectAttachmentRequest,
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.apihub_v1.types.runtime_project_attachment_service.RuntimeProjectAttachment
)
Gets a runtime project attachment.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.list_runtime_project_attachments
list_runtime_project_attachments(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.runtime_project_attachment_service.ListRuntimeProjectAttachmentsRequest,
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.apihub_v1.services.runtime_project_attachment_service.pagers.ListRuntimeProjectAttachmentsPager
)
List runtime projects attached to the host project.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.lookup_runtime_project_attachment
lookup_runtime_project_attachment(
request: typing.Optional[
typing.Union[
google.cloud.apihub_v1.types.runtime_project_attachment_service.LookupRuntimeProjectAttachmentRequest,
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.apihub_v1.types.runtime_project_attachment_service.LookupRuntimeProjectAttachmentResponse
)
Look up a runtime project attachment.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.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.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.parse_runtime_project_attachment_path
parse_runtime_project_attachment_path(path: str) -> typing.Dict[str, str]
Parses a runtime_project_attachment path into its component segments.
google.cloud.apihub_v1.services.runtime_project_attachment_service.RuntimeProjectAttachmentServiceClient.runtime_project_attachment_path
runtime_project_attachment_path(
project: str, location: str, runtime_project_attachment: str
) -> str
Returns a fully-qualified runtime_project_attachment string.
google.cloud.apihub_v1.services.runtime_project_attachment_service.pagers.ListRuntimeProjectAttachmentsPager
ListRuntimeProjectAttachmentsPager(
method: typing.Callable[
[...],
google.cloud.apihub_v1.types.runtime_project_attachment_service.ListRuntimeProjectAttachmentsResponse,
],
request: google.cloud.apihub_v1.types.runtime_project_attachment_service.ListRuntimeProjectAttachmentsRequest,
response: google.cloud.apihub_v1.types.runtime_project_attachment_service.ListRuntimeProjectAttachmentsResponse,
*,
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.