google_run_services resource
Use the google_run_services InSpec audit resource to test the properties of a Google Cloud Service resource.
Examples
describe google_run_services(parent: 'value_parent') do
it { should exist }
its('names') { should include value_name }
its('uris') { should include value_uri }
its('generations') { should include value_generation }
its('create_times') { should include value_create_time }
its('update_times') { should include value_update_time }
its('creators') { should include value_creator }
its('ingresses') { should include value_ingress }
end
Parameters
Parameters that can be accessed from the google_run_services resource:
See google_run_service for more detailed information.
names: an array ofgoogle_run_servicenamedescriptions: an array ofgoogle_run_servicedescriptionuids: an array ofgoogle_run_serviceuidgenerations: an array ofgoogle_run_servicegenerationlabels: an array ofgoogle_run_servicelabelsannotations: an array ofgoogle_run_serviceannotationscreate_times: an array ofgoogle_run_servicecreate_timeupdate_times: an array ofgoogle_run_serviceupdate_timedelete_times: an array ofgoogle_run_servicedelete_timeexpire_times: an array ofgoogle_run_serviceexpire_timecreators: an array ofgoogle_run_servicecreatorlast_modifiers: an array ofgoogle_run_servicelast_modifierclients: an array ofgoogle_run_serviceclientclient_versions: an array ofgoogle_run_serviceclient_versioningresses: an array ofgoogle_run_serviceingresslaunch_stages: an array ofgoogle_run_servicelaunch_stagebinary_authorizations: an array ofgoogle_run_servicebinary_authorizationtemplates: an array ofgoogle_run_servicetemplatetraffics: an array ofgoogle_run_servicetrafficscalings: an array ofgoogle_run_servicescalingdefault_uri_disableds: an array ofgoogle_run_servicedefault_uri_disabledcustom_audiences: an array ofgoogle_run_servicecustom_audiencesobserved_generations: an array ofgoogle_run_serviceobserved_generationterminal_conditions: an array ofgoogle_run_serviceterminal_conditionconditions: an array ofgoogle_run_serviceconditionslatest_ready_revisions: an array ofgoogle_run_servicelatest_ready_revisionlatest_created_revisions: an array ofgoogle_run_servicelatest_created_revisiontraffic_statuses: an array ofgoogle_run_servicetraffic_statusesuris: an array ofgoogle_run_serviceurisatisfies_pzs: an array ofgoogle_run_servicesatisfies_pzsreconcilings: an array ofgoogle_run_servicereconcilingetags: an array ofgoogle_run_serviceetag
Properties
Properties that can be accessed from the google_run_services resource:
See google_run_service for more detailed information.
names: an array ofgoogle_run_servicenamedescriptions: an array ofgoogle_run_servicedescriptionuids: an array ofgoogle_run_serviceuidgenerations: an array ofgoogle_run_servicegenerationlabels: an array ofgoogle_run_servicelabelsannotations: an array ofgoogle_run_serviceannotationscreate_times: an array ofgoogle_run_servicecreate_timeupdate_times: an array ofgoogle_run_serviceupdate_timedelete_times: an array ofgoogle_run_servicedelete_timeexpire_times: an array ofgoogle_run_serviceexpire_timecreators: an array ofgoogle_run_servicecreatorlast_modifiers: an array ofgoogle_run_servicelast_modifierclients: an array ofgoogle_run_serviceclientclient_versions: an array ofgoogle_run_serviceclient_versioningresses: an array ofgoogle_run_serviceingresslaunch_stages: an array ofgoogle_run_servicelaunch_stagebinary_authorizations: an array ofgoogle_run_servicebinary_authorizationtemplates: an array ofgoogle_run_servicetemplatetraffics: an array ofgoogle_run_servicetrafficscalings: an array ofgoogle_run_servicescalingdefault_uri_disableds: an array ofgoogle_run_servicedefault_uri_disabledcustom_audiences: an array ofgoogle_run_servicecustom_audiencesobserved_generations: an array ofgoogle_run_serviceobserved_generationterminal_conditions: an array ofgoogle_run_serviceterminal_conditionconditions: an array ofgoogle_run_serviceconditionslatest_ready_revisions: an array ofgoogle_run_servicelatest_ready_revisionlatest_created_revisions: an array ofgoogle_run_servicelatest_created_revisiontraffic_statuses: an array ofgoogle_run_servicetraffic_statusesuris: an array ofgoogle_run_serviceurisatisfies_pzs: an array ofgoogle_run_servicesatisfies_pzsreconcilings: an array ofgoogle_run_servicereconcilingetags: an array ofgoogle_run_serviceetag
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 https://run.googleapis.com/ is enabled for the current project.