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

target.apidocs.com.google.api.services.dataplex.v1.CloudDataplex.Projects.Locations.Lakes.Tasks.html Maven / Gradle / Ivy







CloudDataplex.Projects.Locations.Lakes.Tasks (Cloud Dataplex API v1-rev20241206-2.0.0)












com.google.api.services.dataplex.v1

Class CloudDataplex.Projects.Locations.Lakes.Tasks

  • java.lang.Object
    • com.google.api.services.dataplex.v1.CloudDataplex.Projects.Locations.Lakes.Tasks
    • Constructor Detail

      • Tasks

        public Tasks()
    • Method Detail

      • delete

        public CloudDataplex.Projects.Locations.Lakes.Tasks.Delete delete(String name)
                                                                   throws IOException
        Delete the task resource. Create a request for the method "tasks.delete". This request holds the parameters needed by the dataplex server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name of the task: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}.
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudDataplex.Projects.Locations.Lakes.Tasks.Get get(String name)
                                                             throws IOException
        Get task resource. Create a request for the method "tasks.get". This request holds the parameters needed by the dataplex server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name of the task: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public CloudDataplex.Projects.Locations.Lakes.Tasks.GetIamPolicy getIamPolicy(String resource)
                                                                               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 "tasks.getIamPolicy". This request holds the parameters needed by the dataplex 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
      • list

        public CloudDataplex.Projects.Locations.Lakes.Tasks.List list(String parent)
                                                               throws IOException
        Lists tasks under the given lake. Create a request for the method "tasks.list". This request holds the parameters needed by the dataplex server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public CloudDataplex.Projects.Locations.Lakes.Tasks.Patch patch(String name,
                                                                        GoogleCloudDataplexV1Task content)
                                                                 throws IOException
        Update the task resource. Create a request for the method "tasks.patch". This request holds the parameters needed by the dataplex server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
        content - the GoogleCloudDataplexV1Task
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public CloudDataplex.Projects.Locations.Lakes.Tasks.SetIamPolicy setIamPolicy(String resource,
                                                                                      GoogleIamV1SetIamPolicyRequest 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 "tasks.setIamPolicy". This request holds the parameters needed by the dataplex 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 GoogleIamV1SetIamPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public CloudDataplex.Projects.Locations.Lakes.Tasks.TestIamPermissions testIamPermissions(String resource,
                                                                                                  GoogleIamV1TestIamPermissionsRequest 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 "tasks.testIamPermissions". This request holds the parameters needed by the dataplex 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 GoogleIamV1TestIamPermissionsRequest
        Returns:
        the request
        Throws:
        IOException
      • jobs

        public CloudDataplex.Projects.Locations.Lakes.Tasks.Jobs jobs()
        An accessor for creating requests from the Jobs collection.

        The typical use is:

            CloudDataplex dataplex = new CloudDataplex(...);
            CloudDataplex.Jobs.List request = dataplex.jobs().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy