MCPcopy Create free account

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

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

↓ 1 callersFunctioncreatePushNoWrapperSubscription
createPushNoWrapperSubscription creates a push subscription where messages are delivered in the HTTP body.
pubsub/v1samples/subscriptions/create_push_no_wrapper_subscription.go:28
↓ 1 callersFunctioncreatePushNoWrapperSubscription
createPushNoWrapperSubscription creates a push subscription where messages are delivered in the HTTP body.
pubsub/subscriptions/create_push_no_wrapper_subscription.go:28
↓ 1 callersFunctioncreateQuickstartTag
createQuickstartTag populates tag values according to the template, and attaches the tag to the designeated entry.
datacatalog/datacatalog_quickstart/main.go:148
↓ 1 callersFunctioncreateQuickstartTagTemplate
createQuickstartTagTemplate registers a tag template in datacatalog.
datacatalog/datacatalog_quickstart/main.go:83
↓ 1 callersFunctioncreateRS256JWT
(t *testing.T, email string, aud string)
appengine/go11x/pubsub/authenicated_push/main_test.go:162
↓ 1 callersFunctioncreateRedactImageTemplate
(projectID, redactImageTemplate string)
dlp/snippets/deid/deid_test.go:349
↓ 1 callersFunctioncreateRegionalDiskFromDisk
createRegionalDiskFromDisk creates a new regional disk with the contents of an already existitng zonal disk. Disk type and size may differ.
compute/disks/create_regional_from_disk.go:30
↓ 1 callersFunctioncreateRegionalDiskFromSnapshot
createRegionalDiskFromSnapshot creates a new regional disk with the contents of an already existitng zonal disk snapshot.
compute/disks/create_regional_from_snapshot.go:30
↓ 1 callersFunctioncreateRegionalParam
createRegionalParam creates a parameter regional of the format type "unformatted" using the Parameter Manager SDK for GCP. w: The io.Writer object us
parametermanager/regional_samples/create_regional_param.go:36
↓ 1 callersFunctioncreateRegionalParamVersion
createRegionalParamVersion creates a new version of a regional parameter with an unformatted payload in Parameter Manager. w: The io.Writer object us
parametermanager/regional_samples/create_regional_param_version.go:38
↓ 1 callersFunctioncreateRegionalParamVersionWithSecret
createRegionalParamVersionWithSecret creates a new version of a regional parameter with a JSON payload that has a secret reference in it using the Par
parametermanager/regional_samples/create_regional_param_version_with_secret.go:38
↓ 1 callersFunctioncreateRegionalParamWithKmsKey
createRegionalParamWithKmsKey creates a regional parameter with kms_key using the Parameter Manager SDK for GCP. w: The io.Writer object used to writ
parametermanager/regional_samples/create_regional_param_with_kms_key.go:39
↓ 1 callersFunctioncreateRegionalSecretWithAnnotations
createRegionalSecretWithAnnotations creates a new secret with the given name and annotations.
secretmanager/regional_samples/create_regional_secret_with_annotations.go:29
↓ 1 callersFunctioncreateRegionalSecretWithLabels
createSecretWithLabels creates a new secret with the given name and labels.
secretmanager/regional_samples/create_regional_secret_with_labels.go:29
↓ 1 callersFunctioncreateRegionalSecretWithTags
createSecretWithTags creates a new regional secret with the given name and tags.
secretmanager/regional_samples/create_regional_secret_with_tags.go:29
↓ 1 callersFunctioncreateRemoteConfigIfNone
()
run/service-health/main.go:455
↓ 1 callersFunctioncreateReplicatedBootDisk
createReplicatedBootDisk creates a new VM with replicated boot disk
compute/instances/create-start-instance/create_instance_with_replicated_boot_disk.go:29
↓ 1 callersFunctioncreateReservation
(w io.Writer, projectID, region, reservationID string, throughputCapacity int)
pubsublite/admin/create_reservation.go:26
↓ 1 callersFunctioncreateReservationFromVM
Creates the reservation from provided VM
compute/reservations/create_reservation_from_vm.go:30
↓ 1 callersFunctioncreateRole
createRole creates a custom role.
iam/snippets/roles_create.go:27
↓ 1 callersFunctioncreateRoute
createRoute creates a route with given name inside given project.
compute/route/create_route.go:29
↓ 1 callersFunctioncreateRouteToWindowsActivationHost
createRouteToWindowsActivationHost creates a new route to kms.windows.googlecloud.com (35.190.247.13) for Windows activation.
compute/instances/create-manage-windows-instances/create_route_to_windows_activation_host.go:30
↓ 1 callersFunctioncreateRoutine
createRoutine demonstrates creating a new BigQuery UDF using the routine API.
bigquery/snippets/routine/bigquery_create_routine.go:26
↓ 1 callersFunctioncreateRoutine
createRoutine demonstrates creation of a new routine that represents a SQL User Defined Function (UDF).
bigquery/snippets_preview/routine/bigquery_create_routine.go:33
↓ 1 callersFunctioncreateRoutineDDL
createRoutineDDL demonstrates creating a new BigQuery UDF using a DDL query.
bigquery/snippets/routine/bigquery_create_routine_ddl.go:26
↓ 1 callersFunctioncreateSavedQuery
(w io.Writer, projectID, savedQueryID string)
asset/quickstart/create-saved-query/create_saved_query.go:29
↓ 1 callersFunctioncreateScheduledQuery
createScheduledQuery schedule a query to run every 24 hours with a destination table identifier based on the run date.
bigquery/snippets/datatransfer/bigquerydatatransfer_create_scheduled_query.go:30
↓ 1 callersFunctioncreateScriptJob
Creates and runs a job that executes the specified script
batch/create_with_script_no_mounting.go:29
↓ 1 callersFunctioncreateScriptJobWithBucket
Creates and runs a job that executes the specified script
batch/create_with_gcs_bucket.go:29
↓ 1 callersFunctioncreateScriptJobWithTemplate
Creates and runs a job that executes the specified script
batch/create_with_template.go:29
↓ 1 callersFunctioncreateSecret
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/create_secret.go:30
↓ 1 callersFunctioncreateSecretWithAnnotations
createSecretWithAnnotations creates a new secret with the given name and annotations.
secretmanager/create_secret_with_annotations.go:28
↓ 1 callersFunctioncreateSecretWithLabels
createSecretWithLabels creates a new secret with the given name and labels.
secretmanager/create_secret_with_labels.go:28
↓ 1 callersFunctioncreateSecretWithTTL
createSecretWithTTL creates a new secret with the given name and ttl.
secretmanager/create_secret_ttl.go:30
↓ 1 callersFunctioncreateSecretWithTags
createSecretWithTags creates a new secret with the given name and tags.
secretmanager/create_secret_with_tags.go:28
↓ 1 callersFunctioncreateSecurityHealthAnalyticsCustomModule
createSecurityHealthAnalyticsCustomModule creates a custom module for Security Health Analytics.
securitycenter/management_api/create_security_health_analytics_custom_module.go:32
↓ 1 callersFunctioncreateService
(w io.Writer, projectID string)
servicedirectory/create_service.go:27
↓ 1 callersFunctioncreateServiceAccount
createServiceAccount creates a service account.
iam/snippets/service_accounts_create.go:27
↓ 1 callersFunctioncreateServiceAccount
createServiceAccount creates a service account.
iam/quickstart/quickstart_test.go:67
↓ 1 callersFunctioncreateSharedReservation
Creates shared reservation from given template in particular zone
compute/reservations/create_shared_reservation.go:28
↓ 1 callersFunctioncreateSink
(projectID string)
logging/exportlogs/create_sink.go:25
↓ 1 callersFunctioncreateSlate
createSlate creates a slate. A slate is displayed when ads are not available.
media/videostitcher/create_slate.go:28
↓ 1 callersFunctioncreateSnapshot
( ctx context.Context, projectID, snapshotName string, disk *computepb.Disk, locations *[]string, )
compute/disk-images/disk_image_test.go:94
↓ 1 callersFunctioncreateSnapshotSchedule
(projectID, scheduleName, region string)
compute/disks/disks_test.go:284
↓ 1 callersFunctioncreateSource
(w io.Writer, orgId string)
securitycenter/muteconfig/mute_config_test.go:84
↓ 1 callersFunctioncreateSource
(w io.Writer, orgId string)
securitycenter/muteconfigv2/mute_config_test.go:84
↓ 1 callersFunctioncreateSource
createSource creates a new source for organization orgID. orgID is the numeric identifier of the organization
securitycenter/findings/create_source.go:29
↓ 1 callersFunctioncreateSpecificConsumableReservation
(projectID, zone, reservationName string)
compute/reservations/reservations_test.go:207
↓ 1 callersFunctioncreateSpecificSharedReservation
(client ClientInterface, projectID, baseProjectId, zone, reservationName string)
compute/reservations/reservations_test.go:166
↓ 1 callersFunctioncreateSpotInstance
createSpotInstance creates a new Spot VM instance with Debian 10 operating system.
compute/instances/spot/create_spot.go:30
↓ 1 callersFunctioncreateStartAtDocSnapshotQuery
(ctx context.Context, client *firestore.Client)
firestore/query.go:301
↓ 1 callersFunctioncreateStoredInfoType
createStoredInfoType creates a custom stored info type based on your input data.
dlp/snippets/metadata/create_stored_infotype.go:27
↓ 1 callersFunctioncreateStoredInfoTypeForTesting
(t *testing.T, projectID, outputPath string)
dlp/snippets/inspect/inspect_test.go:328
↓ 1 callersFunctioncreateStoredInfoTypeForTesting
(t *testing.T, projectID, outputPath string)
dlp/snippets/metadata/metadata_test.go:129
↓ 1 callersFunctioncreateStructuredDeidentifiedTemplate
(projectID, deidentifyStructuredTemplateID string)
dlp/snippets/deid/deid_test.go:300
↓ 1 callersFunctioncreateStructuredParam
createStructuredParam creates a new parameter with the specified format in Parameter Manager. w: The io.Writer object used to write the output. proje
parametermanager/create_structured_param.go:35
↓ 1 callersFunctioncreateStructuredParamVersion
createStructuredParamVersion creates a new version of a parameter with a JSON payload in Parameter Manager. w: The io.Writer object used to write the
parametermanager/create_structured_param_version.go:36
↓ 1 callersFunctioncreateStructuredRegionalParam
createStructuredRegionalParam creates a parameter regional of the format type given as a method argument using the Parameter Manager SDK for GCP. w:
parametermanager/regional_samples/create_structured_regional_param.go:37
↓ 1 callersFunctioncreateStructuredRegionalParamVersion
createStructuredRegionalParamVersion creates a new version of a regional parameter with a JSON payload in Parameter Manager. w: The io.Writer object
parametermanager/regional_samples/create_structured_regional_param_version.go:38
↓ 1 callersFunctioncreateSubWithDeadLetter
createSubWithDeadLetter creates a subscription with a dead letter policy.
pubsub/subscriptions/dead_letter_create.go:28
↓ 1 callersFunctioncreateSubscription
(w io.Writer, projectID, region, location, topicID, subID string)
pubsublite/admin/create_subscription.go:26
↓ 1 callersFunctioncreateSubscriptionWithExactlyOnceDelivery
(w io.Writer, projectID, subID string, topic *pubsub.Topic)
pubsub/v1samples/subscriptions/create_exactly_once_delivery.go:26
↓ 1 callersFunctioncreateSubscriptionWithExactlyOnceDelivery
(w io.Writer, projectID, topic, subscription string)
pubsub/subscriptions/create_exactly_once_delivery.go:27
↓ 1 callersFunctioncreateSubscriptionWithSMT
createSubscriptionWithSMT creates a subscription with a single message transform function applied.
pubsub/v1samples/subscriptions/create_message_transforms.go:27
↓ 1 callersFunctioncreateSubscriptionWithSMT
createSubscriptionWithSMT creates a subscription with a single message transform function applied.
pubsub/subscriptions/create_message_transforms.go:28
↓ 1 callersFunctioncreateTable
createTable demonstrates creation of a new table with a predefined schema into an existing dataset.
bigquery/snippets_preview/table/bigquery_create_table.go:33
↓ 1 callersFunctioncreateTableAndWidenLoad
createTableAndWidenLoad demonstrates augmenting a table's schema to add a new column via a load job.
bigquery/snippets/loadingdata/bigquery_add_column_load_append.go:27
↓ 1 callersFunctioncreateTableAndWidenQuery
createTableAndWidenQuery demonstrates how the schema of a table can be modified to add columns by appending query results that include the new columns
bigquery/snippets/querying/bigquery_add_column_query_append.go:27
↓ 1 callersFunctioncreateTableClustered
createTableClustered demonstrates creating a BigQuery table with advanced properties like partitioning and clustering features.
bigquery/snippets/table/bigquery_create_table_clustered.go:28
↓ 1 callersFunctioncreateTableComplexSchema
createTableComplexSchema demonstrates creating a BigQuery table and specifying a complex schema that includes an array of Struct types.
bigquery/snippets/table/bigquery_nested_repeated_schema.go:28
↓ 1 callersFunctioncreateTableExternalHivePartitioned
createTableExternalHivePartitioned demonstrates creating an external table with hive partitioning.
bigquery/snippets/table/bigquery_create_table_external_hivepartitioned.go:26
↓ 1 callersFunctioncreateTableFromTemplateTable
createTableFromTemplateTable demonstrates how to use the properties of one table (schema, partitioning, clustering) to create a new empty table with t
bigquery/snippets/table/bigquery_create_table_from_template.go:28
↓ 1 callersFunctioncreateTableInsideDataset
(projectID, dataSetID string)
dlp/snippets/inspect/inspect_test.go:191
↓ 1 callersFunctioncreateTableInsideDataset
(projectID, dataSetID string)
dlp/snippets/deid/deid_test.go:591
↓ 1 callersFunctioncreateTableInsideDataset
(projectID, dataSetID, tableID string)
dlp/snippets/risk/risk_test.go:102
↓ 1 callersFunctioncreateTablePartitioned
createTablePartitioned demonstrates creating a table and specifying a time partitioning configuration.
bigquery/snippets/table/bigquery_create_table_partitioned.go:27
↓ 1 callersFunctioncreateTableRangePartitioned
createTableRangeParitioned demonstrates creating a table and specifying a range partitioning configuration.
bigquery/snippets/table/bigquery_create_table_range_partitioned.go:27
↓ 1 callersFunctioncreateTableWithCMEK
createTableWithCMEK demonstrates creating a table protected with a customer managed encryption key.
bigquery/snippets/table/bigquery_create_table_cmek.go:26
↓ 1 callersFunctioncreateTaxonomy
createTaxonomy creates a taxonomy resource, which holds the collection of policy tags. This example marks the taxonomy as valid for defining fine gra
datacatalog/snippets/policytagmanager/create_taxonomy.go:31
↓ 1 callersFunctioncreateTemplate
createTemplate creates a new instance template with the provided name and a specific instance configuration. Includes all the setup needed for Batch s
batch/create_with_template_test.go:66
↓ 1 callersFunctioncreateTemplate
createTemplate creates a new instance template with the provided name and a specific instance configuration.
compute/instance-templates/create-instance-templates/create_template.go:29
↓ 1 callersFunctioncreateTemplateFromInstance
createTemplateFromInstance creates a new instance template based on an existing instance. This new template specifies a different boot disk.
compute/instance-templates/create-instance-templates/create_template_from_instance.go:30
↓ 1 callersFunctioncreateTemplateNotConsumeReservation
createInstanceNotConsumeReservation creates a new instance template, which won't consume reservations
compute/reservations/create_template_not_consume_reservation.go:29
↓ 1 callersFunctioncreateTemplateWithSubnet
createTemplateWithSubnet creates an instance template that uses a provided subnet.
compute/instance-templates/create-instance-templates/create_template_with_subnet.go:29
↓ 1 callersFunctioncreateTestDatabase
(db string, extraStatements ...string)
spanner/spanner_snippets/spanner/integration_test.go:1653
↓ 1 callersFunctioncreateTestDataset
createTestDataset sets up an ephemeral test dataset for use in the quickstart. Call the returned function afterwards to clean up the dataset.
bigquery/bigquery_analyticshub_quickstart/main_test.go:31
↓ 1 callersFunctioncreateTestTable
createTestTable creates a BQ dataset and table, allowing the quickstart to use the entry for applying a tag. It returns a function for cleaning up th
datacatalog/datacatalog_quickstart/main_test.go:74
↓ 1 callersFunctioncreateTopic
(w io.Writer, projectID, region, location, topicID, reservation string)
pubsublite/admin/create_topic.go:26
↓ 1 callersFunctioncreateTopic
(w io.Writer, projectID, region, clusterID, topicID string, partitionCount, replicationFactor int32, configs m
managedkafka/topics/create_topic.go:29
↓ 1 callersFunctioncreateTopic
(ctx context.Context, t *testing.T, projectID, topicName string)
asset/quickstart/delete-feed/main_test.go:97
↓ 1 callersFunctioncreateTopic
(ctx context.Context, t *testing.T, projectID, topicName string)
asset/quickstart/create-feed/main_test.go:85
↓ 1 callersFunctioncreateTopic
(ctx context.Context, t *testing.T, projectID, topicName string)
asset/quickstart/list-feeds/main_test.go:103
↓ 1 callersFunctioncreateTopic
(ctx context.Context, t *testing.T, projectID, topicName string)
asset/quickstart/get-feed/main_test.go:103
↓ 1 callersFunctioncreateTopic
(ctx context.Context, t *testing.T, projectID, topicName string)
asset/quickstart/update-feed/main_test.go:109
↓ 1 callersFunctioncreateTopicWithAWSMSKIngestion
(w io.Writer, projectID, topicID, clusterARN, mskTopic, awsRoleARN, gcpSA string)
pubsub/topics/create_topic_aws_msk_ingestion.go:27
↓ 1 callersFunctioncreateTopicWithAWSMSKIngestion
(w io.Writer, projectID, topicID, clusterARN, mskTopic, awsRoleARN, gcpSA string)
pubsub/v1samples/topics/create_topic_aws_msk_ingestion.go:26
↓ 1 callersFunctioncreateTopicWithAzureEventHubsIngestion
(w io.Writer, projectID, topicID, resourceGroup, namespace, eventHub, clientID, tenantID, subID, gcpSA string)
pubsub/topics/create_topic_azure_event_hubs_ingestion.go:27
↓ 1 callersFunctioncreateTopicWithAzureEventHubsIngestion
(w io.Writer, projectID, topicID, resourceGroup, namespace, eventHub, clientID, tenantID, subID, gcpSA string)
pubsub/v1samples/topics/create_topic_azure_event_hubs_ingestion.go:26
↓ 1 callersFunctioncreateTopicWithCloudStorageIngestion
(w io.Writer, projectID, topicID, bucket, matchGlob, minimumObjectCreateTime, delimiter string)
pubsub/topics/create_topic_gcs_ingestion.go:29
↓ 1 callersFunctioncreateTopicWithCloudStorageIngestion
(w io.Writer, projectID, topicID, bucket, matchGlob, minimumObjectCreateTime string)
pubsub/v1samples/topics/create_topic_gcs_ingestion.go:27
← previousnext →1,201–1,300 of 5,023, ranked by callers