-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
module cloud.google.com/go/pubsub | ||
|
||
go 1.21 | ||
|
||
require ( | ||
cloud.google.com/go v0.116.0 | ||
cloud.google.com/go/iam v1.2.2 | ||
cloud.google.com/go/kms v1.20.1 | ||
github.com/google/go-cmp v0.6.0 | ||
github.com/google/uuid v1.6.0 | ||
github.com/googleapis/gax-go/v2 v2.14.0 | ||
go.einride.tech/aip v0.68.0 | ||
go.opencensus.io v0.24.0 | ||
go.opentelemetry.io/otel v1.29.0 | ||
go.opentelemetry.io/otel/sdk v1.29.0 | ||
go.opentelemetry.io/otel/trace v1.29.0 | ||
golang.org/x/oauth2 v0.24.0 | ||
golang.org/x/sync v0.10.0 | ||
golang.org/x/time v0.8.0 | ||
google.golang.org/api v0.211.0 | ||
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 | ||
google.golang.org/grpc v1.67.1 | ||
google.golang.org/protobuf v1.35.2 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go/auth v0.12.1 // indirect | ||
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect | ||
cloud.google.com/go/compute/metadata v0.5.2 // indirect | ||
cloud.google.com/go/longrunning v0.6.2 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/google/s2a-go v0.1.8 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.29.0 // indirect | ||
golang.org/x/crypto v0.30.0 // indirect | ||
golang.org/x/net v0.32.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect | ||
) |
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package pubsub | ||
|
||
// SetGoogleClientInfo sets the name and version of the application in | ||
// the `x-goog-api-client` header passed on each request. Also passes any | ||
// provided key-value pairs. Intended for use by Google-written clients. | ||
// | ||
// Internal use only. | ||
func (tc *TopicAdminClient) SetGoogleClientInfo(keyval ...string) { | ||
tc.setGoogleClientInfo(keyval...) | ||
} | ||
|
||
// SetGoogleClientInfo sets the name and version of the application in | ||
// the `x-goog-api-client` header passed on each request. Also passes any | ||
// provided key-value pairs. Intended for use by Google-written clients. | ||
// | ||
// Internal use only. | ||
func (sc *SubscriptionAdminClient) SetGoogleClientInfo(keyval ...string) { | ||
sc.setGoogleClientInfo(keyval...) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.