target.apidocs.com.google.api.services.run.v1.CloudRun.Projects.Locations.Jobs.html Maven / Gradle / Ivy
CloudRun.Projects.Locations.Jobs (Cloud Run Admin API v1-rev20221016-2.0.0)
com.google.api.services.run.v1
Class CloudRun.Projects.Locations.Jobs
- java.lang.Object
-
- com.google.api.services.run.v1.CloudRun.Projects.Locations.Jobs
-
- Enclosing class:
- CloudRun.Projects.Locations
public class CloudRun.Projects.Locations.Jobs
extends Object
The "jobs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudRun.Projects.Locations.Jobs.GetIamPolicy
class
CloudRun.Projects.Locations.Jobs.SetIamPolicy
class
CloudRun.Projects.Locations.Jobs.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
Jobs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudRun.Projects.Locations.Jobs.GetIamPolicy
getIamPolicy(String resource)
Get the IAM Access Control policy currently in effect for the given job.
CloudRun.Projects.Locations.Jobs.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the IAM Access control policy for the specified job.
CloudRun.Projects.Locations.Jobs.TestIamPermissions
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified job.
-
-
Method Detail
-
getIamPolicy
public CloudRun.Projects.Locations.Jobs.GetIamPolicy getIamPolicy(String resource)
throws IOException
Get the IAM Access Control policy currently in effect for the given job. This result does not
include any inherited policies.
Create a request for the method "jobs.getIamPolicy".
This request holds the parameters needed by the run server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public CloudRun.Projects.Locations.Jobs.SetIamPolicy setIamPolicy(String resource,
SetIamPolicyRequest content)
throws IOException
Sets the IAM Access control policy for the specified job. Overwrites any existing policy.
Create a request for the method "jobs.setIamPolicy".
This request holds the parameters needed by the run server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public CloudRun.Projects.Locations.Jobs.TestIamPermissions testIamPermissions(String resource,
TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified job. There are no permissions required for
making this API call.
Create a request for the method "jobs.testIamPermissions".
This request holds the parameters needed by the run server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy