Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 2.37 KB

google_dataproc_jobs.md

File metadata and controls

52 lines (45 loc) · 2.37 KB

title = "google_dataproc_jobs Resource" platform = "gcp"

Syntax

A google_dataproc_jobs is used to test a Google Job resource

Examples

  describe google_dataproc_jobs(project_id: 'value_project_id', region: 'value_region') do
    it { should exist }
    its('driver_output_resource_uris') { should include 'value_driveroutputresourceuri' }
    its('driver_control_files_uris') { should include 'value_drivercontrolfilesuri' }
    its('job_uuids') { should include 'value_jobuuid' }
  end

Properties

Properties that can be accessed from the google_dataproc_jobs resource:

See google_dataproc_job.md for more detailed information

  • references: an array of google_dataproc_job reference
  • placements: an array of google_dataproc_job placement
  • hadoop_jobs: an array of google_dataproc_job hadoop_job
  • spark_jobs: an array of google_dataproc_job spark_job
  • pyspark_jobs: an array of google_dataproc_job pyspark_job
  • hive_jobs: an array of google_dataproc_job hive_job
  • pig_jobs: an array of google_dataproc_job pig_job
  • spark_r_jobs: an array of google_dataproc_job spark_r_job
  • spark_sql_jobs: an array of google_dataproc_job spark_sql_job
  • presto_jobs: an array of google_dataproc_job presto_job
  • trino_jobs: an array of google_dataproc_job trino_job
  • flink_jobs: an array of google_dataproc_job flink_job
  • statuses: an array of google_dataproc_job status
  • status_histories: an array of google_dataproc_job status_history
  • yarn_applications: an array of google_dataproc_job yarn_applications
  • driver_output_resource_uris: an array of google_dataproc_job driver_output_resource_uri
  • driver_control_files_uris: an array of google_dataproc_job driver_control_files_uri
  • labels: an array of google_dataproc_job labels
  • schedulings: an array of google_dataproc_job scheduling
  • job_uuids: an array of google_dataproc_job job_uuid
  • dones: an array of google_dataproc_job done
  • driver_scheduling_configs: an array of google_dataproc_job driver_scheduling_config

Filter Criteria

This resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.

GCP Permissions

Ensure the Cloud Dataproc API is enabled for the current project.