google_dataproc_batches resource
Use the google_dataproc_batches
InSpec audit resource to test the properties of a Google Cloud Batch resource.
Examples
describe google_dataproc_batches(parent: 'projects/*/locations/*') do
it { should exist }
its('names') { should include 'value_name' }
its('uuids') { should include 'value_uuid' }
its('create_times') { should include 'value_createtime' }
its('states') { should include 'value_state' }
its('state_messages') { should include 'value_statemessage' }
its('state_times') { should include 'value_statetime' }
its('creators') { should include 'value_creator' }
its('operations') { should include 'value_operation' }
end
Parameters
Parameters that can be accessed from the google_dataproc_batches
resource:
See google_dataproc_batch for more detailed information.
names
: an array ofgoogle_dataproc_batch
nameuuids
: an array ofgoogle_dataproc_batch
uuidcreate_times
: an array ofgoogle_dataproc_batch
create_timepyspark_batches
: an array ofgoogle_dataproc_batch
pyspark_batchspark_batches
: an array ofgoogle_dataproc_batch
spark_batchspark_r_batches
: an array ofgoogle_dataproc_batch
spark_r_batchspark_sql_batches
: an array ofgoogle_dataproc_batch
spark_sql_batchruntime_infos
: an array ofgoogle_dataproc_batch
runtime_infostates
: an array ofgoogle_dataproc_batch
statestate_messages
: an array ofgoogle_dataproc_batch
state_messagestate_times
: an array ofgoogle_dataproc_batch
state_timecreators
: an array ofgoogle_dataproc_batch
creatorlabels
: an array ofgoogle_dataproc_batch
labelsruntime_configs
: an array ofgoogle_dataproc_batch
runtime_configenvironment_configs
: an array ofgoogle_dataproc_batch
environment_configoperations
: an array ofgoogle_dataproc_batch
operationstate_histories
: an array ofgoogle_dataproc_batch
state_history
Properties
Properties that can be accessed from the google_dataproc_batches
resource:
See google_dataproc_batch for more detailed information.
names
: an array ofgoogle_dataproc_batch
nameuuids
: an array ofgoogle_dataproc_batch
uuidcreate_times
: an array ofgoogle_dataproc_batch
create_timepyspark_batches
: an array ofgoogle_dataproc_batch
pyspark_batchspark_batches
: an array ofgoogle_dataproc_batch
spark_batchspark_r_batches
: an array ofgoogle_dataproc_batch
spark_r_batchspark_sql_batches
: an array ofgoogle_dataproc_batch
spark_sql_batchruntime_infos
: an array ofgoogle_dataproc_batch
runtime_infostates
: an array ofgoogle_dataproc_batch
statestate_messages
: an array ofgoogle_dataproc_batch
state_messagestate_times
: an array ofgoogle_dataproc_batch
state_timecreators
: an array ofgoogle_dataproc_batch
creatorlabels
: an array ofgoogle_dataproc_batch
labelsruntime_configs
: an array ofgoogle_dataproc_batch
runtime_configenvironment_configs
: an array ofgoogle_dataproc_batch
environment_configoperations
: an array ofgoogle_dataproc_batch
operationstate_histories
: an array ofgoogle_dataproc_batch
state_history
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.