google_dataproc_metastore_service_backups resource
Use the google_dataproc_metastore_service_backups InSpec audit resource to test the properties of a Google Cloud ServiceBackup resource.
Examples
describe google_dataproc_metastore_service_backups(parent: ' value_parent') do
it { should exist }
its('names') { should include 'value_name' }
its('create_times') { should include 'value_createtime' }
its('end_times') { should include 'value_endtime' }
its('states') { should include 'value_state' }
its('descriptions') { should include 'value_description' }
end
Parameters
Parameters that can be accessed from the google_dataproc_metastore_service_backups resource:
See google_dataproc_metastore_service_backup for more detailed information.
names: an array ofgoogle_dataproc_metastore_service_backupnamecreate_times: an array ofgoogle_dataproc_metastore_service_backupcreate_timeend_times: an array ofgoogle_dataproc_metastore_service_backupend_timestates: an array ofgoogle_dataproc_metastore_service_backupstateservice_revisions: an array ofgoogle_dataproc_metastore_service_backupservice_revisiondescriptions: an array ofgoogle_dataproc_metastore_service_backupdescriptionrestoring_services: an array ofgoogle_dataproc_metastore_service_backuprestoring_services
Properties
Properties that can be accessed from the google_dataproc_metastore_service_backups resource:
See google_dataproc_metastore_service_backup for more detailed information.
names: an array ofgoogle_dataproc_metastore_service_backupnamecreate_times: an array ofgoogle_dataproc_metastore_service_backupcreate_timeend_times: an array ofgoogle_dataproc_metastore_service_backupend_timestates: an array ofgoogle_dataproc_metastore_service_backupstateservice_revisions: an array ofgoogle_dataproc_metastore_service_backupservice_revisiondescriptions: an array ofgoogle_dataproc_metastore_service_backupdescriptionrestoring_services: an array ofgoogle_dataproc_metastore_service_backuprestoring_services
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 Dataproc Metastore API is enabled for the current project.