Summary of entries of Methods for cloudbuild.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient
CloudBuildAsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
transports
.
base
.
CloudBuildTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
transports
.
base
.
CloudBuildTransport
]]]
=
'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 cloud build async client.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.approve_build
approve_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ApproveBuildRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
approval_result
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ApprovalResult
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Approves or rejects a pending build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.approve_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.build_path
build_path
(
project
:
str
,
build
:
str
)
-
> str
Returns a fully-qualified build string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.build_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.build_trigger_path
build_trigger_path
(
project
:
str
,
trigger
:
str
)
-
> str
Returns a fully-qualified build_trigger string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.build_trigger_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.cancel_build
cancel_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CancelBuildRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
Cancels a build in progress.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.cancel_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_folder_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_location_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.common_project_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_build
create_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateBuildRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
build
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Starts a build with the specified configuration.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_build_trigger
create_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
]
=
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Creates a new BuildTrigger
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_worker_pool
create_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateWorkerPoolRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
worker_pool
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
]
=
None
,
worker_pool_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.create_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.crypto_key_path
crypto_key_path
(
project
:
str
,
location
:
str
,
keyring
:
str
,
key
:
str
)
-
> str
Returns a fully-qualified crypto_key string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.crypto_key_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.delete_build_trigger
delete_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
DeleteBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_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
,
str
]]
=
()
)
-
> None
Deletes a BuildTrigger
by its project ID and trigger ID.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.delete_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.delete_worker_pool
delete_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
DeleteWorkerPoolRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.delete_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_build
get_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetBuildRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
Returns information about a previously requested build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_build_trigger
get_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Returns information about a BuildTrigger
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
transports
.
base
.
CloudBuildTransport
]
Returns an appropriate transport class.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_transport_class
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_worker_pool
get_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetWorkerPoolRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
Returns details of a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.get_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.github_enterprise_config_path
github_enterprise_config_path
(
project
:
str
,
config
:
str
)
-
> str
Returns a fully-qualified github_enterprise_config string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_build_triggers
list_build_triggers
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersRequest
,
dict
,
]
]
=
None
,
*
,
project_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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListBuildTriggersAsyncPager
)
Lists existing BuildTrigger
\ s.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_build_triggers
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_builds
list_builds
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
filter
:
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListBuildsAsyncPager
)
Lists previously requested builds.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_builds
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_worker_pools
list_worker_pools
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListWorkerPoolsAsyncPager
)
Lists WorkerPool
\ s.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.list_worker_pools
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.network_attachment_path
network_attachment_path
(
project
:
str
,
region
:
str
,
networkattachment
:
str
)
-
> str
Returns a fully-qualified network_attachment string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.network_path
network_path
(
project
:
str
,
network
:
str
)
-
> str
Returns a fully-qualified network string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.network_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_build_path
parse_build_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a build path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_build_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_build_trigger_path
parse_build_trigger_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a build_trigger path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_crypto_key_path
parse_crypto_key_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a crypto_key path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_crypto_key_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_github_enterprise_config_path
parse_github_enterprise_config_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a github_enterprise_config path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_network_attachment_path
parse_network_attachment_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a network_attachment path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_network_path
parse_network_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a network path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_network_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_repository_path
parse_repository_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a repository path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_repository_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_secret_version_path
parse_secret_version_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a secret_version path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_service_account_path
parse_service_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service_account path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_subscription_path
parse_subscription_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a subscription path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_topic_path
parse_topic_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a topic path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_topic_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.parse_worker_pool_path
parse_worker_pool_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a worker_pool path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.receive_trigger_webhook
receive_trigger_webhook
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ReceiveTriggerWebhookRequest
,
dict
,
]
]
=
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ReceiveTriggerWebhookResponse
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.repository_path
repository_path
(
project
:
str
,
location
:
str
,
connection
:
str
,
repository
:
str
)
-
> str
Returns a fully-qualified repository string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.repository_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.retry_build
retry_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RetryBuildRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a new build based on the specified build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.retry_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.run_build_trigger
run_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RunBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_id
:
typing
.
Optional
[
str
]
=
None
,
source
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RepoSource
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Runs a BuildTrigger
at a particular source revision.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.run_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.secret_version_path
secret_version_path
(
project
:
str
,
secret
:
str
,
version
:
str
)
-
> str
Returns a fully-qualified secret_version string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.secret_version_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.service_account_path
service_account_path
(
project
:
str
,
service_account
:
str
)
-
> str
Returns a fully-qualified service_account string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.service_account_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.subscription_path
subscription_path
(
project
:
str
,
subscription
:
str
)
-
> str
Returns a fully-qualified subscription string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.subscription_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.topic_path
topic_path
(
project
:
str
,
topic
:
str
)
-
> str
Returns a fully-qualified topic string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.topic_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.update_build_trigger
update_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
UpdateBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_id
:
typing
.
Optional
[
str
]
=
None
,
trigger
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
]
=
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Updates a BuildTrigger
by its project ID and trigger ID.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.update_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.update_worker_pool
update_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
UpdateWorkerPoolRequest
,
dict
,
]
]
=
None
,
*
,
worker_pool
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Updates a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.update_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.worker_pool_path
worker_pool_path
(
project
:
str
,
location
:
str
,
worker_pool
:
str
)
-
> str
Returns a fully-qualified worker_pool string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildAsyncClient.worker_pool_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient
CloudBuildClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
transports
.
base
.
CloudBuildTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
transports
.
base
.
CloudBuildTransport
]]]
=
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 cloud build client.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient. exit
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.approve_build
approve_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ApproveBuildRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
approval_result
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ApprovalResult
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Approves or rejects a pending build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.approve_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.build_path
build_path
(
project
:
str
,
build
:
str
)
-
> str
Returns a fully-qualified build string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.build_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.build_trigger_path
build_trigger_path
(
project
:
str
,
trigger
:
str
)
-
> str
Returns a fully-qualified build_trigger string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.build_trigger_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.cancel_build
cancel_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CancelBuildRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
Cancels a build in progress.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.cancel_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_folder_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_location_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_organization_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.common_project_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_build
create_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateBuildRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
build
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Starts a build with the specified configuration.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_build_trigger
create_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
]
=
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Creates a new BuildTrigger
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_worker_pool
create_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
CreateWorkerPoolRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
worker_pool
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
]
=
None
,
worker_pool_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.create_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.crypto_key_path
crypto_key_path
(
project
:
str
,
location
:
str
,
keyring
:
str
,
key
:
str
)
-
> str
Returns a fully-qualified crypto_key string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.crypto_key_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.delete_build_trigger
delete_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
DeleteBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_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
,
str
]]
=
()
)
-
> None
Deletes a BuildTrigger
by its project ID and trigger ID.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.delete_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.delete_worker_pool
delete_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
DeleteWorkerPoolRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.delete_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.from_service_account_file
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.from_service_account_info
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.from_service_account_json
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_build
get_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetBuildRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
Build
Returns information about a previously requested build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_build_trigger
get_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Returns information about a BuildTrigger
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_worker_pool
get_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
GetWorkerPoolRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
Returns details of a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.get_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.github_enterprise_config_path
github_enterprise_config_path
(
project
:
str
,
config
:
str
)
-
> str
Returns a fully-qualified github_enterprise_config string.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_build_triggers
list_build_triggers
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersRequest
,
dict
,
]
]
=
None
,
*
,
project_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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListBuildTriggersPager
)
Lists existing BuildTrigger
\ s.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_build_triggers
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_builds
list_builds
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
filter
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListBuildsPager
Lists previously requested builds.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_builds
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_worker_pools
list_worker_pools
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v1
.
services
.
cloud_build
.
pagers
.
ListWorkerPoolsPager
)
Lists WorkerPool
\ s.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.list_worker_pools
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.network_attachment_path
network_attachment_path
(
project
:
str
,
region
:
str
,
networkattachment
:
str
)
-
> str
Returns a fully-qualified network_attachment string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.network_attachment_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.network_path
network_path
(
project
:
str
,
network
:
str
)
-
> str
Returns a fully-qualified network string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.network_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_build_path
parse_build_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a build path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_build_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_build_trigger_path
parse_build_trigger_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a build_trigger path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_build_trigger_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_common_folder_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_common_location_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.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.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_common_project_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_crypto_key_path
parse_crypto_key_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a crypto_key path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_crypto_key_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_github_enterprise_config_path
parse_github_enterprise_config_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a github_enterprise_config path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_network_attachment_path
parse_network_attachment_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a network_attachment path into its component segments.
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_network_path
parse_network_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a network path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_network_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_repository_path
parse_repository_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a repository path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_repository_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_secret_version_path
parse_secret_version_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a secret_version path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_secret_version_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_service_account_path
parse_service_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service_account path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_service_account_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_subscription_path
parse_subscription_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a subscription path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_subscription_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_topic_path
parse_topic_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a topic path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_topic_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_worker_pool_path
parse_worker_pool_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a worker_pool path into its component segments.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.parse_worker_pool_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.receive_trigger_webhook
receive_trigger_webhook
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ReceiveTriggerWebhookRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ReceiveTriggerWebhookResponse
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.receive_trigger_webhook
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.repository_path
repository_path
(
project
:
str
,
location
:
str
,
connection
:
str
,
repository
:
str
)
-
> str
Returns a fully-qualified repository string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.repository_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.retry_build
retry_build
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RetryBuildRequest
,
dict
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a new build based on the specified build.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.retry_build
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.run_build_trigger
run_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RunBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_id
:
typing
.
Optional
[
str
]
=
None
,
source
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
RepoSource
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Runs a BuildTrigger
at a particular source revision.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.run_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.secret_version_path
secret_version_path
(
project
:
str
,
secret
:
str
,
version
:
str
)
-
> str
Returns a fully-qualified secret_version string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.secret_version_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.service_account_path
service_account_path
(
project
:
str
,
service_account
:
str
)
-
> str
Returns a fully-qualified service_account string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.service_account_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.subscription_path
subscription_path
(
project
:
str
,
subscription
:
str
)
-
> str
Returns a fully-qualified subscription string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.subscription_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.topic_path
topic_path
(
project
:
str
,
topic
:
str
)
-
> str
Returns a fully-qualified topic string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.topic_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.update_build_trigger
update_build_trigger
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
UpdateBuildTriggerRequest
,
dict
,
]
]
=
None
,
*
,
project_id
:
typing
.
Optional
[
str
]
=
None
,
trigger_id
:
typing
.
Optional
[
str
]
=
None
,
trigger
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
]
=
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
BuildTrigger
Updates a BuildTrigger
by its project ID and trigger ID.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.update_build_trigger
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.update_worker_pool
update_worker_pool
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
UpdateWorkerPoolRequest
,
dict
,
]
]
=
None
,
*
,
worker_pool
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
WorkerPool
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Updates a WorkerPool
.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.update_worker_pool
google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.worker_pool_path
worker_pool_path
(
project
:
str
,
location
:
str
,
worker_pool
:
str
)
-
> str
Returns a fully-qualified worker_pool string.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.CloudBuildClient.worker_pool_path
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildTriggersAsyncPager
ListBuildTriggersAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildTriggersAsyncPager
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildTriggersPager
ListBuildTriggersPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersResponse
,
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildTriggersResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildTriggersPager
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildsAsyncPager
ListBuildsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildsAsyncPager
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildsPager
ListBuildsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsResponse
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListBuildsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListBuildsPager
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListWorkerPoolsAsyncPager
ListWorkerPoolsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListWorkerPoolsAsyncPager
google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListWorkerPoolsPager
ListWorkerPoolsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsResponse
,
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v1
.
types
.
cloudbuild
.
ListWorkerPoolsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
See more: google.cloud.devtools.cloudbuild_v1.services.cloud_build.pagers.ListWorkerPoolsPager
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient
RepositoryManagerAsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
transports
.
base
.
RepositoryManagerTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
transports
.
base
.
RepositoryManagerTransport
]]]
=
'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 repository manager async client.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.batch_create_repositories
batch_create_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
BatchCreateRepositoriesRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
requests
:
typing
.
Optional
[
typing
.
MutableSequence
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateRepositoryRequest
]
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates multiple repositories inside a connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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
,
str
]]
=
()
)
-
> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.connection_path
connection_path
(
project
:
str
,
location
:
str
,
connection
:
str
)
-
> str
Returns a fully-qualified connection string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.create_connection
create_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateConnectionRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
connection
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
]
=
None
,
connection_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a Connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.create_repository
create_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateRepositoryRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
repository
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Repository
]
=
None
,
repository_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Creates a Repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.delete_connection
delete_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
DeleteConnectionRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.delete_repository
delete_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
DeleteRepositoryRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Deletes a single repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.fetch_git_refs
fetch_git_refs
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchGitRefsRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchGitRefsResponse
Fetch the list of branches or tags for a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.fetch_linkable_repositories
fetch_linkable_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesRequest
,
dict
,
]
]
=
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
FetchLinkableRepositoriesAsyncPager
)
FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.fetch_read_token
fetch_read_token
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadTokenRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadTokenResponse
Fetches read token of a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.fetch_read_write_token
fetch_read_write_token
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadWriteTokenRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadWriteTokenResponse
Fetches read/write token of a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.get_connection
get_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
GetConnectionRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
Gets details of a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Gets the IAM access control policy for a function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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
,
str
]]
=
()
)
-
> google
.
longrunning
.
operations_pb2
.
Operation
Gets the latest state of a long-running operation.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.get_repository
get_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
GetRepositoryRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Repository
Gets details of a single repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
transports
.
base
.
RepositoryManagerTransport
]
Returns an appropriate transport class.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.list_connections
list_connections
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
ListConnectionsAsyncPager
)
Lists Connections in a given project and location.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.list_repositories
list_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
ListRepositoriesAsyncPager
)
Lists Repositories in a given connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_connection_path
parse_connection_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a connection path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_repository_path
parse_repository_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a repository path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_secret_version_path
parse_secret_version_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a secret_version path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.parse_service_path
parse_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.repository_path
repository_path
(
project
:
str
,
location
:
str
,
connection
:
str
,
repository
:
str
)
-
> str
Returns a fully-qualified repository string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.secret_version_path
secret_version_path
(
project
:
str
,
secret
:
str
,
version
:
str
)
-
> str
Returns a fully-qualified secret_version string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.service_path
service_path
(
project
:
str
,
location
:
str
,
namespace
:
str
,
service
:
str
)
-
> str
Returns a fully-qualified service string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Sets the IAM access control policy on the specified function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerAsyncClient.update_connection
update_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
UpdateConnectionRequest
,
dict
,
]
]
=
None
,
*
,
connection
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation_async
.
AsyncOperation
Updates a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient
RepositoryManagerClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
transports
.
base
.
RepositoryManagerTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
transports
.
base
.
RepositoryManagerTransport
]]]
=
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 repository manager client.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient. exit
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.batch_create_repositories
batch_create_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
BatchCreateRepositoriesRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
requests
:
typing
.
Optional
[
typing
.
MutableSequence
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateRepositoryRequest
]
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates multiple repositories inside a connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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
,
str
]]
=
()
)
-
> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.connection_path
connection_path
(
project
:
str
,
location
:
str
,
connection
:
str
)
-
> str
Returns a fully-qualified connection string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.create_connection
create_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateConnectionRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
connection
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
]
=
None
,
connection_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a Connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.create_repository
create_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
CreateRepositoryRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
repository
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Repository
]
=
None
,
repository_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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Creates a Repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.delete_connection
delete_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
DeleteConnectionRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.delete_repository
delete_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
DeleteRepositoryRequest
,
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Deletes a single repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.fetch_git_refs
fetch_git_refs
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchGitRefsRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchGitRefsResponse
Fetch the list of branches or tags for a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.fetch_linkable_repositories
fetch_linkable_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
FetchLinkableRepositoriesPager
)
FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.fetch_read_token
fetch_read_token
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadTokenRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadTokenResponse
Fetches read token of a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.fetch_read_write_token
fetch_read_write_token
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadWriteTokenRequest
,
dict
,
]
]
=
None
,
*
,
repository
:
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchReadWriteTokenResponse
Fetches read/write token of a given repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.get_connection
get_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
GetConnectionRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
Gets details of a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Gets the IAM access control policy for a function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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
,
str
]]
=
()
)
-
> google
.
longrunning
.
operations_pb2
.
Operation
Gets the latest state of a long-running operation.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.get_repository
get_repository
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
GetRepositoryRequest
,
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
,
str
]]
=
()
)
-
> google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Repository
Gets details of a single repository.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.list_connections
list_connections
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
ListConnectionsPager
)
Lists Connections in a given project and location.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.list_repositories
list_repositories
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesRequest
,
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
,
str
]]
=
()
)
-
> (
google
.
cloud
.
devtools
.
cloudbuild_v2
.
services
.
repository_manager
.
pagers
.
ListRepositoriesPager
)
Lists Repositories in a given connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_connection_path
parse_connection_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a connection path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_repository_path
parse_repository_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a repository path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_secret_version_path
parse_secret_version_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a secret_version path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.parse_service_path
parse_service_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a service path into its component segments.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.repository_path
repository_path
(
project
:
str
,
location
:
str
,
connection
:
str
,
repository
:
str
)
-
> str
Returns a fully-qualified repository string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.secret_version_path
secret_version_path
(
project
:
str
,
secret
:
str
,
version
:
str
)
-
> str
Returns a fully-qualified secret_version string.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.service_path
service_path
(
project
:
str
,
location
:
str
,
namespace
:
str
,
service
:
str
)
-
> str
Returns a fully-qualified service string.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.service_path
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
policy_pb2
.
Policy
Sets the IAM access control policy on the specified function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.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
,
str
]]
=
()
)
-
> google
.
iam
.
v1
.
iam_policy_pb2
.
TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.RepositoryManagerClient.update_connection
update_connection
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
UpdateConnectionRequest
,
dict
,
]
]
=
None
,
*
,
connection
:
typing
.
Optional
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
Connection
]
=
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
,
str
]]
=
()
)
-
> google
.
api_core
.
operation
.
Operation
Updates a single connection.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.FetchLinkableRepositoriesAsyncPager
FetchLinkableRepositoriesAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.FetchLinkableRepositoriesPager
FetchLinkableRepositoriesPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesResponse
,
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
FetchLinkableRepositoriesResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListConnectionsAsyncPager
ListConnectionsAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListConnectionsAsyncPager
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListConnectionsPager
ListConnectionsPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsResponse
,
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListConnectionsResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListConnectionsPager
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListRepositoriesAsyncPager
ListRepositoriesAsyncPager
(
method
:
typing
.
Callable
[
[
...
],
typing
.
Awaitable
[
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesResponse
],
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesResponse
,
*
,
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
,
str
]]
=
()
)
Instantiates the pager.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListRepositoriesAsyncPager
google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListRepositoriesPager
ListRepositoriesPager
(
method
:
typing
.
Callable
[
[
...
],
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesResponse
,
],
request
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesRequest
,
response
:
google
.
cloud
.
devtools
.
cloudbuild_v2
.
types
.
repositories
.
ListRepositoriesResponse
,
*
,
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
,
str
]]
=
()
)
Instantiate the pager.
See more: google.cloud.devtools.cloudbuild_v2.services.repository_manager.pagers.ListRepositoriesPager