MCPcopy Create free account

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

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

↓ 1 callersFunctiontimestampToUnixSecondsFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:158
↓ 1 callersFunctiontoArrayExpression
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:733
↓ 1 callersFunctiontoLowerFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:253
↓ 1 callersFunctiontoScalarExpression
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:759
↓ 1 callersFunctiontoUpperFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_string.go:234
↓ 1 callersFunctiontrackEvent
(r *http.Request, category, action, label string, value *uint)
appengine_flexible/analytics/analytics.go:63
↓ 1 callersFunctiontrackEvent
(r *http.Request, category, action, label string, value *uint)
appengine_flexible/go115_and_earlier/analytics/analytics.go:63
↓ 1 callersFunctiontranscribeMultichannel
[START speech_transcribe_multichannel_beta] transcribeMultichannel generates a transcript from a multichannel speech file and tags the speech from eac
speech/snippets/multichannel.go:31
↓ 1 callersFunctiontranscribeStreamingSpecificDecodingV2
(w io.Writer)
speech/snippets/transcribe_streaming_v2_explicit_decoding.go:34
↓ 1 callersFunctiontranscribeStreamingV2
(w io.Writer)
speech/snippets/transcribe_streaming_v2.go:34
↓ 1 callersFunctiontranscribe_diarization
transcribe_diarization_gcs_beta Transcribes a remote audio file using speaker diarization.
speech/snippets/transcribe_diarization_beta.go:31
↓ 1 callersFunctiontranscribe_diarization_gcs_beta
transcribe_diarization_gcs_beta Transcribes a remote audio file using speaker diarization.
speech/snippets/transcribe_diarization.go:30
↓ 1 callersFunctiontranscribe_model_selection_gcs
transcribe_model_selection_gcs Transcribes the given audio file asynchronously with the selected model.
speech/snippets/transcribe_model_selection_gcs.go:31
↓ 1 callersFunctiontransferBetweenPosix
(w io.Writer, projectID string, sourceAgentPoolName string, sinkAgentPoolName string, rootDirectory string, de
storagetransfer/transfer_between_posix.go:28
↓ 1 callersFunctiontransferFromAws
(w io.Writer, projectID string, awsSourceBucket string, gcsSinkBucket string)
storagetransfer/transfer_from_aws.go:31
↓ 1 callersFunctiontransferFromAzure
(w io.Writer, projectID string, azureStorageAccountName string, azureSourceContainer string, gcsSinkBucket str
storagetransfer/transfer_from_azure.go:28
↓ 1 callersFunctiontransferFromPosix
(w io.Writer, projectID string, sourceAgentPoolName string, rootDirectory string, gcsSinkBucket string)
storagetransfer/transfer_from_posix.go:28
↓ 1 callersFunctiontransferFromS3CompatibleSource
(w io.Writer, projectID string, sourceAgentPoolName string, sourceBucketName string, sourcePath string, gcsSin
storagetransfer/transfer_from_s3_compatible_source.go:28
↓ 1 callersFunctiontransferUsingManifest
(w io.Writer, projectID string, sourceAgentPoolName string, rootDirectory string, gcsSinkBucket string, manife
storagetransfer/transfer_using_manifest.go:28
↓ 1 callersFunctiontranslateString
[END getting_started_background_translate_init] [START getting_started_background_translate_string] translateString translates text to lang, returning
getting-started/background/translate.go:99
↓ 1 callersFunctiontranslateText
translateText translates the given text into the specified targetLanguage. sourceLanguage is optional. If empty, the API will attempt to detect the so
translate/text.go:34
↓ 1 callersFunctiontranslateText
(w io.Writer, projectID string, sourceLang string, targetLang string, text string)
translate/v3/translate_text.go:31
↓ 1 callersFunctiontranslateTextWithGlossary
translateTextWithGlossary translates input text and returns translated text.
translate/v3/translate_text_with_glossary.go:29
↓ 1 callersFunctiontranslateTextWithModel
(targetLanguage, text, model string)
translate/model.go:26
↓ 1 callersFunctiontryGemini
(w io.Writer, projectID string, location string, modelName string)
vertexai/snippets/try_gemini.go:26
↓ 1 callersFunctionunDeleteCa
Undelete a Certificate Authority from the specified CA pool.
privateca/undelete_ca.go:28
↓ 1 callersFunctionunassignStaticAddressFromExistingVM
unasignStaticAddresFromExistingVM removes a static external IP address from an existing VM instance in network interface.
compute/address/unassign_static_address.go:27
↓ 1 callersFunctionunionStage
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1149
↓ 1 callersFunctionunionStageStable
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1173
↓ 1 callersFunctionunionSyntaxExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1477
↓ 1 callersFunctionunixMicrosToTimestampFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:25
↓ 1 callersFunctionunixMillisToTime
unixMillisToTime converts epoch-millisecond representations used by the API into a time.Time representation.
bigquery/bigquery_connection_quickstart/main.go:89
↓ 1 callersFunctionunixMillisToTimestampFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:44
↓ 1 callersFunctionunixSecondsToTimestampFunction
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_date_timestamp.go:63
↓ 1 callersFunctionunmarshalMetricsRequest
(buf []byte)
opentelemetry/instrumentation/app/main_test.go:326
↓ 1 callersFunctionunmarshalTracesRequest
(buf []byte)
opentelemetry/instrumentation/app/main_test.go:235
↓ 1 callersFunctionunnestAliasIndexDataExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1878
↓ 1 callersFunctionunnestAliasIndexExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1895
↓ 1 callersFunctionunnestEmptyArrayDataExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1948
↓ 1 callersFunctionunnestEmptyArrayExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1963
↓ 1 callersFunctionunnestNestedDataExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1999
↓ 1 callersFunctionunnestNestedExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:2019
↓ 1 callersFunctionunnestNonArrayDataExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1911
↓ 1 callersFunctionunnestNonArrayExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1932
↓ 1 callersFunctionunnestPreserveEmptyArrayExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1979
↓ 1 callersFunctionunnestStage
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1817
↓ 1 callersFunctionunnestStageEmptyOrNonArray
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1834
↓ 1 callersFunctionunnestSyntaxExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1862
↓ 1 callersFunctionupdate
[END monitoring_uptime_check_get] [START monitoring_uptime_check_update] update is an example of updating an uptime check. resourceName should be of t
monitoring/uptime/uptime.go:202
↓ 1 callersFunctionupdateBigQueryExport
Updates an existing BigQuery export.
securitycenter/bigqueryv2/update_big_query_export.go:30
↓ 1 callersFunctionupdateBucketEncryptionEnforcementConfig
updateBucketEncryptionEnforcementConfig updates a bucket's encryption enforcement configuration.
storage/buckets/update_bucket_encryption_enforcement_config.go:28
↓ 1 callersFunctionupdateCDNKeyAkamai
updateCDNKeyAkamai updates an Akamai CDN key. A CDN key is used to retrieve protected media.
media/videostitcher/update_cdn_key_akamai.go:30
↓ 1 callersFunctionupdateChannel
updateChannel updates an existing channel with a different input.
media/livestream/update_channel.go:29
↓ 1 callersFunctionupdateCluster
(w io.Writer, projectID, region, clusterID string, memory int64, opts ...option.ClientOption)
managedkafka/clusters/update_cluster.go:30
↓ 1 callersFunctionupdateConnectCluster
(w io.Writer, projectID, region, clusterID string, memoryBytes int64, labels map[string]string, opts ...option
managedkafka/connect/clusters/update_connect_cluster.go:30
↓ 1 callersFunctionupdateConnector
(w io.Writer, projectID, region, connectClusterID, connectorID string, config map[string]string, opts ...optio
managedkafka/connect/connectors/update_connector.go:30
↓ 1 callersFunctionupdateConsumerGroup
(w io.Writer, projectID, region, clusterID, consumerGroupID, topicPath string, partitionOffsets map[int32]int6
managedkafka/consumergroups/update_consumergroup.go:30
↓ 1 callersFunctionupdateContentCache
updateContentCache shows how to update content cache expiration time.
genai/content_cache/contentcache_update.go:29
↓ 1 callersFunctionupdateDatabaseWithDefaultLeader
updateDatabaseWithDefaultLeader updates the default leader for a given database
spanner/spanner_snippets/spanner/spanner_update_database_with_default_leader.go:29
↓ 1 callersFunctionupdateDataset
updateDataset demonstrates making partial updates to an existing dataset.
bigquery/snippets_preview/dataset/bigquery_update_dataset.go:33
↓ 1 callersFunctionupdateDatasetAccessControl
updateDatasetAccessControl demonstrates how the access control policy of a dataset can be amended by adding an additional entry corresponding to a spe
bigquery/snippets/dataset/bigquery_update_dataset_access.go:27
↓ 1 callersFunctionupdateDatasetDefaultExpiration
updateDatasetDefaultExpiration demonstrats setting the default expiration of a dataset to a specific retention period.
bigquery/snippets/dataset/bigquery_update_dataset_default_expiration.go:28
↓ 1 callersFunctionupdateDatasetDescription
updateDatasetDescription demonstrates how the Description metadata of a dataset can be read and modified.
bigquery/snippets/dataset/bigquery_update_dataset_description.go:27
↓ 1 callersFunctionupdateDeadLetter
updateDeadLetter updates an existing subscription with a dead letter policy.
pubsub/v1samples/subscriptions/dead_letter_update.go:27
↓ 1 callersFunctionupdateDeadLetter
updateDeadLetter updates an existing subscription with a dead letter policy.
pubsub/subscriptions/dead_letter_update.go:29
↓ 1 callersFunctionupdateDenyPolicy
updateDenyPolicy updates the deny rules and/ or its display name after policy creation.
iam/deny/update_deny_policy.go:30
↓ 1 callersFunctionupdateDoc
(ctx context.Context, client *firestore.Client)
firestore/save_data_set_field.go:26
↓ 1 callersFunctionupdateDocCreateIfMissing
(ctx context.Context, client *firestore.Client)
firestore/save_data_set_doc_upsert.go:26
↓ 1 callersFunctionupdateDocMultiple
(ctx context.Context, client *firestore.Client)
firestore/save_update_multiple_fields.go:26
↓ 1 callersFunctionupdateDocNested
(ctx context.Context, client *firestore.Client)
firestore/save_data_set_nested_fields.go:26
↓ 1 callersFunctionupdateDocumentIncrement
updateDocumentIncrement increments the population of the city document in the cities collection by 50.
firestore/increment.go:27
↓ 1 callersFunctionupdateEventThreatDetectionCustomModule
updateEventThreatDetectionCustomModule updates a custom module for Event Threat Detection.
securitycenter/management_api/event_threat_detection/update_event_threat_detection_custom_module.go:30
↓ 1 callersFunctionupdateFindingSourceProperties
updateFindingSourceProperties demonstrates how to update a security finding in CSCC. findingName is the full resource name of the finding to update.
securitycenter/findings/update_finding_source_properties.go:33
↓ 1 callersFunctionupdateFindingSourceProperties
updateFindingSourceProperties demonstrates how to update a security finding in CSCC. findingName is the full resource name of the finding to update.
securitycenter/findingsv2/update_finding_source_properties.go:33
↓ 1 callersFunctionupdateFolderFloorSettings
updateFolderFloorSettings updates floor settings of a folder. This method updates the floor settings of a folder. w io.Writer: The writer to use for
modelarmor/update_folder_floor_settings.go:36
↓ 1 callersFunctionupdateGCRule
(w io.Writer, projectID, instanceID string, tableName string)
bigtable/garbagecollection/update_gc_rule.go:26
↓ 1 callersFunctionupdateIAMPolicy
updateIAMPolicy demonstrates updating the ACL on a BigQuery table by adding a new entry to an existing policy.
bigquery/snippets/table/bigquery_update_iam_policy.go:28
↓ 1 callersFunctionupdateInput
updateInput updates an existing input endpoint. This sample adds a preprocessing configuration to an existing input.
media/livestream/update_input.go:30
↓ 1 callersFunctionupdateInstanceConfig
updateInstanceConfig updates the custom spanner instance config
spanner/spanner_snippets/spanner/spanner_update_instance_config.go:31
↓ 1 callersFunctionupdateKeyRemoveLabels
updateKeyRemoveLabels removes all labels from an existing Cloud KMS key.
kms/update_key_remove_labels.go:29
↓ 1 callersFunctionupdateKeySetPrimary
updateKeySetPrimary updates the primary key version on a Cloud KMS key.
kms/update_key_set_primary.go:28
↓ 1 callersFunctionupdateKeyUpdateLabels
updateKeyUpdateLabels updates an existing KMS key, adding a new label.
kms/update_key_update_labels.go:29
↓ 1 callersFunctionupdateMaterializedView
updateMaterializedView updates a materialized view by manipulating MV properties.
bigquery/snippets/table/bigquery_update_materialized_view.go:27
↓ 1 callersFunctionupdateModel
updateModel demonstrates making partial updates to an existing model's metadata.
bigquery/snippets_preview/model/bigquery_update_model.go:32
↓ 1 callersFunctionupdateModelArmorTemplate
updateModelArmorTemplate updates a Model Armor template. updateModelArmorTemplate method updates a Model Armor template. w io.Writer: The writer to
modelarmor/update_template.go:39
↓ 1 callersFunctionupdateModelArmorTemplateLabels
updateModelArmorTemplateLabels method updates the labels of a Model Armor template. w io.Writer: The writer to use for logging. projectID string: The
modelarmor/update_template_labels.go:40
↓ 1 callersFunctionupdateModelArmorTemplateMetadata
updateModelArmorTemplateMetadata method updates the metadata of a Model Armor template. w io.Writer: The writer to use for logging. projectID string:
modelarmor/update_template_metadata.go:37
↓ 1 callersFunctionupdateModelArmorTemplateWithMaskConfiguration
updateModelArmorTemplateWithMaskConfiguration updates a Model Armor template with mask configuration. w io.Writer: The writer to use for logging. pro
modelarmor/update_template_with_mask_configuration.go:38
↓ 1 callersFunctionupdateModelDescription
updateModelDescription demonstrates fetching BigQuery ML model metadata and updating the Description metadata.
bigquery/snippets/models/bigquery_update_model_description.go:27
↓ 1 callersFunctionupdateMuteRule
updateMuteRule Updates an existing mute configuration. The following can be updated in a mute config: description and filter.
securitycenter/muteconfig/update_mute_rule.go:31
↓ 1 callersFunctionupdateMuteRule
updateMuteRule Updates an existing mute configuration. The following can be updated in a mute config: description and filter.
securitycenter/muteconfigv2/update_mute_rule.go:31
↓ 1 callersFunctionupdateNotificationConfig
(w io.Writer, orgID string, notificationConfigID string, updatedPubsubTopic string)
securitycenter/notifications/update_notification_config.go:28
↓ 1 callersFunctionupdateNotificationConfig
(w io.Writer, orgID string, notificationConfigID string, updatedPubsubTopic string, projectID string)
securitycenter/notificationsv2/update_notification_config.go:28
↓ 1 callersFunctionupdateOrganizationFloorSettings
updateOrganizationFloorSettings updates floor settings of an organization. This method updates the floor settings of an organization. w io.Writer: T
modelarmor/update_organization_floor_settings.go:36
↓ 1 callersFunctionupdateParamKmsKey
updateParamKmsKey updates a parameter kms_key using the Parameter Manager SDK for GCP. w: The io.Writer object used to write the output. projectID: T
parametermanager/update_param_kms_key.go:38
↓ 1 callersFunctionupdatePool
updatePool updates the pool's peered network.
media/livestream/update_pool.go:29
↓ 1 callersFunctionupdateProductLabels
updateProductLabels updates product labels of a product.
vision/product_search/update_product_labels.go:31
↓ 1 callersFunctionupdateProjectFloorSettings
updateProjectFloorSettings updates the floor settings of a project. This method updates the floor settings of a project. w io.Writer: The writer to
modelarmor/update_project_floor_settings.go:36
↓ 1 callersFunctionupdateRegionalParamKmsKey
updateRegionalParamKmsKey updates a regional parameter kms_key using the Parameter Manager SDK for GCP. w: The io.Writer object used to write the out
parametermanager/regional_samples/update_regional_param_kms_key.go:40
↓ 1 callersFunctionupdateReservation
(w io.Writer, projectID, region, reservationID string, throughputCapacity int)
pubsublite/admin/update_reservation.go:26
← previousnext →2,601–2,700 of 5,023, ranked by callers