+++
title = "google_run_jobs Resource" platform = "gcp" draft = false gh_repo = "inspec-gcp"
[menu.inspec]
title = "google_run_jobs" identifier = "inspec/resources/gcp/google_run_jobs Resource" parent = "inspec/resources/gcp" +++
Use the google_run_jobs
InSpec audit resource to test the properties of a test a Google Job.
{{% inspec_gcp_install %}}
A google_run_jobs
is used to test a Google Job resource
describe google_run_jobs(parent: 'projects/{project}/locations/{location}') do
it { should exist }
its('names') { should include 'value_name' }
its('creators') { should include 'value_creator' }
end
Properties that can be accessed from the google_run_jobs
resource:
See google_run_job.md for more detailed information
names
: an array ofgoogle_run_job
nameuids
: an array ofgoogle_run_job
uidgenerations
: an array ofgoogle_run_job
generationlabels
: an array ofgoogle_run_job
labelsannotations
: an array ofgoogle_run_job
annotationscreate_times
: an array ofgoogle_run_job
create_timeupdate_times
: an array ofgoogle_run_job
update_timedelete_times
: an array ofgoogle_run_job
delete_timeexpire_times
: an array ofgoogle_run_job
expire_timecreators
: an array ofgoogle_run_job
creatorlast_modifiers
: an array ofgoogle_run_job
last_modifierclients
: an array ofgoogle_run_job
clientclient_versions
: an array ofgoogle_run_job
client_versionlaunch_stages
: an array ofgoogle_run_job
launch_stagebinary_authorizations
: an array ofgoogle_run_job
binary_authorizationtemplates
: an array ofgoogle_run_job
templateobserved_generations
: an array ofgoogle_run_job
observed_generationterminal_conditions
: an array ofgoogle_run_job
terminal_conditionconditions
: an array ofgoogle_run_job
conditionsexecution_counts
: an array ofgoogle_run_job
execution_countlatest_created_executions
: an array ofgoogle_run_job
latest_created_executionreconcilings
: an array ofgoogle_run_job
reconcilingsatisfies_pzs
: an array ofgoogle_run_job
satisfies_pzsstart_execution_tokens
: an array ofgoogle_run_job
start_execution_tokenrun_execution_tokens
: an array ofgoogle_run_job
run_execution_tokenetags
: an array ofgoogle_run_job
etag
Properties that can be accessed from the google_run_jobs
resource:
See google_run_job.md for more detailed information
names
: an array ofgoogle_run_job
nameuids
: an array ofgoogle_run_job
uidgenerations
: an array ofgoogle_run_job
generationlabels
: an array ofgoogle_run_job
labelsannotations
: an array ofgoogle_run_job
annotationscreate_times
: an array ofgoogle_run_job
create_timeupdate_times
: an array ofgoogle_run_job
update_timedelete_times
: an array ofgoogle_run_job
delete_timeexpire_times
: an array ofgoogle_run_job
expire_timecreators
: an array ofgoogle_run_job
creatorlast_modifiers
: an array ofgoogle_run_job
last_modifierclients
: an array ofgoogle_run_job
clientclient_versions
: an array ofgoogle_run_job
client_versionlaunch_stages
: an array ofgoogle_run_job
launch_stagebinary_authorizations
: an array ofgoogle_run_job
binary_authorizationtemplates
: an array ofgoogle_run_job
templateobserved_generations
: an array ofgoogle_run_job
observed_generationterminal_conditions
: an array ofgoogle_run_job
terminal_conditionconditions
: an array ofgoogle_run_job
conditionsexecution_counts
: an array ofgoogle_run_job
execution_countlatest_created_executions
: an array ofgoogle_run_job
latest_created_executionreconcilings
: an array ofgoogle_run_job
reconcilingsatisfies_pzs
: an array ofgoogle_run_job
satisfies_pzsstart_execution_tokens
: an array ofgoogle_run_job
start_execution_tokenrun_execution_tokens
: an array ofgoogle_run_job
run_execution_tokenetags
: an array ofgoogle_run_job
etag
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the https://run.googleapis.com/ is enabled for the current project.