MCPcopy Create free account

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

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

↓ 1 callersFunctionstagesExpressionsExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1524
↓ 1 callersFunctionstartInstance
startInstance starts a stopped Google Compute Engine instance (with unencrypted disks).
compute/start_instance.go:28
↓ 1 callersFunctionstartInstanceWithEncKey
startInstanceWithEncKey starts a stopped Google Compute Engine instance (with encrypted disks).
compute/start_instance_with_enc_key.go:29
↓ 1 callersFunctionstartReplication
startReplication starts disk replication in a project for a given zone.
compute/disks/start_replication.go:28
↓ 1 callersFunctionstartsWithFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:63
↓ 1 callersFunctionstartup
()
testing/gimmeproj/main.go:97
↓ 1 callersFunctionstatus
(ctx context.Context)
testing/gimmeproj/main.go:270
↓ 1 callersFunctionstopConnector
(w io.Writer, projectID, region, connectClusterID, connectorID string, opts ...option.ClientOption)
managedkafka/connect/connectors/stop_connector.go:29
↓ 1 callersFunctionstopReplication
stopReplication stops primary disk replication in a project for a given zone.
compute/disks/stop_replication.go:28
↓ 1 callersFunctionstopReplicationConsistencyGroup
stopReplicationConsistencyGroup stop replication for a consistency group for a project in a given region.
compute/disks/consistency_group_stop_replication.go:29
↓ 1 callersFunctionstopReplicationRegional
(projectID, primaryDiskName, primaryRegion string)
compute/disks/disks_test.go:258
↓ 1 callersFunctionstoreVectors
(w io.Writer, projectID string)
firestore/vector_store.go:33
↓ 1 callersFunctionstrConcatFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:196
↓ 1 callersFunctionstrContainsFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:215
↓ 1 callersFunctionstrIndexOfFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:425
↓ 1 callersFunctionstrLTrimFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:330
↓ 1 callersFunctionstrRTrimFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:349
↓ 1 callersFunctionstrRepeatFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:368
↓ 1 callersFunctionstrReplaceAllFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:387
↓ 1 callersFunctionstrReplaceOneFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:406
↓ 1 callersFunctionstrReverseFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:292
↓ 1 callersFunctionstrTrimFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:311
↓ 1 callersFunctionstreamTime
(client pb.TimeServiceClient, duration uint)
run/grpc-server-streaming/client/client.go:78
↓ 1 callersFunctionstreamingAndBatching
streamingAndBatching starts a stream of data (reading rows), batches them, and then goes through the batch and deletes all the cells in column
bigtable/deletes/delete_streaming_batching.go:28
↓ 1 callersFunctionsubcollectionInputExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1286
↓ 1 callersFunctionsubcollectionInputExampleData
(_ io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1263
↓ 1 callersFunctionsubmain
()
testing/gimmeproj/main.go:123
↓ 1 callersFunctionsubmitJob
(w io.Writer, projectID, region, clusterName string)
dataproc/submit_job.go:33
↓ 1 callersFunctionsubscribeOpenTelemetryTracing
(w io.Writer, projectID, subID string, sampleRate float64)
pubsub/v1samples/subscriptions/pull_otel_tracing.go:34
↓ 1 callersFunctionsubscribeOpenTelemetryTracing
(w io.Writer, projectID, subID string, sampleRate float64)
pubsub/subscriptions/pull_otel_tracing.go:34
↓ 1 callersFunctionsubscribeWithAvroSchema
(w io.Writer, projectID, subID, avscFile string)
pubsub/v1samples/schemas/subscribe_avro_records.go:30
↓ 1 callersFunctionsubscribeWithAvroSchema
(w io.Writer, projectID, subID, avscFile string)
pubsub/schemas/subscribe_avro_records.go:30
↓ 1 callersFunctionsubscribeWithAvroSchemaRevisions
(w io.Writer, projectID, subID, avscFile string)
pubsub/v1samples/schemas/subscribe_with_avro_schema_revisions.go:30
↓ 1 callersFunctionsubscribeWithAvroSchemaRevisions
(w io.Writer, projectID, subID string)
pubsub/schemas/subscribe_with_avro_schema_revisions.go:31
↓ 1 callersFunctionsubscribeWithProtoSchema
(w io.Writer, projectID, subID, protoFile string)
pubsub/v1samples/schemas/subscribe_proto_messages.go:31
↓ 1 callersFunctionsubscribeWithProtoSchema
(w io.Writer, projectID, subID string)
pubsub/schemas/subscribe_proto_messages.go:31
↓ 1 callersFunctionsubstrFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:272
↓ 1 callersFunctionsubtractFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_arithmetic.go:44
↓ 1 callersFunctionsumFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_array.go:25
↓ 1 callersFunctionsuspendInstance
suspendInstance suspends a running Google Compute Engine instance.
compute/instances/suspend-resume/suspend.go:28
↓ 1 callersFunctionsyncWords
[END speech_transcribe_async_word_time_offsets_gcs]
speech/wordoffset/wordoffset.go:113
↓ 1 callersFunctiontableLabels
tableLabels demonstrates fetching metadata from a table and printing the Label metadata to an io.Writer.
bigquery/snippets/table/bigquery_get_table_labels.go:27
↓ 1 callersFunctiontailLogs
tailLogs creates a channel to stream log entries that were recently ingested for a project
logging/taillogs/taillogs.go:28
↓ 1 callersFunctionteardown
(t *testing.T, projectID string)
dataproc/quickstart/quickstart_test.go:82
↓ 1 callersFunctionteardownCreateDataset
(output string, t *testing.T)
aiplatform/snippets/create_dataset_test.go:51
↓ 1 callersFunctiontestCastVote
(t *testing.T)
cloudsql/sqlserver/database-sql/cloudsql_test.go:121
↓ 1 callersFunctiontestCastVote
(t *testing.T)
cloudsql/postgres/database-sql/cloudsql_test.go:134
↓ 1 callersFunctiontestCastVote
(t *testing.T)
cloudsql/mysql/database-sql/cloudsql_test.go:134
↓ 1 callersFunctiontestCleanupSecret
testCleanupSecret deletes the specified secret in the GCP project. It fails the test if the secret deletion fails.
parametermanager/parametermanager_test.go:363
↓ 1 callersFunctiontestCleanupSecret
testCleanupSecret deletes the specified secret in the GCP project. It fails the test if the secret deletion fails.
parametermanager/regional_samples/regional_parametermanager_test.go:299
↓ 1 callersFunctiontestCleanupTagKey
(tb testing.TB, tagKeyName string)
secretmanager/secretmanager_test.go:1566
↓ 1 callersFunctiontestCleanupTagKey
(tb testing.TB, tagKeyName string)
secretmanager/regional_samples/regional_secretmanager_test.go:324
↓ 1 callersFunctiontestCleanupTagValue
Polling to clean up the tag value because, after deleting a secret, it takes some time for the tag value to become unbound.
secretmanager/secretmanager_test.go:1586
↓ 1 callersFunctiontestCleanupTagValue
Polling to clean up the tag value because, after deleting a secret, it takes some time for the tag value to become unbound.
secretmanager/regional_samples/regional_secretmanager_test.go:344
↓ 1 callersFunctiontestCreateTagKey
(tb testing.TB, projectID string)
secretmanager/secretmanager_test.go:1513
↓ 1 callersFunctiontestCreateTagKey
(tb testing.TB, projectID string)
secretmanager/regional_samples/regional_secretmanager_test.go:409
↓ 1 callersFunctiontestCreateTagValue
(tb testing.TB, tagKeyId string)
secretmanager/secretmanager_test.go:1540
↓ 1 callersFunctiontestCreateTagValue
(tb testing.TB, tagKeyId string)
secretmanager/regional_samples/regional_secretmanager_test.go:436
↓ 1 callersFunctiontestDeleteReceiveService
testDeleteReceiveService deletes a deployed project in CloudRun with the given serviceName and projectID.
run/service-auth/receive_test.go:169
↓ 1 callersFunctiontestDeployReceiveService
testDeployReceiveService deploys current source code to CloudRun.
run/service-auth/receive_test.go:139
↓ 1 callersFunctiontestGenerateServiceID
testGenerateServiceID produces an unique ID.
run/service-auth/receive_test.go:193
↓ 1 callersFunctiontestGetGCPAuthToken
testGetGCPAuthToken returns an access token with specified audience.
run/service-auth/receive_test.go:95
↓ 1 callersFunctiontestGetProjectNumber
testGetProjectNumber returns formatted Project Number with given projectID.
run/service-auth/receive_test.go:117
↓ 1 callersFunctiontestGetVotes
(t *testing.T)
cloudsql/sqlserver/database-sql/cloudsql_test.go:103
↓ 1 callersFunctiontestGetVotes
(t *testing.T)
cloudsql/postgres/database-sql/cloudsql_test.go:116
↓ 1 callersFunctiontestGetVotes
(t *testing.T)
cloudsql/mysql/database-sql/cloudsql_test.go:116
↓ 1 callersFunctiontestIam
testIam demonstrates how to determine if your service user has appropriate access to create and update findings, it writes permissions to w. sourceNam
securitycenter/findings/test_iam.go:30
↓ 1 callersFunctiontestIam
testIam demonstrates how to determine if your service user has appropriate access to create and update findings, it writes permissions to w. sourceNam
securitycenter/iamv2/test_iam_permissions.go:30
↓ 1 callersFunctiontestIamGrantAccess
testIamGrantAccess grants the specified member access permissions to the secret.
parametermanager/parametermanager_test.go:337
↓ 1 callersFunctiontestIamGrantAccess
testIamGrantAccess grants the specified member access permissions to the secret.
parametermanager/regional_samples/regional_parametermanager_test.go:269
↓ 1 callersFunctiontestJobFromAdHoc
testJobFromAdHoc tests major operations on a job created from an ad-hoc configuration. It will wait until the job successfully completes as part of th
media/transcoder/transcoder_test.go:473
↓ 1 callersFunctiontestJobFromPreset
testJobFromPreset tests major operations on a job created from a preset. It will wait until the job successfully completes as part of the test.
media/transcoder/transcoder_test.go:256
↓ 1 callersFunctiontestJobFromPresetBatchMode
testJobFromPresetBatchMode tests major operations on a job created from a preset in batch mode. It will wait until the job successfully completes as p
media/transcoder/transcoder_test.go:330
↓ 1 callersFunctiontestJobFromTemplate
testJobFromTemplate tests major operations on a job created from a template. It will wait until the job successfully completes as part of the test.
media/transcoder/transcoder_test.go:403
↓ 1 callersFunctiontestJobTemplates
testJobTemplates tests major operations on job templates. Create, get, and list operations check if the template resource name is returned. The delete
media/transcoder/transcoder_test.go:137
↓ 1 callersFunctiontestJobWithAnimatedOverlay
testJobWithAnimatedOverlay tests major operations on a job created from an ad-hoc configuration that includes an animated overlay. It will wait until
media/transcoder/transcoder_test.go:597
↓ 1 callersFunctiontestJobWithConcatenatedInputs
testJobWithConcatenatedInputs tests major operations on a job created from an ad-hoc configuration that concatenates two inputs videos. It will wait u
media/transcoder/transcoder_test.go:786
↓ 1 callersFunctiontestJobWithEmbeddedCaptions
testJobWithEmbeddedCaptions tests major operations on a job created from an ad-hoc configuration that embeds captions in the output video. It will wai
media/transcoder/transcoder_test.go:848
↓ 1 callersFunctiontestJobWithPeriodicImagesSpritesheet
testJobWithPeriodicImagesSpritesheet tests major operations on a job created from an ad-hoc configuration that generates two spritesheets. It will wai
media/transcoder/transcoder_test.go:721
↓ 1 callersFunctiontestJobWithSetNumberImagesSpritesheet
testJobWithSetNumberImagesSpritesheet tests major operations on a job created from an ad-hoc configuration that generates two spritesheets. It will wa
media/transcoder/transcoder_test.go:659
↓ 1 callersFunctiontestJobWithStandaloneCaptions
testJobWithStandaloneCaptions tests major operations on a job created from an ad-hoc configuration that can use captions from a standalone file. It wi
media/transcoder/transcoder_test.go:910
↓ 1 callersFunctiontestJobWithStaticOverlay
testJobWithStaticOverlay tests major operations on a job created from an ad-hoc configuration that includes a static overlay. It will wait until the j
media/transcoder/transcoder_test.go:535
↓ 1 callersFunctiontestMain
(m *testing.M)
datastore/snippets/query_test.go:45
↓ 1 callersFunctiontestName
(tb testing.TB)
secretmanager/regional_samples/regional_secretmanager_test.go:69
↓ 1 callersFunctiontestPermissions
(w io.Writer, projectID, topicID string)
pubsub/topics/test_permissions.go:27
↓ 1 callersFunctiontestPermissions
(w io.Writer, projectID, topicID string)
pubsub/v1samples/topics/test_permissions.go:26
↓ 1 callersFunctiontestPermissions
(w io.Writer, projectID, subID string)
pubsub/v1samples/subscriptions/test_permissions.go:26
↓ 1 callersFunctiontestPermissions
(w io.Writer, projectID, subID string)
pubsub/subscriptions/test_permissions.go:27
↓ 1 callersFunctiontestQueryFilterOrCleanup
(projectID string, refs []*firestore.DocumentRef)
firestore/query_filter_or_test.go:60
↓ 1 callersFunctiontestQueryFilterOrSetup
(projectID string)
firestore/query_filter_or_test.go:26
↓ 1 callersFunctiontestSecret
testSecret creates a secret in the specified GCP project. It returns the created secret or fails the test if secret creation fails.
parametermanager/parametermanager_test.go:284
↓ 1 callersFunctiontestSecret
testSecret creates a secret in the specified GCP project. It returns the created secret or fails the test if secret creation fails.
parametermanager/regional_samples/regional_parametermanager_test.go:215
↓ 1 callersFunctiontestSecretVersion
testSecretVersion creates a version of a secret with the given payload in the specified GCP project. It returns the created secret version or fails th
parametermanager/parametermanager_test.go:315
↓ 1 callersFunctiontestSecretVersion
testSecretVersion creates a version of a secret with the given payload in the specified GCP project. It returns the created secret version or fails th
parametermanager/regional_samples/regional_parametermanager_test.go:243
↓ 1 callersFunctiontextDetection
textDetection analyzes a video and extracts the text from the video's audio.
videointelligence/annotate/text_detection.go:32
↓ 1 callersFunctiontextDetectionGCS
textDetectionGCS analyzes a video and extracts the text from the video's audio.
videointelligence/annotate/text_detection_gcs.go:31
↓ 1 callersFunctiontimestampAddFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:82
↓ 1 callersFunctiontimestampSubFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:101
↓ 1 callersFunctiontimestampToUnixMicrosFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:120
↓ 1 callersFunctiontimestampToUnixMillisFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:139
← previousnext →2,501–2,600 of 5,023, ranked by callers