All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.run.v1.CloudRun.Projects.Locations.Jobs.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show newest version






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
    • Constructor Detail

      • Jobs

        public Jobs()
    • 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

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy