Liking cljdoc? Tell your friends :D
Clojure only.

happygapi.dataproc.projects

Cloud Dataproc API: projects. Manages Hadoop-based clusters and jobs on Google Cloud Platform. See: https://cloud.google.com/dataproc/api/reference/rest/v1/projects

Cloud Dataproc API: projects.
Manages Hadoop-based clusters and jobs on Google Cloud Platform.
See: https://cloud.google.com/dataproc/api/reference/rest/v1/projects
raw docstring

locations-autoscalingPolicies-create$clj

(locations-autoscalingPolicies-create$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/create

Required parameters: parent

Optional parameters: none

Body:

{:workerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :name string, :secondaryWorkerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig, :cooldownPeriod string}, :id string}

Creates new autoscaling policy.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/create

Required parameters: parent

Optional parameters: none

Body: 

{:workerConfig {:weight integer,
                :maxInstances integer,
                :minInstances integer},
 :name string,
 :secondaryWorkerConfig {:weight integer,
                         :maxInstances integer,
                         :minInstances integer},
 :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig,
                  :cooldownPeriod string},
 :id string}

Creates new autoscaling policy.
sourceraw docstring

locations-autoscalingPolicies-delete$clj

(locations-autoscalingPolicies-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/delete

Required parameters: name

Optional parameters: none Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/delete

Required parameters: name

Optional parameters: none
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
sourceraw docstring

locations-autoscalingPolicies-get$clj

(locations-autoscalingPolicies-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/get

Required parameters: name

Optional parameters: none Retrieves autoscaling policy.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/get

Required parameters: name

Optional parameters: none
Retrieves autoscaling policy.
sourceraw docstring

locations-autoscalingPolicies-getIamPolicy$clj

(locations-autoscalingPolicies-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

locations-autoscalingPolicies-list$clj

(locations-autoscalingPolicies-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/list

Required parameters: parent

Optional parameters: pageToken, pageSize Lists autoscaling policies in the project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/list

Required parameters: parent

Optional parameters: pageToken, pageSize
Lists autoscaling policies in the project.
sourceraw docstring

locations-autoscalingPolicies-setIamPolicy$clj

(locations-autoscalingPolicies-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

locations-autoscalingPolicies-testIamPermissions$clj

(locations-autoscalingPolicies-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

locations-autoscalingPolicies-update$clj

(locations-autoscalingPolicies-update$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/update

Required parameters: name

Optional parameters: none

Body:

{:workerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :name string, :secondaryWorkerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig, :cooldownPeriod string}, :id string}

Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/autoscalingPolicies/update

Required parameters: name

Optional parameters: none

Body: 

{:workerConfig {:weight integer,
                :maxInstances integer,
                :minInstances integer},
 :name string,
 :secondaryWorkerConfig {:weight integer,
                         :maxInstances integer,
                         :minInstances integer},
 :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig,
                  :cooldownPeriod string},
 :id string}

Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.
sourceraw docstring

locations-workflowTemplates-create$clj

(locations-workflowTemplates-create$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/create

Required parameters: parent

Optional parameters: none

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Creates new workflow template.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/create

Required parameters: parent

Optional parameters: none

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Creates new workflow template.
sourceraw docstring

locations-workflowTemplates-delete$clj

(locations-workflowTemplates-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/delete

Required parameters: name

Optional parameters: version Deletes a workflow template. It does not cancel in-progress workflows.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/delete

Required parameters: name

Optional parameters: version
Deletes a workflow template. It does not cancel in-progress workflows.
sourceraw docstring

locations-workflowTemplates-get$clj

(locations-workflowTemplates-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/get

Required parameters: name

Optional parameters: version Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/get

Required parameters: name

Optional parameters: version
Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.
sourceraw docstring

locations-workflowTemplates-getIamPolicy$clj

(locations-workflowTemplates-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

locations-workflowTemplates-instantiate$clj

(locations-workflowTemplates-instantiate$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/instantiate

Required parameters: name

Optional parameters: none

Body:

{:parameters {}, :requestId string, :version integer}

Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/instantiate

Required parameters: name

Optional parameters: none

Body: 

{:parameters {}, :requestId string, :version integer}

Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.
sourceraw docstring

locations-workflowTemplates-instantiateInline$clj

(locations-workflowTemplates-instantiateInline$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/instantiateInline

Required parameters: parent

Optional parameters: requestId

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/instantiateInline

Required parameters: parent

Optional parameters: requestId

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.
sourceraw docstring

locations-workflowTemplates-list$clj

(locations-workflowTemplates-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/list

Required parameters: parent

Optional parameters: pageToken, pageSize Lists workflows that match the specified filter in the request.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/list

Required parameters: parent

Optional parameters: pageToken, pageSize
Lists workflows that match the specified filter in the request.
sourceraw docstring

locations-workflowTemplates-setIamPolicy$clj

(locations-workflowTemplates-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

locations-workflowTemplates-testIamPermissions$clj

(locations-workflowTemplates-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

locations-workflowTemplates-update$clj

(locations-workflowTemplates-update$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/update

Required parameters: name

Optional parameters: none

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/locations/workflowTemplates/update

Required parameters: name

Optional parameters: none

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
sourceraw docstring

regions-autoscalingPolicies-create$clj

(regions-autoscalingPolicies-create$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/create

Required parameters: parent

Optional parameters: none

Body:

{:workerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :name string, :secondaryWorkerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig, :cooldownPeriod string}, :id string}

Creates new autoscaling policy.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/create

Required parameters: parent

Optional parameters: none

Body: 

{:workerConfig {:weight integer,
                :maxInstances integer,
                :minInstances integer},
 :name string,
 :secondaryWorkerConfig {:weight integer,
                         :maxInstances integer,
                         :minInstances integer},
 :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig,
                  :cooldownPeriod string},
 :id string}

Creates new autoscaling policy.
sourceraw docstring

regions-autoscalingPolicies-delete$clj

(regions-autoscalingPolicies-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/delete

Required parameters: name

Optional parameters: none Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/delete

Required parameters: name

Optional parameters: none
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
sourceraw docstring

regions-autoscalingPolicies-get$clj

(regions-autoscalingPolicies-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/get

Required parameters: name

Optional parameters: none Retrieves autoscaling policy.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/get

Required parameters: name

Optional parameters: none
Retrieves autoscaling policy.
sourceraw docstring

regions-autoscalingPolicies-getIamPolicy$clj

(regions-autoscalingPolicies-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

regions-autoscalingPolicies-list$clj

(regions-autoscalingPolicies-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/list

Required parameters: parent

Optional parameters: pageToken, pageSize Lists autoscaling policies in the project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/list

Required parameters: parent

Optional parameters: pageToken, pageSize
Lists autoscaling policies in the project.
sourceraw docstring

regions-autoscalingPolicies-setIamPolicy$clj

(regions-autoscalingPolicies-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

regions-autoscalingPolicies-testIamPermissions$clj

(regions-autoscalingPolicies-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

regions-autoscalingPolicies-update$clj

(regions-autoscalingPolicies-update$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/update

Required parameters: name

Optional parameters: none

Body:

{:workerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :name string, :secondaryWorkerConfig {:weight integer, :maxInstances integer, :minInstances integer}, :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig, :cooldownPeriod string}, :id string}

Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/autoscalingPolicies/update

Required parameters: name

Optional parameters: none

Body: 

{:workerConfig {:weight integer,
                :maxInstances integer,
                :minInstances integer},
 :name string,
 :secondaryWorkerConfig {:weight integer,
                         :maxInstances integer,
                         :minInstances integer},
 :basicAlgorithm {:yarnConfig BasicYarnAutoscalingConfig,
                  :cooldownPeriod string},
 :id string}

Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.
sourceraw docstring

regions-clusters-create$clj

(regions-clusters-create$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/create

Required parameters: region, projectId

Optional parameters: requestId

Body:

{:labels {}, :metrics {:hdfsMetrics {}, :yarnMetrics {}}, :status {:detail string, :state string, :stateStartTime string, :substate string}, :statusHistory [{:detail string, :state string, :stateStartTime string, :substate string}], :config {:configBucket string, :gceClusterConfig GceClusterConfig, :softwareConfig SoftwareConfig, :workerConfig InstanceGroupConfig, :initializationActions [NodeInitializationAction], :securityConfig SecurityConfig, :masterConfig InstanceGroupConfig, :lifecycleConfig LifecycleConfig, :secondaryWorkerConfig InstanceGroupConfig, :encryptionConfig EncryptionConfig, :autoscalingConfig AutoscalingConfig}, :clusterName string, :clusterUuid string, :projectId string}

Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/create

Required parameters: region, projectId

Optional parameters: requestId

Body: 

{:labels {},
 :metrics {:hdfsMetrics {}, :yarnMetrics {}},
 :status {:detail string,
          :state string,
          :stateStartTime string,
          :substate string},
 :statusHistory [{:detail string,
                  :state string,
                  :stateStartTime string,
                  :substate string}],
 :config {:configBucket string,
          :gceClusterConfig GceClusterConfig,
          :softwareConfig SoftwareConfig,
          :workerConfig InstanceGroupConfig,
          :initializationActions [NodeInitializationAction],
          :securityConfig SecurityConfig,
          :masterConfig InstanceGroupConfig,
          :lifecycleConfig LifecycleConfig,
          :secondaryWorkerConfig InstanceGroupConfig,
          :encryptionConfig EncryptionConfig,
          :autoscalingConfig AutoscalingConfig},
 :clusterName string,
 :clusterUuid string,
 :projectId string}

Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.
sourceraw docstring

regions-clusters-delete$clj

(regions-clusters-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/delete

Required parameters: region, clusterName, projectId

Optional parameters: clusterUuid, requestId Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/delete

Required parameters: region, clusterName, projectId

Optional parameters: clusterUuid, requestId
Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.
sourceraw docstring

regions-clusters-diagnose$clj

(regions-clusters-diagnose$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/diagnose

Required parameters: clusterName, projectId, region

Optional parameters: none

Body:

{}

Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata. After the operation completes, Operation.response contains DiagnoseClusterResults.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/diagnose

Required parameters: clusterName, projectId, region

Optional parameters: none

Body: 

{}

Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata. After the operation completes, Operation.response contains DiagnoseClusterResults.
sourceraw docstring

regions-clusters-get$clj

(regions-clusters-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/get

Required parameters: clusterName, projectId, region

Optional parameters: none Gets the resource representation for a cluster in a project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/get

Required parameters: clusterName, projectId, region

Optional parameters: none
Gets the resource representation for a cluster in a project.
sourceraw docstring

regions-clusters-getIamPolicy$clj

(regions-clusters-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

regions-clusters-list$clj

(regions-clusters-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/list

Required parameters: region, projectId

Optional parameters: filter, pageToken, pageSize Lists all regions/{region}/clusters in a project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/list

Required parameters: region, projectId

Optional parameters: filter, pageToken, pageSize
Lists all regions/{region}/clusters in a project.
sourceraw docstring

regions-clusters-patch$clj

(regions-clusters-patch$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/patch

Required parameters: region, clusterName, projectId

Optional parameters: gracefulDecommissionTimeout, requestId, updateMask

Body:

{:labels {}, :metrics {:hdfsMetrics {}, :yarnMetrics {}}, :status {:detail string, :state string, :stateStartTime string, :substate string}, :statusHistory [{:detail string, :state string, :stateStartTime string, :substate string}], :config {:configBucket string, :gceClusterConfig GceClusterConfig, :softwareConfig SoftwareConfig, :workerConfig InstanceGroupConfig, :initializationActions [NodeInitializationAction], :securityConfig SecurityConfig, :masterConfig InstanceGroupConfig, :lifecycleConfig LifecycleConfig, :secondaryWorkerConfig InstanceGroupConfig, :encryptionConfig EncryptionConfig, :autoscalingConfig AutoscalingConfig}, :clusterName string, :clusterUuid string, :projectId string}

Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/patch

Required parameters: region, clusterName, projectId

Optional parameters: gracefulDecommissionTimeout, requestId, updateMask

Body: 

{:labels {},
 :metrics {:hdfsMetrics {}, :yarnMetrics {}},
 :status {:detail string,
          :state string,
          :stateStartTime string,
          :substate string},
 :statusHistory [{:detail string,
                  :state string,
                  :stateStartTime string,
                  :substate string}],
 :config {:configBucket string,
          :gceClusterConfig GceClusterConfig,
          :softwareConfig SoftwareConfig,
          :workerConfig InstanceGroupConfig,
          :initializationActions [NodeInitializationAction],
          :securityConfig SecurityConfig,
          :masterConfig InstanceGroupConfig,
          :lifecycleConfig LifecycleConfig,
          :secondaryWorkerConfig InstanceGroupConfig,
          :encryptionConfig EncryptionConfig,
          :autoscalingConfig AutoscalingConfig},
 :clusterName string,
 :clusterUuid string,
 :projectId string}

Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata.
sourceraw docstring

regions-clusters-setIamPolicy$clj

(regions-clusters-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

regions-clusters-testIamPermissions$clj

(regions-clusters-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/clusters/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

regions-jobs-cancel$clj

(regions-jobs-cancel$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/cancel

Required parameters: region, projectId, jobId

Optional parameters: none

Body:

{}

Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/cancel

Required parameters: region, projectId, jobId

Optional parameters: none

Body: 

{}

Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.
sourceraw docstring

regions-jobs-delete$clj

(regions-jobs-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/delete

Required parameters: projectId, jobId, region

Optional parameters: none Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/delete

Required parameters: projectId, jobId, region

Optional parameters: none
Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.
sourceraw docstring

regions-jobs-get$clj

(regions-jobs-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/get

Required parameters: projectId, jobId, region

Optional parameters: none Gets the resource representation for a job in a project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/get

Required parameters: projectId, jobId, region

Optional parameters: none
Gets the resource representation for a job in a project.
sourceraw docstring

regions-jobs-getIamPolicy$clj

(regions-jobs-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

regions-jobs-list$clj

(regions-jobs-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/list

Required parameters: region, projectId

Optional parameters: filter, jobStateMatcher, pageToken, pageSize, clusterName Lists regions/{region}/jobs in a project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/list

Required parameters: region, projectId

Optional parameters: filter, jobStateMatcher, pageToken, pageSize, clusterName
Lists regions/{region}/jobs in a project.
sourceraw docstring

regions-jobs-patch$clj

(regions-jobs-patch$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/patch

Required parameters: projectId, jobId, region

Optional parameters: updateMask

Body:

{:labels {}, :sparkSqlJob {:queryFileUri string, :queryList QueryList, :scriptVariables {}, :jarFileUris [string], :loggingConfig LoggingConfig, :properties {}}, :prestoJob {:loggingConfig LoggingConfig, :properties {}, :outputFormat string, :continueOnFailure boolean, :queryFileUri string, :queryList QueryList, :clientTags [string]}, :scheduling {:maxFailuresPerHour integer}, :done boolean, :driverOutputResourceUri string, :pigJob {:continueOnFailure boolean, :queryFileUri string, :queryList QueryList, :jarFileUris [string], :scriptVariables {}, :loggingConfig LoggingConfig, :properties {}}, :yarnApplications [{:state string, :name string, :trackingUrl string, :progress number}], :hiveJob {:continueOnFailure boolean, :queryFileUri string, :queryList QueryList, :jarFileUris [string], :scriptVariables {}, :properties {}}, :sparkJob {:mainJarFileUri string, :jarFileUris [string], :loggingConfig LoggingConfig, :properties {}, :args [string], :fileUris [string], :mainClass string, :archiveUris [string]}, :reference {:projectId string, :jobId string}, :status {:stateStartTime string, :substate string, :state string, :details string}, :pysparkJob {:fileUris [string], :pythonFileUris [string], :mainPythonFileUri string, :archiveUris [string], :jarFileUris [string], :loggingConfig LoggingConfig, :properties {}, :args [string]}, :sparkRJob {:fileUris [string], :archiveUris [string], :loggingConfig LoggingConfig, :properties {}, :mainRFileUri string, :args [string]}, :jobUuid string, :placement {:clusterName string, :clusterUuid string}, :hadoopJob {:archiveUris [string], :mainJarFileUri string, :jarFileUris [string], :loggingConfig LoggingConfig, :properties {}, :args [string], :fileUris [string], :mainClass string}, :driverControlFilesUri string, :statusHistory [{:stateStartTime string, :substate string, :state string, :details string}]}

Updates a job in a project.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/patch

Required parameters: projectId, jobId, region

Optional parameters: updateMask

Body: 

{:labels {},
 :sparkSqlJob {:queryFileUri string,
               :queryList QueryList,
               :scriptVariables {},
               :jarFileUris [string],
               :loggingConfig LoggingConfig,
               :properties {}},
 :prestoJob {:loggingConfig LoggingConfig,
             :properties {},
             :outputFormat string,
             :continueOnFailure boolean,
             :queryFileUri string,
             :queryList QueryList,
             :clientTags [string]},
 :scheduling {:maxFailuresPerHour integer},
 :done boolean,
 :driverOutputResourceUri string,
 :pigJob {:continueOnFailure boolean,
          :queryFileUri string,
          :queryList QueryList,
          :jarFileUris [string],
          :scriptVariables {},
          :loggingConfig LoggingConfig,
          :properties {}},
 :yarnApplications [{:state string,
                     :name string,
                     :trackingUrl string,
                     :progress number}],
 :hiveJob {:continueOnFailure boolean,
           :queryFileUri string,
           :queryList QueryList,
           :jarFileUris [string],
           :scriptVariables {},
           :properties {}},
 :sparkJob {:mainJarFileUri string,
            :jarFileUris [string],
            :loggingConfig LoggingConfig,
            :properties {},
            :args [string],
            :fileUris [string],
            :mainClass string,
            :archiveUris [string]},
 :reference {:projectId string, :jobId string},
 :status {:stateStartTime string,
          :substate string,
          :state string,
          :details string},
 :pysparkJob {:fileUris [string],
              :pythonFileUris [string],
              :mainPythonFileUri string,
              :archiveUris [string],
              :jarFileUris [string],
              :loggingConfig LoggingConfig,
              :properties {},
              :args [string]},
 :sparkRJob {:fileUris [string],
             :archiveUris [string],
             :loggingConfig LoggingConfig,
             :properties {},
             :mainRFileUri string,
             :args [string]},
 :jobUuid string,
 :placement {:clusterName string, :clusterUuid string},
 :hadoopJob {:archiveUris [string],
             :mainJarFileUri string,
             :jarFileUris [string],
             :loggingConfig LoggingConfig,
             :properties {},
             :args [string],
             :fileUris [string],
             :mainClass string},
 :driverControlFilesUri string,
 :statusHistory [{:stateStartTime string,
                  :substate string,
                  :state string,
                  :details string}]}

Updates a job in a project.
sourceraw docstring

regions-jobs-setIamPolicy$clj

(regions-jobs-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

regions-jobs-submit$clj

(regions-jobs-submit$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/submit

Required parameters: region, projectId

Optional parameters: none

Body:

{:job {:labels {}, :sparkSqlJob SparkSqlJob, :prestoJob PrestoJob, :scheduling JobScheduling, :done boolean, :driverOutputResourceUri string, :pigJob PigJob, :yarnApplications [YarnApplication], :hiveJob HiveJob, :sparkJob SparkJob, :reference JobReference, :status JobStatus, :pysparkJob PySparkJob, :sparkRJob SparkRJob, :jobUuid string, :placement JobPlacement, :hadoopJob HadoopJob, :driverControlFilesUri string, :statusHistory [JobStatus]}, :requestId string}

Submits a job to a cluster.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/submit

Required parameters: region, projectId

Optional parameters: none

Body: 

{:job {:labels {},
       :sparkSqlJob SparkSqlJob,
       :prestoJob PrestoJob,
       :scheduling JobScheduling,
       :done boolean,
       :driverOutputResourceUri string,
       :pigJob PigJob,
       :yarnApplications [YarnApplication],
       :hiveJob HiveJob,
       :sparkJob SparkJob,
       :reference JobReference,
       :status JobStatus,
       :pysparkJob PySparkJob,
       :sparkRJob SparkRJob,
       :jobUuid string,
       :placement JobPlacement,
       :hadoopJob HadoopJob,
       :driverControlFilesUri string,
       :statusHistory [JobStatus]},
 :requestId string}

Submits a job to a cluster.
sourceraw docstring

regions-jobs-testIamPermissions$clj

(regions-jobs-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/jobs/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

regions-operations-cancel$clj

(regions-operations-cancel$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/cancel

Required parameters: name

Optional parameters: none 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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/cancel

Required parameters: name

Optional parameters: none
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.
sourceraw docstring

regions-operations-delete$clj

(regions-operations-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/delete

Required parameters: name

Optional parameters: none 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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/delete

Required parameters: name

Optional parameters: none
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.
sourceraw docstring

regions-operations-get$clj

(regions-operations-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/get

Required parameters: name

Optional parameters: none 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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/get

Required parameters: name

Optional parameters: none
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.
sourceraw docstring

regions-operations-getIamPolicy$clj

(regions-operations-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

regions-operations-list$clj

(regions-operations-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/list

Required parameters: name

Optional parameters: filter, pageToken, pageSize Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/list

Required parameters: name

Optional parameters: filter, pageToken, pageSize
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
sourceraw docstring

regions-operations-setIamPolicy$clj

(regions-operations-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

regions-operations-testIamPermissions$clj

(regions-operations-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/operations/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

regions-workflowTemplates-create$clj

(regions-workflowTemplates-create$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/create

Required parameters: parent

Optional parameters: none

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Creates new workflow template.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/create

Required parameters: parent

Optional parameters: none

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Creates new workflow template.
sourceraw docstring

regions-workflowTemplates-delete$clj

(regions-workflowTemplates-delete$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/delete

Required parameters: name

Optional parameters: version Deletes a workflow template. It does not cancel in-progress workflows.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/delete

Required parameters: name

Optional parameters: version
Deletes a workflow template. It does not cancel in-progress workflows.
sourceraw docstring

regions-workflowTemplates-get$clj

(regions-workflowTemplates-get$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/get

Required parameters: name

Optional parameters: version Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/get

Required parameters: name

Optional parameters: version
Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.
sourceraw docstring

regions-workflowTemplates-getIamPolicy$clj

(regions-workflowTemplates-getIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
sourceraw docstring

regions-workflowTemplates-instantiate$clj

(regions-workflowTemplates-instantiate$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/instantiate

Required parameters: name

Optional parameters: none

Body:

{:parameters {}, :requestId string, :version integer}

Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/instantiate

Required parameters: name

Optional parameters: none

Body: 

{:parameters {}, :requestId string, :version integer}

Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.
sourceraw docstring

regions-workflowTemplates-instantiateInline$clj

(regions-workflowTemplates-instantiateInline$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/instantiateInline

Required parameters: parent

Optional parameters: requestId

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/instantiateInline

Required parameters: parent

Optional parameters: requestId

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful completion, Operation.response will be Empty.
sourceraw docstring

regions-workflowTemplates-list$clj

(regions-workflowTemplates-list$ auth args)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/list

Required parameters: parent

Optional parameters: pageToken, pageSize Lists workflows that match the specified filter in the request.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/list

Required parameters: parent

Optional parameters: pageToken, pageSize
Lists workflows that match the specified filter in the request.
sourceraw docstring

regions-workflowTemplates-setIamPolicy$clj

(regions-workflowTemplates-setIamPolicy$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
sourceraw docstring

regions-workflowTemplates-testIamPermissions$clj

(regions-workflowTemplates-testIamPermissions$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

regions-workflowTemplates-update$clj

(regions-workflowTemplates-update$ auth args body)

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/update

Required parameters: name

Optional parameters: none

Body:

{:labels {}, :name string, :createTime string, :updateTime string, :jobs [{:labels {}, :prerequisiteStepIds [string], :sparkSqlJob SparkSqlJob, :scheduling JobScheduling, :pigJob PigJob, :hiveJob HiveJob, :sparkJob SparkJob, :stepId string, :pysparkJob PySparkJob, :hadoopJob HadoopJob}], :id string, :version integer, :placement {:clusterSelector ClusterSelector, :managedCluster ManagedCluster}, :parameters [{:validation ParameterValidation, :fields [string], :name string, :description string}]}

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

https://cloud.google.com/dataproc/api/reference/rest/v1/projects/regions/workflowTemplates/update

Required parameters: name

Optional parameters: none

Body: 

{:labels {},
 :name string,
 :createTime string,
 :updateTime string,
 :jobs [{:labels {},
         :prerequisiteStepIds [string],
         :sparkSqlJob SparkSqlJob,
         :scheduling JobScheduling,
         :pigJob PigJob,
         :hiveJob HiveJob,
         :sparkJob SparkJob,
         :stepId string,
         :pysparkJob PySparkJob,
         :hadoopJob HadoopJob}],
 :id string,
 :version integer,
 :placement {:clusterSelector ClusterSelector,
             :managedCluster ManagedCluster},
 :parameters [{:validation ParameterValidation,
               :fields [string],
               :name string,
               :description string}]}

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close