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

target.apidocs.com.google.api.services.dataproc.Dataproc.Projects.Regions.Operations.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250207-2.0.0
Show newest version






Dataproc.Projects.Regions.Operations (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc

Class Dataproc.Projects.Regions.Operations

  • java.lang.Object
    • com.google.api.services.dataproc.Dataproc.Projects.Regions.Operations
    • Constructor Detail

      • Operations

        public Operations()
    • Method Detail

      • cancel

        public Dataproc.Projects.Regions.Operations.Cancel cancel(String name)
                                                           throws IOException
        Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. Create a request for the method "operations.cancel". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the operation resource to be cancelled.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Dataproc.Projects.Regions.Operations.Delete delete(String name)
                                                           throws IOException
        Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Create a request for the method "operations.delete". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the operation resource to be deleted.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Dataproc.Projects.Regions.Operations.Get get(String name)
                                                     throws IOException
        Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Create a request for the method "operations.get". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the operation resource.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Dataproc.Projects.Regions.Operations.GetIamPolicy getIamPolicy(String resource,
                                                                              GetIamPolicyRequest content)
                                                                       throws IOException
        Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. Create a request for the method "operations.getIamPolicy". This request holds the parameters needed by the dataproc 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.
        content - the GetIamPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • list

        public Dataproc.Projects.Regions.Operations.List list(String name)
                                                       throws IOException
        Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. Create a request for the method "operations.list". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the operation's parent resource.
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Dataproc.Projects.Regions.Operations.SetIamPolicy setIamPolicy(String resource,
                                                                              SetIamPolicyRequest content)
                                                                       throws IOException
        Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. Create a request for the method "operations.setIamPolicy". This request holds the parameters needed by the dataproc 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 Dataproc.Projects.Regions.Operations.TestIamPermissions testIamPermissions(String resource,
                                                                                          TestIamPermissionsRequest content)
                                                                                   throws IOException
        Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. Create a request for the method "operations.testIamPermissions". This request holds the parameters needed by the dataproc 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–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy