Summary of entries of Methods for google-cloud-apphub.
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient
AppHubAsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
transports
.
base
.
AppHubTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
transports
.
base
.
AppHubTransport
]]]
=
'grpc_asyncio'
,
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
client_info
:
google
.
api_core
.
gapic_v1
.
client_info
.
ClientInfo
=
Instantiates the app hub async client.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.application_path
application_path
(
project
:
str
,
location
:
str
,
application
:
str
)
-
> str
Returns a fully-qualified application string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.application_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.cancel_operation
cancel_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
CancelOperationRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.cancel_operation
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_billing_account_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_folder_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_location_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_organization_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.common_project_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_application
create_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateApplicationRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
application
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
application
.
Application
]
=
None
,
application_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_application
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_service
create_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateServiceRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
service
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service
.
Service
]
=
None
,
service_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_service_project_attachment
create_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
service_project_attachment
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service_project_attachment
.
ServiceProjectAttachment
]
=
None
,
service_project_attachment_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Attaches a service project to the host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_workload
create_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateWorkloadRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
workload
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
workload
.
Workload
]
=
None
,
workload_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.create_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_application
delete_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteApplicationRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_application
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_operation
delete_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
DeleteOperationRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> None
Deletes a long-running operation.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_operation
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_service
delete_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteServiceRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a Service from an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_service_project_attachment
delete_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a service project attachment.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_workload
delete_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteWorkloadRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a Workload from an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.delete_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.detach_service_project_attachment
detach_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DetachServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DetachServiceProjectAttachmentResponse
Detaches a service project from a host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.detach_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.discovered_service_path
discovered_service_path
(
project
:
str
,
location
:
str
,
discovered_service
:
str
)
-
> str
Returns a fully-qualified discovered_service string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.discovered_service_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.discovered_workload_path
discovered_workload_path
(
project
:
str
,
location
:
str
,
discovered_workload
:
str
)
-
> str
Returns a fully-qualified discovered_workload string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.discovered_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.from_service_account_file
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.from_service_account_info
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.from_service_account_json
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_application
get_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetApplicationRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
application
.
Application
Gets an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_application
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_discovered_service
get_discovered_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetDiscoveredServiceRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
service
.
DiscoveredService
Gets a Discovered Service in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_discovered_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_discovered_workload
get_discovered_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetDiscoveredWorkloadRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
workload
.
DiscoveredWorkload
Gets a Discovered Workload in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_discovered_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_iam_policy
get_iam_policy
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
GetIamPolicyRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Gets the IAM access control policy for a function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_iam_policy
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_location
get_location
(
request
:
typing
.
Optional
[
google
.
cloud
.
location
.
locations_pb2
.
GetLocationRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
location
.
locations_pb2
.
Location
Gets information about a location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_location
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Return the API endpoint and client cert source for mutual TLS.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_mtls_endpoint_and_cert_source
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_operation
get_operation
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
GetOperationRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
longrunning
.
operations_pb2
.
Operation
Gets the latest state of a long-running operation.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_operation
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_service
get_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetServiceRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
service
.
Service
Gets a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_service_project_attachment
get_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
service_project_attachment
.
ServiceProjectAttachment
Gets a service project attachment.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
transports
.
base
.
AppHubTransport
]
Returns an appropriate transport class.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_transport_class
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_workload
get_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetWorkloadRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
workload
.
Workload
Gets a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.get_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_applications
list_applications
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListApplicationsAsyncPager
Lists Applications in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_applications
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_discovered_services
list_discovered_services
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListDiscoveredServicesAsyncPager
Lists Discovered Services that can be added to an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_discovered_services
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_discovered_workloads
list_discovered_workloads
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListDiscoveredWorkloadsAsyncPager
Lists Discovered Workloads that can be added to an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_discovered_workloads
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_locations
list_locations
(
request
:
typing
.
Optional
[
google
.
cloud
.
location
.
locations_pb2
.
ListLocationsRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
location
.
locations_pb2
.
ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_locations
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_operations
list_operations
(
request
:
typing
.
Optional
[
google
.
longrunning
.
operations_pb2
.
ListOperationsRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
longrunning
.
operations_pb2
.
ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_operations
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_service_project_attachments
list_service_project_attachments
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> (
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListServiceProjectAttachmentsAsyncPager
)
Lists service projects attached to the host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_service_project_attachments
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_services
list_services
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListServicesAsyncPager
Lists Services in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_services
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_workloads
list_workloads
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListWorkloadsAsyncPager
Lists Workloads in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.list_workloads
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_discovered_service
lookup_discovered_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredServiceRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredServiceResponse
Lists a Discovered Service in a host project and location, with a given resource URI.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_discovered_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_discovered_workload
lookup_discovered_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredWorkloadRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredWorkloadResponse
Lists a Discovered Workload in a host project and location, with a given resource URI.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_discovered_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_service_project_attachment
lookup_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupServiceProjectAttachmentResponse
Lists a service project attachment for a given service project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.lookup_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_application_path
parse_application_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a application path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_application_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.parse_common_billing_account_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.parse_common_folder_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.parse_common_location_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.parse_common_organization_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.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.apphub_v1.services.app_hub.AppHubAsyncClient.parse_common_project_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_discovered_service_path
parse_discovered_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a discovered_service path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_discovered_service_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_discovered_workload_path
parse_discovered_workload_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a discovered_workload path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_discovered_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_service_path
parse_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_service_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_service_project_attachment_path
parse_service_project_attachment_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service_project_attachment path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_service_project_attachment_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_workload_path
parse_workload_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a workload path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.parse_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.service_path
service_path
(
project
:
str
,
location
:
str
,
application
:
str
,
service
:
str
)
-
> str
Returns a fully-qualified service string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.service_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.service_project_attachment_path
service_project_attachment_path
(
project
:
str
,
location
:
str
,
service_project_attachment
:
str
)
-
> str
Returns a fully-qualified service_project_attachment string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.service_project_attachment_path
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.set_iam_policy
set_iam_policy
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
SetIamPolicyRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.set_iam_policy
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.test_iam_permissions
test_iam_permissions
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.test_iam_permissions
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_application
update_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateApplicationRequest
,
dict
]
]
=
None
,
*
,
application
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
application
.
Application
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Updates an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_application
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_service
update_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateServiceRequest
,
dict
]
]
=
None
,
*
,
service
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service
.
Service
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Updates a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_service
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_workload
update_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateWorkloadRequest
,
dict
]
]
=
None
,
*
,
workload
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
workload
.
Workload
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Updates a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.update_workload
google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.workload_path
workload_path
(
project
:
str
,
location
:
str
,
application
:
str
,
workload
:
str
)
-
> str
Returns a fully-qualified workload string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubAsyncClient.workload_path
google.cloud.apphub_v1.services.app_hub.AppHubClient
AppHubClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
transports
.
base
.
AppHubTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
apphub_v1
.
services
.
app_hub
.
transports
.
base
.
AppHubTransport
]]]
=
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 app hub client.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient
google.cloud.apphub_v1.services.app_hub.AppHubClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient. exit
google.cloud.apphub_v1.services.app_hub.AppHubClient.application_path
application_path
(
project
:
str
,
location
:
str
,
application
:
str
)
-
> str
Returns a fully-qualified application string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.application_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.cancel_operation
google.cloud.apphub_v1.services.app_hub.AppHubClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.common_billing_account_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.common_folder_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.common_location_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.common_organization_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.common_project_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.create_application
create_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateApplicationRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
application
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
application
.
Application
]
=
None
,
application_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.create_application
google.cloud.apphub_v1.services.app_hub.AppHubClient.create_service
create_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateServiceRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
service
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service
.
Service
]
=
None
,
service_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.create_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.create_service_project_attachment
create_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
service_project_attachment
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service_project_attachment
.
ServiceProjectAttachment
]
=
None
,
service_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
.
api_core
.
operation
.
Operation
Attaches a service project to the host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.create_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubClient.create_workload
create_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
CreateWorkloadRequest
,
dict
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
workload
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
workload
.
Workload
]
=
None
,
workload_id
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.create_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_application
delete_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteApplicationRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_application
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.delete_operation
google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_service
delete_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteServiceRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a Service from an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_service_project_attachment
delete_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteServiceProjectAttachmentRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a service project attachment.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_workload
delete_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DeleteWorkloadRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a Workload from an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.delete_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.detach_service_project_attachment
detach_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
DetachServiceProjectAttachmentRequest
,
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
.
apphub_v1
.
types
.
apphub_service
.
DetachServiceProjectAttachmentResponse
Detaches a service project from a host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.detach_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubClient.discovered_service_path
discovered_service_path
(
project
:
str
,
location
:
str
,
discovered_service
:
str
)
-
> str
Returns a fully-qualified discovered_service string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.discovered_service_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.discovered_workload_path
discovered_workload_path
(
project
:
str
,
location
:
str
,
discovered_workload
:
str
)
-
> str
Returns a fully-qualified discovered_workload string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.discovered_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.from_service_account_file
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.from_service_account_info
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.from_service_account_json
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_application
get_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetApplicationRequest
,
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
.
apphub_v1
.
types
.
application
.
Application
Gets an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_application
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_discovered_service
get_discovered_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetDiscoveredServiceRequest
,
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
.
apphub_v1
.
types
.
service
.
DiscoveredService
Gets a Discovered Service in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_discovered_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_discovered_workload
get_discovered_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetDiscoveredWorkloadRequest
,
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
.
apphub_v1
.
types
.
workload
.
DiscoveredWorkload
Gets a Discovered Workload in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_discovered_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_iam_policy
get_iam_policy
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
GetIamPolicyRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Gets the IAM access control policy for a function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_iam_policy
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.get_location
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.get_mtls_endpoint_and_cert_source
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.get_operation
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_service
get_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetServiceRequest
,
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
.
apphub_v1
.
types
.
service
.
Service
Gets a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_service_project_attachment
get_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetServiceProjectAttachmentRequest
,
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
.
apphub_v1
.
types
.
service_project_attachment
.
ServiceProjectAttachment
Gets a service project attachment.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubClient.get_workload
get_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
GetWorkloadRequest
,
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
.
apphub_v1
.
types
.
workload
.
Workload
Gets a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.get_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_applications
list_applications
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListApplicationsPager
Lists Applications in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_applications
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_discovered_services
list_discovered_services
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListDiscoveredServicesPager
Lists Discovered Services that can be added to an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_discovered_services
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_discovered_workloads
list_discovered_workloads
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListDiscoveredWorkloadsPager
Lists Discovered Workloads that can be added to an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_discovered_workloads
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.list_locations
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.list_operations
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_service_project_attachments
list_service_project_attachments
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListServiceProjectAttachmentsPager
Lists service projects attached to the host project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_service_project_attachments
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_services
list_services
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListServicesPager
Lists Services in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_services
google.cloud.apphub_v1.services.app_hub.AppHubClient.list_workloads
list_workloads
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsRequest
,
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
.
apphub_v1
.
services
.
app_hub
.
pagers
.
ListWorkloadsPager
Lists Workloads in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.list_workloads
google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_discovered_service
lookup_discovered_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredServiceRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredServiceResponse
Lists a Discovered Service in a host project and location, with a given resource URI.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_discovered_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_discovered_workload
lookup_discovered_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredWorkloadRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupDiscoveredWorkloadResponse
Lists a Discovered Workload in a host project and location, with a given resource URI.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_discovered_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_service_project_attachment
lookup_service_project_attachment
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
LookupServiceProjectAttachmentRequest
,
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
.
apphub_v1
.
types
.
apphub_service
.
LookupServiceProjectAttachmentResponse
Lists a service project attachment for a given service project.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.lookup_service_project_attachment
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_application_path
parse_application_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a application path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_application_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.parse_common_billing_account_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.parse_common_folder_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.parse_common_location_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.parse_common_organization_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.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.apphub_v1.services.app_hub.AppHubClient.parse_common_project_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_discovered_service_path
parse_discovered_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a discovered_service path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_discovered_service_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_discovered_workload_path
parse_discovered_workload_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a discovered_workload path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_discovered_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_service_path
parse_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_service_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_service_project_attachment_path
parse_service_project_attachment_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service_project_attachment path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_service_project_attachment_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_workload_path
parse_workload_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a workload path into its component segments.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.parse_workload_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.service_path
service_path
(
project
:
str
,
location
:
str
,
application
:
str
,
service
:
str
)
-
> str
Returns a fully-qualified service string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.service_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.service_project_attachment_path
service_project_attachment_path
(
project
:
str
,
location
:
str
,
service_project_attachment
:
str
)
-
> str
Returns a fully-qualified service_project_attachment string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.service_project_attachment_path
google.cloud.apphub_v1.services.app_hub.AppHubClient.set_iam_policy
set_iam_policy
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
SetIamPolicyRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.set_iam_policy
google.cloud.apphub_v1.services.app_hub.AppHubClient.test_iam_permissions
test_iam_permissions
(
request
:
typing
.
Optional
[
google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsRequest
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.test_iam_permissions
google.cloud.apphub_v1.services.app_hub.AppHubClient.update_application
update_application
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateApplicationRequest
,
dict
]
]
=
None
,
*
,
application
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
application
.
Application
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Updates an Application in a host project and location.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.update_application
google.cloud.apphub_v1.services.app_hub.AppHubClient.update_service
update_service
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateServiceRequest
,
dict
]
]
=
None
,
*
,
service
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
service
.
Service
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Updates a Service in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.update_service
google.cloud.apphub_v1.services.app_hub.AppHubClient.update_workload
update_workload
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
UpdateWorkloadRequest
,
dict
]
]
=
None
,
*
,
workload
:
typing
.
Optional
[
google
.
cloud
.
apphub_v1
.
types
.
workload
.
Workload
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Updates a Workload in an Application.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.update_workload
google.cloud.apphub_v1.services.app_hub.AppHubClient.workload_path
workload_path
(
project
:
str
,
location
:
str
,
application
:
str
,
workload
:
str
)
-
> str
Returns a fully-qualified workload string.
See more: google.cloud.apphub_v1.services.app_hub.AppHubClient.workload_path
google.cloud.apphub_v1.services.app_hub.pagers.ListApplicationsAsyncPager
ListApplicationsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListApplicationsAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListApplicationsPager
ListApplicationsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsResponse
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListApplicationsResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListApplicationsPager
google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredServicesAsyncPager
ListDiscoveredServicesAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredServicesAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredServicesPager
ListDiscoveredServicesPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesResponse
,
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredServicesResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListDiscoveredServicesPager
google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredWorkloadsAsyncPager
ListDiscoveredWorkloadsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredWorkloadsAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListDiscoveredWorkloadsPager
ListDiscoveredWorkloadsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsResponse
,
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListDiscoveredWorkloadsResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListDiscoveredWorkloadsPager
google.cloud.apphub_v1.services.app_hub.pagers.ListServiceProjectAttachmentsAsyncPager
ListServiceProjectAttachmentsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListServiceProjectAttachmentsAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListServiceProjectAttachmentsPager
ListServiceProjectAttachmentsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsResponse
,
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServiceProjectAttachmentsResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListServiceProjectAttachmentsPager
google.cloud.apphub_v1.services.app_hub.pagers.ListServicesAsyncPager
ListServicesAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListServicesAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListServicesPager
ListServicesPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesResponse
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListServicesResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListServicesPager
google.cloud.apphub_v1.services.app_hub.pagers.ListWorkloadsAsyncPager
ListWorkloadsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsResponse
],
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsResponse
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
Instantiates the pager.
See more: google.cloud.apphub_v1.services.app_hub.pagers.ListWorkloadsAsyncPager
google.cloud.apphub_v1.services.app_hub.pagers.ListWorkloadsPager
ListWorkloadsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsResponse
],
request
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsRequest
,
response
:
google
.
cloud
.
apphub_v1
.
types
.
apphub_service
.
ListWorkloadsResponse
,
*
,
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.apphub_v1.services.app_hub.pagers.ListWorkloadsPager