MCPcopy Create free account

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

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

MethodClose
()
compute/reservations/mock_shared_project.go:48
MethodClose
()
compute/reservations/mock_shared_project.go:55
MethodCommandFlags
CommandFlags retrieves the common gcloud flags for targeting the full managed platform in a given region.
internal/cloudrunci/platform.go:57
MethodCommandFlags
CommandFlags retrieves the common gcloud flags for targeting a GKE cluster.
internal/cloudrunci/platform.go:98
MethodCommandFlags
CommandFlags retrieves the common gcloud flags for targeting a Kubernetes cluster.
internal/cloudrunci/platform.go:126
FunctionConditionalDeleteFHIRResource
ConditionalDeleteFHIRResource conditionally deletes an FHIR resource.
healthcare/internal/fhir-resource-conditional-delete/fhir_resource_conditional_delete.go:38
FunctionConditionalPatchFHIRResource
ConditionalPatchFHIRResource conditionally patches an FHIR resource.
healthcare/internal/fhir-resource-conditional-patch/fhir_resource_conditional_patch.go:41
FunctionConditionalUpdateFHIRResource
ConditionalUpdateFHIRResource conditionally updates an FHIR resource.
healthcare/internal/fhir-resource-conditional-update/fhir_resource_conditional_update.go:40
MethodCreate
( ctx context.Context, model string, src *genai.BatchJobSource, config *genai.CreateBatchJobConfig, )
genai/batch_prediction/batchprediction_examples_test.go:108
MethodCreate
( ctx context.Context, model string, src *genai.BatchJobSource, config *genai.CreateBatchJobConfig, )
genai/batch_prediction/batchprediction_examples_test.go:195
FunctionCreateRegionalSecret
createSecret creates a new secret with the given name. A secret is a logical wrapper around a collection of secret versions. Secret versions hold the
secretmanager/regional_samples/create_regional_secret.go:31
MethodDelete
(context.Context, *computepb.DeleteReservationRequest, ...gax.CallOption)
compute/reservations/mock_shared_project.go:43
MethodDelete
(context.Context, *computepb.DeleteInstanceRequest, ...gax.CallOption)
compute/reservations/mock_shared_project.go:49
MethodDeleteBook
DeleteBook removes a given book by its ID.
getting-started/bookshelf/db_firestore.go:86
MethodDeleteBook
DeleteBook removes a given book by its ID.
getting-started/bookshelf/db_memory.go:78
FunctionDeleteRegionalSecret
deleteSecret deletes the secret with the given name and all of its versions.
secretmanager/regional_samples/delete_regional_secret.go:28
FunctionDeleteRegionalSecretWithEtag
deleteSecretWithEtag deletes the secret with the given name and all of its versions.
secretmanager/regional_samples/delete_regional_secret_with_etag.go:28
MethodDeployed
Deployed reports whether the application has been deployed.
internal/aeintegrate/aeintegrate.go:96
MethodDescriptor
Deprecated: Use SampleStruct.ProtoReflect.Descriptor instead.
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:81
MethodDescriptor
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:39
MethodDescriptor
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:79
MethodDescriptor
Deprecated: Use SingerInfo.ProtoReflect.Descriptor instead.
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:130
MethodDescriptor
()
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:50
MethodDescriptor
()
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:60
MethodDescriptor
Deprecated: Use State.ProtoReflect.Descriptor instead.
internal/pubsub/schemas/us-states.pb.go:80
MethodDescriptor
()
run/grpc-ping/pkg/api/v1/message.pb.go:39
MethodDescriptor
()
run/grpc-ping/pkg/api/v1/message.pb.go:80
MethodDescriptor
()
run/grpc-ping/pkg/api/v1/message.pb.go:133
MethodDescriptor
()
run/grpc-server-streaming/pkg/api/v1/timeservice.pb.go:39
MethodDescriptor
()
run/grpc-server-streaming/pkg/api/v1/timeservice.pb.go:78
FunctionDestroyRegionalSecretVersion
destroySecretVersion destroys the given secret version, making the payload irrecoverable. Other secrets versions are unaffected.
secretmanager/regional_samples/destroy_regional_secret_version.go:29
FunctionDestroyRegionalSecretVersionWithEtag
destroySecretVersionWithEtag destroys the given secret version, making the payload irrecoverable. Other secrets versions are unaffected.
secretmanager/regional_samples/destroy_regional_secret_version_with_etag.go:29
MethodDialContext
DialContext adheres to the mssql.Dialer interface.
cloudsql/sqlserver/database-sql/connect_connector.go:37
FunctionDisableRegionalSecretVersion
disableSecretVersion disables the given secret version. Future requests will throw an error until the secret version is enabled. Other secrets version
secretmanager/regional_samples/disable_regional_secret_version.go:30
FunctionDisableRegionalSecretVersionWithEtag
disableSecretVersionWithEtag disables the given secret version. Future requests will throw an error until the secret version is enabled. Other secrets
secretmanager/regional_samples/disable_regional_secret_version_with_etag.go:30
MethodEditImage
( ctx context.Context, model string, prompt string, referenceImages []genai.ReferenceImage, config *genai
genai/image_generation/image_generation_examples_test.go:30
MethodEditImage
( ctx context.Context, model string, prompt string, referenceImages []genai.ReferenceImage, config *genai
genai/image_generation/image_generation_examples_test.go:171
MethodEditImage
( ctx context.Context, model string, prompt string, referenceImages []genai.ReferenceImage, config *genai
genai/image_generation/image_generation_examples_test.go:244
MethodEditImage
( ctx context.Context, model string, prompt string, referenceImages []genai.ReferenceImage, config *genai
genai/image_generation/image_generation_examples_test.go:328
FunctionEnableRegionalSecretVersion
enableSecretVersion enables the given secret version, enabling it to be accessed after previously being disabled. Other secrets versions are unaffecte
secretmanager/regional_samples/enable_regional_secret_version.go:30
FunctionEnableRegionalSecretVersionWithEtag
enableSecretVersionWithEtag enables the given secret version, enabling it to be accessed after previously being disabled. Other secrets versions are u
secretmanager/regional_samples/enable_regional_secret_version_with_etag.go:30
MethodEnum
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:64
MethodEnumDescriptor
Deprecated: Use Genre.Descriptor instead.
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:87
FunctionExampleService_Build
ExampleService_Build shows how to build once, deploy many.
internal/cloudrunci/example_test.go:30
FunctionExampleService_NewRequest
ExampleService_Request shows how to run a customized HTTP request.
internal/cloudrunci/example_test.go:67
FunctionExampleService_Request
ExampleService_Request shows how to send an HTTP request to a service using defaults.
internal/cloudrunci/example_test.go:51
MethodGenerateVideos
( ctx context.Context, model string, prompt string, image *genai.Image, config *genai.GenerateVideosConfi
genai/video_generation/video_generation_examples_test.go:117
MethodGet
()
healthcare/internal/fhir-resource-conditional-delete/fhir_resource_conditional_delete.go:35
MethodGet
()
healthcare/internal/fhir-resource-conditional-patch/fhir_resource_conditional_patch.go:38
MethodGet
()
healthcare/internal/fhir-resource-conditional-update/fhir_resource_conditional_update.go:37
MethodGet
( ctx context.Context, name string, _ interface{}, )
genai/batch_prediction/batchprediction_examples_test.go:120
MethodGet
( ctx context.Context, name string, _ interface{}, )
genai/batch_prediction/batchprediction_examples_test.go:208
MethodGetBignumericCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:219
MethodGetBirthDate
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:141
MethodGetBook
Book retrieves a book by its ID.
getting-started/bookshelf/db_firestore.go:63
MethodGetBook
GetBook retrieves a book by its ID.
getting-started/bookshelf/db_memory.go:53
MethodGetBoolCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:156
MethodGetBytesCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:163
MethodGetDateCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:191
MethodGetDatetimeCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:198
MethodGetFloat64Col
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:170
MethodGetGenre
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:155
MethodGetGeographyCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:205
MethodGetInt64Col
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:177
MethodGetInt64List
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:240
MethodGetMatchCount
GetMatchCount implements a server for ShakespeareService.
profiler/shakesapp/shakesapp/server.go:46
MethodGetMatchCount
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:61
MethodGetMatchCount
(ctx context.Context, in *ShakespeareRequest, opts ...grpc.CallOption)
profiler/shakesapp/shakesapp/shakesapp.pb.go:154
MethodGetMatchCount
Accepts a query string and returns the number of lines containing that.
profiler/shakesapp/shakesapp/shakesapp.pb.go:166
MethodGetMatchCount
(ctx context.Context, req *ShakespeareRequest)
profiler/shakesapp/shakesapp/shakesapp.pb.go:173
MethodGetMessage
()
run/grpc-ping/pkg/api/v1/message.pb.go:61
MethodGetMessages
Gets messages from app memory
getting-started/devflowapp/services/services_mock.go:27
MethodGetMessages
Gets messages from a SQL database
getting-started/devflowapp/services/services.go:46
MethodGetNationality
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:148
MethodGetNumericCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:212
FunctionGetOrUpdate
(ctx context.Context, id, addr, phone string)
docs/appengine/datastore/transactions/transactions.go:86
MethodGetPostAbbr
()
internal/pubsub/schemas/us-states.pb.go:91
MethodGetQuery
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:101
FunctionGetRegionalSecret
getSecret gets information about the given secret. This only returns metadata about the secret container, not any secret material.
secretmanager/regional_samples/get_regional_secret.go:30
FunctionGetRegionalSecretVersion
getSecretVersion gets information about the given secret version. It does not include the payload data.
secretmanager/regional_samples/get_regional_secret_version.go:30
MethodGetRowNum
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:261
MethodGetSingerId
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:134
MethodGetStringCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:184
MethodGetStructCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:247
MethodGetStructList
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:254
MethodGetSubIntCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:85
MethodGetTimeCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:226
MethodGetTimestampCol
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:233
MethodGetVideosOperation
( ctx context.Context, op *genai.GenerateVideosOperation, _ *genai.GetOperationConfig, )
genai/video_generation/video_generation_examples_test.go:131
FunctionHTTPError
HTTPError describes how errors are handled in an HTTP function.
functions/tips/error.go:32
FunctionHandleWebhookRequest
HandleWebhookRequest handles WebhookRequest and sends the WebhookResponse.
dialogflow/basic_webhook/webhook.go:97
FunctionHelloAnalytics
HelloAnalytics handles Firebase Mobile Analytics log events.
functions/console_snippets/google_analytics/google_analytics.go:44
FunctionHelloAuth
HelloAuth is triggered by Firestore Auth events.
functions/firebase/auth.go:36
FunctionHelloAuth
HelloAuth handles changes to Firebase Auth user objects.
functions/console_snippets/firebase_auth/firebase_auth.go:34
FunctionHelloFirestore
HelloFirestore is triggered by a change to a Firestore document.
functions/firebase/hello/firestore.go:50
FunctionHelloFirestore
HelloFirestore is triggered by a change to a Firestore document.
functions/console_snippets/firestore/firestore.go:48
FunctionHelloGCS
HelloGCS prints a message when a file is changed in a Cloud Storage bucket.
functions/console_snippets/gcs/gcs.go:30
FunctionHelloLogging
HelloLogging logs messages.
functions/helloworld/hello_logging.go:33
FunctionHelloPubSub
HelloPubSub consumes a Pub/Sub message.
functions/console_snippets/pubsub/pubsub.go:31
FunctionHelloRTDB
HelloRTDB handles changes to a Firebase RTDB.
functions/console_snippets/firebase_rtdb/firebase_rtdb.go:36
← previousnext →2,801–2,900 of 5,023, ranked by callers