public class CloudRun.Projects.Locations.Services extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudRun.Projects.Locations.Services.Create |
class |
CloudRun.Projects.Locations.Services.Delete |
class |
CloudRun.Projects.Locations.Services.Get |
class |
CloudRun.Projects.Locations.Services.GetIamPolicy |
class |
CloudRun.Projects.Locations.Services.List |
class |
CloudRun.Projects.Locations.Services.Patch |
class |
CloudRun.Projects.Locations.Services.Revisions
The "revisions" collection of methods.
|
class |
CloudRun.Projects.Locations.Services.SetIamPolicy |
class |
CloudRun.Projects.Locations.Services.TestIamPermissions |
| Constructor and Description |
|---|
Services() |
public CloudRun.Projects.Locations.Services.Create create(String parent, GoogleCloudRunV2Service content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The location and project in which this service should be created. Format:
projects/{project}/locations/{location}, where {project} can be project id or number. Only
lowercase characters, digits, and hyphens.content - the GoogleCloudRunV2ServiceIOExceptionpublic CloudRun.Projects.Locations.Services.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full name of the Service. Format:
projects/{project}/locations/{location}/services/{service}, where {project} can be project
id or number.IOExceptionpublic CloudRun.Projects.Locations.Services.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full name of the Service. Format:
projects/{project}/locations/{location}/services/{service}, where {project} can be project
id or number.IOExceptionpublic CloudRun.Projects.Locations.Services.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.IOExceptionpublic CloudRun.Projects.Locations.Services.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The location and project to list resources on. Location must be a valid Google Cloud
region, and cannot be the "-" wildcard. Format: projects/{project}/locations/{location},
where {project} can be project id or number.IOExceptionpublic CloudRun.Projects.Locations.Services.Patch patch(String name, GoogleCloudRunV2Service content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Identifier. The fully qualified name of this Service. In CreateServiceRequest, this field is
ignored, and instead composed from CreateServiceRequest.parent and
CreateServiceRequest.service_id. Format:
projects/{project}/locations/{location}/services/{service_id}content - the GoogleCloudRunV2ServiceIOExceptionpublic CloudRun.Projects.Locations.Services.SetIamPolicy setIamPolicy(String resource, GoogleIamV1SetIamPolicyRequest 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 GoogleIamV1SetIamPolicyRequestIOExceptionpublic CloudRun.Projects.Locations.Services.TestIamPermissions testIamPermissions(String resource, GoogleIamV1TestIamPermissionsRequest 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 GoogleIamV1TestIamPermissionsRequestIOExceptionpublic CloudRun.Projects.Locations.Services.Revisions revisions()
The typical use is:
CloudRun run = new CloudRun(...);CloudRun.Revisions.List request = run.revisions().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.