title | platform |
---|---|
About the google_cloudfunctions_cloud_functions resource |
gcp |
A google_cloudfunctions_cloud_functions
is used to test a Google CloudFunction resource
describe google_cloudfunctions_cloud_functions(project: 'chef-gcp-inspec', location: 'europe-west1') do
its('descriptions') { should include 'A description of the function' }
its('entry_points') { should include 'hello' }
end
Properties that can be accessed from the google_cloudfunctions_cloud_functions
resource:
See google_cloudfunctions_cloud_function.md for more detailed information
names
: an array ofgoogle_cloudfunctions_cloud_function
namedescriptions
: an array ofgoogle_cloudfunctions_cloud_function
descriptionstatuses
: an array ofgoogle_cloudfunctions_cloud_function
statusentry_points
: an array ofgoogle_cloudfunctions_cloud_function
entry_pointruntimes
: an array ofgoogle_cloudfunctions_cloud_function
runtimetimeouts
: an array ofgoogle_cloudfunctions_cloud_function
timeoutavailable_memory_mbs
: an array ofgoogle_cloudfunctions_cloud_function
available_memory_mbservice_account_emails
: an array ofgoogle_cloudfunctions_cloud_function
service_account_emailupdate_times
: an array ofgoogle_cloudfunctions_cloud_function
update_timeversion_ids
: an array ofgoogle_cloudfunctions_cloud_function
version_idlabels
: an array ofgoogle_cloudfunctions_cloud_function
labelsenvironment_variables
: an array ofgoogle_cloudfunctions_cloud_function
environment_variablessource_archive_urls
: an array ofgoogle_cloudfunctions_cloud_function
source_archive_urlsource_upload_urls
: an array ofgoogle_cloudfunctions_cloud_function
source_upload_urlsource_repositories
: an array ofgoogle_cloudfunctions_cloud_function
source_repositoryhttps_triggers
: an array ofgoogle_cloudfunctions_cloud_function
https_triggerevent_triggers
: an array ofgoogle_cloudfunctions_cloud_function
event_triggerlocations
: an array ofgoogle_cloudfunctions_cloud_function
location
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 Functions API is enabled for the current project.