+++
title = "google_dataproc_sessions Resource" platform = "gcp" draft = false gh_repo = "inspec-gcp"
[menu.inspec]
title = "google_dataproc_sessions" identifier = "inspec/resources/gcp/google_dataproc_sessions Resource" parent = "inspec/resources/gcp" +++
Use the google_dataproc_sessions
InSpec audit resource to test the properties of a test a Google Session.
{{% inspec_gcp_install %}}
A google_dataproc_sessions
is used to test a Google Session resource
describe google_dataproc_sessions(parent: ' value_parent') do
it { should exist }
end
Properties that can be accessed from the google_dataproc_sessions
resource:
See google_dataproc_session.md for more detailed information
names
: an array ofgoogle_dataproc_session
nameuuids
: an array ofgoogle_dataproc_session
uuidcreate_times
: an array ofgoogle_dataproc_session
create_timejupyter_sessions
: an array ofgoogle_dataproc_session
jupyter_sessionruntime_infos
: an array ofgoogle_dataproc_session
runtime_infostates
: an array ofgoogle_dataproc_session
statestate_messages
: an array ofgoogle_dataproc_session
state_messagestate_times
: an array ofgoogle_dataproc_session
state_timecreators
: an array ofgoogle_dataproc_session
creatorlabels
: an array ofgoogle_dataproc_session
labelsruntime_configs
: an array ofgoogle_dataproc_session
runtime_configenvironment_configs
: an array ofgoogle_dataproc_session
environment_configusers
: an array ofgoogle_dataproc_session
userstate_histories
: an array ofgoogle_dataproc_session
state_historysession_templates
: an array ofgoogle_dataproc_session
session_template
Properties that can be accessed from the google_dataproc_sessions
resource:
See google_dataproc_session.md for more detailed information
names
: an array ofgoogle_dataproc_session
nameuuids
: an array ofgoogle_dataproc_session
uuidcreate_times
: an array ofgoogle_dataproc_session
create_timejupyter_sessions
: an array ofgoogle_dataproc_session
jupyter_sessionruntime_infos
: an array ofgoogle_dataproc_session
runtime_infostates
: an array ofgoogle_dataproc_session
statestate_messages
: an array ofgoogle_dataproc_session
state_messagestate_times
: an array ofgoogle_dataproc_session
state_timecreators
: an array ofgoogle_dataproc_session
creatorlabels
: an array ofgoogle_dataproc_session
labelsruntime_configs
: an array ofgoogle_dataproc_session
runtime_configenvironment_configs
: an array ofgoogle_dataproc_session
environment_configusers
: an array ofgoogle_dataproc_session
userstate_histories
: an array ofgoogle_dataproc_session
state_historysession_templates
: an array ofgoogle_dataproc_session
session_template
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 Cloud Dataproc API is enabled for the current project.