google_dataproc_sessions resource
Use the google_dataproc_sessions InSpec audit resource to test the properties of a Google Cloud Session resource.
Examples
describe google_dataproc_sessions(parent: ' value_parent') do
it { should exist }
end
Parameters
Parameters that can be accessed from the google_dataproc_sessions resource:
See google_dataproc_session for more detailed information.
names: an array ofgoogle_dataproc_sessionnameuuids: an array ofgoogle_dataproc_sessionuuidcreate_times: an array ofgoogle_dataproc_sessioncreate_timejupyter_sessions: an array ofgoogle_dataproc_sessionjupyter_sessionruntime_infos: an array ofgoogle_dataproc_sessionruntime_infostates: an array ofgoogle_dataproc_sessionstatestate_messages: an array ofgoogle_dataproc_sessionstate_messagestate_times: an array ofgoogle_dataproc_sessionstate_timecreators: an array ofgoogle_dataproc_sessioncreatorlabels: an array ofgoogle_dataproc_sessionlabelsruntime_configs: an array ofgoogle_dataproc_sessionruntime_configenvironment_configs: an array ofgoogle_dataproc_sessionenvironment_configusers: an array ofgoogle_dataproc_sessionuserstate_histories: an array ofgoogle_dataproc_sessionstate_historysession_templates: an array ofgoogle_dataproc_sessionsession_template
Properties
Properties that can be accessed from the google_dataproc_sessions resource:
See google_dataproc_session for more detailed information.
names: an array ofgoogle_dataproc_sessionnameuuids: an array ofgoogle_dataproc_sessionuuidcreate_times: an array ofgoogle_dataproc_sessioncreate_timejupyter_sessions: an array ofgoogle_dataproc_sessionjupyter_sessionruntime_infos: an array ofgoogle_dataproc_sessionruntime_infostates: an array ofgoogle_dataproc_sessionstatestate_messages: an array ofgoogle_dataproc_sessionstate_messagestate_times: an array ofgoogle_dataproc_sessionstate_timecreators: an array ofgoogle_dataproc_sessioncreatorlabels: an array ofgoogle_dataproc_sessionlabelsruntime_configs: an array ofgoogle_dataproc_sessionruntime_configenvironment_configs: an array ofgoogle_dataproc_sessionenvironment_configusers: an array ofgoogle_dataproc_sessionuserstate_histories: an array ofgoogle_dataproc_sessionstate_historysession_templates: an array ofgoogle_dataproc_sessionsession_template
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.