MCPcopy Create free account

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

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

↓ 1 callersFunctioncreateTopicWithConfluentCloudIngestion
(w io.Writer, projectID, topicID, bootstrapServer, clusterID, confluentTopic, poolID, gcpSA string)
pubsub/topics/create_topic_confluent_cloud_ingestion.go:27
↓ 1 callersFunctioncreateTopicWithConfluentCloudIngestion
(w io.Writer, projectID, topicID, bootstrapServer, clusterID, confluentTopic, poolID, gcpSA string)
pubsub/v1samples/topics/create_topic_confluent_cloud_ingestion.go:26
↓ 1 callersFunctioncreateTopicWithKinesisIngestion
(w io.Writer, projectID, topic string)
pubsub/topics/create_topic_kinesis_ingestion.go:27
↓ 1 callersFunctioncreateTopicWithKinesisIngestion
(w io.Writer, projectID, topicID string)
pubsub/v1samples/topics/create_topic_kinesis_ingestion.go:26
↓ 1 callersFunctioncreateTopicWithSMT
createTopicWithSMT creates a topic with a single message transform function applied.
pubsub/topics/create_topic_message_transforms.go:28
↓ 1 callersFunctioncreateTopicWithSMT
createTopicWithSMT creates a topic with a single message transform function applied.
pubsub/v1samples/topics/create_topic_message_transforms.go:27
↓ 1 callersFunctioncreateTopicWithSchemaRevisions
(w io.Writer, projectID, topicID, schemaID, firstRevisionID, lastRevisionID string, encoding pubsub.SchemaEnco
pubsub/v1samples/schemas/create_topic_with_schema_revisions.go:26
↓ 1 callersFunctioncreateTopicWithSchemaRevisions
(w io.Writer, projectID, topicID, schemaID, firstRevisionID, lastRevisionID string)
pubsub/schemas/create_topic_with_schema_revisions.go:27
↓ 1 callersFunctioncreateTrigger
createTrigger creates a trigger with the given configuration.
dlp/snippets/trigger/create.go:29
↓ 1 callersFunctioncreateTuningJobMock
(w io.Writer)
genai/tuning/tuning_examples_test.go:62
↓ 1 callersFunctioncreateUpdateSecretLabel
createUpdateSecretLabel updates the labels about an existing secret. If the label key exists, it updates the label, otherwise it creates a new one.
secretmanager/create_update_secret_label.go:30
↓ 1 callersFunctioncreateUserManagedReplicationSecret
createUserManagedReplicationSecret creates a new secret with the given name with user managed replication. A secret is a logical wrapper around a coll
secretmanager/create_secret_with_user_managed_replication.go:29
↓ 1 callersFunctioncreateVectorIndex
(t *testing.T, projectID, collName string, fields []*adminpb.Index_IndexField)
firestore/vector_search_main_test.go:110
↓ 1 callersFunctioncreateView
createView demonstrates creation of a BigQuery logical view.
bigquery/snippets/table/bigquery_create_view.go:26
↓ 1 callersFunctioncreateVodConfig
createVodConfig creates a VOD config. VOD configs are used to configure VOD sessions.
media/videostitcher/create_vod_config.go:28
↓ 1 callersFunctioncreateVodSession
createVodSession creates a video on demand (VOD) session in which to insert ads. VOD sessions are ephemeral resources that expire after a few hours.
media/videostitcher/create_vod_session.go:29
↓ 1 callersFunctioncreateWhereData
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1649
↓ 1 callersFunctioncreateWithAdditionalDisk
createWithAdditionalDisk create a new VM instance with Debian 10 operating system and a 11 GB additional empty disk.
compute/instances/create-start-instance/create_instance_with_additional_disk.go:29
↓ 1 callersFunctioncreateWithEndpoint
(w io.Writer, projectID, subID string, topic *pubsub.Topic, endpoint string)
pubsub/v1samples/subscriptions/create_endpoint.go:27
↓ 1 callersFunctioncreateWithEndpoint
(w io.Writer, projectID, topic, subscription, endpoint string)
pubsub/subscriptions/create_endpoint.go:27
↓ 1 callersFunctioncreateWithExistingDisks
createWithExistingDisks create a new VM instance using selected disks. The first disk in diskNames will be used as boot disk.
compute/instances/create-start-instance/create_instance_with_existing_disks.go:30
↓ 1 callersFunctioncreateWithFilter
(w io.Writer, projectID, subID, filter string, topic *pubsub.Topic)
pubsub/v1samples/subscriptions/create_filter.go:26
↓ 1 callersFunctioncreateWithFilter
(w io.Writer, projectID, topic, subscription, filter string)
pubsub/subscriptions/create_filter.go:27
↓ 1 callersFunctioncreateWithLocalSSD
createWithLocalSSD creates a new VM instance with Debian 10 operating system and a local SSD attached.
compute/instances/create-start-instance/create_instance_with_local_ssd.go:29
↓ 1 callersFunctioncreateWithOrdering
(w io.Writer, projectID, subID string, topic *pubsub.Topic)
pubsub/v1samples/subscriptions/create_ordering.go:27
↓ 1 callersFunctioncreateWithOrdering
(w io.Writer, projectID, topic, subscription string)
pubsub/subscriptions/create_ordering.go:27
↓ 1 callersFunctioncreateWndowsServerInstanceExternalIP
createWndowsServerInstanceExternalIP creates a new Windows Server instance that has an external IP address.
compute/instances/create-manage-windows-instances/create_windows_server_external_ip.go:30
↓ 1 callersFunctioncreateWndowsServerInstanceInternalIP
createWndowsServerInstanceInternalIP creates a new Windows Server instance that has only an internal IP address.
compute/instances/create-manage-windows-instances/create_windows_server_internal_ip.go:30
↓ 1 callersFunctioncreatingIndexes
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:785
↓ 1 callersFunctioncurrentTotals
currentTotals retrieves all voting data from the database.
cloudsql/sqlserver/database-sql/cloudsql.go:109
↓ 1 callersFunctioncurrentTotals
currentTotals retrieves all voting data from the database.
cloudsql/postgres/database-sql/cloudsql.go:105
↓ 1 callersFunctioncurrentTotals
currentTotals retrieves all voting data from the database.
cloudsql/mysql/database-sql/cloudsql.go:105
↓ 1 callersFunctioncustomMachineTypeSharedCoreURI
(zone, cpuSeries string, memory int)
compute/instances/custom-machine-type/create_shared_with_helper.go:28
↓ 1 callersFunctioncustomMachineTypeURI
(zone, cpuSeries string, coreCount, memory int)
compute/instances/custom-machine-type/create_with_helper.go:28
↓ 1 callersFunctioncustomRankingSearch
customRankingSearch searches for jobs based on custom ranking.
jobs/v4/howto/custom_ranking_search.go:28
↓ 1 callersFunctiondatabaseInputExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1389
↓ 1 callersFunctiondatabaseInputSyntaxExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1355
↓ 1 callersFunctiondatabaseInputSyntaxExampleData
(_ io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:1369
↓ 1 callersFunctiondatabaseStage
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:908
↓ 1 callersFunctiondateRangeSearch
[END job_discovery_employment_types_filter_search] [START job_discovery_date_range_filter_search] dateRangeSearch searches for jobs on date range. In
jobs/v3/howto/general_search_sample.go:198
↓ 1 callersFunctiondeIdentifyTableBucketing
deIdentifyTableBucketing de-identifies data using table bucketing
dlp/snippets/deid/deid_table_bucketing.go:27
↓ 1 callersFunctiondeIdentifyTablePrimitiveBucketing
deIdentifyTablePrimitiveBucketing bucket sensitive data by grouping numerical values into predefined ranges to generalize and protect user information
dlp/snippets/deid/deid_table_primitive_bucketing.go:28
↓ 1 callersFunctiondeIdentifyTableWithCryptoHash
deIdentifyTableWithCryptoHash transforms findings using a cryptographic hash transformation.
dlp/snippets/deid/deid_table_with_crypto_hash.go:27
↓ 1 callersFunctiondeIdentifyTableWithMultipleCryptoHash
deIdentifyTableWithMultipleCryptoHash Transforms findings using two separate cryptographic hash transformations.
dlp/snippets/deid/deid_table_with_multiple_crypto_hash.go:27
↓ 1 callersFunctiondeIdentifyTimeExtract
deIdentifyTimeExtract De-identifies a table by extracting specific parts of the time (year in this case) from designated fields.
dlp/snippets/deid/deid_time_extract.go:28
↓ 1 callersFunctiondeactivateHMACKey
deactivateHMACKey deactivates the HMAC key with the given access ID.
storage/service_account/hmac/deactivate.go:28
↓ 1 callersFunctiondecryptAsymmetric
decryptAsymmetric will attempt to decrypt a given ciphertext with an 'RSA_DECRYPT_OAEP_2048_SHA256' key from Cloud KMS.
kms/decrypt_asymmetric.go:31
↓ 1 callersFunctiondecryptSymmetric
decryptSymmetric will decrypt the input ciphertext bytes using the specified symmetric key.
kms/decrypt_symmetric.go:30
↓ 1 callersFunctiondefineExample
(w io.Writer, client *firestore.Client)
firestore/pipeline_snippets_general.go:707
↓ 1 callersFunctiondeidentifyCloudStorage
(w io.Writer, projectID, gcsUri, tableId, datasetId, outputDirectory, deidentifyTemplateId, structuredDeidenti
dlp/snippets/deid/deid_cloud_storage.go:26
↓ 1 callersFunctiondeidentifyDataReplaceWithDictionary
deidentifyDataReplaceWithDictionary de-identifies sensitive data in a string by replacing each piece of detected sensitive data with a value that Clou
dlp/snippets/deid/deid_dictionary_replacement.go:31
↓ 1 callersFunctiondeidentifyDataset
deidentifyDataset creates a new dataset containing de-identified data from the source dataset.
healthcare/dataset_deidentify.go:28
↓ 1 callersFunctiondeidentifyDateShift
deidentifyDateShift shifts dates found in the input between lowerBoundDays and upperBoundDays.
dlp/snippets/deid/date_shift.go:29
↓ 1 callersFunctiondeidentifyExceptionList
deidentifyExceptionList creates an exception list for a regular custom dictionary detector.
dlp/snippets/deid/deid_with_exception_list.go:27
↓ 1 callersFunctiondeidentifyTableConditionInfoTypes
deidentifyTableConditionInfoTypes de-identifies table data using conditional logic and replace with infoTypes
dlp/snippets/deid/deid_table_condition_infotypes.go:28
↓ 1 callersFunctiondeidentifyTableFPE
deidentifyTableFPE de-identifies table data with format preserving encryption.
dlp/snippets/deid/deid_table_fpe.go:28
↓ 1 callersFunctiondeidentifyTableInfotypes
deidentifyTableInfotypes de-identifies table data with info types
dlp/snippets/deid/deid_table_infotypes.go:28
↓ 1 callersFunctiondeidentifyTableMaskingCondition
deidentifyTableMaskingCondition de-identifies the table data using masking and conditional logic
dlp/snippets/deid/deid_table_condition_masking.go:29
↓ 1 callersFunctiondeidentifyTableRowSuppress
deidentifyTableRowSuppress de-identifies table data and suppress a row based on the content of column
dlp/snippets/deid/deid_table_row_suppress.go:28
↓ 1 callersFunctiondeidentifyWithInfotype
deidentifyWithInfotype de-identifies sensitive data by replacing infoType.
dlp/snippets/deid/deid_replace_infotype.go:27
↓ 1 callersFunctiondeidentifyWithRedact
deidentifyWithRedact de-identify the data by redacting with matched input values
dlp/snippets/deid/deid_with_redact.go:27
↓ 1 callersFunctiondeidentifyWithReplacement
deidentifyWithReplacement de-identifies sensitive data by replacing matched input values
dlp/snippets/deid/deid_replace.go:28
↓ 1 callersFunctiondeidentifyWithWordList
deidentifyWithWordList matches against a custom simple word list to de-identify sensitive data based on the input
dlp/snippets/deid/deid_simple_word_list.go:28
↓ 1 callersFunctiondelete
(w io.Writer, projectID, subID string)
pubsub/v1samples/subscriptions/delete.go:26
↓ 1 callersFunctiondelete
(w io.Writer, projectID, subID string)
pubsub/subscriptions/delete.go:27
↓ 1 callersFunctiondeleteActiveJob
(project, trigger string)
dlp/snippets/inspect/inspect_test.go:527
↓ 1 callersFunctiondeleteAll
(ctx context.Context, client *firestore.Client, projectID string)
getting-started/background/translate_test.go:117
↓ 1 callersFunctiondeleteAllKeys
Delete all HMAC keys in the project.
storage/service_account/hmac/hmac_test.go:190
↓ 1 callersFunctiondeleteAndUndeleteTable
deleteAndUndeleteTable demonstrates how to recover a deleted table by copying it from a point in time that predates the deletion event.
bigquery/snippets/table/bigquery_undelete_table.go:28
↓ 1 callersFunctiondeleteAsset
deleteAsset deletes a previously-created asset.
media/livestream/delete_asset.go:28
↓ 1 callersFunctiondeleteAssetsOfCreateJobTest
(t *testing.T, projectID, bucketName, objectName string)
dlp/snippets/jobs/jobs_test.go:220
↓ 1 callersFunctiondeleteBigQueryAssets
(projectID string)
dlp/snippets/inspect/inspect_test.go:250
↓ 1 callersFunctiondeleteBigQueryAssets
(projectID string)
dlp/snippets/deid/deid_test.go:650
↓ 1 callersFunctiondeleteBigQueryAssets
(projectID, dataSetID string)
dlp/snippets/risk/risk_test.go:161
↓ 1 callersFunctiondeleteBigQueryDataset
(projectID, datasetID string)
pubsub/v1samples/subscriptions/subscription_test.go:1141
↓ 1 callersFunctiondeleteBigQueryDataset
(projectID, datasetID string)
pubsub/subscriptions/subscription_test.go:703
↓ 1 callersFunctiondeleteBigQueryExport
(w io.Writer, parent string, bigQueryExportId string)
securitycenter/bigqueryv2/delete_big_query_export.go:28
↓ 1 callersFunctiondeleteBucket
(projectID, bucketName string)
dlp/snippets/deid/deid_test.go:532
↓ 1 callersFunctiondeleteBucket
(bucketName string)
batch/create_with_gcs_bucket_test.go:90
↓ 1 callersFunctiondeleteBucket
(t *testing.T, bucketName string)
compute/usage_export_test.go:47
↓ 1 callersFunctiondeleteBucketNotification
deleteBucketNotification deletes a notification configuration for a bucket.
storage/notifications/delete.go:27
↓ 1 callersFunctiondeleteCDNKey
deleteCDNKey deletes a CDN key.
media/videostitcher/delete_cdn_key.go:28
↓ 1 callersFunctiondeleteCa
Delete a Certificate Authority from the specified CA pool. Before deletion, the CA must be disabled or staged and must not contain any active certific
privateca/delete_ca.go:29
↓ 1 callersFunctiondeleteChannelEvent
deleteChannelEvent deletes a previously-created channel event.
media/livestream/delete_channel_event.go:28
↓ 1 callersFunctiondeleteCluster
(ctx context.Context, projectID, location, clusterName string)
connectgateway/get_namespace_test.go:112
↓ 1 callersFunctiondeleteCluster
(w io.Writer, projectID, region, clusterID string, opts ...option.ClientOption)
managedkafka/clusters/delete_cluster.go:29
↓ 1 callersFunctiondeleteCollection
(w io.Writer, projectID, collectionName string, batchSize int)
firestore/save_data_delete_collection.go:28
↓ 1 callersFunctiondeleteCompany
[END job_update_company_with_field_mask] [START job_delete_company] deleteCompany deletes an existing company by name.
jobs/v3/howto/basic_company_sample.go:147
↓ 1 callersFunctiondeleteConnectCluster
(w io.Writer, projectID, region, clusterID string, opts ...option.ClientOption)
managedkafka/connect/clusters/delete_connect_cluster.go:29
↓ 1 callersFunctiondeleteConnector
(w io.Writer, projectID, region, connectClusterID, connectorID string, opts ...option.ClientOption)
managedkafka/connect/connectors/delete_connector.go:29
↓ 1 callersFunctiondeleteConsumerGroup
(w io.Writer, projectID, region, clusterID, consumerGroupID string, opts ...option.ClientOption)
managedkafka/consumergroups/delete_consumergroup.go:29
↓ 1 callersFunctiondeleteContentCache
deleteContentCache shows how to delete content cache.
genai/content_cache/contentcache_delete.go:28
↓ 1 callersFunctiondeleteDICOMStore
deleteDICOMStore deletes an DICOM store.
healthcare/dicom_store_delete.go:27
↓ 1 callersFunctiondeleteDataExchange
deleteDataExchange deletes a data exchange.
bigquery/bigquery_analyticshub_quickstart/main.go:158
↓ 1 callersFunctiondeleteDataset
deleteDataset demonstrates the deletion of an empty dataset.
bigquery/snippets/dataset/bigquery_delete_dataset.go:26
↓ 1 callersFunctiondeleteDataset
deleteDataset demonstrates deleting a dataset from BigQuery.
bigquery/snippets_preview/dataset/bigquery_delete_dataset.go:30
↓ 1 callersFunctiondeleteDataset
(w io.Writer, projectID, location, datasetID string)
aiplatform/snippets/delete_dataset.go:32
↓ 1 callersFunctiondeleteDatasetLabel
deleteDatasetLabel demonstrates removing a specific label from a dataset's metadata.
bigquery/snippets/dataset/bigquery_delete_label_dataset.go:26
↓ 1 callersFunctiondeleteDenyPolicy
deleteDenyPolicy deletes the policy if you no longer want to enforce the rules in a deny policy.
iam/deny/delete_deny_policy.go:29
↓ 1 callersFunctiondeleteDisk
(ctx context.Context, projectId, zone, diskName string)
compute/snapshots/snapshots_test.go:82
← previousnext →1,301–1,400 of 5,023, ranked by callers