Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/golang-samples
/ types & classes
Types & classes
329 in github.com/GoogleCloudPlatform/golang-samples
⨍
Functions
5,023
◇
Types & classes
329
↓ 9 callers
FuncType
appHandler
https://blog.golang.org/error-handling-and-go
getting-started/bookshelf/main.go:301
↓ 1 callers
FuncType
RoundTripFn
func(req *http.Request) *http.Response
appengine/go11x/pubsub/authenicated_push/main_test.go:243
↓ 1 callers
FuncType
appHandler
More info about this method of error handling can be found at: http://blog.golang.org/error-handling-and-go
bigtable/usercounter/main.go:166
↓ 1 callers
TypeAlias
corsHandler
corsHandler wraps a HTTP handler and applies the appropriate responses for Cross-Origin Resource Sharing.
endpoints/getting-started/app.go:79
Struct
Account
[END gae_datastore_uses_for_transactions_1] [START gae_datastore_uses_for_transactions_2]
docs/appengine/datastore/transactions/transactions.go:81
Struct
Address
docs/appengine/datastore/entities/entities.go:30
Struct
AnalyticsEvent
AnalyticsEvent is the payload of an Analytics log event.
functions/console_snippets/google_analytics/google_analytics.go:29
Struct
App
App describes an App Engine application.
internal/aeintegrate/aeintegrate.go:68
Struct
Attachment
functions/functionsv2/slack/search.go:45
Struct
AuditLogEntry
AuditLogEntry represents a LogEntry as described at https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry
functions/functionsv2/label_gce_instance/label_gce_instance.go:36
Struct
AuditLogEntry
AuditLogEntry represents a LogEntry as described at https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry
functions/functionsv2/helloauditlog/hello_auditlog.go:35
Struct
AuditLogProtoPayload
AuditLogProtoPayload represents AuditLog within the LogEntry.protoPayload See https://cloud.google.com/logging/docs/reference/audit/auditlog/rest/Shar
functions/functionsv2/label_gce_instance/label_gce_instance.go:42
Struct
AuditLogProtoPayload
AuditLogProtoPayload represents AuditLog within the LogEntry.protoPayload See https://cloud.google.com/logging/docs/reference/audit/auditlog/rest/Shar
functions/functionsv2/helloauditlog/hello_auditlog.go:41
Struct
AuthEvent
AuthEvent is the payload of a Firestore Auth event.
functions/firebase/auth.go:27
Struct
AuthEvent
AuthEvent is the payload of a Firebase Auth event.
functions/console_snippets/firebase_auth/firebase_auth.go:28
Struct
BankAccount
[START datastore_transactional_update]
datastore/snippets/snippet_test.go:582
Struct
BankAccount
[END datastore_example_1]
docs/appengine/tools/unittest/aetest2.go:85
Struct
BigQueryTableItem
dlp/snippets/inspect/inspect_test.go:234
Struct
BigQueryTableItem
dlp/snippets/deid/deid_test.go:634
Struct
BigQueryTableItem
dlp/snippets/risk/risk_test.go:145
Struct
Book
Book holds metadata about a book.
getting-started/bookshelf/bookshelf.go:28
Interface
BookDatabase
BookDatabase provides thread-safe access to a database of books.
getting-started/bookshelf/bookshelf.go:38
Struct
Bookshelf
Bookshelf holds a BookDatabase and storage info.
getting-started/bookshelf/bookshelf.go:56
Struct
BoundingBox
BoundingBox represents a bounding box with coordinates and label.
genai/bounding_box/boundingbox_with_txt_img.go:35
Struct
CalendarEvent
CalendarEvent represents the structured output we want the model to produce.
genai/live/live_structured_ouput_with_txt.go:31
Struct
City
[START firestore_data_custom_type_definition] City represents a city.
firestore/custom_type_definition.go:20
Interface
ClientInterface
compute/reservations/mock_shared_project.go:27
Struct
CoffeeBean
firestore/vector_store.go:26
Struct
ComplexType
ComplexType represents a complex row item
bigquery/snippets/table/bigquery_inserting_data_types.go:28
Struct
Config
run/jobs/main.go:27
Struct
Context
Context holds information useful for tests.
internal/testutil/testutil.go:31
Struct
Counter
Counter is a collection of documents (shards) to realize counter with high frequency.
firestore/solution_counters.go:30
Struct
Counter
docs/appengine/datastore/transactions/transactions.go:34
Struct
Counter
docs/appengine/taskqueue/push/taskqueue_push.go:34
Struct
Country
Country describes a country and the cities inside it.
spanner/spanner_arrays/main.go:34
Struct
DatesTime
DatesTime shows different date/time representation
bigquery/snippets/table/bigquery_inserting_data_types.go:38
Struct
DetailedDesc
functions/functionsv2/slack/format.go:39
Struct
Doc
[END gae_search_deleting_documents_from_an_index]
docs/appengine/search/search.go:117
Struct
Employee
docs/appengine/datastore/index.go:28
Struct
Employee
docs/appengine/datastore/entities/overview.go:25
Struct
EntitySearchResult
functions/functionsv2/slack/format.go:32
Struct
Entry
[START cloudrun_manual_logging_object] Entry defines a log entry.
run/logging-manual/main.go:57
TypeAlias
EnvVars
EnvVars is a collection of environment variables.
internal/cloudrunci/envvars.go:25
Struct
EventDimensions
EventDimensions holds Analytics event dimensions.
functions/console_snippets/google_analytics/google_analytics.go:35
Struct
EventLog
docs/appengine/datastore/projectionqueries/projectionqueries.go:26
Struct
ExtendedPayload
Same as `idtoken.Payload` with the addition of `email` and `email_verified` claims present in Cloud Pub/Sub JWT tokens.
appengine/go11x/pubsub/authenicated_push/main_test.go:179
Struct
FakeInstancesServer
functions/functionsv2/label_gce_instance/label_gce_instance_test.go:33
Struct
FirestoreEvent
FirestoreEvent is the payload of a Firestore event.
functions/firebase/upper/upper.go:33
Struct
FirestoreEvent
FirestoreEvent is the payload of a Firestore event.
functions/firebase/hello/firestore.go:30
Struct
FirestoreEvent
FirestoreEvent is the payload of a Firestore event.
functions/console_snippets/firestore/firestore.go:28
Struct
FirestoreValue
FirestoreValue holds Firestore fields.
functions/firebase/upper/upper.go:42
Struct
FirestoreValue
FirestoreValue holds Firestore fields.
functions/firebase/hello/firestore.go:39
Struct
FirestoreValue
FirestoreValue holds Firestore fields.
functions/console_snippets/firestore/firestore.go:37
Struct
Foo
docs/appengine/datastore/projectionqueries/projectionqueries.go:67
Struct
GCSEvent
GCSEvent is the payload of a GCS event.
functions/helloworld/hello_cloud_storage.go:30
Struct
GCSEvent
[END functions_imagemagick_setup] [START functions_imagemagick_analyze] GCSEvent is the payload of a GCS event.
functions/imagemagick/imagemagick.go:60
Struct
GCSEvent
GCSEvent is the payload of a GCS event.
functions/ocr/app/setup.go:43
Struct
GCSEvent
GCSEvent is the payload of a GCS event.
functions/console_snippets/gcs/gcs.go:24
Struct
GCSEvent
[END cloudrun_imageproc_handler_setup] [START cloudrun_imageproc_handler_analyze] GCSEvent is the payload of a GCS event.
run/image-processing/imagemagick/imagemagick.go:60
Struct
GKEPlatform
GKEPlatform defines the GKE platform for Cloud Run services.
internal/cloudrunci/platform.go:75
Struct
GRPCProbe
GRPCProbe describes a probe definition using gRPC.
internal/cloudrunci/cloudrunci.go:59
TypeAlias
Genre
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:39
TypeAlias
Grade
genai/controlled_generation/ctrlgen_with_nested_class_schema.go:27
Interface
GreeterClient
Client API for Greeter service
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:77
Interface
GreeterServer
Server API for Greeter service
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:101
Struct
Greeting
docs/appengine/datastore/consistency/consistency.go:23
Struct
GreetingRequest
functions/typed/greeting/greeting.go:37
Struct
GreetingResponse
functions/typed/greeting/greeting.go:42
Struct
HTTPGetProbe
HTTPGetProbe describes a probe definition using HTTP Get.
internal/cloudrunci/cloudrunci.go:53
Struct
HelloReply
The response message containing the greetings
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:53
Struct
HelloRequest
please upgrade the proto package The request message containing the user's name.
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:43
Struct
Image
functions/functionsv2/slack/format.go:43
Struct
InformationSchema
The `user_defined_...` columns are only available for PostgreSQL databases.
spanner/spanner_snippets/spanner/pg_spanner_information_schema.go:76
Struct
InstanceClient
compute/reservations/mock_shared_project.go:53
Interface
InstanceClientInterface
compute/reservations/mock_shared_project.go:47
Struct
InstanceMetadata
run/service-health/main.go:66
Struct
InstanceView
run/service-health/main.go:58
Struct
InstrumentClass
genai/controlled_generation/ctrlgen_with_enum_class_schema.go:27
Struct
Item
Item represents a row item.
bigquery/snippets/table/bigquery_table_insert_rows.go:26
Struct
Item
dlp/snippets/inspect/inspect_test.go:116
Struct
Item
We explicitly requested a response in JSON with a specific schema, so we're expecting to properly decode the output as a slice.
vertexai/controlled-generation/controlledgen_schema_test.go:40
Struct
ItemList
functions/functionsv2/slack/format.go:26
Struct
ItemListElement
functions/functionsv2/slack/format.go:29
Struct
Job
Job describes a Cloud Run Job The typical usage flow of a Job is to call the following methods, which call the corresponding "gcloud run jobs" command
internal/cloudrunci/cloudrunjobs.go:45
Struct
KubernetesPlatform
KubernetesPlatform defines use of a knative-compatible kubernetes cluster beyond GKE.
internal/cloudrunci/platform.go:103
Struct
ManagedPlatform
ManagedPlatform defines the Cloud Run (fully managed) hosting platform.
internal/cloudrunci/platform.go:38
Interface
MarkdownRenderer
MarkdownRenderer defines an interface for rendering Markdown to HTML.
run/markdown-preview/editor/service.go:30
Struct
Message
Message is the a Slack message event. see https://api.slack.com/docs/message-formatting
functions/functionsv2/slack/search.go:55
Struct
Message
Message is the a Slack message event. see https://api.slack.com/docs/message-formatting
functions/slack/search.go:60
Struct
Message
Encapsulates a message from a User to her or his Friend with message Text
getting-started/devflowapp/services/services.go:37
Struct
MessagePublishedData
MessagePublishedData contains the full Pub/Sub message See the documentation for more details: https://cloud.google.com/eventarc/docs/cloudevents#pubs
functions/functionsv2/hellopubsub/hello_pubsub.go:36
Struct
MessagePublishedData
MessagePublishedData contains the full Pub/Sub message See the documentation for more details: https://cloud.google.com/eventarc/docs/cloudevents#pubs
functions/functionsv2/log/process_log_entry.go:36
Struct
MessagePublishedData
Eventarc sends a MessagePublishedData object. See the documentation for additional fields and more details: https://cloud.google.com/eventarc/docs/clo
functions/functionsv2/ocr/app/setup.go:44
Struct
MessagePublishedData
MessagePublishedData contains the full Pub/Sub message See the documentation for more details: https://cloud.google.com/eventarc/docs/cloudevents#pubs
functions/functionsv2/tips/retry.go:35
Struct
MessagePublishedData
MessagePublishedData contains the full Pub/Sub message See the documentation for more details: https://cloud.google.com/eventarc/docs/cloudevents#pubs
functions/functionsv2/tips/infinite_retries/infinite_retries.go:37
Interface
MessageService
Interface for sending messages
getting-started/devflowapp/services/services.go:27
TypeAlias
MockMessageService
Mock object that saves the messages in app memory
getting-started/devflowapp/services/services_mock.go:24
Struct
MyData
MyData represents a value from Firestore. The type definition depends on the format of your database.
functions/firebase/upper/upper.go:54
Struct
MyStruct
bigquery/snippets/querying/bigquery_query_params_structs.go:38
Struct
Person
genai/live/live_examples_test.go:34
next →
1–100 of 329, ranked by callers