public class CloudBuild.Projects.Locations.Connections extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudBuild.Projects.Locations.Connections.Create |
class |
CloudBuild.Projects.Locations.Connections.Delete |
class |
CloudBuild.Projects.Locations.Connections.FetchLinkableRepositories |
class |
CloudBuild.Projects.Locations.Connections.Get |
class |
CloudBuild.Projects.Locations.Connections.GetIamPolicy |
class |
CloudBuild.Projects.Locations.Connections.List |
class |
CloudBuild.Projects.Locations.Connections.Patch |
class |
CloudBuild.Projects.Locations.Connections.ProcessWebhook |
class |
CloudBuild.Projects.Locations.Connections.Repositories
The "repositories" collection of methods.
|
class |
CloudBuild.Projects.Locations.Connections.SetIamPolicy |
class |
CloudBuild.Projects.Locations.Connections.TestIamPermissions |
Constructor and Description |
---|
Connections() |
public CloudBuild.Projects.Locations.Connections.Create create(String parent, Connection content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Project and location where the connection will be created. Format: `projects/locations`.content
- the Connection
IOException
public CloudBuild.Projects.Locations.Connections.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the Connection to delete. Format: `projects/locations/connections`.IOException
public CloudBuild.Projects.Locations.Connections.FetchLinkableRepositories fetchLinkableRepositories(String connection) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.connection
- Required. The name of the Connection. Format: `projects/locations/connections`.IOException
public CloudBuild.Projects.Locations.Connections.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the Connection to retrieve. Format: `projects/locations/connections`.IOException
public CloudBuild.Projects.Locations.Connections.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.IOException
public CloudBuild.Projects.Locations.Connections.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The parent, which owns this collection of Connections. Format: `projects/locations`.IOException
public CloudBuild.Projects.Locations.Connections.Patch patch(String name, Connection content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Immutable. The resource name of the connection, in the format
`projects/{project}/locations/{location}/connections/{connection_id}`.content
- the Connection
IOException
public CloudBuild.Projects.Locations.Connections.ProcessWebhook processWebhook(String parent, HttpBody content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Project and location where the webhook will be received. Format: `projects/locations`.content
- the HttpBody
IOException
public CloudBuild.Projects.Locations.Connections.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the SetIamPolicyRequest
IOException
public CloudBuild.Projects.Locations.Connections.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the TestIamPermissionsRequest
IOException
public CloudBuild.Projects.Locations.Connections.Repositories repositories()
The typical use is:
CloudBuild cloudbuild = new CloudBuild(...);
CloudBuild.Repositories.List request = cloudbuild.repositories().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.