MCPcopy Create free account

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

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

FunctiongetDiscoveryInfo
getDiscoveryInfo retrieves and prints the Discovery Occurrence created for a specified image. The Discovery Occurrence contains information about the
container_registry/container_analysis/get_discovery_info.go:31
FunctiongetFHIRIAMPolicy
getFHIRIAMPolicy gets the FHIR store's IAM policy.
healthcare/fhir_iam_get.go:27
FunctiongetFHIRStore
getFHIRStore gets an FHIR store.
healthcare/fhir_store_get.go:27
FunctiongetHL7V2Store
getHL7V2Store gets an HL7V2 store.
healthcare/hl7v2_store_get.go:27
FunctiongetHandler
[START gae_search_retrieving_documents_by_doc_ids]
docs/appengine/search/search.go:76
FunctiongetIdTokenFromImpersonatedCredentials
getIdTokenFromImpersonatedCredentials uses a service account (SA1) to impersonate as another service account (SA2) and obtain id token for the imperso
auth/id_token_from_impersonated_credentials.go:31
FunctiongetInstanceSerialPort
getInstanceSerialPort prints the serial port output for an instance.
compute/instances/create-manage-windows-instances/get_instance_serial_port.go:28
FunctiongetJob
getJob gets an existing job by its resource name.
jobs/v4/howto/get_job_sample.go:28
FunctiongetRetiredResource
getRetiredResource gets a retired resource.
kms/get_retired_resource.go:28
FunctiongetTuningJob
getTuningJob retrieves details of a tuning job, including tuned model and endpoint
genai/tuning/tuning_get_job.go:28
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/helloworld/helloworld.go:37
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/datastore/datastore.go:50
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/redis/redis.go:58
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/analytics/analytics.go:50
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/helloworld/helloworld.go:37
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/datastore/datastore.go:50
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/redis/redis.go:58
Functionhandle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/analytics/analytics.go:50
Functionhandle
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/index.go:35
Functionhandle
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/queries/queries.go:39
FunctionhandleMain
handleMain outputs the home page.
bigtable/search/search.go:142
MethodhandleMetrics
(w http.ResponseWriter, req *http.Request)
opentelemetry/instrumentation/app/main_test.go:280
FunctionhandleMulti
[END opentelemetry_instrumentation_handle_single] handleMulti handles an http request by making 3-7 http requests to the single endpoint. [START opent
opentelemetry/instrumentation/app/server.go:39
FunctionhandleRoot
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:47
FunctionhandleServe
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:61
FunctionhandleSingle
handleSingle handles an http request by sleeping for 100-200 ms. It writes the number of milliseconds slept as its response. [START opentelemetry_inst
opentelemetry/instrumentation/app/server.go:29
MethodhandleTraces
(w http.ResponseWriter, req *http.Request)
opentelemetry/instrumentation/app/main_test.go:191
FunctionhandleUpload
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:65
Functionhandler
(w http.ResponseWriter, r *http.Request)
internal/cloudrunci/testingapp/testingapp.go:40
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/logs/logs.go:35
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/tools/devserver/devserver.go:28
Functionhandler
[START gae_communication_between_modules_1]
docs/appengine/modules/module.go:26
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/urlfetch/urlfetch.go:26
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/cloudsql/cloudsql.go:50
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/transactions/transactions.go:38
Functionhandler
[START intro_1] [END intro_1]
docs/appengine/memcache/memcache.go:29
Functionhandler
[START gae_go_capabilities_lookup]
docs/appengine/capabilities/capability.go:25
Functionhandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/taskqueue/push/taskqueue_push.go:39
Functionhandler
(w http.ResponseWriter, r *http.Request)
run/h2c/main.go:53
Functionhandler2
[END gae_communication_between_modules_1]
docs/appengine/modules/module.go:36
Functionhello
(w http.ResponseWriter, r *http.Request)
docs/appengine/requests/helloworld.go:28
Functionhl7V2IAMPolicy
hl7V2IAMPolicy gets the IAM policy.
healthcare/hl7v2_iam_get.go:27
FunctionhomepageHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/static_files/staticfiles.go:46
FunctionhomepageHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/static_files/staticfiles.go:46
Functionimplicit
[START auth_cloud_implicit] implicit uses Application Default Credentials to authenticate.
auth/snippets.go:33
FunctionimportDICOMInstance
importDICOMInstance imports DICOM objects from GCS.
healthcare/dicom_import.go:27
FunctionincomingMail
[END gae_mail_init] [START gae_mail_incoming_mail]
docs/appengine/mail/mail.go:63
Functionincrement
[END gae_datastore_using_transactions] [START gae_datastore_uses_for_transactions_1]
docs/appengine/datastore/transactions/transactions.go:66
FunctionincrementHandler
(w http.ResponseWriter, r *http.Request)
memorystore/redis/main.go:31
Functionindex
(w http.ResponseWriter, r *http.Request)
getting-started/gce/main.go:38
FunctionindexHandler
[END gae_go111_main_func] [START gae_go111_indexHandler] indexHandler responds to requests with our greeting.
appengine/go11x/helloworld/helloworld.go:54
FunctionindexHandler
indexHandler responds to requests with our list of available databases.
appengine/go11x/cloudsql/cloudsql.go:86
FunctionindexHandler
indexHandler responds to requests with our greeting.
appengine/go11x/tasks/handle_task/handle_task.go:48
FunctionindexHandler
indexHandler responds to requests with our greeting.
appengine/go11x/warmup/warmup.go:75
FunctionindexHandler
(w http.ResponseWriter, r *http.Request)
run/logging-manual/main.go:89
Functioninit
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:347
Functioninit
TABS vs. SPACES App for Cloud Functions
cloudsql/sqlserver/database-sql/cmd/functions/functions.go:23
Functioninit
TABS vs. SPACES App for Cloud Functions
cloudsql/postgres/database-sql/cmd/app/functions/functions.go:23
Functioninit
TABS vs. SPACES App for Cloud Functions
cloudsql/mysql/database-sql/cmd/functions/functions.go:23
Functioninit
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:108
Functioninit
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:216
Functioninit
()
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:62
Functioninit
()
functions/helloworld/hello_logging.go:28
Functioninit
()
functions/helloworld/hello_http.go:29
Functioninit
()
functions/http/http_request_method.go:27
Functioninit
()
functions/http/http_content_type.go:31
Functioninit
()
functions/http/form.go:66
Functioninit
()
functions/http/xml.go:30
Functioninit
()
functions/http/request.go:37
Functioninit
()
functions/http/cors_auth.go:48
Functioninit
()
functions/http/stateless.go:30
Functioninit
()
functions/http/cors.go:45
Functioninit
()
functions/imagemagick/imagemagick.go:40
Functioninit
()
functions/spanner/spanner.go:40
Functioninit
()
functions/firebase/upper/upper.go:66
Functioninit
()
functions/functionsv2/helloworld/hello_world.go:27
Functioninit
()
functions/functionsv2/label_gce_instance/label_gce_instance.go:50
Functioninit
()
functions/functionsv2/hellopubsub/hello_pubsub.go:29
Functioninit
()
functions/functionsv2/helloauditlog/hello_auditlog.go:29
Functioninit
()
functions/functionsv2/response_streaming/response_streaming.go:33
Functioninit
()
functions/functionsv2/imagemagick/imagemagick.go:44
Functioninit
()
functions/functionsv2/log/process_log_entry.go:29
Functioninit
()
functions/functionsv2/firebase/remoteconfig/remoteconfig.go:31
Functioninit
()
functions/functionsv2/firebase/rtdb/rtdb.go:32
Functioninit
()
functions/functionsv2/firebase/upper/upper.go:42
Functioninit
()
functions/functionsv2/firebase/hellofirestore/hellofirestore.go:30
Functioninit
()
functions/functionsv2/ocr/app/save.go:29
Functioninit
()
functions/functionsv2/ocr/app/translate.go:31
Functioninit
()
functions/functionsv2/ocr/app/process.go:30
Functioninit
()
functions/functionsv2/hellostorage/hello_storage.go:32
Functioninit
()
functions/functionsv2/slack/search.go:61
Functioninit
()
functions/functionsv2/tips/retry.go:28
Functioninit
()
functions/functionsv2/tips/infinite_retries/infinite_retries.go:30
Functioninit
()
functions/typed/greeting/greeting.go:26
Functioninit
()
functions/memorystore/redis/visitcount.go:34
Functioninit
()
functions/tips/file_system.go:29
Functioninit
init runs during package initialization. So, this will only run during an an instance's cold start.
functions/tips/scope.go:33
Functioninit
()
functions/tips/error.go:27
Functioninit
()
functions/tips/timeout.go:29
Functioninit
()
functions/tips/lazy.go:35
← previousnext →4,501–4,600 of 5,023, ranked by callers