Google Cloud Client Libraries for Go.

Google Cloud Client Libraries for Go

Go Reference

Go packages for Google Cloud Platform services.

import "cloud.google.com/go"

To install the packages on your system, do not clone the repo. Instead:

  1. Change to your project directory:

    cd /my/cloud/project
    
  2. Get the package you want to use. Some products have their own module, so it's best to go get the package(s) you want to use:

    $ go get cloud.google.com/go/firestore # Replace with the package you want to use.
    

NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.

Supported APIs

Google API Status Package
Asset stable cloud.google.com/go/asset/apiv1
Automl stable cloud.google.com/go/automl/apiv1
BigQuery stable cloud.google.com/go/bigquery
Bigtable stable cloud.google.com/go/bigtable
Cloudbuild stable cloud.google.com/go/cloudbuild/apiv1
Cloudtasks stable cloud.google.com/go/cloudtasks/apiv2
Container stable cloud.google.com/go/container/apiv1
ContainerAnalysis beta cloud.google.com/go/containeranalysis/apiv1
Dataproc stable cloud.google.com/go/dataproc/apiv1
Datastore stable cloud.google.com/go/datastore
Debugger stable cloud.google.com/go/debugger/apiv2
Dialogflow stable cloud.google.com/go/dialogflow/apiv2
Data Loss Prevention stable cloud.google.com/go/dlp/apiv2
ErrorReporting alpha cloud.google.com/go/errorreporting
Firestore stable cloud.google.com/go/firestore
IAM stable cloud.google.com/go/iam
IoT stable cloud.google.com/go/iot/apiv1
IRM alpha cloud.google.com/go/irm/apiv1alpha2
KMS stable cloud.google.com/go/kms/apiv1
Natural Language stable cloud.google.com/go/language/apiv1
Logging stable cloud.google.com/go/logging
Memorystore alpha cloud.google.com/go/redis/apiv1
Monitoring stable cloud.google.com/go/monitoring/apiv3
OS Login stable cloud.google.com/go/oslogin/apiv1
Pub/Sub stable cloud.google.com/go/pubsub
Phishing Protection alpha cloud.google.com/go/phishingprotection/apiv1beta1
reCAPTCHA Enterprise alpha cloud.google.com/go/recaptchaenterprise/apiv1beta1
Recommender beta cloud.google.com/go/recommender/apiv1beta1
Scheduler stable cloud.google.com/go/scheduler/apiv1
Securitycenter stable cloud.google.com/go/securitycenter/apiv1
Spanner stable cloud.google.com/go/spanner
Speech stable cloud.google.com/go/speech/apiv1
Storage stable cloud.google.com/go/storage
Talent alpha cloud.google.com/go/talent/apiv4beta1
Text To Speech stable cloud.google.com/go/texttospeech/apiv1
Trace stable cloud.google.com/go/trace/apiv2
Translate stable cloud.google.com/go/translate
Video Intelligence beta cloud.google.com/go/videointelligence/apiv1beta2
Vision stable cloud.google.com/go/vision/apiv1
Webrisk alpha cloud.google.com/go/webrisk/apiv1beta1

Alpha status: the API is still being actively developed. As a result, it might change in backward-incompatible ways and is not recommended for production use.

Beta status: the API is largely complete, but still has outstanding features and bugs to be addressed. There may be minor backwards-incompatible changes where necessary.

Stable status: the API is mature and ready for production use. We will continue addressing bugs and feature requests.

Documentation and examples are available at pkg.go.dev/cloud.google.com/go

Go Versions Supported

We currently support Go versions 1.11 and newer.

Authorization

By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.

client, err := storage.NewClient(ctx)

To authorize using a JSON key file, pass option.WithCredentialsFile to the NewClient function of the desired package. For example:

client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))

You can exert more control over authorization by using the golang.org/x/oauth2 package to create an oauth2.TokenSource. Then pass option.WithTokenSource to the NewClient function: snip:# (auth-ts)

tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.

Links

Owner
Google APIs
Clients for Google APIs and tools that help produce them.
Google APIs
Comments
  • fix(all): Update hand-written clients to not use WithEndpoint override

    fix(all): Update hand-written clients to not use WithEndpoint override

    -logging clients delegate to the gapic generated client with the correct defaults, so no need to override. -bigtable and spanner clients needs to be manually updated to use DefaultEndpoint and DefaultMTLSEndpoint

  • chore: release main

    chore: release main

    :robot: I have created a release beep boop

    accessapproval: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • accessapproval: start generating stubs dir (de2d180)
    accesscontextmanager: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • accesscontextmanager: start generating stubs dir (de2d180)
    apigateway: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • apigateway: start generating stubs dir (de2d180)
    apigeeconnect: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • apigeeconnect: start generating stubs dir (de2d180)
    appengine: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • appengine: start generating stubs dir (de2d180)
    artifactregistry: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • artifactregistry: start generating stubs dir (de2d180)
    asset: 1.9.0

    1.9.0 (2022-10-25)

    Features

    • asset: start generating stubs dir (de2d180)
    assuredworkloads: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • assuredworkloads: add new field for exception audit log link feat: add support of new compliance regime for regions and new partner T systems docs: fix some typos in documentation (8b203b8)
    • assuredworkloads: start generating stubs dir (de2d180)
    automl: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • automl: start generating stubs dir (de2d180)
    baremetalsolution: 0.3.0

    0.3.0 (2022-10-25)

    Features

    • baremetalsolution: start generating stubs dir (de2d180)
    batch: 0.3.0

    0.3.0 (2022-10-25)

    Features

    • batch: Enable install_gpu_drivers flag in v1 proto docs: Refine GPU drivers installation proto description docs: Refine comments for deprecated proto fields docs: Update the API comments about the device_name (8b203b8)
    • batch: start generating stubs dir (de2d180)
    beyondcorp: 0.2.0

    0.2.0 (2022-10-25)

    Features

    • beyondcorp: start generating stubs dir (de2d180)
    billing: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • billing: start generating stubs dir (de2d180)
    binaryauthorization: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • binaryauthorization: start generating stubs dir (de2d180)
    certificatemanager: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • certificatemanager: start generating stubs dir (de2d180)
    channel: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • channel: Add CloudChannelReportsService to CloudChannel API (caf4afa)
    • channel: start generating stubs dir (de2d180)
    cloudbuild: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • cloudbuild: start generating stubs dir (de2d180)
    clouddms: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • clouddms: start generating stubs dir (de2d180)
    cloudtasks: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • cloudtasks: start generating stubs dir (de2d180)
    compute: 1.11.0

    1.11.0 (2022-10-25)

    Features

    • compute: Update Compute Engine API to revision 20221011 (#736) (aad4787)
    contactcenterinsights: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • contactcenterinsights: start generating stubs dir (de2d180)
    container: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • container: start generating stubs dir (de2d180)
    datacatalog: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • datacatalog: start generating stubs dir (de2d180)
    dataform: 0.5.0

    0.5.0 (2022-10-25)

    Features

    datafusion: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • datafusion: start generating stubs dir (de2d180)
    dataplex: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • dataplex: start generating stubs dir (de2d180)
    dataproc: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • dataproc: start generating stubs dir (de2d180)
    datastream: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • datastream: start generating stubs dir (de2d180)
    deploy: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • deploy: start generating stubs dir (de2d180)
    dialogflow: 1.18.0

    1.18.0 (2022-10-25)

    Features

    • dialogflow: Can directly set Cloud Speech model on the SpeechToTextConfig (aad4787)
    • dialogflow: start generating stubs dir (de2d180)

    Documentation

    • dialogflow/cx: Clarified TTL as time-to-live docs: Removed pre-GA disclaimer from Interaction Logging (has been GA for awhile) (aad4787)
    dlp: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • dlp: start generating stubs dir (de2d180)
    documentai: 1.9.0

    1.9.0 (2022-10-25)

    Features

    • documentai: start generating stubs dir (de2d180)
    essentialcontacts: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • essentialcontacts: start generating stubs dir (de2d180)
    eventarc: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • eventarc: start generating stubs dir (de2d180)
    filestore: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • filestore: start generating stubs dir (de2d180)
    functions: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • functions: start generating stubs dir (de2d180)
    • functions: start generating stubs dir (de2d180)
    gaming: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • gaming: start generating stubs dir (de2d180)
    gkebackup: 0.2.0

    0.2.0 (2022-10-25)

    Features

    • gkebackup: start generating stubs dir (de2d180)
    gkemulticloud: 0.3.0

    0.3.0 (2022-10-25)

    Features

    • gkemulticloud: start generating stubs dir (de2d180)
    gsuiteaddons: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • gsuiteaddons: start generating stubs dir (de2d180)
    iam: 0.6.0

    0.6.0 (2022-10-25)

    Features

    • iam: start generating stubs dir (de2d180)
    iap: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • iap: start generating stubs dir (de2d180)
    ids: 1.1.0

    1.1.0 (2022-10-25)

    Features

    • ids: start generating stubs dir (de2d180)
    iot: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • iot: start generating stubs dir (de2d180)
    kms: 1.5.0

    1.5.0 (2022-10-25)

    Features

    • kms: enable generation of Locations mixin (caf4afa)
    • kms: start generating stubs dir (de2d180)
    language: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • language: start generating stubs dir (de2d180)
    managedidentities: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • managedidentities: start generating stubs dir (de2d180)
    memcache: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • memcache: start generating stubs dir (de2d180)
    metastore: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • metastore: start generating stubs dir (de2d180)
    monitoring: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • monitoring: start generating stubs dir (de2d180)
    networkconnectivity: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • networkconnectivity: start generating stubs dir (de2d180)
    networkmanagement: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • networkmanagement: start generating stubs dir (de2d180)
    notebooks: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • notebooks: start generating stubs dir (de2d180)
    optimization: 1.1.0

    1.1.0 (2022-10-25)

    Features

    • optimization: start generating stubs dir (de2d180)
    orchestration: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • orchestration: start generating stubs dir (de2d180)
    orgpolicy: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • orgpolicy: start generating stubs dir (de2d180)
    osconfig: 1.9.0

    1.9.0 (2022-10-25)

    Features

    • osconfig: start generating stubs dir (de2d180)
    oslogin: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • oslogin: start generating stubs dir (de2d180)
    policytroubleshooter: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • policytroubleshooter: start generating stubs dir (de2d180)
    recaptchaenterprise: 2.4.0

    2.4.0 (2022-10-25)

    Features

    • recaptchaenterprise/v2: start generating stubs dir (de2d180)
    recommender: 1.7.0

    1.7.0 (2022-10-25)

    Features

    • recommender: start generating stubs dir (de2d180)
    redis: 1.9.0

    1.9.0 (2022-10-25)

    Features

    • redis: start generating stubs dir (de2d180)
    resourcemanager: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • resourcemanager: start generating stubs dir (de2d180)
    resourcesettings: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • resourcesettings: start generating stubs dir (de2d180)
    retail: 1.10.0

    1.10.0 (2022-10-25)

    Features

    • retail: start generating stubs dir (de2d180)
    run: 0.2.0

    0.2.0 (2022-10-25)

    Features

    • run: Adds Startup and Liveness probes to Cloud Run v2 API client libraries (8b203b8)
    • run: start generating stubs dir (de2d180)
    scheduler: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • scheduler: start generating stubs dir (de2d180)
    secretmanager: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • secretmanager: start generating stubs dir (de2d180)
    security: 1.9.0

    1.9.0 (2022-10-25)

    Features

    • security: start generating stubs dir (de2d180)
    securitycenter: 1.15.0

    1.15.0 (2022-10-25)

    Features

    • securitycenter: Adding project/folder level parents to notification configs in SCC (caf4afa)
    • securitycenter: start generating stubs dir (de2d180)
    servicecontrol: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • servicecontrol: start generating stubs dir (de2d180)
    servicedirectory: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • servicedirectory: start generating stubs dir (de2d180)
    servicemanagement: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • servicemanagement: start generating stubs dir (de2d180)
    serviceusage: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • serviceusage: start generating stubs dir (de2d180)
    shell: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • shell: start generating stubs dir (de2d180)
    speech: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • speech: Start generating apiv2 (#6891) (1c7e02f)
    • speech: start generating stubs dir (de2d180)
    storagetransfer: 1.5.0

    1.5.0 (2022-10-25)

    Features

    • storagetransfer: start generating stubs dir (de2d180)
    talent: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • talent: start generating stubs dir (de2d180)
    texttospeech: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • texttospeech: start generating stubs dir (de2d180)
    tpu: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • tpu: start generating stubs dir (de2d180)
    trace: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • trace: start generating stubs dir (de2d180)
    translate: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • translate: start generating stubs dir (de2d180)
    video: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • video: start generating stubs dir (de2d180)
    videointelligence: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • videointelligence: start generating stubs dir (de2d180)
    vision: 2.4.0

    2.4.0 (2022-10-25)

    Features

    • vision/v2: start generating stubs dir (de2d180)
    vmmigration: 1.2.0

    1.2.0 (2022-10-25)

    Features

    • vmmigration: start generating stubs dir (de2d180)
    vpcaccess: 1.4.0

    1.4.0 (2022-10-25)

    Features

    • vpcaccess: start generating stubs dir (de2d180)
    webrisk: 1.6.0

    1.6.0 (2022-10-25)

    Features

    • webrisk: Add SOCIAL_ENGINEERING_EXTENDED_COVERAGE threat type (8b203b8)
    • webrisk: start generating stubs dir (de2d180)
    websecurityscanner: 1.3.0

    1.3.0 (2022-10-25)

    Features

    • websecurityscanner: start generating stubs dir (de2d180)
    workflows: 1.8.0

    1.8.0 (2022-10-25)

    Features

    • workflows: start generating stubs dir (de2d180)

    This PR was generated with Release Please. See documentation.

  • chore: release main

    chore: release main

    :robot: I have created a release beep boop

    accessapproval: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • accessapproval: rewrite signatures in terms of new location (3c4b2b3)
    accesscontextmanager: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • accesscontextmanager: rewrite signatures in terms of new location (3c4b2b3)
    apigateway: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • apigateway: rewrite signatures in terms of new location (3c4b2b3)
    apigeeconnect: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • apigeeconnect: rewrite signatures in terms of new location (3c4b2b3)
    appengine: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • appengine: rewrite signatures in terms of new location (3c4b2b3)
    artifactregistry: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • artifactregistry: rewrite signatures in terms of new location (3c4b2b3)
    asset: 1.10.0

    1.10.0 (2022-11-03)

    Features

    • asset: rewrite signatures in terms of new location (3c4b2b3)
    assuredworkloads: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • assuredworkloads: rewrite signatures in terms of new location (3c4b2b3)
    automl: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • automl: rewrite signatures in terms of new location (3c4b2b3)
    baremetalsolution: 0.4.0

    0.4.0 (2022-11-03)

    Features

    • baremetalsolution: rewrite signatures in terms of new location (3c4b2b3)
    batch: 0.4.0

    0.4.0 (2022-11-03)

    Features

    • batch: rewrite signatures in terms of new location (3c4b2b3)
    beyondcorp: 0.3.0

    0.3.0 (2022-11-03)

    Features

    • beyondcorp: rewrite signatures in terms of new location (3c4b2b3)
    billing: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • billing: rewrite signatures in terms of new location (3c4b2b3)
    binaryauthorization: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • binaryauthorization: rewrite signatures in terms of new location (3c4b2b3)
    certificatemanager: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • certificatemanager: rewrite signatures in terms of new location (3c4b2b3)
    channel: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • channel: rewrite signatures in terms of new location (3c4b2b3)
    cloudbuild: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • cloudbuild: rewrite signatures in terms of new location (3c4b2b3)
    clouddms: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • clouddms: rewrite signatures in terms of new location (3c4b2b3)
    cloudtasks: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • cloudtasks: rewrite signatures in terms of new location (3c4b2b3)
    contactcenterinsights: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • contactcenterinsights: rewrite signatures in terms of new location (3c4b2b3)
    container: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • container: rewrite signatures in terms of new location (3c4b2b3)
    datacatalog: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • datacatalog: rewrite signatures in terms of new location (3c4b2b3)
    datafusion: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • datafusion: rewrite signatures in terms of new location (3c4b2b3)
    dataplex: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • dataplex: rewrite signatures in terms of new location (3c4b2b3)
    dataproc: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • dataproc: rewrite signatures in terms of new location (3c4b2b3)
    datastream: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • datastream: rewrite signatures in terms of new location (3c4b2b3)
    deploy: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • deploy: rewrite signatures in terms of new location (3c4b2b3)
    dialogflow: 1.19.0

    1.19.0 (2022-11-03)

    Features

    • dialogflow: rewrite signatures in terms of new location (3c4b2b3)
    dlp: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • dlp: rewrite signatures in terms of new location (3c4b2b3)
    documentai: 1.10.0

    1.10.0 (2022-11-03)

    Features

    • documentai: rewrite signatures in terms of new location (3c4b2b3)
    essentialcontacts: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • essentialcontacts: rewrite signatures in terms of new location (3c4b2b3)
    eventarc: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • eventarc: rewrite signatures in terms of new location (3c4b2b3)
    filestore: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • filestore: rewrite signatures in terms of new location (3c4b2b3)
    functions: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • functions: rewrite signatures in terms of new location (3c4b2b3)
    gaming: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • gaming: rewrite signatures in terms of new location (3c4b2b3)
    gkebackup: 0.3.0

    0.3.0 (2022-11-03)

    Features

    • gkebackup: rewrite signatures in terms of new location (3c4b2b3)
    gkemulticloud: 0.4.0

    0.4.0 (2022-11-03)

    Features

    • gkemulticloud: rewrite signatures in terms of new location (3c4b2b3)
    gsuiteaddons: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • gsuiteaddons: rewrite signatures in terms of new location (3c4b2b3)
    iam: 0.7.0

    0.7.0 (2022-11-03)

    Features

    • iam: rewrite signatures in terms of new location (3c4b2b3)
    iap: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • iap: rewrite signatures in terms of new location (3c4b2b3)
    ids: 1.2.0

    1.2.0 (2022-11-03)

    Features

    • ids: rewrite signatures in terms of new location (3c4b2b3)
    iot: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • iot: rewrite signatures in terms of new location (3c4b2b3)
    kms: 1.6.0

    1.6.0 (2022-11-03)

    Features

    • kms: rewrite signatures in terms of new location (3c4b2b3)
    language: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • language: rewrite signatures in terms of new location (3c4b2b3)
    longrunning: 0.3.0

    0.3.0 (2022-11-03)

    Features

    • longrunning: rewrite signatures in terms of new location (3c4b2b3)
    managedidentities: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • managedidentities: rewrite signatures in terms of new location (3c4b2b3)
    memcache: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • memcache: rewrite signatures in terms of new location (3c4b2b3)
    metastore: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • metastore: rewrite signatures in terms of new location (3c4b2b3)
    monitoring: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • monitoring: rewrite signatures in terms of new location (3c4b2b3)
    networkconnectivity: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • networkconnectivity: rewrite signatures in terms of new location (3c4b2b3)
    networkmanagement: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • networkmanagement: rewrite signatures in terms of new location (3c4b2b3)
    notebooks: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • notebooks: rewrite signatures in terms of new location (3c4b2b3)
    optimization: 1.2.0

    1.2.0 (2022-11-03)

    Features

    • optimization: rewrite signatures in terms of new location (3c4b2b3)
    orchestration: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • orchestration: rewrite signatures in terms of new location (3c4b2b3)
    orgpolicy: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • orgpolicy: rewrite signatures in terms of new location (3c4b2b3)
    osconfig: 1.10.0

    1.10.0 (2022-11-03)

    Features

    • osconfig: rewrite signatures in terms of new location (3c4b2b3)
    oslogin: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • oslogin: rewrite signatures in terms of new location (3c4b2b3)
    policytroubleshooter: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • policytroubleshooter: rewrite signatures in terms of new location (3c4b2b3)
    recaptchaenterprise: 2.5.0

    2.5.0 (2022-11-03)

    Features

    • recaptchaenterprise/v2: rewrite signatures in terms of new location (3c4b2b3)
    recommender: 1.8.0

    1.8.0 (2022-11-03)

    Features

    • recommender: rewrite signatures in terms of new location (3c4b2b3)
    redis: 1.10.0

    1.10.0 (2022-11-03)

    Features

    • redis: rewrite signatures in terms of new location (3c4b2b3)
    resourcemanager: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • resourcemanager: rewrite signatures in terms of new location (3c4b2b3)
    resourcesettings: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • resourcesettings: rewrite signatures in terms of new location (3c4b2b3)
    retail: 1.11.0

    1.11.0 (2022-11-03)

    Features

    • retail: rewrite signatures in terms of new location (3c4b2b3)
    run: 0.3.0

    0.3.0 (2022-11-03)

    Features

    • run: rewrite signatures in terms of new location (3c4b2b3)
    scheduler: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • scheduler: rewrite signatures in terms of new location (3c4b2b3)
    secretmanager: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • secretmanager: rewrite signatures in terms of new location (3c4b2b3)
    security: 1.10.0

    1.10.0 (2022-11-03)

    Features

    • security: rewrite signatures in terms of new location (3c4b2b3)
    securitycenter: 1.16.0

    1.16.0 (2022-11-03)

    Features

    • securitycenter: rewrite signatures in terms of new location (3c4b2b3)
    servicecontrol: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • servicecontrol: rewrite signatures in terms of new location (3c4b2b3)
    servicedirectory: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • servicedirectory: rewrite signatures in terms of new location (3c4b2b3)
    servicemanagement: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • servicemanagement: rewrite signatures in terms of new location (3c4b2b3)
    serviceusage: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • serviceusage: rewrite signatures in terms of new location (3c4b2b3)
    shell: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • shell: rewrite signatures in terms of new location (3c4b2b3)
    speech: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • speech: rewrite signatures in terms of new location (3c4b2b3)
    storagetransfer: 1.6.0

    1.6.0 (2022-11-03)

    Features

    • storagetransfer: rewrite signatures in terms of new location (3c4b2b3)
    talent: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • talent: rewrite signatures in terms of new location (3c4b2b3)
    texttospeech: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • texttospeech: rewrite signatures in terms of new location (3c4b2b3)
    tpu: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • tpu: rewrite signatures in terms of new location (3c4b2b3)
    trace: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • trace: rewrite signatures in terms of new location (3c4b2b3)
    translate: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • translate: rewrite signatures in terms of new location (3c4b2b3)
    video: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • video: rewrite signatures in terms of new location (3c4b2b3)
    videointelligence: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • videointelligence: rewrite signatures in terms of new location (3c4b2b3)
    vision: 2.5.0

    2.5.0 (2022-11-03)

    Features

    • vision/v2: rewrite signatures in terms of new location (3c4b2b3)
    vmmigration: 1.3.0

    1.3.0 (2022-11-03)

    Features

    • vmmigration: rewrite signatures in terms of new location (3c4b2b3)
    vpcaccess: 1.5.0

    1.5.0 (2022-11-03)

    Features

    • vpcaccess: rewrite signatures in terms of new location (3c4b2b3)
    webrisk: 1.7.0

    1.7.0 (2022-11-03)

    Features

    • webrisk: rewrite signatures in terms of new location (3c4b2b3)
    websecurityscanner: 1.4.0

    1.4.0 (2022-11-03)

    Features

    • websecurityscanner: rewrite signatures in terms of new location (3c4b2b3)
    workflows: 1.9.0

    1.9.0 (2022-11-03)

    Features

    • workflows: rewrite signatures in terms of new location (3c4b2b3)

    This PR was generated with Release Please. See documentation.

  • pubsub: Large number of duplicate messages suddenly

    pubsub: Large number of duplicate messages suddenly

    I've been noticing an influx of duplicate messages. Previously I don't think I had ever came across one, suddenly started seeing large volumes of dupes. For example out of 50 messages that were all ACKd just recently, I saw 48 duplicates. It sounds similar to this issue: https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2465

    When I look in Google Cloud Console at the API requests, I'm seeing large numbers of 499 error codes. In the last 4 days I have 1,312 200 error codes, but 7,580 499 error codes.

    MaxOutstandingMessages = 10 MaxExtension = 10 minutes

    Versions:

    • cloud.google.com/go: aeeacb092ec71c83668e4828857289d89c34b610
    • github.com/googleapis/gax-go: 317e0006254c44a0ac427cc52a0e083ff0b9622f
    • google.golang.org/genproto: 1e559d0a00eef8a9a43151db4665280bd8dd5886
    • google.golang.org/grpc: f92cdcd7dcdc69e81b2d7b338479a19a8723cfa3
  • pupsub: Receive sometimes deadlocks if error codes.Unavailable

    pupsub: Receive sometimes deadlocks if error codes.Unavailable

    Client

    PubSub

    Describe Your Environment

    Alpine:3.7 on GCE

    Expected Behavior

    Receive retries and eventually returns an error

    Actual Behavior

    Receive hangs indefinitely, never returning an error or continuing to process messages. Because of this the application that is using pubsub client with Receive is completely locked and I must restart the docker container.

    Further Description

    I have been noticing that messages stop processing periodically using pubsub client in my application. I am handiling Receive errors properly, however an error is never returned. I then added logging into my app with the Receive callback. As soon as I notice messages are no longer processing, nothing is logged within the callback and Receive is completely locked up. I am not sure how to handle this.

    I added logging within the pupsub isRetryable(err error) bool function. and each time I experience this it seems there is a corresponding Unavailable log:

    Unavailable The service was unable to fulfill your request. Please try again. [code=8a75]

    Oddly, it seems that isRetryable should return true and retry in this case, so I am unsure where the lock is happening. An immediate restart of the Docker container resolves the issue, but only for a while.

    This seems similar to issue: https://github.com/GoogleCloudPlatform/google-cloud-go/issues/1156

    However, in that issue the reported error is the cause of a Context error, which I am not seeing and therefore I think they may be separate bugs.

    Example Code

    Here is an example of a simple subscriber package I created that uses pubsub client:

    https://gist.github.com/erickertz/2090853580dcead48682886b2cb7f0d4

  • chore: release main

    chore: release main

    :robot: I have created a release beep boop

    aiplatform: 1.21.0

    1.21.0 (2022-09-19)

    Features

    • aiplatform: add deleteFeatureValues in aiplatform v1beta1 featurestore_service.proto (bc7a5f6)
    analytics: 0.11.0

    0.11.0 (2022-09-19)

    Features

    • analytics: start generating proto message types (563f546)
    apikeys: 0.2.0

    0.2.0 (2022-09-19)

    Features

    • apikeys: enable REST transport for Python Preview clients (ef2b0b1)
    area120: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • area120: start generating proto message types (563f546)
    artifactregistry: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • artifactregistry: start generating proto message types (563f546)
    assuredworkloads: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • assuredworkloads: start generating proto message types (563f546)
    automl: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • automl: start generating proto message types (563f546)
    billing: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • billing: start generating proto message types (563f546)
    binaryauthorization: 1.1.0

    1.1.0 (2022-09-19)

    Features

    • binaryauthorization: start generating proto message types (563f546)
    certificatemanager: 1.0.0

    1.0.0 (2022-09-19)

    Features

    cloudtasks: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • cloudtasks: start generating proto message types (563f546)
    container: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • container: added High Throughput Logging API for Google Kubernetes Engine docs: ReservationAffinity key field docs incorrect docs: missing period in description for min CPU platform (bc7a5f6)
    datacatalog: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • datacatalog: start generating proto message types (563f546)
    dataflow: 0.6.0

    0.6.0 (2022-09-19)

    Features

    • dataflow: start generating proto message types (563f546)
    dataform: 0.3.0

    0.3.0 (2022-09-19)

    Features

    • dataform: start generating proto message types (563f546)
    datalabeling: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • datalabeling: start generating proto message types (563f546)
    dataqna: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • dataqna: start generating proto message types (563f546)
    datastream: 1.2.0

    1.2.0 (2022-09-19)

    Features

    • datastream: start generating proto message types (563f546)
    dialogflow: 1.15.0

    1.15.0 (2022-09-19)

    Features

    • dialogflow: start generating proto message types (563f546)
    documentai: 1.7.0

    1.7.0 (2022-09-19)

    Features

    • documentai: start generating proto message types (563f546)
    domains: 0.6.0

    0.6.0 (2022-09-19)

    Features

    • domains: start generating proto message types (563f546)
    functions: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • functions: start generating proto message types (563f546)

    Documentation

    gaming: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • gaming: start generating proto message types (563f546)
    gkeconnect: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • gkeconnect: start generating proto message types (563f546)
    gkehub: 0.9.0

    0.9.0 (2022-09-19)

    Features

    • gkehub: start generating proto message types (563f546)
    language: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • language: start generating proto message types (563f546)
    lifesciences: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • lifesciences: start generating proto message types (563f546)
    mediatranslation: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • mediatranslation: start generating proto message types (563f546)
    memcache: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • memcache: start generating proto message types (563f546)
    metastore: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • metastore: start generating proto message types (563f546)
    networkconnectivity: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • networkconnectivity: start generating proto message types (563f546)
    networksecurity: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • networksecurity: start generating proto message types (563f546)
    notebooks: 1.2.0

    1.2.0 (2022-09-19)

    Features

    • notebooks: start generating proto message types (563f546)
    osconfig: 1.7.0

    1.7.0 (2022-09-19)

    Features

    • osconfig: start generating proto message types (563f546)
    oslogin: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • oslogin: start generating proto message types (563f546)
    phishingprotection: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • phishingprotection: start generating proto message types (563f546)
    privatecatalog: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • privatecatalog: start generating proto message types (563f546)
    recommendationengine: 0.5.0

    0.5.0 (2022-09-19)

    Features

    • recommendationengine: start generating proto message types (563f546)
    recommender: 1.5.0

    1.5.0 (2022-09-19)

    Features

    • recommender: start generating proto message types (563f546)
    redis: 1.7.0

    1.7.0 (2022-09-19)

    Features

    • redis: start generating proto message types (563f546)
    retail: 1.8.0

    1.8.0 (2022-09-19)

    Features

    • retail: start generating proto message types (563f546)
    scheduler: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • scheduler: start generating proto message types (563f546)
    secretmanager: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • secretmanager: start generating proto message types (563f546)
    security: 1.7.0

    1.7.0 (2022-09-19)

    Features

    • security: start generating proto message types (563f546)

    Bug Fixes

    • security/publicca: Add proto options for Ruby, PHP and C# API client libraries (bc7a5f6)
    securitycenter: 1.13.0

    1.13.0 (2022-09-19)

    Features

    • securitycenter: start generating proto message types (563f546)
    servicedirectory: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • servicedirectory: start generating proto message types (563f546)
    speech: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • speech: start generating proto message types (563f546)
    talent: 1.1.0

    1.1.0 (2022-09-19)

    Features

    • talent: start generating proto message types (563f546)
    videointelligence: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • videointelligence: start generating proto message types (563f546)
    webrisk: 1.4.0

    1.4.0 (2022-09-19)

    Features

    • webrisk: start generating proto message types (563f546)
    workflows: 1.6.0

    1.6.0 (2022-09-19)

    Features

    • workflows: start generating proto message types (563f546)

    This PR was generated with Release Please. See documentation.

  • chore: release main

    chore: release main

    :robot: I have created a release beep boop

    analytics: 0.12.0

    0.12.0 (2022-09-21)

    Features

    • analytics: rewrite signatures in terms of new types for betas (9f303f9)
    area120: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • area120: rewrite signatures in terms of new types for betas (9f303f9)
    artifactregistry: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • artifactregistry: rewrite signatures in terms of new types for betas (9f303f9)
    assuredworkloads: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • assuredworkloads: rewrite signatures in terms of new types for betas (9f303f9)
    automl: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • automl: rewrite signatures in terms of new types for betas (9f303f9)
    billing: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • billing: rewrite signatures in terms of new types for betas (9f303f9)
    binaryauthorization: 1.2.0

    1.2.0 (2022-09-21)

    Features

    • binaryauthorization: rewrite signatures in terms of new types for betas (9f303f9)
    cloudtasks: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • cloudtasks: rewrite signatures in terms of new types for betas (9f303f9)
    datacatalog: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • datacatalog: rewrite signatures in terms of new types for betas (9f303f9)
    dataflow: 0.7.0

    0.7.0 (2022-09-21)

    Features

    • dataflow: rewrite signatures in terms of new types for betas (9f303f9)
    dataform: 0.4.0

    0.4.0 (2022-09-21)

    Features

    • dataform: rewrite signatures in terms of new types for betas (9f303f9)
    datalabeling: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • datalabeling: rewrite signatures in terms of new types for betas (9f303f9)
    dataqna: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • dataqna: rewrite signatures in terms of new types for betas (9f303f9)
    datastream: 1.3.0

    1.3.0 (2022-09-21)

    Features

    • datastream: rewrite signatures in terms of new types for betas (9f303f9)
    dialogflow: 1.16.0

    1.16.0 (2022-09-21)

    Features

    • dialogflow: rewrite signatures in terms of new types for betas (9f303f9)
    documentai: 1.8.0

    1.8.0 (2022-09-21)

    Features

    • documentai: rewrite signatures in terms of new types for betas (9f303f9)
    domains: 0.7.0

    0.7.0 (2022-09-21)

    Features

    • domains: rewrite signatures in terms of new types for betas (9f303f9)
    functions: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • functions: rewrite signatures in terms of new types for betas (9f303f9)
    gaming: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • gaming: rewrite signatures in terms of new types for betas (9f303f9)
    gkeconnect: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • gkeconnect: rewrite signatures in terms of new types for betas (9f303f9)
    gkehub: 0.10.0

    0.10.0 (2022-09-21)

    Features

    • gkehub: rewrite signatures in terms of new types for betas (9f303f9)
    language: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • language: rewrite signatures in terms of new types for betas (9f303f9)
    lifesciences: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • lifesciences: rewrite signatures in terms of new types for betas (9f303f9)
    mediatranslation: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • mediatranslation: rewrite signatures in terms of new types for betas (9f303f9)
    memcache: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • memcache: rewrite signatures in terms of new types for betas (9f303f9)
    metastore: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • metastore: rewrite signatures in terms of new types for betas (9f303f9)
    networkconnectivity: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • networkconnectivity: rewrite signatures in terms of new types for betas (9f303f9)
    networksecurity: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • networksecurity: rewrite signatures in terms of new types for betas (9f303f9)
    notebooks: 1.3.0

    1.3.0 (2022-09-21)

    Features

    • notebooks: rewrite signatures in terms of new types for betas (9f303f9)
    osconfig: 1.8.0

    1.8.0 (2022-09-21)

    Features

    • osconfig: rewrite signatures in terms of new types for betas (9f303f9)
    oslogin: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • oslogin: rewrite signatures in terms of new types for betas (9f303f9)
    phishingprotection: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • phishingprotection: rewrite signatures in terms of new types for betas (9f303f9)
    privatecatalog: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • privatecatalog: rewrite signatures in terms of new types for betas (9f303f9)
    recaptchaenterprise: 2.2.0

    2.2.0 (2022-09-21)

    Features

    • recaptchaenterprise: rewrite signatures in terms of new types for betas (9f303f9)
    recommendationengine: 0.6.0

    0.6.0 (2022-09-21)

    Features

    • recommendationengine: rewrite signatures in terms of new types for betas (9f303f9)
    recommender: 1.6.0

    1.6.0 (2022-09-21)

    Features

    • recommender: rewrite signatures in terms of new types for betas (9f303f9)
    redis: 1.8.0

    1.8.0 (2022-09-21)

    Features

    • redis: rewrite signatures in terms of new types for betas (9f303f9)
    retail: 1.9.0

    1.9.0 (2022-09-21)

    Features

    • retail: rewrite signatures in terms of new types for betas (9f303f9)
    scheduler: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • scheduler: rewrite signatures in terms of new types for betas (9f303f9)
    secretmanager: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • secretmanager: remove beta client that no longer has source protos (9f303f9)
    security: 1.8.0

    1.8.0 (2022-09-21)

    Features

    • security: rewrite signatures in terms of new types for betas (9f303f9)
    securitycenter: 1.14.0

    1.14.0 (2022-09-21)

    Features

    • securitycenter: rewrite signatures in terms of new types for betas (9f303f9)
    servicedirectory: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • servicedirectory: rewrite signatures in terms of new types for betas (9f303f9)
    speech: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • speech: rewrite signatures in terms of new types for betas (9f303f9)
    talent: 1.2.0

    1.2.0 (2022-09-21)

    Features

    • talent: rewrite signatures in terms of new types for betas (9f303f9)
    videointelligence: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • videointelligence: rewrite signatures in terms of new types for betas (9f303f9)
    vision: 2.3.0

    2.3.0 (2022-09-21)

    Features

    • vision: rewrite signatures in terms of new types for betas (9f303f9)
    webrisk: 1.5.0

    1.5.0 (2022-09-21)

    Features

    • webrisk: rewrite signatures in terms of new types for betas (9f303f9)
    workflows: 1.7.0

    1.7.0 (2022-09-21)

    Features

    • workflows: rewrite signatures in terms of new types for betas (9f303f9)

    This PR was generated with Release Please. See documentation.

  • httpreplay: TestIntegration_RecordAndReplay failed

    httpreplay: TestIntegration_RecordAndReplay failed

    Note: #1952 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


    commit: 0113f76edd4e6bd8604d86230cb19b30d6ec512a buildURL: Build Status, Sponge status: failed

    Test output
        httpreplay_test.go:248: recording: compressed, entire file, server unzips: storage: object doesn't exist
        httpreplay_test.go:248: recording: compressed, entire file, read compressed: storage: object doesn't exist
        httpreplay_test.go:248: recording: compressed, partial, read compressed: storage: object doesn't exist
        httpreplay_test.go:248: recording: compressed, HEAD: storage: object doesn't exist
        httpreplay_test.go:248: replaying: compressed, entire file, server unzips: storage: object doesn't exist
        httpreplay_test.go:248: replaying: compressed, entire file, read compressed: storage: object doesn't exist
        httpreplay_test.go:248: replaying: compressed, partial, read compressed: storage: object doesn't exist
        httpreplay_test.go:248: replaying: compressed, HEAD: storage: object doesn't exist
  • pubsub: inconsistently receiving less messages after v0.24.0

    pubsub: inconsistently receiving less messages after v0.24.0

    User @fastest963 reports that using v0.24.0 works as expected, but bumping to HEAD causes what appears to be rate limiting to happen.

    See: https://github.com/GoogleCloudPlatform/google-cloud-go/issues/1163#issuecomment-429323268

    Continuing the conversation from that thread here, since the original issue there seems quite different.

  • chore: release main

    chore: release main

    :robot: I have created a release beep boop

    accessapproval: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • accessapproval: set versionClient to module version (55f0d92)
    accesscontextmanager: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • accesscontextmanager: set versionClient to module version (55f0d92)
    aiplatform: 1.5.0

    1.5.0 (2022-02-23)

    Features

    • aiplatform: set versionClient to module version (55f0d92)
    analytics: 0.5.0

    0.5.0 (2022-02-23)

    Features

    • analytics: set versionClient to module version (55f0d92)
    apigateway: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • apigateway: set versionClient to module version (55f0d92)
    apigeeconnect: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • apigeeconnect: set versionClient to module version (55f0d92)
    appengine: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • appengine: set versionClient to module version (55f0d92)
    area120: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • area120: set versionClient to module version (55f0d92)
    artifactregistry: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • artifactregistry: set versionClient to module version (55f0d92)
    asset: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • asset: set versionClient to module version (55f0d92)
    assuredworkloads: 0.5.0

    0.5.0 (2022-02-23)

    Features

    • assuredworkloads: set versionClient to module version (55f0d92)
    automl: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • automl: set versionClient to module version (55f0d92)
    billing: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • billing: set versionClient to module version (55f0d92)
    binaryauthorization: 0.4.0

    0.4.0 (2022-02-23)

    Features

    • binaryauthorization: set versionClient to module version (55f0d92)
    channel: 1.5.0

    1.5.0 (2022-02-23)

    Features

    • channel: set versionClient to module version (55f0d92)
    cloudbuild: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • cloudbuild: set versionClient to module version (55f0d92)
    clouddms: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • clouddms: set versionClient to module version (55f0d92)
    cloudtasks: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • cloudtasks: set versionClient to module version (55f0d92)
    compute: 1.5.0

    1.5.0 (2022-02-23)

    Features

    • compute: set versionClient to module version (55f0d92)
    contactcenterinsights: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • contactcenterinsights: set versionClient to module version (55f0d92)
    container: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • container: set versionClient to module version (55f0d92)
    containeranalysis: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • containeranalysis: set versionClient to module version (55f0d92)
    datacatalog: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • datacatalog: set versionClient to module version (55f0d92)
    dataflow: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • dataflow: set versionClient to module version (55f0d92)
    datafusion: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • datafusion: set versionClient to module version (55f0d92)
    datalabeling: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • datalabeling: set versionClient to module version (55f0d92)
    dataplex: 0.4.0

    0.4.0 (2022-02-23)

    Features

    • dataplex: set versionClient to module version (55f0d92)
    dataproc: 1.5.0

    1.5.0 (2022-02-23)

    Features

    • dataproc: set versionClient to module version (55f0d92)
    dataqna: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • dataqna: set versionClient to module version (55f0d92)
    datastream: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • datastream: set versionClient to module version (55f0d92)
    deploy: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • deploy: set versionClient to module version (55f0d92)
    dialogflow: 1.6.0

    1.6.0 (2022-02-23)

    Features

    • dialogflow: set versionClient to module version (55f0d92)
    dlp: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • dlp: set versionClient to module version (55f0d92)
    documentai: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • documentai: set versionClient to module version (55f0d92)
    domains: 0.4.0

    0.4.0 (2022-02-23)

    Features

    • domains: set versionClient to module version (55f0d92)
    essentialcontacts: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • essentialcontacts: set versionClient to module version (55f0d92)
    eventarc: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • eventarc: set versionClient to module version (55f0d92)
    filestore: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • filestore: set versionClient to module version (55f0d92)
    functions: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • functions: set versionClient to module version (55f0d92)
    gaming: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • gaming: set versionClient to module version (55f0d92)
    gkeconnect: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • gkeconnect: set versionClient to module version (55f0d92)
    gkehub: 0.4.0

    0.4.0 (2022-02-23)

    Features

    • gkehub: set versionClient to module version (55f0d92)
    gsuiteaddons: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • gsuiteaddons: set versionClient to module version (55f0d92)
    iam: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • iam: set versionClient to module version (55f0d92)
    iap: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • iap: set versionClient to module version (55f0d92)
    ids: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • ids: set versionClient to module version (55f0d92)
    iot: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • iot: set versionClient to module version (55f0d92)
    kms: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • kms: set versionClient to module version (55f0d92)
    language: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • language: set versionClient to module version (55f0d92)
    lifesciences: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • lifesciences: set versionClient to module version (55f0d92)
    managedidentities: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • managedidentities: set versionClient to module version (55f0d92)
    mediatranslation: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • mediatranslation: set versionClient to module version (55f0d92)
    memcache: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • memcache: set versionClient to module version (55f0d92)
    metastore: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • metastore: set versionClient to module version (55f0d92)
    monitoring: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • monitoring: set versionClient to module version (55f0d92)
    networkconnectivity: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • networkconnectivity: set versionClient to module version (55f0d92)
    networkmanagement: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • networkmanagement: set versionClient to module version (55f0d92)
    networksecurity: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • networksecurity: set versionClient to module version (55f0d92)
    notebooks: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • notebooks: set versionClient to module version (55f0d92)
    orchestration: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • orchestration: set versionClient to module version (55f0d92)
    orgpolicy: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • orgpolicy: set versionClient to module version (55f0d92)
    osconfig: 1.5.0

    1.5.0 (2022-02-23)

    Features

    • osconfig: set versionClient to module version (55f0d92)
    oslogin: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • oslogin: set versionClient to module version (55f0d92)
    phishingprotection: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • phishingprotection: set versionClient to module version (55f0d92)
    policytroubleshooter: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • policytroubleshooter: set versionClient to module version (55f0d92)
    privatecatalog: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • privatecatalog: set versionClient to module version (55f0d92)
    recaptchaenterprise: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • recaptchaenterprise: set versionClient to module version (55f0d92)
    recommender: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • recommender: set versionClient to module version (55f0d92)
    redis: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • redis: set versionClient to module version (55f0d92)
    resourcemanager: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • resourcemanager: set versionClient to module version (55f0d92)
    resourcesettings: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • resourcesettings: set versionClient to module version (55f0d92)
    retail: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • retail: set versionClient to module version (55f0d92)
    scheduler: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • scheduler: set versionClient to module version (55f0d92)
    secretmanager: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • secretmanager: set versionClient to module version (55f0d92)
    security: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • security: set versionClient to module version (55f0d92)
    securitycenter: 1.4.0

    1.4.0 (2022-02-23)

    Features

    • securitycenter: set versionClient to module version (55f0d92)
    servicecontrol: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • servicecontrol: set versionClient to module version (55f0d92)
    servicedirectory: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • servicedirectory: set versionClient to module version (55f0d92)
    servicemanagement: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • servicemanagement: set versionClient to module version (55f0d92)
    serviceusage: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • serviceusage: set versionClient to module version (55f0d92)
    shell: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • shell: set versionClient to module version (55f0d92)
    speech: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • speech: set versionClient to module version (55f0d92)
    storagetransfer: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • storagetransfer: set versionClient to module version (55f0d92)
    talent: 0.5.0

    0.5.0 (2022-02-23)

    Features

    • talent: set versionClient to module version (55f0d92)
    texttospeech: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • texttospeech: set versionClient to module version (55f0d92)
    tpu: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • tpu: set versionClient to module version (55f0d92)
    trace: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • trace: set versionClient to module version (55f0d92)
    translate: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • translate: set versionClient to module version (55f0d92)
    video: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • video: set versionClient to module version (55f0d92)
    videointelligence: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • videointelligence: set versionClient to module version (55f0d92)
    vision: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • vision: set versionClient to module version (55f0d92)
    vmmigration: 0.3.0

    0.3.0 (2022-02-23)

    Features

    • vmmigration: set versionClient to module version (55f0d92)
    vpcaccess: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • vpcaccess: set versionClient to module version (55f0d92)
    webrisk: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • webrisk: set versionClient to module version (55f0d92)
    websecurityscanner: 1.2.0

    1.2.0 (2022-02-23)

    Features

    • websecurityscanner: set versionClient to module version (55f0d92)
    workflows: 1.3.0

    1.3.0 (2022-02-23)

    Features

    • workflows: set versionClient to module version (55f0d92)

    This PR was generated with Release Please. See documentation.

  • KMS cannot Get, Set, or Test IAM

    KMS cannot Get, Set, or Test IAM

    Client

    KMS

    Describe Your Environment

    MacBook Pro (15-inch, 2017), 10.14.2 (18C54) 2.8 GHz Intel Core i7 16 GB 2133 MHz LPDDR3 Radeon Pro 555 2048 MB Intel HD Graphics 630 1536 MB

    But also reproducible everywhere

    Expected Behavior

    KMS clients should be able to Get, Set, and Test IAM policies.

    Actual Behavior

    Performing any Get, Set, or Test operations using the iam.Handle returns the following error:

    rpc error: code = NotFound desc = The request concerns location 'us-central1' but was sent to location 'global'. Either Cloud KMS is not available in 'us-central1' or the request was misrouted. Make sure the 'x-goog-request-params' metadata is set correctly; see https://cloud.google.com/kms/docs/grpc for more information.
    

    Where "us-central1" corresponds to the region in which my KMS keys exist. I conferred with the KMS team, and it appears that the x-goog-request-params is not set on IAM calls, which appears to be the root cause.

    Reproduction

    Run this sample, changing the keyRing constant to the full resource URL of a keyring in a project in any location other than "global".

    package main
    
    import (
    	"context"
    	"log"
    
    	cloudkms "cloud.google.com/go/kms/apiv1"
    	kmspb "google.golang.org/genproto/googleapis/cloud/kms/v1"
    )
    
    const keyRing = "projects/my-project/..." // Fill with existing keyring
    
    func main() {
    	ctx := context.Background()
    	client, err := cloudkms.NewKeyManagementClient(ctx)
    	if err != nil {
    		panic(err)
    	}
    
    	resp, err := client.KeyRingIAM(&kmspb.KeyRing{
    		Name: keyRing,
    	}).Policy(context.Background())
    	if err != nil {
    		panic(err)
    	}
    
    	log.Printf("#%v", resp)
    }
    

    Diagnoses

    The KeyRingIAM func creates a handle wrapper around the KMS client's Connection object which drops straight into the iam package. There doesn't appear to be a way to pass additional metadata pairs to the IAM client, so when gax invokes the policy requests, they fail.

    I confirmed the API works as-expected with the headers on the request by adding the following method to the KMS client itself so I can access the request fields:

    func (c *KeyManagementClient) GetKeyRingIAM(ctx context.Context, req *kmspb.GetKeyRingRequest, opts ...gax.CallOption) (*iam.Policy, error) {
    	md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", req.GetName()))
    	ctx = insertMetadata(ctx, c.xGoogMetadata, md)
    
    	// Works with or without the additional options here, kept for parity with other KMS client funcs
    	opts = append(c.CallOptions.GetKeyRing[0:len(c.CallOptions.GetKeyRing):len(c.CallOptions.GetKeyRing)], opts...)
    
    	var proto *pb.Policy
    	err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {
    		var err error
    		// Create the client here so we can pass it the proper context
    		iamClient := pb.NewIAMPolicyClient(c.Connection())
    		proto, err = iamClient.GetIamPolicy(ctx, &pb.GetIamPolicyRequest{Resource: req.GetName()}, settings.GRPC...)
    		return err
    	}, opts...)
    	if err != nil {
    		return nil, err
    	}
    	return &iam.Policy{InternalProto: proto}, nil
    }
    

    Note this function lives in the kms package and injects the x-google-request-params into the context before creating the IAM client. I think this might be the best approach to preserve those headers without significant altercations to the iam package itself, but it means that the client does not given an iam.Handle to the user directly.

    Alternatives

    • Provide top-level functionality in the IAM package to add headers
    • Allow objects to pass a context to the IAM handler and store it on the struct (gross)
    • Force uses to manually add metadata fields (even grosser)
  • feat(spanner/spansql): add support for change stream value_capture_type option

    feat(spanner/spansql): add support for change stream value_capture_type option

    This PR adds the ability to parse the value_capture_type option for spanner change streams. This addresses https://github.com/googleapis/google-cloud-go/issues/7180. The parsing of multiple change stream options follows the pattern setup by the parsing of multiple database options. Additionally, the generation of the SQL given the options follows the pattern setup by column options.

    There are many different places where sql parsing and generation is tested. I used sql_test.go but it wasn't clear what would be the best test file to use for this.

    As a minor note, I changed some of the white space around change stream options. It appeared to be more consistent, but I can update to change less if desired.

  • chore(all): update all

    chore(all): update all

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | cloud.google.com/go/compute/metadata | require | patch | v0.2.2 -> v0.2.3 | | cloud.google.com/go/iam | require | minor | v0.8.0 -> v0.9.0 | | cloud.google.com/go/internal/aliasgen | require | digest | 61617a4 -> 92d9d4c | | cloud.google.com/go/internal/godocfx | require | digest | 61617a4 -> 92d9d4c | | cloud.google.com/go/storage | require | minor | v1.26.0 -> v1.28.1 | | github.com/google/pprof | require | digest | ce31453 -> 3cb0bae | | github.com/googleapis/cloud-bigtable-clients-test | require | digest | aaa0efe -> a2e66d1 | | github.com/shurcooL/githubv4 | require | digest | 70889c5 -> a8d4a56 | | golang.org/x/sync | require | minor | v0.0.0-20220907140024-f12130a52804 -> v0.1.0 | | google.golang.org/api | require | minor | v0.103.0 -> v0.105.0 | | google.golang.org/api | require | minor | v0.96.0 -> v0.105.0 | | google.golang.org/grpc | require | minor | v1.49.0 -> v1.51.0 |


    Release Notes

    googleapis/google-cloud-go

    v0.9.0

    Compare Source

    • Breaking changes to some autogenerated clients.
    • rpcreplay package added.
    googleapis/google-api-go-client

    v0.105.0

    Compare Source

    Features

    v0.104.0

    Compare Source

    Features
    Bug Fixes
    Documentation
    grpc/grpc-go

    v1.51.0: Release 1.51.0

    Compare Source

    Behavior Changes

    • xds: NACK EDS resources with duplicate addresses in accordance with a recent spec change (#​5715)
    • grpc: restrict status codes that can be generated by the control plane (gRFC A54) (#​5653)

    New Features

    • client: set grpc-accept-encoding header with all registered compressors (#​5541)
    • xds/weightedtarget: return a more meaningful error when all child policies are in TRANSIENT_FAILURE (#​5711)
    • gcp/observability: add "started rpcs" metric (#​5768)
    • xds: de-experimentalize the google-c2p-resolver (#​5707)
    • balancer: add experimental Producer types and methods (#​5669)
    • orca: provide a way for LB policies to receive OOB load reports (#​5669)

    Bug Fixes

    • go.mod: upgrade x/text dependency to address CVE 2022-32149 (#​5769)
    • client: fix race that could lead to an incorrect connection state if it was closed immediately after the server's HTTP/2 preface was received (#​5714)
    • xds: ensure sum of the weights of all EDS localities at the same priority level does not exceed uint32 max (#​5703)
    • client: fix binary logging bug which logs a server header on a trailers-only response (#​5763)
    • balancer/priority: fix a bug where unreleased references to removed child policies (and associated state) was causing a memory leak (#​5682)
    • xds/google-c2p: validate URI schema for no authorities (#​5756)

    v1.50.1: Release 1.50.1

    Compare Source

    New Features

    • gcp/observability: support new configuration defined in public preview user guide

    v1.50.0: Release 1.50.0

    Compare Source

    Behavior Changes

    • client: use proper "@​" semantics for connecting to abstract unix sockets. (#​5678)

      • This is technically a bug fix; the result is that the address was including a trailing NULL byte, which it should not have. This may break users creating the socket in Go by prefixing a NULL instead of an "@​", though, so calling it out as a behavior change.

    New Features

    • metadata: add experimental ValueFromIncomingContext to more efficiently retrieve a single value (#​5596)
    • stats: provide peer information in HandleConn context (#​5589)
    • xds: add support for Outlier Detection, enabled by default (#​5435, #​5673)

    Bug Fixes

    • client: fix deadlock in transport caused by GOAWAY racing with stream creation (#​5652)
      • This should only occur with an HTTP/2 server that does not follow best practices of an advisory GOAWAY (not a grpc-go server).
    • xds/xdsclient: fix a bug which was causing routes with cluster_specifier_plugin set to be NACKed when GRPC_EXPERIMENTAL_XDS_RLS_LB was off (#​5670)
    • xds/xdsclient: NACK cluster resource if config_source_specifier in lrs_server is not self (#​5613)
    • xds/ringhash: fix a bug which sometimes prevents the LB policy from retrying connection attempts (#​5601)
    • xds/ringhash: do nothing when asked to exit IDLE instead of falling back on the default channel behavior of connecting to all addresses (#​5614)
    • xds/rls: fix a bug which was causing the channel to be stuck in IDLE (#​5656)
    • alts: fix a bug which was setting WaitForReady on handshaker service RPCs, thereby delaying fallback when required (#​5620)
    • gcp/observability: fix End() to cleanup global state correctly (#​5623)

    Configuration

    📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • run: Cannot list operations -  Operation is not implemented, or supported, or enabled

    run: Cannot list operations - Operation is not implemented, or supported, or enabled

    Client cloud.google.com/go/run/apiv2

    Environment macOS Ventura 13.1

    Go Environment go version go1.19.4 darwin/arm64

    Code

    e.g.

    runSvc, err := run.NewServicesClient(ctx)
    if err != nil {
      return nil, err
    }
    defer runSvc.Close()
    
    it := runSvc.ListOperations(ctx, &longrunningpb.ListOperationsRequest{Name: fmt.Sprintf("projects/%s/locations/-", projectId)})
    for {
      t, err := it.Next()
      if err == iterator.Done {
    	break
      }
      if err != nil {
    	return nil, err
      }
      // Do work...
    }
    

    Expected behavior Get a list of Cloud Run operations

    Actual behavior

    rpc error: code = Unimplemented desc = Operation is not implemented, or supported, or enabled.
    

    Additional context I saw https://github.com/googleapis/google-cloud-go/issues/5860 and the answer stated that list operations do not need to provide an explicit endpoint. I am doing a list operation in this case but it seems like it does not work as expected.

    The provided solution there is to use option.WithEndpoint("us-east1-run.googleapis.com:443") for specifying the endpoint. However that option cannot be passed to the constructor of the client as it does not implement the required interface.

  • chore(all): auto-regenerate gapics

    chore(all): auto-regenerate gapics

    This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR.

    If you have been assigned to review this PR, please:

    • Ensure that the version of genproto in go.mod has been updated.
    • Ensure that CI is passing. If it's failing, it requires your manual attention.
    • Approve and submit this PR if you believe it's ready to ship.

    Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/954

    Changes:

    feat(container): Release GKE CloudDNS Cluster Scope CLUSTER_SCOPE option now available in DNSScope


    feat: add WindowsNodeConfig field to v1alpha1, v1beta1, v1


    feat: add EphemeralStorageLocalSsdConfig and LocalNvmeSsdBlockConfig APIs to v1alpha1, v1beta1, v1 PiperOrigin-RevId: 497252854 Source-Link: https://github.com/googleapis/googleapis/commit/3b5011d8657dadcb9e9808cb55eb90e5e4ad3a29

    feat(gkemulticloud): Support AttachedClusters feat: Add errors output fields for cluster and nodepool resources feat: Add AWS Autoscaling Group metrics collection for AWS nodepools feat: Add monitoring config Clients can now (1) manage Attached Clusters, (2) use managed GMP metrics collection, (3) enable AWS nodepool ASG metrics collection, and (4) get error summary from API resources.

    PiperOrigin-RevId: 496709757 Source-Link: https://github.com/googleapis/googleapis/commit/8e3a5a476e5cd6bc2065dabb87838a0e19949885

    feat(iap): add AllowedDomainSettings to the UpdateIapSettingsRequest feat: add AttributePropagationSettings to the UpdateIapSettingsRequest feat: add remediation_token_generation_enabled to the CsmSettings chore: deprecate password reauth method which will no longer be accepted by IAP APIs. PiperOrigin-RevId: 496681848 Source-Link: https://github.com/googleapis/googleapis/commit/be2d54edde28d76a0e16062dfcb10bc560084cb0

    chore(pubsub): remove extraneous ctype field annotations PiperOrigin-RevId: 496666857 Source-Link: https://github.com/googleapis/googleapis/commit/bc27df2b63e5fd03e85dbcdc3480fed38bea6d36

    feat(dataplex): DataScans service feat: added StorageFormat.iceberg chore: formatting changes PiperOrigin-RevId: 496586743 Source-Link: https://github.com/googleapis/googleapis/commit/58f5c439736e80b9f83d89179b8c8c2324782066

    docs(batch): updated documentation for message NetworkInterface chore: published new fields in service YAML PiperOrigin-RevId: 496547510 Source-Link: https://github.com/googleapis/googleapis/commit/de57a4d09ece64bc03d12cdefc8d03278021b5be

    feat(metastore): added RemoveIamPolicy API feat: added QueryMetadata API feat: added MoveTableToDatabase API feat: added AlterMetadataResourceLocation API PiperOrigin-RevId: 496501326 Source-Link: https://github.com/googleapis/googleapis/commit/eb1941a08d0cead5c4c6840eae3a59c6b3d7d371

    chore(container): new fields in the service YAML PiperOrigin-RevId: 496439122 Source-Link: https://github.com/googleapis/googleapis/commit/46dd1614744bfd6870851ae2078e408c133b754b

    feat(secretmanager): update public API to include annotation support PiperOrigin-RevId: 496410329 Source-Link: https://github.com/googleapis/googleapis/commit/cc3837ae30818a91caf893b70244b5245d089f49

    feat(retail): support async write mode for WriteUserEvent API feat: support collect and import GA4 event format with prebuilt whistle rule feat: support exact searchable and retrievable in catalog attribute config feat: deprecate retrievable_fields in product attribute feat: support diversity type in serving config feat: allow set feed id in merchant center link feat: support data output to GCS docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 495893148 Source-Link: https://github.com/googleapis/googleapis/commit/02dcec304088c964f198d7732e9c1d441d72d2db

    feat(retail): support async write mode for WriteUserEvent API feat: support collect GA4 event format with prebuilt whistle rule feat: support exact searchable and retrievable in catalog attribute config feat: deprecate retrievable_fields in product attribute feat: support diversity type in serving config docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 495660792 Source-Link: https://github.com/googleapis/googleapis/commit/0dbe50f7605520f48f0ce2f4359c1460391b5820

    feat(retail): support async write mode for WriteUserEvent API feat: support collect and import GA4 event format with prebuilt whistle rule feat: support exact searchable and retrievable in catalog attribute config feat: deprecate retrievable_fields in product attribute feat: support diversity type in serving config feat: allow set feed id in merchant center link feat: support batch remove catalog attribute config feat: support attribute suggestion in autocomplete feat: support data output to GCS feat: expose the local inventory data in product data retrieval feat: return personal product labels in search response docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 495450955 Source-Link: https://github.com/googleapis/googleapis/commit/4e4e58c442ca9f7b08b36bb8788c0d63ef70484e

    feat(container): Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack Clients can now configure dual stack clusters by specifying a stack type of IPV4_IPV6 during cluster creation, or with an update command. When used with a cluster creation command that creates a new subnet, the ipv6_access_type field can be used to specify whether the subnet has internal or external IPv6 access. When used with a cluster update command, the subnet must already be dual stack.

    PiperOrigin-RevId: 495438580 Source-Link: https://github.com/googleapis/googleapis/commit/483c1eec5c4acf25bb9f7095d092d53770fb6ccb

    chore(resourcemanager): fix warehouse-package-name for resourcemanager/v3 PiperOrigin-RevId: 495386037 Source-Link: https://github.com/googleapis/googleapis/commit/eeb9d2b93cdbbbd55edbde58726f7404718ec54c

    chore(batch): update environment field deprecated comment fix: remove unsupported HTTP bindings for IAMPolicy RPCs PiperOrigin-RevId: 495371163 Source-Link: https://github.com/googleapis/googleapis/commit/88f1497c767747816652323799380fdd802aa79d

    feat(documentai): added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto feat: added process_options field in ProcessRequest in document_processor_service.proto feat: added sample_document_uris field in ProcessorType in processor_type.proto PiperOrigin-RevId: 495363748 Source-Link: https://github.com/googleapis/googleapis/commit/3dce9ff167afafeddda96de98192af131b313ffc

    feat(documentai): added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto feat: added process_options field in ProcessRequest in document_processor_service.proto feat: added sample_document_uris field in ProcessorType in processor_type.proto PiperOrigin-RevId: 495360288 Source-Link: https://github.com/googleapis/googleapis/commit/5f39f4653ed9b257db3f4e19bb3f9178f56b294b

    docs(dataplex): fix minor docstring formatting PiperOrigin-RevId: 495317762 Source-Link: https://github.com/googleapis/googleapis/commit/d9dc42bf24866ac28c09489feb58590c838ed970

    docs(maps/routing): updated comment for ComputeRoutesRequest and ComputeRouteMatrixRequest PiperOrigin-RevId: 495124934 Source-Link: https://github.com/googleapis/googleapis/commit/f68e8e84be23e64152c43cb4b31d53f5e8cb64ac

    feat(securitycenter): add user_name field to the finding access PiperOrigin-RevId: 495123979 Source-Link: https://github.com/googleapis/googleapis/commit/fe20b12600dc008c8603b13011ebce9804cc16ac

    feat(bigquery/storage): add estimated number of rows to CreateReadSession response PiperOrigin-RevId: 495122850 Source-Link: https://github.com/googleapis/googleapis/commit/83b2bafa7751f351d8b2901b119e0c083fefaaf4

    docs(maps/routing): updated comment for Route.route_token docs: updated comment for RouteTravelMode PiperOrigin-RevId: 495099777 Source-Link: https://github.com/googleapis/googleapis/commit/f40f54b68f91805162104232aea90dbfff913b96

    feat(scheduler): Updated Client Libraries for Cloud Scheduler PiperOrigin-RevId: 495092454 Source-Link: https://github.com/googleapis/googleapis/commit/3fbdb936942430bcba3208ad2b8267801819a2fd

    feat(contactcenterinsights): add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis PiperOrigin-RevId: 495057883 Source-Link: https://github.com/googleapis/googleapis/commit/59a66eb3180ea8474c0a22da3fe964dbe7428c77

    feat(documentai): added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto PiperOrigin-RevId: 495051185 Source-Link: https://github.com/googleapis/googleapis/commit/0ff0b240ca1026d914e2256d4a32f885d1a31c54

    feat(documentai): added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto PiperOrigin-RevId: 495050408 Source-Link: https://github.com/googleapis/googleapis/commit/46a1452f5f7835512f2d18e88956b4da218ca6bc

    feat(longrunning): Python support for longrunning operations proto PiperOrigin-RevId: 494877962 Source-Link: https://github.com/googleapis/googleapis/commit/f3d6f41ed50ae9271fbf9ce2355d1f1e8afb4d94

    feat(dataproc): added node groups API protos PiperOrigin-RevId: 494840237 Source-Link: https://github.com/googleapis/googleapis/commit/28449ecb37897d665a5a2c6d916133b1863f0966

    chore(dataplex): reformatted the protos PiperOrigin-RevId: 494247971 Source-Link: https://github.com/googleapis/googleapis/commit/f7f499371afaa6fc236b67148aa4bd41943725a6

    feat(channel): Add support for granular repricing configurations via SkuGroups in Cloud Channel Repricing APIs PiperOrigin-RevId: 494176375 Source-Link: https://github.com/googleapis/googleapis/commit/e69c47f438eb55caec51716fbc2b8a42313ca024

    chore(billing): rename service YAML file to include version PiperOrigin-RevId: 494035461 Source-Link: https://github.com/googleapis/googleapis/commit/ea40abcc197e4ac9803c93c82f2ae43a0562ecf3

    feat(aiplatform): add service_account to UploadModelRequest in aiplatform v1beta1 model_service.proto PiperOrigin-RevId: 493951002 Source-Link: https://github.com/googleapis/googleapis/commit/aee01fa596620bba566b0292c33376e3236d1073

    feat(aiplatform): add service_account to UploadModelRequest in aiplatform v1 model_service.proto PiperOrigin-RevId: 493943349 Source-Link: https://github.com/googleapis/googleapis/commit/9df383800509d1fb24fe961123011bb7cc8de450

    chore(aiplatform): correct go_gapic_library transport values PiperOrigin-RevId: 493910511 Source-Link: https://github.com/googleapis/googleapis/commit/a5b266a9efb16ece0eb989697ef56f304b6f7181

    chore(apikeys): update rules_gapic to v0.19.2 chore(bazel): update gapic-generator-go to v0.33.5

    chore(bazel): refactor Go longrunning submodule dependency

    PiperOrigin-RevId: 493899901 Source-Link: https://github.com/googleapis/googleapis/commit/44fdfc16270c70911ace4d96ff2b973176ac7770

    feat(recaptchaenterprise/v2): add account_verification field to Assessment for MFA PiperOrigin-RevId: 493691493 Source-Link: https://github.com/googleapis/googleapis/commit/c9560d8f8f535936baff1fcda1f12806e38f67b9

    feat(texttospeech): add LRS API PiperOrigin-RevId: 493606501 Source-Link: https://github.com/googleapis/googleapis/commit/a1b5429eec257c4f3a8425b20d4689d1df5812bc

    feat(compute): Update Compute Engine API to revision 20221126 (#757)

    Source-Link: https://github.com/googleapis/googleapis/commit/385f34abf42e2ef1dced8eec4c032d1045706f4c

    docs(translate): fix minor docstring formatting PiperOrigin-RevId: 493589316 Source-Link: https://github.com/googleapis/googleapis/commit/02e385025d20dc2aea7b1ffa7a1d4e6133534d85

    docs(maps/addressvalidation): Document that PREMISE_PROXIMITY is a valid value for an address granularity PiperOrigin-RevId: 493546802 Source-Link: https://github.com/googleapis/googleapis/commit/2592f50ec97486ad3bee438350dbac2e8f478f7f

    feat(texttospeech): add LRS API PiperOrigin-RevId: 493338018 Source-Link: https://github.com/googleapis/googleapis/commit/380b2f0721b0b0bd014f72eb9c0aad98bd39595c

    feat(speech): Added new fields to facilitate debugging * Added new field to Speech response proto, to give more information to indicate whether, or not, Biasing was applied (eg. did Biasing application timed out). * Added request_id to Speech response protos. PiperOrigin-RevId: 493311906 Source-Link: https://github.com/googleapis/googleapis/commit/c9b244b4f64f3841be796762e6f2c5f219c443f8

    feat(aiplatform): add SearchDataItems RPC in aiplatform version v1 and v1beta1 dataset_service.proto PiperOrigin-RevId: 493139921 Source-Link: https://github.com/googleapis/googleapis/commit/268ee4d4b4d93297b58ae5a2625c5b3a29c254b9

    feat(securitycenter): add kernel_rootkit field to finding's list of attributes docs: miscellaneous style improvements PiperOrigin-RevId: 493119809 Source-Link: https://github.com/googleapis/googleapis/commit/6aff6786b511f8faaf2fd2288385f4ffc1e33d3c

    chore(analytics/admin): Enable requesting numeric enums in "transport=rest" responses for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java) PiperOrigin-RevId: 493113566 Source-Link: https://github.com/googleapis/googleapis/commit/758f0d1217d9c7fe398aa5efb1057ce4b6409e55

  • spanner/spansql: support `default_leader` database option

    spanner/spansql: support `default_leader` database option

Google Cloud Messaging for application servers implemented using the Go programming language.

gcm The Android SDK provides a nice convenience library (com.google.android.gcm.server) that greatly simplifies the interaction between Java-based app

Sep 27, 2022
Client for the cloud-iso-client

cloud-iso-client Client for the cloud-iso-client. Register an API token Before using this client library, you need to register an API token under your

Dec 6, 2021
A collection of cloud security icons :cloud::lock:
A collection of cloud security icons :cloud::lock:

Cloud Security Icons These icons are published under the extremely permissive Creative Commons Zero v1.0 Universal license. Downloads We provide all i

Jan 7, 2023
A Wrapper Client for Google Spreadsheet API (Sheets API)

Senmai A Wrapper Client for Google Spreadsheet API (Sheets API) PREPARATION Service Account and Key File Create a service account on Google Cloud Plat

Nov 5, 2021
A Go client implementing a client-side distributed consumer group client for Amazon Kinesis.
A Go client implementing a client-side distributed consumer group client for Amazon Kinesis.

Kinesumer is a Go client implementing a client-side distributed consumer group client for Amazon Kinesis.

Jan 5, 2023
Clusterpedia-client - clusterpedia-client supports the use of native client-go mode to call the clusterpedia API

clusterpedia-client supports the use of native client-go mode to call the cluste

Jan 7, 2022
Client-go - Clusterpedia-client supports the use of native client-go mode to call the clusterpedia API

clusterpedia-client supports the use of native client-go mode to call the cluste

Dec 5, 2022
Cloud torrent: a self-hosted remote torrent client, written in Go (golang)
Cloud torrent: a self-hosted remote torrent client, written in Go (golang)

Cloud torrent is a a self-hosted remote torrent client, written in Go (golang).

Dec 21, 2021
Google Adwords API for Go

gads Package gads provides a wrapper for the Google Adwords SOAP API. installation go get github.com/emiddleton/gads setup In order to access the API

Sep 27, 2022
Unofficial Google Trends API for Go

Google Trends API for Go Unofficial Google Trends API for Golang gogtrends is API wrapper which allows to get reports from Google Trends. All contribu

Nov 21, 2022
Auto-generated Google APIs for Go.

Google APIs Client Library for Go Getting Started $ go get google.golang.org/api/tasks/v1 $ go get google.golang.org/api/moderator/v1 $ go get google.

Jan 8, 2023
Simple Reporting for Google Analytics

##Google analytics Data pull Lightweight Golang library for pulling Google Analytics API data. Built for use with Core Reporting API (v3): https://dev

Sep 27, 2022
Sync your bank transactions with google sheets using Open Banking APIs

Sync your bank transactions with google sheets using Open Banking APIs

Jul 22, 2022
Sync your bank transactions with google sheets using Open Banking APIs

this is a markdown version of the copy on the site landing page: https://youneedaspreadsheet.com You need a spreadsheet ?? Get on top of your finances

Jul 22, 2022
Google Maps API checker
Google Maps API checker

GAP Google API checker. Based on the study Unauthorized Google Maps API Key Usage Cases, and Why You Need to Care and Google Maps API (Not the Key) Bu

Nov 17, 2022
Mattermost Plugin - Starts meeting with Google Meet
Mattermost Plugin - Starts meeting with Google Meet

Mattermost Plugin - Starts meeting with Google Meet

Sep 16, 2022
View Wikiloc.com trails in Google Earth
View Wikiloc.com trails in Google Earth

Wikiloc Google Earth layer View Wikiloc.com trails in Google Earth. Tiny http server written in Go that fetch trails from wikiloc.com to compose KML u

Aug 22, 2022
Use Google REST api to extract your personal Photo Library

Photo Go A better approach to extracting your photos from Google to your personal cloud. I'm moving my photos out of Google to a Synology NAS. create

Dec 7, 2021
RawLink makes backlinks queried from ahref ready for *Google Search Console*

Raw Link This simple program makes backlinks queried from ahref ready for Google Search Console. See footnote 1 for more information. It can be used t

Dec 14, 2022