MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/golang-samples / functions

Functions5,023 in github.com/GoogleCloudPlatform/golang-samples

FunctionTestListAllProjectAssetsAtTime
(t *testing.T)
securitycenter/assets/assets_test.go:210
FunctionTestListBigQuery
(t *testing.T)
securitycenter/bigqueryv2/bigquery_test.go:98
FunctionTestListBuckets
(t *testing.T)
storage/buckets/buckets_test.go:137
FunctionTestListBucketsPartialSuccess
This test will run the listBucketsPartialSuccess function against the live GCS service. However, it's not expected to encounter unreachable buckets un
storage/buckets/buckets_test.go:166
FunctionTestListCDNKeys
(t *testing.T)
media/videostitcher/list_cdn_keys_test.go:27
FunctionTestListCas
(t *testing.T)
privateca/privateca_test.go:307
FunctionTestListCompanies
(t *testing.T)
jobs/v3/howto/basic_company_sample_test.go:81
FunctionTestListCustomModule
TestListCustomModule verifies the List functionality
securitycenter/management_api/security_health_analytics_custom_module_test.go:488
FunctionTestListDescendantCustomModule
TestListDescendantCustomModule verifies the List Descendant functionality
securitycenter/management_api/security_health_analytics_custom_module_test.go:336
FunctionTestListDescendantEtdCustomModule
TestListDescendantEtdCustomModule verifies the List functionality
securitycenter/management_api/event_threat_detection/event_threat_detection_custom_module_test.go:418
FunctionTestListEffectiveCustomModule
TestListEffectiveCustomModule verifies the List Effective functionality
securitycenter/management_api/security_health_analytics_custom_module_test.go:410
FunctionTestListEffectiveEtdCustomModule
TestListEffectiveEtdCustomModule verifies the List functionality
securitycenter/management_api/event_threat_detection/event_threat_detection_custom_module_test.go:365
FunctionTestListEtdCustomModule
TestListEtdCustomModule verifies the List functionality
securitycenter/management_api/event_threat_detection/event_threat_detection_custom_module_test.go:339
FunctionTestListFiles
(t *testing.T)
functions/tips/file_system_test.go:23
FunctionTestListFilteredFindings
(t *testing.T)
securitycenter/findings/findings_test.go:343
FunctionTestListFilteredFindings
(t *testing.T)
securitycenter/findingsv2/findings_test.go:367
FunctionTestListFindingsAtTime
(t *testing.T)
securitycenter/findings/findings_test.go:366
FunctionTestListFindingsWithMarks
(t *testing.T)
securitycenter/findings/findings_test.go:410
FunctionTestListFindingsWithMarks
(t *testing.T)
securitycenter/findingsv2/findings_test.go:412
FunctionTestListGCSBuckets
(t *testing.T)
storage/s3_sdk/s3_gcs_test.go:30
FunctionTestListGCSObjects
(t *testing.T)
storage/s3_sdk/s3_gcs_test.go:93
FunctionTestListGlossaries
(t *testing.T)
translate/v3/list_glossaries_test.go:27
FunctionTestListHandler
(t *testing.T)
compute/quickstart/compute_quickstart_sample_test.go:119
FunctionTestListIPs
(t *testing.T)
monitoring/uptime/uptime_test.go:73
FunctionTestListInstances
(t *testing.T)
docs/sql/listinstances/listinstances_test.go:23
FunctionTestListJobs
(t *testing.T)
jobs/v3/howto/basic_job_sample_test.go:82
FunctionTestListJobs
(t *testing.T)
dlp/snippets/jobs/list_test.go:25
FunctionTestListKeys
(t *testing.T)
storage/service_account/hmac/hmac_test.go:55
FunctionTestListLiveAdTagDetails
(t *testing.T)
media/videostitcher/list_live_ad_tag_details_test.go:27
FunctionTestListLiveConfigs
(t *testing.T)
media/videostitcher/list_live_configs_test.go:27
FunctionTestListLogs
(t *testing.T)
logging/list_logs_test.go:59
FunctionTestListMetrics
(t *testing.T)
monitoring/snippets/metric_list_test.go:25
FunctionTestListMonitoredResources
(t *testing.T)
monitoring/snippets/monitored_resource_list_test.go:25
FunctionTestListMuteRules
(t *testing.T)
securitycenter/muteconfig/mute_config_test.go:196
FunctionTestListMuteRules
(t *testing.T)
securitycenter/muteconfigv2/mute_config_test.go:198
FunctionTestListNotificationConfigs
(t *testing.T)
securitycenter/notifications/notifications_test.go:198
FunctionTestListNotificationConfigs
(t *testing.T)
securitycenter/notificationsv2/notifications_test.go:144
FunctionTestListParam
TestListParam tests the listParam function by creating multiple parameters, then attempts to list the created parameters. It verifies if the parameter
parametermanager/parametermanager_test.go:524
FunctionTestListParamVersion
TestListParamVersions tests the listParamVersion function by creating a parameter and its versions, then attempts to list the created parameter versio
parametermanager/parametermanager_test.go:685
FunctionTestListRegionalParam
TestListRegionalParam tests the listRegionalParam function by creating multiple parameters, then attempts to list the created parameters. It verifies
parametermanager/regional_samples/regional_parametermanager_test.go:700
FunctionTestListRegionalParamVersion
TestListRegionalParamVersion tests the listRegionalParamVersion function by creating a parameter and its versions, then attempts to list the created p
parametermanager/regional_samples/regional_parametermanager_test.go:727
FunctionTestListRegionalSecretVersions
(t *testing.T)
secretmanager/secretmanager_test.go:1048
FunctionTestListRegionalSecretVersionsWithFilter
(t *testing.T)
secretmanager/secretmanager_test.go:1098
FunctionTestListRegionalSecrets
(t *testing.T)
secretmanager/secretmanager_test.go:1203
FunctionTestListRegionalSecretsWithFilter
(t *testing.T)
secretmanager/secretmanager_test.go:1251
FunctionTestListReservations
(t *testing.T)
pubsublite/admin/pubsublite_admin_test.go:435
FunctionTestListSavedQueries
(t *testing.T)
asset/quickstart/list-saved-queries/main_test.go:90
FunctionTestListSecretVersions
(t *testing.T)
secretmanager/secretmanager_test.go:1024
FunctionTestListSecretVersionsWithFilter
(t *testing.T)
secretmanager/secretmanager_test.go:1074
FunctionTestListSecrets
(t *testing.T)
secretmanager/secretmanager_test.go:1124
FunctionTestListSecretsWithFilter
(t *testing.T)
secretmanager/secretmanager_test.go:1228
FunctionTestListSecurityCenterService
TestListSecurityCenterService verifies the List functionality
securitycenter/management_api/security_center_service/security_center_service_test.go:66
FunctionTestListSlates
(t *testing.T)
media/videostitcher/list_slates_test.go:27
FunctionTestListSoftDeletedObjects
(t *testing.T)
storage/objects/objects_test.go:683
FunctionTestListSoftDeletedVersionsOfObject
(t *testing.T)
storage/objects/objects_test.go:787
FunctionTestListSources
(t *testing.T)
securitycenter/findings/findings_test.go:161
FunctionTestListSources
(t *testing.T)
securitycenter/findingsv2/findings_test.go:242
FunctionTestListSubscriptions
(t *testing.T)
pubsublite/admin/pubsublite_admin_test.go:312
FunctionTestListSupported
(t *testing.T)
translate/snippet_test.go:71
FunctionTestListTemplate
(t *testing.T)
dlp/snippets/template/list_test.go:27
FunctionTestListTopics
(t *testing.T)
pubsublite/admin/pubsublite_admin_test.go:155
FunctionTestListTrigger
(t *testing.T)
dlp/snippets/trigger/list_test.go:27
FunctionTestListVodAdTagDetails
(t *testing.T)
media/videostitcher/list_vod_ad_tag_details_test.go:27
FunctionTestListVodConfigs
(t *testing.T)
media/videostitcher/list_vod_configs_test.go:27
FunctionTestListVodStitchDetails
(t *testing.T)
media/videostitcher/list_vod_stitch_details_test.go:27
FunctionTestListVoices
(t *testing.T)
texttospeech/list_voices/list_voices_test.go:25
FunctionTestListWithSecurityMarks
(t *testing.T)
securitycenter/assets/assets_test.go:343
FunctionTestListen
(t *testing.T)
firestore/listen_test.go:44
FunctionTestListenChanges
(t *testing.T)
firestore/listen_test.go:92
FunctionTestListenErrors
(t *testing.T)
firestore/listen_test.go:131
FunctionTestListenMultiple
(t *testing.T)
firestore/listen_test.go:79
FunctionTestLiveGeneration
(t *testing.T)
genai/live/live_examples_test.go:103
FunctionTestLoad
Testing mongo using mocks is explained here: https://medium.com/@victor.neuret/mocking-the-official-mongo-golang-driver-5aad5b226a78
compute/quickstart/compute_quickstart_sample_test.go:30
FunctionTestLoggingManualService
(t *testing.T)
run/testing/logging_manual.e2e_test.go:25
FunctionTestLogoDetection
(t *testing.T)
videointelligence/annotate/logo_detection_test.go:26
FunctionTestLogoDetectionGCS
(t *testing.T)
videointelligence/annotate/logo_detection_gcs_test.go:26
FunctionTestMain
To run the tests, do the following: Export the following env vars: * GOOGLE_APPLICATION_CREDENTIALS * GOLANG_SAMPLES_PROJECT_ID Enable the followi
media/livestream/livestream_test.go:62
FunctionTestMain
To run the tests, do the following: Export the following env vars: * GOOGLE_APPLICATION_CREDENTIALS * GOLANG_SAMPLES_PROJECT_ID Enable the followi
media/videostitcher/stitcher_test.go:71
FunctionTestMain
(m *testing.M)
datastore/snippets/query_test.go:41
FunctionTestMain
(m *testing.M)
datastore/tasks/tasks_test.go:32
FunctionTestMain
(m *testing.M)
kms/kms_test.go:41
FunctionTestMain
(m *testing.M)
logging/list_logs_test.go:33
FunctionTestMain
(t *testing.T)
logging/advancedlog/main_test.go:24
FunctionTestMain
(m *testing.M)
storage/notifications/notifications_test.go:44
FunctionTestMain
(m *testing.M)
storage/control/folders_test.go:40
FunctionTestMain
(m *testing.M)
storage/objects/objects_test.go:41
FunctionTestMain
(m *testing.M)
storage/rapid/rapid_test.go:47
FunctionTestMain
(m *testing.M)
storage/service_account/hmac/hmac_test.go:36
FunctionTestMain
(m *testing.M)
storage/transfer_manager/download_chunks_concurrently_test.go:44
FunctionTestMain
(m *testing.M)
storage/buckets/buckets_test.go:42
FunctionTestMain
(m *testing.M)
jobs/v3/howto/howto_test.go:33
FunctionTestMain
(t *testing.T)
jobs/v3/quickstart/main_test.go:44
FunctionTestMain
(t *testing.T)
jobs/v4/quickstart/main_test.go:53
FunctionTestMain
(m *testing.M)
functions/helloworld/hello_http_system_test.go:39
FunctionTestMain
(m *testing.M)
functions/security/security_system_test.go:33
FunctionTestMain
TestMain sets up the config rather than using the config file which contains placeholder values.
functions/functionsv2/slack/slack_test.go:38
FunctionTestMain
TestMain sets up the config rather than using the config file which contains placeholder values.
functions/slack/slack_test.go:38
FunctionTestMain
(m *testing.M)
firestore/main_test.go:38
FunctionTestMain
(t *testing.T)
firestore/firestore_quickstart/main_test.go:26
FunctionTestMain
(m *testing.M)
dataflow/flex-templates/wordcount/wordcount_test.go:135
← previousnext →3,701–3,800 of 5,023, ranked by callers