Changes

0.112.2 (2024-03-27)

Bug Fixes

0.112.1 (2024-02-26)

Bug Fixes

  • internal/postprocessor: Handle googleapis link in commit body (#9251) (1dd3515)

Documentation

  • main: Add OpenTelemetry-Go compatibility warning to debug.md (#9268) (18f9bb9), refs #9267

0.112.0 (2024-01-11)

Features

  • internal/trace: Export internal/trace package constants and vars (#9242) (941c16f)

Documentation

0.111.0 (2023-11-29)

Features

Bug Fixes

  • all: Bump google.golang.org/api to v0.149.0 (#8959) (8d2ab9f)

0.110.10 (2023-10-31)

Bug Fixes

0.110.9 (2023-10-19)

Bug Fixes

  • all: Update golang.org/x/net to v0.17.0 (#8705) (174da47)
  • internal/aliasgen: Update golang.org/x/net to v0.17.0 (174da47)
  • internal/examples/fake: Update golang.org/x/net to v0.17.0 (174da47)
  • internal/gapicgen: Update golang.org/x/net to v0.17.0 (174da47)
  • internal/generated/snippets: Update golang.org/x/net to v0.17.0 (174da47)
  • internal/godocfx: Update golang.org/x/net to v0.17.0 (174da47)
  • internal/postprocessor: Add ability to override release level (#8643) (26c608a)
  • internal/postprocessor: Add missing assignment (#8646) (d8c5746)
  • internal/postprocessor: Update golang.org/x/net to v0.17.0 (174da47)

0.110.8 (2023-09-11)

Documentation

  • postprocessor: Nudge users towards stable clients (#8513) (05a1484)

0.110.7 (2023-07-31)

Bug Fixes

  • main: Add more docs to base package (c401ab4)

0.110.6 (2023-07-13)

Bug Fixes

0.110.5 (2023-07-07)

Bug Fixes

  • logadmin: Use consistent filter in paging example (#8221) (9570159)

0.110.4 (2023-07-05)

Bug Fixes

  • internal/retry: Simplify gRPC status code mapping of retry error (#8196) (e8b224a)

0.110.3 (2023-06-23)

Bug Fixes

  • internal/retry: Never return nil from GRPCStatus() (#8128) (005d2df)

Documentation

  • v1: Minor clarifications for TaskGroup and min_cpu_platform (3382ef8)

0.110.2 (2023-05-08)

Bug Fixes

0.110.1 (2023-05-03)

Bug Fixes

  • httpreplay: Add ignore-header flag, fix tests (#7865) (1829706)

0.110.0 (2023-02-15)

Features

  • internal/postprocessor: Detect and initialize new modules (#7288) (59ce02c)
  • internal/postprocessor: Only regen snippets for changed modules (#7300) (220f8a5)

Bug Fixes

  • internal/postprocessor: Add scopes without OwlBot api-name feature (#7404) (f7fe4f6)
  • internal/postprocessor: Include module and package in scope (#7294) (d2c5c84)

0.109.0 (2023-01-18)

Features

  • internal/postprocessor: Make OwlBot postprocessor (#7202) (7a1022e)

0.108.0 (2023-01-05)

Features

  • all: Enable REGAPIC and REST numeric enums (#6999) (28f3572)
  • debugger: Add REST client (06a54a1)

Bug Fixes

  • internal/gapicgen: Disable rest for non-rest APIs (#7157) (ab332ce)

0.107.0 (2022-11-15)

Features

0.106.0 (2022-11-09)

Features

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

0.104.0 (2022-08-24)

Features

0.103.0 (2022-06-29)

Features

  • privateca: temporarily remove REGAPIC support (199b725)

0.102.1 (2022-06-17)

Bug Fixes

  • longrunning: regapic remove path params duped as query params (#6183) (c963be3)

0.102.0 (2022-05-24)

Features

  • civil: add Before and After methods to civil.Time (#5703) (7acaaaf)

0.101.1 (2022-05-03)

Bug Fixes

  • internal/gapicgen: properly update modules that have no gapic changes (#5945) (de2befc)

0.101.0 (2022-04-20)

Features

Bug Fixes

  • internal/gapicgen: add generation of internal/version.go for new client modules (#5726) (341e0df)
  • internal/gapicgen: don't gen version files for longrunning and debugger (#5698) (3a81108)
  • internal/gapicgen: don't try to make snippets for non-gapics (#5919) (c94dddc)
  • internal/gapicgen: move breaking change indicator if present (#5452) (e712df5)
  • internal/godocfx: prevent errors for filtered mods (#5485) (6cb9b89)

0.100.0 (2022-01-04)

Features

  • analytics/admin: add the AcknowledgeUserDataCollection operation which acknowledges the terms of user data collection for the specified property feat: add the new resource type DataStream, which is planned to eventually replace WebDataStream, IosAppDataStream, AndroidAppDataStream resources fix!: remove GetEnhancedMeasurementSettings, UpdateEnhancedMeasurementSettingsRequest, UpdateEnhancedMeasurementSettingsRequest operations from the API feat: add CreateDataStream, DeleteDataStream, UpdateDataStream, ListDataStreams operations to support the new DataStream resource feat: add DISPLAY_VIDEO_360_ADVERTISER_LINK, DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL fields to ChangeHistoryResourceType enum feat: add the account field to the Property type docs: update the documentation with a new list of valid values for UserLink.direct_roles field (5444809)
  • assuredworkloads: EU Regions and Support With Sovereign Controls (5444809)
  • dialogflow/cx: added the display name of the current page in webhook requests (e0833b2)
  • dialogflow/cx: added the display name of the current page in webhook requests (e0833b2)
  • dialogflow: added export documentation method feat: added filter in list documentations request feat: added option to import custom metadata from Google Cloud Storage in reload document request feat: added option to apply partial update to the smart messaging allowlist in reload document request feat: added filter in list knowledge bases request (5444809)
  • dialogflow: removed OPTIONAL for speech model variant docs: added more docs for speech model variant and improved docs format for participant (5444809)
  • recaptchaenterprise: add new reCAPTCHA Enterprise fraud annotations (3dd34a2)

Bug Fixes

  • artifactregistry: fix resource pattern ID segment name (5444809)
  • compute: add parameter in compute bazel rules (#692) (5444809)
  • profiler: refine regular expression for parsing backoff duration in E2E tests (#5229) (4438aeb)
  • profiler: remove certificate expiration workaround (#5222) (2da36c9)

0.99.0 (2021-12-06)

Features

  • dialogflow/cx: added TelephonyTransferCall in response message (fe27098)

0.98.0 (2021-12-03)

Features

  • aiplatform: add enable_private_service_connect field to Endpoint feat: add id field to DeployedModel feat: add service_attachment field to PrivateEndpoints feat: add endpoint_id to CreateEndpointRequest and method signature to CreateEndpoint feat: add method signature to CreateFeatureStore, CreateEntityType, CreateFeature feat: add network and enable_private_service_connect to IndexEndpoint feat: add service_attachment to IndexPrivateEndpoints feat: add stratified_split field to training_pipeline InputDataConfig (a2c0bef)
  • aiplatform: add featurestore service to aiplatform v1 feat: add metadata service to aiplatform v1 (30794e7)
  • aiplatform: Adds support for google.protobuf.Value pipeline parameters in the parameter_values field (88a1cdb)
  • aiplatform: Tensorboard v1 protos release feat:Exposing a field for v1 CustomJob-Tensorboard integration. (90e2868)
  • binaryauthorization: add new admission rule types to Policy feat: update SignatureAlgorithm enum to match algorithm names in KMS feat: add SystemPolicyV1Beta1 service (1f5aa78)
  • channel: add resource type to ChannelPartnerLink (c206948)
  • cloudtasks: add C++ rules for Cloud Tasks (90e2868)
  • compute: Move compute.v1 from googleapis-discovery to googleapis (#675) (1f5aa78)
  • compute: Switch to string enums for compute (#685) (c8271d4)
  • contactcenterinsights: Add ability to update phrase matchers feat: Add issue model stats to time series feat: Add display name to issue model stats (1f5aa78)
  • contactcenterinsights: Add WriteDisposition to BigQuery Export API (a2c0bef)
  • contactcenterinsights: deprecate issue_matches docs: if conversation medium is unspecified, it will default to PHONE_CALL (1a0720f)
  • contactcenterinsights: new feature flag disable_issue_modeling docs: fixed formatting issues in the reference documentation (c8271d4)
  • contactcenterinsights: remove feature flag disable_issue_modeling (c8271d4)
  • datacatalog: Added BigQueryDateShardedSpec.latest_shard_resource field feat: Added SearchCatalogResult.display_name field feat: Added SearchCatalogResult.description field (1f5aa78)
  • dataproc: add Dataproc Serverless for Spark Batches API (30794e7)
  • dataproc: Add support for dataproc BatchController service (8519b94)
  • dialogflow/cx: added API for changelogs docs: clarified semantic of the streaming APIs (587bba5)
  • dialogflow/cx: added API for changelogs docs: clarified semantic of the streaming APIs (587bba5)
  • dialogflow/cx: added support for comparing between versions docs: clarified security settings API reference (83b941c)
  • dialogflow/cx: added support for Deployments with ListDeployments and GetDeployment apis feat: added support for DeployFlow api under Environments feat: added support for TestCasesConfig under Environment docs: added long running operation explanation for several apis fix!: marked resource name of security setting as not-required (8c5c6cf)
  • dialogflow/cx: allow setting custom CA for generic webhooks and release CompareVersions API docs: clarify DLP template reader usage (90e2868)
  • dialogflow: added support to configure security settings, language code and time zone on conversation profile (1f5aa78)
  • dialogflow: support document metadata filter in article suggestion and smart reply model in human agent assistant (e33350c)
  • dlp: added deidentify replacement dictionaries feat: added field for BigQuery inspect template inclusion lists feat: added field to support infotype versioning (a2c0bef)
  • domains: added library for Cloud Domains v1 API. Also added methods for the transfer-in flow docs: improved API comments (8519b94)
  • functions: Secret Manager integration fields ‘secret_environment_variables’ and ‘secret_volumes’ added feat: CMEK integration fields ‘kms_key_name’ and ‘docker_repository’ added (1f5aa78)
  • kms: add OAEP+SHA1 to the list of supported algorithms (8c5c6cf)
  • kms: add RPC retry information for MacSign, MacVerify, and GenerateRandomBytes Committer: @bdhess (1a0720f)
  • kms: add support for Raw PKCS#1 signing keys (58bea89)
  • monitoring/apiv3: add CreateServiceTimeSeries RPC (9e41088)
  • monitoring/dashboard: Added support for auto-close configurations (90e2868)
  • monitoring/metricsscope: promote apiv1 to GA (#5135) (33c0f63)
  • osconfig: OSConfig: add OS policy assignment rpcs (83b941c)
  • osconfig: Update OSConfig API (e33350c)
  • osconfig: Update osconfig v1 and v1alpha RecurringSchedule.Frequency with DAILY frequency (59e548a)
  • recaptchaenterprise: add reCAPTCHA Enterprise account defender API methods (88a1cdb)
  • redis: [Cloud Memorystore for Redis] Support Multiple Read Replicas when creating Instance (1f5aa78)
  • redis: [Cloud Memorystore for Redis] Support Multiple Read Replicas when creating Instance (1f5aa78)
  • security/privateca: add IAMPolicy & Locations mix-in support (1a0720f)
  • securitycenter: Added a new API method UpdateExternalSystem, which enables updating a finding w/ external system metadata. External systems are a child resource under finding, and are housed on the finding itself, and can also be filtered on in Notifications, the ListFindings and GroupFindings API (c8271d4)
  • securitycenter: Added mute related APIs, proto messages and fields (3e7185c)
  • securitycenter: Added resource type and display_name field to the FindingResult, and supported them in the filter for ListFindings and GroupFindings. Also added display_name to the resource which is surfaced in NotificationMessage (1f5aa78)
  • securitycenter: Added vulnerability field to the finding feat: Added type field to the resource which is surfaced in NotificationMessage (090cc3a)
  • servicecontrol: add C++ rules for many Cloud services (c8271d4)
  • speech: add result_end_time to SpeechRecognitionResult (a2c0bef)
  • speech: added alternative_language_codes to RecognitionConfig feat: WEBM_OPUS codec feat: SpeechAdaptation configuration feat: word confidence feat: spoken punctuation and spoken emojis feat: hint boost in SpeechContext (a2c0bef)
  • texttospeech: update v1 proto (90e2868)
  • workflows/executions: add a stack_trace field to the Error messages specifying where the error occured feat: add call_log_level field to Execution messages doc: clarify requirement to escape strings within JSON arguments (1f5aa78)

Bug Fixes

  • accesscontextmanager: nodejs package name access-context-manager (30794e7)
  • aiplatform: Remove invalid resource annotations (587bba5)
  • compute/metadata: return an error when all retries have failed (#5063) (c792a0d), refs #5062
  • compute: make parent_id fields required compute move and insert methods (#686) (c8271d4)
  • compute: Move compute_small protos under its own directory (#681) (3e7185c)
  • internal/gapicgen: fix a compute filtering (#5111) (77aa19d)
  • internal/godocfx: only put TOC status on mod if all pkgs have same status (#4974) (309b59e)
  • internal/godocfx: replace * with HTML code (#5049) (a8f7c06)
  • monitoring/apiv3: Reintroduce deprecated field/enum for backward compatibility docs: Use absolute link targets in comments (45fd259)
  • profiler: workaround certificate expiration issue in integration tests (#4955) (de9e465)
  • security/privateca: include mixin protos as input for mixin rpcs (479c2f9)
  • security/privateca: repair service config to enable mixins (83b941c)
  • video/transcoder: update nodejs package name to video-transcoder (30794e7)

0.97.0 (2021-09-29)

Features

  • internal add Retry func to testutil from samples repository #4902

0.96.0 (2021-09-28)

Features

  • civil: add IsEmpty function to time, date and datetime (#4728) (88bfa64), refs #4727
  • internal/godocfx: detect preview versions (#4899) (9b60844)
  • internal: provide wrapping for retried errors (#4797) (ce5f4db)

Bug Fixes

  • internal/gapicgen: restore fmting proto files (#4789) (5606b54)
  • internal/trace: use xerrors.As for trace (#4813) (05fe61c)

0.95.0 (2021-09-21)

Bug Fixes

  • internal/gapicgen: add a temporary import (#4756) (4d9c046)
  • compute/metadata: remove heavy gax dependency (#4784) (ea00264)

0.94.1 (2021-09-02)

Bug Fixes

  • compute/metadata: fix retry logic to not panic on error (#4714) (75c63b9), refs #4713

0.94.0 (2021-08-31)

Features

  • aiplatform: add XAI, model monitoring, and index services to aiplatform v1 (e385b40)
  • analytics/admin: add GetDataRetentionSettings, UpdateDataRetentionSettings methods to the API (8467899)
  • asset: Release of relationships in v1, Add content type Relationship to support relationship export Committer: lvv@ (d4c3340)
  • assuredworkloads: Add Canada Regions And Support compliance regime (b9226eb)
  • cloudbuild/apiv1: Add ability to configure BuildTriggers to create Builds that require approval before executing and ApproveBuild API to approve or reject pending Builds (d4c3340)
  • cloudbuild/apiv1: add script field to BuildStep message (b9226eb)
  • cloudbuild/apiv1: Update cloudbuild proto with the service_account for BYOSA Triggers. (b9226eb)
  • compute/metadata: retry error when talking to metadata service (#4648) (81c6039), refs #4642
  • dataproc: remove apiv1beta2 client (#4682) (2248554)
  • gaming: support version reporting API (cd65cec)
  • gkehub: Add request_id under DeleteMembershipRequest and UpdateMembershipRequest (b9226eb)
  • internal/carver: support carving batches (#4623) (2972d19)
  • kms: add support for Key Reimport (bf4378b)
  • metastore: Added the Backup resource and Backup resource GetIamPolicy/SetIamPolicy to V1 feat: Added the RestoreService method to V1 (d4c3340)
  • monitoring/dashboard: Added support for logs-based alerts: https://cloud.google.com/logging/docs/alerting/log-based-alerts feat: Added support for user-defined labels on cloud monitoring's Service and ServiceLevelObjective objects fix!: mark required fields in QueryTimeSeriesRequest as required (b9226eb)
  • osconfig: Update osconfig v1 and v1alpha with WindowsApplication (bf4378b)
  • speech: Add transcript normalization (b31646d)
  • talent: Add new commute methods in Search APIs feat: Add new histogram type ‘publish_time_in_day’ feat: Support filtering by requisitionId is ListJobs API (d4c3340)
  • translate: added v3 proto for online/batch document translation and updated v3beta1 proto for format conversion (bf4378b)

Bug Fixes

  • datastream: Change a few resource pattern variables from camelCase to snake_case (bf4378b)

0.92.0 (2021-08-16)

Features

0.91.0 (2021-08-11)

Features

  • .github: support dynamic submodule detection (#4537) (4374b90)
  • dialogflow/cx: add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query parameters docs: deprecate legacy logging settings (ed73554)
  • dialogflow/cx: add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query parameters docs: deprecate legacy logging settings (ed73554)
  • dialogflow/cx: added support for DLP templates; expose Locations service to get/list avaliable locations of Dialogflow products (5996846)
  • dialogflow/cx: added support for DLP templates; expose Locations service to get/list avaliable locations of Dialogflow products docs: reorder some fields (5996846)
  • dialogflow: expose Locations service to get/list avaliable locations of Dialogflow products; fixed some API annotations (5996846)
  • kms: add support for HMAC, Variable Key Destruction, and GenerateRandom (5996846)
  • speech: add total_billed_time response field (5996846)
  • video/transcoder: Add video cropping feature feat: Add video padding feature feat: Add ttl_after_completion_days field to Job docs: Update proto documentation docs: Indicate v1beta1 deprecation (5996846)

Bug Fixes

  • functions: Updating behavior of source_upload_url during Get/List function calls (381a494)

0.90.0 (2021-08-03)

⚠ BREAKING CHANGES

  • compute: add pagination and an Operation wrapper (#4542)

Features

  • compute: add pagination and an Operation wrapper (#4542) (36f4649)
  • internal/godocfx: add status to packages and TOCs (#4547) (c6de69c)
  • internal/godocfx: mark status of deprecated items (#4525) (d571c6f)

Bug Fixes

0.89.0 (2021-07-29)

Features

  • assuredworkloads: Add EU Regions And Support compliance regime (a52baa4)
  • datacatalog: Added support for BigQuery connections entries feat: Added support for BigQuery routines entries feat: Added usage_signal field feat: Added labels field feat: Added ReplaceTaxonomy in Policy Tag Manager Serialization API feat: Added support for public tag templates feat: Added support for rich text tags docs: Documentation improvements (a52baa4)
  • datafusion: start generating apiv1 (e55a016)
  • iap: start generating apiv1 (e55a016)
  • internal/carver: add tooling to help carve out sub-modules (#4417) (a7e28f2)
  • networkconnectivity: Add files for Network Connectivity v1 API. (a52baa4)
  • retail: Add restricted Retail Search features for Retail API v2. (a52baa4)
  • secretmanager: In Secret Manager, users can now use filter to customize the output of ListSecrets/ListSecretVersions calls (a52baa4)
  • securitycenter: add finding_class and indicator fields in Finding (a52baa4)
  • speech: add total_billed_time response field. fix!: phrase_set_id is required field in CreatePhraseSetRequest. fix!: custom_class_id is required field in CreateCustomClassRequest. (a52baa4)
  • storagetransfer: start generating apiv1 (#4505) (f2d531d)

Bug Fixes

0.88.0 (2021-07-22)

⚠ BREAKING CHANGES

  • cloudbuild/apiv1: Proto had a prior definitions of WorkerPool resources which were never supported. This change replaces those resources with definitions that are currently supported.

Features

  • cloudbuild/apiv1: add a WorkerPools API (19ea3f8)
  • cloudbuild/apiv1: Implementation of Build Failure Info: - Added message FailureInfo field (19ea3f8)
  • osconfig/agentendpoint: OSConfig AgentEndpoint: add basic os info to RegisterAgentRequest, add WindowsApplication type to Inventory (8936bc3)
  • resourcesettings: Publish Cloud ResourceSettings v1 API (43ad3cb)

Bug Fixes

  • internal/godocfx: set exit code, print cmd output, no go get ... (#4445) (cc70f77)
  • internal: detect module for properly generating docs URLs (#4460) (1eaba8b), refs #4447
  • kms: Updating WORKSPACE files to use the newest version of the Typescript generator. (8936bc3)

0.87.0 (2021-07-13)

Features

  • container: allow updating security group on existing clusters (528ffc9)
  • monitoring/dashboard: added validation only mode when writing dashboards feat: added alert chart widget (652d7c2)
  • networkmanagment: start generating apiv1 (907592c)
  • secretmanager: Tune Secret Manager auto retry parameters (528ffc9)
  • video/transcoder: start generating apiv1 (907592c)

Bug Fixes

Miscellaneous Chores

0.86.0 (2021-07-01)

Features

  • bigquery managedwriter: schema conversion support (#4357) (f2b20f4)

0.85.0 (2021-06-30)

Features

  • dataflow: start generating apiv1beta3 (cfee361)
  • datastream: start generating apiv1alpha1 (cfee361)
  • dialogflow: added Automated agent reply type and allow cancellation flag for partial response feature. (5a9c6ce)
  • documentai: update document.proto, add the processor management methods. (5a9c6ce)
  • eventarc: start generating apiv1 (cfee361)
  • gkehub: added v1alpha messages and client for gkehub (8fb4649)
  • internal/godocfx: add support for other modules (#4290) (d52bae6)
  • internal/godocfx: different metadata for different modules (#4297) (598f5b9)
  • internal: add force option for regen (#4310) (de654eb)
  • servicecontrol: Added the gRPC service config for the Service Controller v1 API docs: Updated some comments. (8fb4649)
  • workflows/executions: start generating apiv1 (cfee361)

Bug Fixes

  • internal: add autogenerated header to snippets (#4261) (2220787), refs #4260
  • internal: fix googleapis-disco regen (#4354) (aeea1ce)
  • kms: replace IAMPolicy mixin in service config. (5a9c6ce)
  • security/privateca: Fixed casing of the Ruby namespace (5a9c6ce)

0.84.0 (2021-06-09)

Features

  • aiplatform: start generating apiv1 (be1d729)
  • apigeeconnect: start generating abiv1 (be1d729)
  • dialogflow/cx: support sentiment analysis in bot testing (7a57aac)
  • dialogflow/cx: support sentiment analysis in bot testing (6ad2306)
  • documentai: Move CommonOperationMetadata into a separate proto file for potential reuse. (9e80ea0)
  • documentai: Move CommonOperationMetadata into a separate proto file for potential reuse. (18375e5)
  • gkeconnect/gateway: start generating apiv1beta1 (#4235) (1c3e968)
  • lifesciences: strat generating apiv2beta (be1d729)
  • tpu: start generating apiv1 (#4199) (cac48ea)

Bug Fixes

  • bttest: fix race condition in SampleRowKeys (#4207) (5711fb1)
  • documentai: Fix Ruby gem title of documentai v1 (package not currently published) (9e80ea0)

0.83.0 (2021-06-02)

Features

  • dialogflow: added a field in the query result to indicate whether slot filling is cancelled. (f9cda8f)
  • essentialcontacts: start generating apiv1 (#4118) (fe14afc)
  • gsuiteaddons: start generating apiv1 (#4082) (6de5c99)
  • osconfig: OSConfig: add ExecResourceOutput and per step error message. (f9cda8f)
  • osconfig: start generating apiv1alpha (#4119) (8ad471f)
  • privatecatalog: start generating apiv1beta1 (500c1a6)
  • serviceusage: start generating apiv1 (#4120) (e4531f9)
  • shell: start generating apiv1 (500c1a6)
  • vpcaccess: start generating apiv1 (500c1a6)

0.82.0 (2021-05-17)

Features

  • billing/budgets: Added support for configurable budget time period. fix: Updated some documentation links. (83b1b3b)
  • billing/budgets: Added support for configurable budget time period. fix: Updated some documentation links. (83b1b3b)
  • cloudbuild/apiv1: Add fields for Pub/Sub triggers (8b4adbf)
  • cloudbuild/apiv1: Implementation of Source Manifests: - Added message StorageSourceManifest as an option for the Source message - Added StorageSourceManifest field to the SourceProvenance message (7fd2ccd)
  • clouddms: start generating apiv1 (#4081) (29df85c)
  • dataproc: update the Dataproc V1 API client library (9a459d5)
  • dialogflow/cx: add support for service directory webhooks (7fd2ccd)
  • dialogflow/cx: add support for service directory webhooks (7fd2ccd)
  • dialogflow/cx: support setting current_page to resume sessions; expose transition_route_groups in flows and language_code in webhook (9a459d5)
  • dialogflow/cx: support setting current_page to resume sessions; expose transition_route_groups in flows and language_code in webhook (9a459d5)
  • dialogflow: added more Environment RPCs feat: added Versions service feat: added Fulfillment service feat: added TextToSpeechSettings. feat: added location in some resource patterns. (4f73dc1)
  • documentai: add confidence field to the PageAnchor.PageRef in document.proto. (d089dda)
  • documentai: add confidence field to the PageAnchor.PageRef in document.proto. (07fdcd1)
  • internal/gapicgen: only update relevant gapic files (#4066) (5948bee)
  • internal/gensnippets: add license header and region tags (#3924) (e9ff7a0)
  • internal/gensnippets: initial commit (#3922) (3fabef0)
  • internal: auto-generate snippets (#3949) (b70e0fc)
  • internal: generate region tags for snippets (#3962) (ef2b90e)
  • metastore: start generateing apiv1 (#4083) (661610a)
  • security/privateca: start generating apiv1 (#4023) (08aa83a)
  • securitycenter: add canonical_name and folder fields (5c5ca08)
  • securitycenter: add canonical_name and folder fields (5c5ca08)
  • speech: add webm opus support. (d089dda)
  • speech: Support for spoken punctuation and spoken emojis. (9a459d5)

Bug Fixes

  • binaryauthorization: add Java options to Binaryauthorization protos (9a459d5)
  • internal/gapicgen: filter out internal directory changes (#4085) (01473f6)
  • internal/gapicgen: use correct region tags for gensnippets (#4022) (8ccd689)
  • internal/gensnippets: run goimports (#3931) (10050f0)
  • internal: append a new line to comply with go fmt (#4028) (a297278)
  • internal: make sure formatting is run on snippets (#4039) (130dfc5), refs #4037
  • metastore: increase metastore lro polling timeouts (83b1b3b)

Miscellaneous Chores

0.81.0 (2021-04-02)

Features

  • datacatalog: Policy Tag Manager v1 API service feat: new RenameTagTemplateFieldEnumValue API feat: adding fully_qualified_name in lookup and search feat: added DATAPROC_METASTORE integrated system along with new entry types: DATABASE and SERVICE docs: Documentation improvements (2b02a03)
  • dialogflow/cx: include original user query in WebhookRequest; add GetTextCaseresult API. doc: clarify resource format for session response. (a0b1f6f)
  • dialogflow/cx: include original user query in WebhookRequest; add GetTextCaseresult API. doc: clarify resource format for session response. (b5b4da6)
  • dialogflow: expose MP3_64_KBPS and MULAW for output audio encodings. (b5b4da6)
  • secretmanager: Rotation for Secrets (2b02a03)

Bug Fixes

0.80.0 (2021-03-23)

⚠ BREAKING CHANGES

  • all: This is a breaking change in dialogflow

Features

  • appengine: added vm_liveness, search_api_available, network_settings, service_account, build_env_variables, kms_key_reference to v1 API (fd04a55)
  • assuredworkloads: Add ‘resource_settings’ field to provide custom properties (ids) for the provisioned projects. (ab4824a)
  • assuredworkloads: add HIPAA and HITRUST compliance regimes (ab4824a)
  • dialogflow/cx: added fallback option when restoring an agent docs: clarified experiment length (cd70aa9)
  • dialogflow/cx: start generating apiv3 (#3850) (febbdcf), refs #3634
  • documentai: add EVAL_SKIPPED value to the Provenance.OperationType enum in document.proto. (cb43066)
  • documentai: start generating apiv1 (#3853) (d68e604)
  • internal/godocfx: add prettyprint class to code blocks (#3819) (6e49f21)
  • internal/godocfx: handle Markdown content (#3816) (56d5d0a)
  • kms: Add maxAttempts to retry policy for KMS gRPC service config feat: Add Bazel exports_files entry for KMS gRPC service config (fd04a55)
  • resourcesettings: start generating apiv1 (#3854) (3b288b4)
  • speech: Support output transcript to GCS for LongRunningRecognize. (fd04a55)
  • speech: Support output transcript to GCS for LongRunningRecognize. (cd70aa9)
  • speech: Support output transcript to GCS for LongRunningRecognize. (35a8706)

Miscellaneous Chores

0.79.0 (2021-03-10)

Features

  • apigateway: start generating apiv1 (#3726) (66046da)
  • channel: addition of billing_account field on Plan. docs: clarification that valid address lines are required for all customers. (d4246aa)
  • dialogflow/cx: allow to disable webhook invocation per request (d4246aa)
  • dialogflow/cx: allow to disable webhook invocation per request (44c6bf9)
  • dialogflow: Add CCAI API (18c88c4)
  • documentai: remove the translation fields in document.proto. (18c88c4)
  • documentai: Update documentai/v1beta3 protos: add support for boolean normalized value (529925b)
  • internal/godocfx: keep some cross links on same domain (#3767) (77f76ed)
  • internal: add ability to regenerate one module's docs (#3777) (dc15995)
  • metastore: added support for release channels when creating service (18c88c4)
  • metastore: Publish Dataproc Metastore v1alpha API (18c88c4)
  • metastore: start generating apiv1alpha (#3747) (359312a)
  • metastore: start generating apiv1beta (#3788) (2977095)
  • secretmanager: added topic field to Secret (f1323b1)

Bug Fixes

  • analytics/admin: add https://www.googleapis.com/auth/analytics.edit OAuth2 scope to the list of acceptable scopes for all read only methods of the Admin API docs: update the documentation of the update_mask field used by Update() methods (f1323b1)
  • apigateway: Provide resource definitions for service management and IAM resources (18c88c4)
  • functions: Fix service namespace in grpc_service_config. (7811a34)
  • internal/godocfx: prevent index out of bounds when pkg == mod (#3768) (3d80b4e)
  • internal/godocfx: use correct anchor links (#3738) (919039a)
  • internal: fix Bash syntax (#3779) (3dd245d)
  • tables: use area120tables_v1alpha1.yaml as api-service-config (#3759) (b130ec0)

0.78.0 (2021-02-22)

Features

  • area120/tables: Added ListWorkspaces, GetWorkspace, BatchDeleteRows APIs. (16597fa)
  • area120/tables: Added ListWorkspaces, GetWorkspace, BatchDeleteRows APIs. (0bd21d7)
  • dialogflow: add additional_bindings to Dialogflow v2 ListIntents API docs: update copyrights and session docs (0bd21d7)
  • documentai: Update documentai/v1beta3 protos (613ced7)
  • gkehub: Update Membership API v1beta1 proto (613ced7)
  • servicecontrol: Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description). chore: Update Bazel-Ruby rules version. chore: Update build_gen version. (0bd21d7)
  • speech: Support Model Adaptation. (0bd21d7)

Bug Fixes

  • dialogflow/cx: RunTestCase http template. PHP REST client lib can be generated. feat: Support transition route group coverage for Test Cases. (613ced7)
  • errorreporting: Fixes ruby gem build (0bd21d7)

0.77.0 (2021-02-16)

Features

  • channel: Add Pub/Sub endpoints for Cloud Channel API. (1aea7c8)
  • dialogflow/cx: supports SentimentAnalysisResult in webhook request docs: minor updates in wording (2b4414d)
  • errorreporting: Make resolution status field available for error groups. Now callers can set the status of an error group by passing this to UpdateGroup. When not specified, it's treated like OPEN. feat: Make source location available for error groups created from GAE. (2b4414d)
  • errorreporting: Make resolution status field available for error groups. Now callers can set the status of an error group by passing this to UpdateGroup. When not specified, it's treated like OPEN. feat: Make source location available for error groups created from GAE. (f66114b)
  • gkehub: start generating apiv1beta1 (#3698) (8aed3bd)
  • internal/docfx: full cross reference linking (#3656) (fcb7318)
  • memcache: added ApplySoftwareUpdate API docs: various clarifications, new documentation for ApplySoftwareUpdate chore: update proto annotations (2b4414d)
  • networkconnectivity: Add state field in resources docs: Minor changes (0b4370a)
  • networkconnectivity: Add state field in resources docs: Minor changes (b4b5898)
  • recommendationengine: start generating apiv1beta1 (#3686) (8f4e130)

Bug Fixes

  • errorreporting: Remove dependency on AppEngine's proto definitions. This also removes the source_references field. (2b4414d)
  • errorreporting: Update bazel builds for ER client libraries. (0b4370a)
  • internal/godocfx: use exact list of top-level decls (#3665) (3cd2961)
  • kms: do not retry on 13 INTERNAL (2b4414d)
  • orgpolicy: Fix constraint resource pattern annotation (f66114b)
  • orgpolicy: Fix constraint resource pattern annotation (0b4370a)
  • profiler: make sure retries use the most up-to-date copy of the trailer (#3660) (3ba9ebc)
  • vision: sync vision v1 protos to get extra FaceAnnotation Landmark Types (2b4414d)

0.76.0 (2021-02-02)

Features

  • accessapproval: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator. (ac22beb)
  • all: auto-regenerate gapics (#3526) (ab2af0b)
  • all: auto-regenerate gapics (#3539) (84d4d8a)
  • all: auto-regenerate gapics (#3546) (959fde5)
  • all: auto-regenerate gapics (#3563) (102112a)
  • all: auto-regenerate gapics (#3576) (ac22beb)
  • all: auto-regenerate gapics (#3580) (9974a80)
  • all: auto-regenerate gapics (#3587) (3859a6f)
  • all: auto-regenerate gapics (#3598) (7bdebad)
  • appengine: start generating apiv1 (#3561) (2b6a3b4)
  • assuredworkloads: updated google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService service. Clients can now create workloads with US_REGIONAL_ACCESS compliance regime (7bdebad)
  • binaryauthorization: start generating apiv1beta1 (#3562) (56e18a6)
  • channel: Add Pub/Sub endpoints for Cloud Channel API. (9070c86)
  • cloudtasks: introducing field: ListQueuesRequest.read_mask, GetQueueRequest.read_mask, Queue.task_ttl, Queue.tombstone_ttl, Queue.stats, Task.pull_message and introducing messages: QueueStats PullMessage docs: updates to max burst size description (7bdebad)
  • cloudtasks: introducing fields: ListQueuesRequest.read_mask, GetQueueRequest.read_mask, Queue.task_ttl, Queue.tombstone_ttl, Queue.stats and introducing messages: QueueStats docs: updates to AppEngineHttpRequest description (7bdebad)
  • datalabeling: start generating apiv1beta1 (#3582) (d8a7fee)
  • dataqna: start generating apiv1alpha (#3586) (24c5b8f)
  • dialogflow/cx: Add new Experiment service docs: minor doc update on redact field in intent.proto and page.proto (0959f27)
  • dialogflow/cx: added support for test cases and agent validation (7bdebad)
  • dialogflow/cx: added support for test cases and agent validation (3859a6f)
  • dialogflow: add C++ targets for DialogFlow (959fde5)
  • documentai: start generating apiv1beta3 (#3595) (5ae21fa)
  • domains: start generating apiv1beta1 (#3632) (b8ada6f)
  • godocfx: include alt documentation link (#3530) (806cdd5)
  • internal/gapicgen: change commit formatting to match standard (#3500) (d1e3d46)
  • internal/godocfx: xref function declarations (#3615) (2bdbb87)
  • mediatranslation: start generating apiv1beta1 (#3636) (4129469)
  • memcache: start generating apiv1 (#3579) (eabf7cf)
  • networkconnectivity: initial generation of apiv1alpha1 (#3567) (adf489a)
  • orgpolicy: start generating apiv2 (#3652) (c103847)
  • osconfig/agentendpoint: add ApplyConfigTask to AgentEndpoint API (9070c86)
  • osconfig/agentendpoint: add ApplyConfigTask to AgentEndpoint API (9af529c)
  • recommender: add bindings for folder/org type resources for protos in recommendations, insights and recommender_service to enable v1 api for folder/org (7bdebad)
  • recommender: auto generated cl for enabling v1beta1 folder/org APIs and integration test (7bdebad)
  • resourcemanager: start generating apiv2 (#3575) (93d0ebc)
  • secretmanager: added expire_time and ttl fields to Secret (9974a80)
  • secretmanager: added expire_time and ttl fields to Secret (ac22beb)
  • servicecontrol: start generating apiv1 (#3644) (f84938b)
  • servicemanagement: start generating apiv1 (#3614) (b96134f)

Bug Fixes

  • datacatalog: Update PHP package name casing to match the PHP namespace in the proto files (c7ecf0f)
  • internal/godocfx: add TOC element for module root package (#3599) (1d6eb23)
  • profiler: Force gax to retry in case of certificate errors (#3178) (35dcd72)

0.75.0 (2021-01-11)

Features

Bug Fixes

  • internal/gapicgen: don't regen files that have been deleted (#3471) (112ca94)

0.74.0 (2020-12-10)

Features

Bug Fixes

  • internal/gapicgen: don't create genproto pr as draft (#3379) (517ab0f)

0.73.0 (2020-12-04)

Features

Bug Fixes

  • internal/godocfx: filter out test packages from other modules (#3197) (1d397aa)

0.72.0 (2020-11-10)

Features

Bug Fixes

  • all: Update hand-written clients to not use WithEndpoint override (#3111) (f0cfd05)
  • internal/godocfx: rename README files to pkg-readme (#3185) (d3a8571)

0.71.0 (2020-10-30)

Features

Bug Fixes

  • internal/kokoro: remove unnecessary cd (#3071) (c1a4c3e)
  • pubsublite: Disable integration tests for project id (#3087) (a0982f7)

0.70.0 (2020-10-19)

Features

  • all: auto-regenerate gapics , refs #3047 #3035 #3025
  • managedidentities: start generating apiv1 (#3032) (10ccca2)
  • pubsublite: Types for resource paths and topic/subscription configs (#3026) (6f7fa86)

0.69.1 (2020-10-14)

This is an empty release that was created solely to aid in pubsublite's module carve out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

0.69.0 (2020-10-14)

Features

Bug Fixes

  • godocfx: make extra files optional, filter out third_party (#2985) (f268921)

0.68.0 (2020-10-02)

Features

0.67.0 (2020-09-29)

Features

Bug Fixes

0.66.0 (2020-09-15)

Features

Bug Fixes

  • internal/kokoro: install the right version of docuploader (#2861) (d8489c1)
  • internal/kokoro: remove extra dash in doc tarball (#2862) (690ddcc)
  • profiler: do not collect disabled profile types (#2836) (faeb498), refs #2835

Reverts

  • cloudbuild): "feat(cloudbuild: Start generating apiv1/v3" (#2840) (3aaf755)

0.65.0 (2020-08-27)

Announcements

The following changes will be included in an upcoming release and are not included in this one.

Default Deadlines

By default, non-streaming methods, like Create or Get methods, will have a default deadline applied to the context provided at call time, unless a context deadline is already set. Streaming methods have no default deadline and will run indefinitely, unless the context provided at call time contains a deadline.

To opt-out of this behavior, set the environment variable GOOGLE_API_GO_EXPERIMENTAL_DISABLE_DEFAULT_DEADLINE to true prior to initializing a client. This opt-out mechanism will be removed in a later release, with a notice similar to this one ahead of its removal.

Features

Bug Fixes

0.64.0 (2020-08-18)

Features

0.63.0 (2020-08-05)

Features

v0.62.0

Announcements

  • There was a breaking change to cloud.google.com/go/dataproc/apiv1 that was merged in this PR. This fixed a broken API response for DiagnoseCluster. When polling on the Long Running Operation(LRO), the API now returns (*dataprocpb.DiagnoseClusterResults, error) whereas it only returned an error before.

Changes

  • all:
    • Updated all direct dependencies.
    • Updated contributing guidelines to suggest allowing edits from maintainers.
  • billing/budgets:
    • Start generating client for apiv1beta1.
  • functions:
    • Start generating client for apiv1.
  • notebooks:
    • Start generating client apiv1beta1.
  • profiler:
    • update proftest to support parsing floating-point backoff durations.
    • Fix the regexp used to parse backoff duration.
  • Various updates to autogenerated clients.

v0.61.0

Changes

  • all:
    • Update all direct dependencies.
  • dashboard:
    • Start generating client for apiv1.
  • policytroubleshooter:
    • Start generating client for apiv1.
  • profiler:
    • Disable OpenCensus Telemetry for requests made by the profiler package by default. You can re-enable it using profiler.Config.EnableOCTelemetry.
  • Various updates to autogenerated clients.

v0.60.0

Changes

  • all:
    • Refactored examples to reduce module dependencies.
    • Update sub-modules to use cloud.google.com/go v0.59.0.
  • internal:
    • Start generating client for gaming apiv1beta.
  • Various updates to autogenerated clients.

v0.59.0

Announcements

goolgeapis/google-cloud-go has moved its source of truth to GitHub and is no longer a mirror. This means that our contributing process has changed a bit. We will now be conducting all code reviews on GitHub which means we now accept pull requests! If you have a version of the codebase previously checked out you may wish to update your git remote to point to GitHub.

Changes

  • all:
    • Remove dependency on honnef.co/go/tools.
    • Update our contributing instructions now that we use GitHub for reviews.
    • Remove some un-inclusive terminology.
  • compute/metadata:
    • Pass cancelable context to DNS lookup.
  • .github:
    • Update templates issue/PR templates.
  • internal:
    • Bump several clients to GA.
    • Fix GoDoc badge source.
    • Several automation changes related to the move to GitHub.
    • Start generating a client for asset v1p5beta1.
  • Various updates to autogenerated clients.

v0.58.0

Deprecation notice

  • cloud.google.com/go/monitoring/apiv3 has been deprecated due to breaking changes in the API. Please migrate to cloud.google.com/go/monitoring/apiv3/v2.

Changes

  • all:
    • The remaining uses of gtransport.Dial have been removed.
    • The genproto dependency has been updated to a version that makes use of new protoreflect library. For more information on these protobuf changes please see the following post from the official Go blog: https://blog.golang.org/protobuf-apiv2.
  • internal:
    • Started generation of datastore admin v1 client.
    • Updated protofuf version used for generation to 3.12.X.
    • Update the release levels for several APIs.
    • Generate clients with protoc-gen-go@v1.4.1.
  • monitoring:
    • Re-enable generation of monitoring/apiv3 under v2 directory (see deprecation notice above).
  • profiler:
    • Fixed flakiness in tests.
  • Various updates to autogenerated clients.

v0.57.0

  • all:
    • Update module dependency google.golang.org/api to v0.21.0.
  • errorreporting:
    • Add exported SetGoogleClientInfo wrappers to manual file.
  • expr/v1alpha1:
    • Deprecate client. This client will be removed in a future release.
  • internal:
    • Fix possible data race in TestTracer.
    • Pin versions of tools used for generation.
    • Correct the release levels for BigQuery APIs.
    • Start generation osconfig v1.
  • longrunning:
    • Add exported SetGoogleClientInfo wrappers to manual file.
  • monitoring:
    • Stop generation of monitoring/apiv3 because of incoming breaking change.
  • trace:
    • Add exported SetGoogleClientInfo wrappers to manual file.
  • Various updates to autogenerated clients.

v0.56.0

  • secretmanager:
    • add IAM helper
  • profiler:
    • try all us-west1 zones for integration tests
  • internal:
    • add config to generate webrisk v1
    • add repo and commit to buildcop invocation
    • add recaptchaenterprise v1 generation config
    • update microgenerator to v0.12.5
    • add datacatalog client
    • start generating security center settings v1beta
    • start generating osconfig agentendpoint v1
    • setup generation for bigquery/connection/v1beta1
  • all:
    • increase continous testing timeout to 45m
    • various updates to autogenerated clients.

v0.55.0

  • Various updates to autogenerated clients.

v0.54.0

  • all:
    • remove unused golang.org/x/exp from mod file
    • update godoc.org links to pkg.go.dev
  • compute/metadata:
    • use defaultClient when http.Client is nil
    • remove subscribeClient
  • iam:
    • add support for v3 policy and IAM conditions
  • Various updates to autogenerated clients.

v0.53.0

  • all: most clients now use transport/grpc.DialPool rather than Dial (see #1777 for outliers).
    • Connection pooling now does not use the deprecated (and soon to be removed) gRPC load balancer API.
  • profiler: remove symbolization (drops support for go1.10)
  • Various updates to autogenerated clients.

v0.52.0

  • internal/gapicgen: multiple improvements related to library generation.
  • compute/metadata: unset ResponseHeaderTimeout in defaultClient
  • docs: fix link to KMS in README.md
  • Various updates to autogenerated clients.

v0.51.0

  • secretmanager:
    • add IAM helper for generic resource IAM handle
  • cloudbuild:
    • migrate to microgen in a major version
  • Various updates to autogenerated clients.

v0.50.0

  • profiler:
    • Support disabling CPU profile collection.
    • Log when a profile creation attempt begins.
  • compute/metadata:
    • Fix panic on malformed URLs.
    • InstanceName returns actual instance name.
  • Various updates to autogenerated clients.

v0.49.0

  • functions/metadata:
    • Handle string resources in JSON unmarshaller.
  • Various updates to autogenerated clients.

v0.48.0

  • Various updates to autogenerated clients

v0.47.0

This release drops support for Go 1.9 and Go 1.10: we continue to officially support Go 1.11, Go 1.12, and Go 1.13.

  • Various updates to autogenerated clients.
  • Add cloudbuild/apiv1 client.

v0.46.3

This is an empty release that was created solely to aid in storage's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.46.2

This is an empty release that was created solely to aid in spanner's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.46.1

This is an empty release that was created solely to aid in firestore's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.46.0

  • spanner:
    • Retry “Session not found” for read-only transactions.
    • Retry aborted PDMLs.
  • spanner/spannertest:
    • Fix a bug that was causing 0X-prefixed number to be parsed incorrectly.
  • storage:
    • Add HMACKeyOptions.
    • Remove *REGIONAL from StorageClass documentation. Using MULTI_REGIONAL, DURABLE_REDUCED_AVAILABILITY, and REGIONAL are no longer best practice StorageClasses but they are still acceptable values.
  • trace:
    • Remove cloud.google.com/go/trace. Package cloud.google.com/go/trace has been marked OBSOLETE for several years: it is now no longer provided. If you relied on this package, please vendor it or switch to using https://cloud.google.com/trace/docs/setup/go (which obsoleted it).

v0.45.1

This is an empty release that was created solely to aid in pubsub's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.45.0

  • compute/metadata:
    • Add Email method.
  • storage:
    • Fix duplicated retry logic.
    • Add ReaderObjectAttrs.StartOffset.
    • Support reading last N bytes of a file when a negative range is given, such as obj.NewRangeReader(ctx, -10, -1).
    • Add HMACKey listing functionality.
  • spanner/spannertest:
    • Support primary keys with no columns.
    • Fix MinInt64 parsing.
    • Implement deletion of key ranges.
    • Handle reads during a read-write transaction.
    • Handle returning DATE values.
  • pubsub:
    • Fix Ack/Modack request size calculation.
  • logging:
    • Add auto-detection of monitored resources on GAE Standard.

v0.44.3

This is an empty release that was created solely to aid in bigtable's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.44.2

This is an empty release that was created solely to aid in bigquery's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.44.1

This is an empty release that was created solely to aid in datastore's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.44.0

  • datastore:
    • Interface elements whose underlying types are supported, are now supported.
    • Reduce time to initial retry from 1s to 100ms.
  • firestore:
    • Add Increment transformation.
  • storage:
    • Allow emulator with STORAGE_EMULATOR_HOST.
    • Add methods for HMAC key management.
  • pubsub:
    • Add PublishCount and PublishLatency measurements.
    • Add DefaultPublishViews and DefaultSubscribeViews for convenience of importing all views.
    • Add add Subscription.PushConfig.AuthenticationMethod.
  • spanner:
    • Allow emulator usage with SPANNER_EMULATOR_HOST.
    • Add cloud.google.com/go/spanner/spannertest, a spanner emulator.
    • Add cloud.google.com/go/spanner/spansql which contains types and a parser for the Cloud Spanner SQL dialect.
  • asset:
    • Add apiv1p2beta1 client.

v0.43.0

This is an empty release that was created solely to aid in logging's module carve-out. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.

v0.42.0

  • bigtable:
    • Add an admin method to update an instance and clusters.
    • Fix bttest regex matching behavior for alternations (things like |a).
    • Expose BlockAllFilter filter.
  • bigquery:
    • Add Routines API support.
  • storage:
    • Add read-only Bucket.LocationType.
  • logging:
    • Add TraceSampled to Entry.
    • Fix to properly extract {Trace, Span}Id from X-Cloud-Trace-Context.
  • pubsub:
    • Add Cloud Key Management to TopicConfig.
    • Change ExpirationPolicy to optional.Duration.
  • automl:
    • Add apiv1beta1 client.
  • iam:
    • Fix compilation problem with iam/credentials/apiv1.

v0.41.0

  • bigtable:
    • Check results from PredicateFilter in bttest, which fixes certain false matches.
  • profiler:
    • debugLog checks user defined logging options before logging.
  • spanner:
    • PartitionedUpdates respect query parameters.
    • StartInstance allows specifying cloud API access scopes.
  • bigquery:
    • Use empty slice instead of nil for ValueSaver, fixing an issue with zero-length, repeated, nested fields causing panics.
  • firestore:
    • Return same number of snapshots as doc refs (in the form of duplicate records) during GetAll.
  • replay:
    • Change references to IPv4 addresses to localhost, making replay compatible with IPv6.

v0.40.0

  • all:
    • Update to protobuf-golang v1.3.1.
  • datastore:
    • Attempt to decode GAE-encoded keys if initial decoding attempt fails.
    • Support integer time conversion.
  • pubsub:
    • Add PublishSettings.BundlerByteLimit. If users receive pubsub.ErrOverflow, this value should be adjusted higher.
    • Use IPv6 compatible target in testutil.
  • bigtable:
    • Fix Latin-1 regexp filters in bttest, allowing \C.
    • Expose PassAllFilter.
  • profiler:
    • Add log messages for slow path in start.
    • Fix start to allow retry until success.
  • firestore:
    • Add admin client.
  • containeranalysis:
    • Add apiv1 client.
  • grafeas:
    • Add apiv1 client.

0.39.0

  • bigtable:
    • Implement DeleteInstance in bttest.
    • Return an error on invalid ReadRowsRequest.RowRange key ranges in bttest.
  • bigquery:
    • Move RequirePartitionFilter outside of TimePartioning.
    • Expose models API.
  • firestore:
    • Allow array values in create and update calls.
    • Add CollectionGroup method.
  • pubsub:
    • Add ExpirationPolicy to Subscription.
  • storage:
    • Add V4 signing.
  • rpcreplay:
    • Match streams by first sent request. This further improves rpcreplay's ability to distinguish streams.
  • httpreplay:
    • Set up Man-In-The-Middle config only once. This should improve proxy creation when multiple proxies are used in a single process.
    • Remove error on empty Content-Type, allowing requests with no Content-Type header but a non-empty body.
  • all:
    • Fix an edge case bug in auto-generated library pagination by properly propagating pagetoken.

0.38.0

This update includes a substantial reduction in our transitive dependency list by way of updating to opencensus@v0.21.0.

  • spanner:
    • Error implements GRPCStatus, allowing status.Convert.
  • bigtable:
    • Fix a bug in bttest that prevents single column queries returning results that match other filters.
    • Remove verbose retry logging.
  • logging:
    • Ensure RequestUrl has proper UTF-8, removing the need for users to wrap and rune replace manually.
  • recaptchaenterprise:
    • Add v1beta1 client.
  • phishingprotection:
    • Add v1beta1 client.

0.37.4

This patch releases re-builds the go.sum. This was not possible in the previous release.

  • firestore:
    • Add sentinel value DetectProjectID for auto-detecting project ID.
    • Add OpenCensus tracing for public methods.
    • Marked stable. All future changes come with a backwards compatibility guarantee.
    • Removed firestore/apiv1beta1. All users relying on this low-level library should migrate to firestore/apiv1. Note that most users should use the high-level firestore package instead.
  • pubsub:
    • Allow large messages in synchronous pull case.
    • Cap bundler byte limit. This should prevent OOM conditions when there are a very large number of message publishes occurring.
  • storage:
    • Add ETag to BucketAttrs and ObjectAttrs.
  • datastore:
    • Removed some non-sensical OpenCensus traces.
  • webrisk:
    • Add v1 client.
  • asset:
    • Add v1 client.
  • cloudtasks:
    • Add v2 client.

0.37.3

This patch release removes github.com/golang/lint from the transitive dependency list, resolving go get -u problems.

Note: this release intentionally has a broken go.sum. Please use v0.37.4.

0.37.2

This patch release is mostly intended to bring in v0.3.0 of google.golang.org/api, which fixes a GCF deployment issue.

Note: we had to-date accidentally marked Redis as stable. In this release, we've fixed it by downgrading its documentation to alpha, as it is in other languages and docs.

  • all:
    • Document context in generated libraries.

0.37.1

Small go.mod version bumps to bring in v0.2.0 of google.golang.org/api, which introduces a new oauth2 url.

0.37.0

  • spanner:
    • Add BatchDML method.
    • Reduced initial time between retries.
  • bigquery:
    • Produce better error messages for InferSchema.
    • Add logical type control for avro loads.
    • Add support for the GEOGRAPHY type.
  • datastore:
    • Add sentinel value DetectProjectID for auto-detecting project ID.
    • Allow flatten tag on struct pointers.
    • Fixed a bug that caused queries to panic with invalid queries. Instead they will now return an error.
  • profiler:
    • Add ability to override GCE zone and instance.
  • pubsub:
    • BEHAVIOR CHANGE: Refactor error code retry logic. RPCs should now more consistently retry specific error codes based on whether they're idempotent or non-idempotent.
  • httpreplay: Fixed a bug when a non-GET request had a zero-length body causing the Content-Length header to be dropped.
  • iot:
    • Add new apiv1 client.
  • securitycenter:
    • Add new apiv1 client.
  • cloudscheduler:
    • Add new apiv1 client.

0.36.0

  • spanner:
    • Reduce minimum retry backoff from 1s to 100ms. This makes time between retries much faster and should improve latency.
  • storage:
    • Add support for Bucket Policy Only.
  • kms:
    • Add ResourceIAM helper method.
    • Deprecate KeyRingIAM and CryptoKeyIAM. Please use ResourceIAM.
  • firestore:
    • Switch from v1beta1 API to v1 API.
    • Allow emulator with FIRESTORE_EMULATOR_HOST.
  • bigquery:
    • Add NumLongTermBytes to Table.
    • Add TotalBytesProcessedAccuracy to QueryStatistics.
  • irm:
    • Add new v1alpha2 client.
  • talent:
    • Add new v4beta1 client.
  • rpcreplay:
    • Fix connection to work with grpc >= 1.17.
    • It is now required for an actual gRPC server to be running for Dial to succeed.

0.35.1

  • spanner:
    • Adds OpenCensus views back to public API.

v0.35.0

  • all:
    • Add go.mod and go.sum.
    • Switch usage of gax-go to gax-go/v2.
  • bigquery:
    • Fix bug where time partitioning could not be removed from a table.
    • Fix panic that occurred with empty query parameters.
  • bttest:
    • Fix bug where deleted rows were returned by ReadRows.
  • bigtable/emulator:
    • Configure max message size to 256 MiB.
  • firestore:
    • Allow non-transactional queries in transactions.
    • Allow StartAt/EndBefore on direct children at any depth.
    • QuerySnapshotIterator.Stop may be called in an error state.
    • Fix bug the prevented reset of transaction write state in between retries.
  • functions/metadata:
    • Make Metadata.Resource a pointer.
  • logging:
    • Make SpanID available in logging.Entry.
  • metadata:
    • Wrap !200 error code in a typed err.
  • profiler:
    • Add function to check if function name is within a particular file in the profile.
    • Set parent field in create profile request.
    • Return kubernetes client to start cluster, so client can be used to poll cluster.
    • Add function for checking if filename is in profile.
  • pubsub:
    • Fix bug where messages expired without an initial modack in synchronous=true mode.
    • Receive does not retry ResourceExhausted errors.
  • spanner:
    • client.Close now cancels existing requests and should be much faster for large amounts of sessions.
    • Correctly allow MinOpened sessions to be spun up.

v0.34.0

  • functions/metadata:
    • Switch to using JSON in context.
    • Make Resource a value.
  • vision: Fix ProductSearch return type.
  • datastore: Add an example for how to handle MultiError.

v0.33.1

  • compute: Removes an erroneously added go.mod.
  • logging: Populate source location in fromLogEntry.

v0.33.0

  • bttest:
    • Add support for apply_label_transformer.
  • expr:
    • Add expr library.
  • firestore:
    • Support retrieval of missing documents.
  • kms:
    • Add IAM methods.
  • pubsub:
    • Clarify extension documentation.
  • scheduler:
    • Add v1beta1 client.
  • vision:
    • Add product search helper.
    • Add new product search client.

v0.32.0

Note: This release is the last to support Go 1.6 and 1.8.

  • bigquery:
    • Add support for removing an expiration.
    • Ignore NeverExpire in Table.Create.
    • Validate table expiration time.
  • cbt:
    • Add note about not supporting arbitrary bytes.
  • datastore:
    • Align key checks.
  • firestore:
    • Return an error when using Start/End without providing values.
  • pubsub:
    • Add pstest Close method.
    • Clarify MaxExtension documentation.
  • securitycenter:
    • Add v1beta1 client.
  • spanner:
    • Allow nil in mutations.
    • Improve doc of SessionPoolConfig.MaxOpened.
    • Increase session deletion timeout from 5s to 15s.

v0.31.0

  • bigtable:
    • Group mutations across multiple requests.
  • bigquery:
    • Link to bigquery troubleshooting errors page in bigquery.Error comment.
  • cbt:
    • Fix go generate command.
    • Document usage of both maxage + maxversions.
  • datastore:
    • Passing nil keys results in ErrInvalidKey.
  • firestore:
    • Clarify what Document.DataTo does with untouched struct fields.
  • profile:
    • Validate service name in agent.
  • pubsub:
    • Fix deadlock with pstest and ctx.Cancel.
    • Fix a possible deadlock in pstest.
  • trace:
    • Update doc URL with new fragment.

Special thanks to @fastest963 for going above and beyond helping us to debug hard-to-reproduce Pub/Sub issues.

v0.30.0

v0.29.0

  • bigtable:
    • Add retry to all idempotent RPCs.
    • cbt supports complex GC policies.
    • Emulator supports arbitrary bytes in regex filters.
  • firestore: Add ArrayUnion and ArrayRemove.
  • logging: Add the ContextFunc option to supply the context used for asynchronous RPCs.
  • profiler: Ignore NotDefinedError when fetching the instance name
  • pubsub:
    • BEHAVIOR CHANGE: Receive doesn't retry if an RPC returns codes.Cancelled.
    • BEHAVIOR CHANGE: Receive retries on Unavailable intead of returning.
    • Fix deadlock.
    • Restore Ack/Nack/Modacks metrics.
    • Improve context handling in iterator.
    • Implement synchronous mode for Receive.
    • pstest: add Pull.
  • spanner: Add a metric for the number of sessions currently opened.
  • storage:
    • Canceling the context releases all resources.
    • Add additional RetentionPolicy attributes.
  • vision/apiv1: Add LocalizeObjects method.

v0.28.0

  • bigtable:
    • Emulator returns Unimplemented for snapshot RPCs.
  • bigquery:
    • Support zero-length repeated, nested fields.
  • cloud assets:
    • Add v1beta client.
  • datastore:
    • Don't nil out transaction ID on retry.
  • firestore:
    • BREAKING CHANGE: When watching a query with Query.Snapshots, QuerySnapshotIterator.Next returns a QuerySnapshot which contains read time, result size, change list and the DocumentIterator (previously, QuerySnapshotIterator.Next returned just the DocumentIterator). See: https://godoc.org/cloud.google.com/go/firestore#Query.Snapshots.
    • Add array-contains operator.
  • IAM:
    • Add iam/credentials/apiv1 client.
  • pubsub:
    • Canceling the context passed to Subscription.Receive causes Receive to return when processing finishes on all messages currently in progress, even if new messages are arriving.
  • redis:
    • Add redis/apiv1 client.
  • storage:
    • Add Reader.Attrs.
    • Deprecate several Reader getter methods: please use Reader.Attrs for these instead.
    • Add ObjectHandle.Bucket and ObjectHandle.Object methods.

v0.27.0

  • bigquery:
    • Allow modification of encryption configuration and partitioning options to a table via the Update call.
    • Add a SchemaFromJSON function that converts a JSON table schema.
  • bigtable:
    • Restore cbt count functionality.
  • containeranalysis:
    • Add v1beta client.
  • spanner:
    • Fix a case where an iterator might not be closed correctly.
  • storage:

v0.26.0

  • bigquery:
  • bigtable:
    • Add RowSampleFilter.
    • emulator: BREAKING BEHAVIOR CHANGE: Regexps in row, family, column and value filters must match the entire target string to succeed. Previously, the emulator was succeeding on partial matches. NOTE: As of this release, this change only affects the emulator when run from this repo (bigtable/cmd/emulator/cbtemulator.go). The version launched from gcloud will be updated in a subsequent gcloud release.
  • dataproc: Add apiv1beta2 client.
  • datastore: Save non-nil pointer fields on omitempty.
  • logging: populate Entry.Trace from the HTTP X-Cloud-Trace-Context header.
  • logging/logadmin: Support writer_identity and include_children.
  • pubsub:
    • Support labels on topics and subscriptions.
    • Support message storage policy for topics.
    • Use the distribution of ack times to determine when to extend ack deadlines. The only user-visible effect of this change should be that programs that call only Subscription.Receive need no IAM permissions other than Pub/Sub Subscriber.
  • storage:
    • Support predefined ACLs.
    • Support additional ACL fields other than Entity and Role.
    • Support bucket websites.
    • Support bucket logging.

v0.25.0

  • Added Code of Conduct
  • bigtable:
    • cbt: Support a GC policy of “never”.
  • errorreporting:
    • Support User.
    • Close now calls Flush.
    • Use OnError (previously ignored).
    • Pass through the RPC error as-is to OnError.
  • httpreplay: A tool for recording and replaying HTTP requests (for the bigquery and storage clients in this repo).
  • kms: v1 client added
  • logging: add SourceLocation to Entry.
  • storage: improve CRC checking on read.

v0.24.0

  • bigquery: Support for the NUMERIC type.
  • bigtable:
    • cbt: Optionally specify columns for read/lookup
    • Support instance-level administration.
  • oslogin: New client for the OS Login API.
  • pubsub:
    • The package is now stable. There will be no further breaking changes.
    • Internal changes to improve Subscription.Receive behavior.
  • storage: Support updating bucket lifecycle config.
  • spanner: Support struct-typed parameter bindings.
  • texttospeech: New client for the Text-to-Speech API.

v0.23.0

  • bigquery: Add DDL stats to query statistics.
  • bigtable:
    • cbt: Add cells-per-column limit for row lookup.
    • cbt: Make it possible to combine read filters.
  • dlp: v2beta2 client removed. Use the v2 client instead.
  • firestore, spanner: Fix compilation errors due to protobuf changes.

v0.22.0

  • bigtable:

    • cbt: Support cells per column limit for row read.
    • bttest: Correctly handle empty RowSet.
    • Fix ReadModifyWrite operation in emulator.
    • Fix API path in GetCluster.
  • bigquery:

    • BEHAVIOR CHANGE: Retry on 503 status code.
    • Add dataset.DeleteWithContents.
    • Add SchemaUpdateOptions for query jobs.
    • Add Timeline to QueryStatistics.
    • Add more stats to ExplainQueryStage.
    • Support Parquet data format.
  • datastore:

    • Support omitempty for times.
  • dlp:

    • BREAKING CHANGE: Remove v1beta1 client. Please migrate to the v2 client, which is now out of beta.
    • Add v2 client.
  • firestore:

    • BEHAVIOR CHANGE: Treat set({}, MergeAll) as valid.
  • iam:

    • Support JWT signing via SignJwt callopt.
  • profiler:

    • BEHAVIOR CHANGE: PollForSerialOutput returns an error when context.Done.
    • BEHAVIOR CHANGE: Increase the initial backoff to 1 minute.
    • Avoid returning empty serial port output.
  • pubsub:

    • BEHAVIOR CHANGE: Don't backoff during next retryable error once stream is healthy.
    • BEHAVIOR CHANGE: Don't backoff on EOF.
    • pstest: Support Acknowledge and ModifyAckDeadline RPCs.
  • redis:

    • Add v1 beta Redis client.
  • spanner:

    • Support SessionLabels.
  • speech:

    • Add api v1 beta1 client.
  • storage:

    • BEHAVIOR CHANGE: Retry reads when retryable error occurs.
    • Fix delete of object in requester-pays bucket.
    • Support KMS integration.

v0.21.0

  • bigquery:

    • Add OpenCensus tracing.
  • firestore:

    • BREAKING CHANGE: If a document does not exist, return a DocumentSnapshot whose Exists method returns false. DocumentRef.Get and Transaction.Get return the non-nil DocumentSnapshot in addition to a NotFound error. DocumentRef.GetAll and Transaction.GetAll return a non-nil DocumentSnapshot instead of nil.
    • Add DocumentIterator.Stop. Call Stop whenever you are done with a DocumentIterator.
    • Added Query.Snapshots and DocumentRef.Snapshots, which provide realtime notification of updates. See https://cloud.google.com/firestore/docs/query-data/listen.
    • Canceling an RPC now always returns a grpc.Status with codes.Canceled.
  • spanner:

    • Add CommitTimestamp, which supports inserting the commit timestamp of a transaction into a column.

v0.20.0

  • bigquery: Support SchemaUpdateOptions for load jobs.

  • bigtable:

    • Add SampleRowKeys.
    • cbt: Support union, intersection GCPolicy.
    • Retry admin RPCS.
    • Add trace spans to retries.
  • datastore: Add OpenCensus tracing.

  • firestore:

    • Fix queries involving Null and NaN.
    • Allow Timestamp protobuffers for time values.
  • logging: Add a WriteTimeout option.

  • spanner: Support Batch API.

  • storage: Add OpenCensus tracing.

v0.19.0

  • bigquery:

    • Support customer-managed encryption keys.
  • bigtable:

    • Improved emulator support.
    • Support GetCluster.
  • datastore:

    • Add general mutations.
    • Support pointer struct fields.
    • Support transaction options.
  • firestore:

    • Add Transaction.GetAll.
    • Support document cursors.
  • logging:

    • Support concurrent RPCs to the service.
    • Support per-entry resources.
  • profiler:

    • Add config options to disable heap and thread profiling.
    • Read the project ID from $GOOGLE_CLOUD_PROJECT when it's set.
  • pubsub:

    • BEHAVIOR CHANGE: Release flow control after ack/nack (instead of after the callback returns).
    • Add SubscriptionInProject.
    • Add OpenCensus instrumentation for streaming pull.
  • storage:

    • Support CORS.

v0.18.0

  • bigquery:

    • Marked stable.
    • Schema inference of nullable fields supported.
    • Added TimePartitioning to QueryConfig.
  • firestore: Data provided to DocumentRef.Set with a Merge option can contain Delete sentinels.

  • logging: Clients can accept parent resources other than projects.

  • pubsub:

    • pubsub/pstest: A lighweight fake for pubsub. Experimental; feedback welcome.
    • Support updating more subscription metadata: AckDeadline, RetainAckedMessages and RetentionDuration.
  • oslogin/apiv1beta: New client for the Cloud OS Login API.

  • rpcreplay: A package for recording and replaying gRPC traffic.

  • spanner:

    • Add a ReadWithOptions that supports a row limit, as well as an index.
    • Support query plan and execution statistics.
    • Added OpenCensus support.
  • storage: Clarify checksum validation for gzipped files (it is not validated when the file is served uncompressed).

v0.17.0

  • firestore BREAKING CHANGES:
    • Remove UpdateMap and UpdateStruct; rename UpdatePaths to Update. Change docref.UpdateMap(ctx, map[string]interface{}{"a.b", 1}) to docref.Update(ctx, []firestore.Update{{Path: "a.b", Value: 1}})

      Change docref.UpdateStruct(ctx, []string{"Field"}, aStruct) to docref.Update(ctx, []firestore.Update{{Path: "Field", Value: aStruct.Field}})

    • Rename MergePaths to Merge; require args to be FieldPaths

    • A value stored as an integer can be read into a floating-point field, and vice versa.

  • bigtable/cmd/cbt:
    • Support deleting a column.
    • Add regex option for row read.
  • spanner: Mark stable.
  • storage:
    • Add Reader.ContentEncoding method.
    • Fix handling of SignedURL headers.
  • bigquery:
    • If Uploader.Put is called with no rows, it returns nil without making a call.
    • Schema inference supports the “nullable” option in struct tags for non-required fields.
    • TimePartitioning supports “Field”.

v0.16.0

  • Other bigquery changes:

    • JobIterator.Next returns *Job; removed JobInfo (BREAKING CHANGE).
    • UseStandardSQL is deprecated; set UseLegacySQL to true if you need Legacy SQL.
    • Uploader.Put will generate a random insert ID if you do not provide one.
    • Support time partitioning for load jobs.
    • Support dry-run queries.
    • A Job remembers its last retrieved status.
    • Support retrieving job configuration.
    • Support labels for jobs and tables.
    • Support dataset access lists.
    • Improve support for external data sources, including data from Bigtable and Google Sheets, and tables with external data.
    • Support updating a table's view configuration.
    • Fix uploading civil times with nanoseconds.
  • storage:

    • Support PubSub notifications.
    • Support Requester Pays buckets.
  • profiler: Support goroutine and mutex profile types.

v0.15.0

  • firestore: beta release. See the announcement.

  • errorreporting: The existing package has been redesigned.

  • errors: This package has been removed. Use errorreporting.

v0.14.0

  • bigquery BREAKING CHANGES:

    • Standard SQL is the default for queries and views.
    • Table.Create takes TableMetadata as a second argument, instead of options.
    • Dataset.Create takes DatasetMetadata as a second argument.
    • DatasetMetadata field ID renamed to FullID
    • TableMetadata field ID renamed to FullID
  • Other bigquery changes:

    • The client will append a random suffix to a provided job ID if you set AddJobIDSuffix to true in a job config.
    • Listing jobs is supported.
    • Better retry logic.
  • vision, language, speech: clients are now stable

  • monitoring: client is now beta

  • profiler:

    • Rename InstanceName to Instance, ZoneName to Zone
    • Auto-detect service name and version on AppEngine.

v0.13.0

  • bigquery: UseLegacySQL options for CreateTable and QueryConfig. Use these options to continue using Legacy SQL after the client switches its default to Standard SQL.

  • bigquery: Support for updating dataset labels.

  • bigquery: Set DatasetIterator.ProjectID to list datasets in a project other than the client's. DatasetsInProject is no longer needed and is deprecated.

  • bigtable: Fail ListInstances when any zones fail.

  • spanner: support decoding of slices of basic types (e.g. []string, []int64, etc.)

  • logging/logadmin: UpdateSink no longer creates a sink if it is missing (actually a change to the underlying service, not the client)

  • profiler: Service and ServiceVersion replace Target in Config.

v0.12.0

  • pubsub: Subscription.Receive now uses streaming pull.

  • pubsub: add Client.TopicInProject to access topics in a different project than the client.

  • errors: renamed errorreporting. The errors package will be removed shortly.

  • datastore: improved retry behavior.

  • bigquery: support updates to dataset metadata, with etags.

  • bigquery: add etag support to Table.Update (BREAKING: etag argument added).

  • bigquery: generate all job IDs on the client.

  • storage: support bucket lifecycle configurations.

v0.11.0

  • Clients for spanner, pubsub and video are now in beta.

  • New client for DLP.

  • spanner: performance and testing improvements.

  • storage: requester-pays buckets are supported.

  • storage, profiler, bigtable, bigquery: bug fixes and other minor improvements.

  • pubsub: bug fixes and other minor improvements

v0.10.0

  • pubsub: Subscription.ModifyPushConfig replaced with Subscription.Update.

  • pubsub: Subscription.Receive now runs concurrently for higher throughput.

  • vision: cloud.google.com/go/vision is deprecated. Use cloud.google.com/go/vision/apiv1 instead.

  • translation: now stable.

  • trace: several changes to the surface. See the link below.

Code changes required from v0.9.0

  • pubsub: Replace

    sub.ModifyPushConfig(ctx, pubsub.PushConfig{Endpoint: "https://example.com/push"})
    

    with

    sub.Update(ctx, pubsub.SubscriptionConfigToUpdate{
        PushConfig: &pubsub.PushConfig{Endpoint: "https://example.com/push"},
    })
    
  • trace: traceGRPCServerInterceptor will be provided from *trace.Client. Given an initialized *trace.Client named tc, instead of

    s := grpc.NewServer(grpc.UnaryInterceptor(trace.GRPCServerInterceptor(tc)))
    

    write

    s := grpc.NewServer(grpc.UnaryInterceptor(tc.GRPCServerInterceptor()))
    
  • trace trace.GRPCClientInterceptor will also provided from *trace.Client. Instead of

    conn, err := grpc.Dial(srv.Addr, grpc.WithUnaryInterceptor(trace.GRPCClientInterceptor()))
    

    write

    conn, err := grpc.Dial(srv.Addr, grpc.WithUnaryInterceptor(tc.GRPCClientInterceptor()))
    
  • trace: We removed the deprecated trace.EnableGRPCTracing. Use the gRPC interceptor as a dial option as shown below when initializing Cloud package clients:

    c, err := pubsub.NewClient(ctx, "project-id", option.WithGRPCDialOption(grpc.WithUnaryInterceptor(tc.GRPCClientInterceptor())))
    if err != nil {
        ...
    }
    

v0.9.0

  • Breaking changes to some autogenerated clients.
  • rpcreplay package added.

v0.8.0

  • profiler package added.
  • storage:
    • Retry Objects.Insert call.
    • Add ProgressFunc to WRiter.
  • pubsub: breaking changes:
    • Publish is now asynchronous (announcement).
    • Subscription.Pull replaced by Subscription.Receive, which takes a callback (announcement).
    • Message.Done replaced with Message.Ack and Message.Nack.

v0.7.0

  • Release of a client library for Spanner. See the blog post. Note that although the Spanner service is beta, the Go client library is alpha.

v0.6.0

  • Beta release of BigQuery, DataStore, Logging and Storage. See the blog post.

  • bigquery:

    • struct support. Read a row directly into a struct with RowIterator.Next, and upload a row directly from a struct with Uploader.Put. You can also use field tags. See the [package documentation][cloud-bigquery-ref] for details.

    • The ValueList type was removed. It is no longer necessary. Instead of

    var v ValueList
    ... it.Next(&v) ..
    

    use

    var v []Value
    ... it.Next(&v) ...
    
    • Previously, repeatedly calling RowIterator.Next on the same []Value or ValueList would append to the slice. Now each call resets the size to zero first.

    • Schema inference will infer the SQL type BYTES for a struct field of type []byte. Previously it inferred STRING.

    • The types uint, uint64 and uintptr are no longer supported in schema inference. BigQuery's integer type is INT64, and those types may hold values that are not correctly represented in a 64-bit signed integer.

v0.5.0

  • bigquery:
    • The SQL types DATE, TIME and DATETIME are now supported. They correspond to the Date, Time and DateTime types in the new cloud.google.com/go/civil package.
    • Support for query parameters.
    • Support deleting a dataset.
    • Values from INTEGER columns will now be returned as int64, not int. This will avoid errors arising from large values on 32-bit systems.
  • datastore:
    • Nested Go structs encoded as Entity values, instead of a flattened list of the embedded struct's fields. This means that you may now have twice-nested slices, eg.
      type State struct {
        Cities  []struct{
          Populations []int
        }
      }
      
      See the announcement for more details.
    • Contexts no longer hold namespaces; instead you must set a key's namespace explicitly. Also, key functions have been changed and renamed.
    • The WithNamespace function has been removed. To specify a namespace in a Query, use the Query.Namespace method:
      q := datastore.NewQuery("Kind").Namespace("ns")
      
    • All the fields of Key are exported. That means you can construct any Key with a struct literal:
      k := &Key{Kind: "Kind",  ID: 37, Namespace: "ns"}
      
    • As a result of the above, the Key methods Kind, ID, d.Name, Parent, SetParent and Namespace have been removed.
    • NewIncompleteKey has been removed, replaced by IncompleteKey. Replace
      NewIncompleteKey(ctx, kind, parent)
      
      with
      IncompleteKey(kind, parent)
      
      and if you do use namespaces, make sure you set the namespace on the returned key.
    • NewKey has been removed, replaced by NameKey and IDKey. Replace
      NewKey(ctx, kind, name, 0, parent)
      NewKey(ctx, kind, "", id, parent)
      
      with
      NameKey(kind, name, parent)
      IDKey(kind, id, parent)
      
      and if you do use namespaces, make sure you set the namespace on the returned key.
    • The Done variable has been removed. Replace datastore.Done with iterator.Done, from the package google.golang.org/api/iterator.
    • The Client.Close method will have a return type of error. It will return the result of closing the underlying gRPC connection.
    • See the announcement for more details.

v0.4.0

  • bigquery: -NewGCSReference is now a function, not a method on Client.

    • Table.LoaderFrom now accepts a ReaderSource, enabling loading data into a table from a file or any io.Reader.
    • Client.Table and Client.OpenTable have been removed. Replace

      client.OpenTable("project", "dataset", "table")
      

      with

      client.DatasetInProject("project", "dataset").Table("table")
      
    • Client.CreateTable has been removed. Replace

      client.CreateTable(ctx, "project", "dataset", "table")
      

      with

      client.DatasetInProject("project", "dataset").Table("table").Create(ctx)
      
    • Dataset.ListTables have been replaced with Dataset.Tables. Replace

      tables, err := ds.ListTables(ctx)
      

      with

      it := ds.Tables(ctx)
      for {
          table, err := it.Next()
          if err == iterator.Done {
              break
          }
          if err != nil {
              // TODO: Handle error.
          }
          // TODO: use table.
      }
      
    • Client.Read has been replaced with Job.Read, Table.Read and Query.Read. Replace

      it, err := client.Read(ctx, job)
      

      with

      it, err := job.Read(ctx)
      

      and similarly for reading from tables or queries.

    • The iterator returned from the Read methods is now named RowIterator. Its behavior is closer to the other iterators in these libraries. It no longer supports the Schema method; see the next item. Replace

      for it.Next(ctx) {
          var vals ValueList
          if err := it.Get(&vals); err != nil {
              // TODO: Handle error.
          }
          // TODO: use vals.
      }
      if err := it.Err(); err != nil {
          // TODO: Handle error.
      }
      

      with

      for {
          var vals ValueList
          err := it.Next(&vals)
          if err == iterator.Done {
              break
          }
          if err != nil {
              // TODO: Handle error.
          }
          // TODO: use vals.
      }
      

      Instead of the RecordsPerRequest(n) option, write

      it.PageInfo().MaxSize = n
      

      Instead of the StartIndex(i) option, write

      it.StartIndex = i
      
    • ValueLoader.Load now takes a Schema in addition to a slice of Values. Replace

      func (vl *myValueLoader) Load(v []bigquery.Value)
      

      with

      func (vl *myValueLoader) Load(v []bigquery.Value, s bigquery.Schema)
      
    • Table.Patch is replace by Table.Update. Replace

      p := table.Patch()
      p.Description("new description")
      metadata, err := p.Apply(ctx)
      

      with

      metadata, err := table.Update(ctx, bigquery.TableMetadataToUpdate{
          Description: "new description",
      })
      
    • Client.Copy is replaced by separate methods for each of its four functions. All options have been replaced by struct fields.

      • To load data from Google Cloud Storage into a table, use Table.LoaderFrom.

        Replace

        client.Copy(ctx, table, gcsRef)
        

        with

        table.LoaderFrom(gcsRef).Run(ctx)
        

        Instead of passing options to Copy, set fields on the Loader:

        loader := table.LoaderFrom(gcsRef)
        loader.WriteDisposition = bigquery.WriteTruncate
        
      • To extract data from a table into Google Cloud Storage, use Table.ExtractorTo. Set fields on the returned Extractor instead of passing options.

        Replace

        client.Copy(ctx, gcsRef, table)
        

        with

        table.ExtractorTo(gcsRef).Run(ctx)
        
      • To copy data into a table from one or more other tables, use Table.CopierFrom. Set fields on the returned Copier instead of passing options.

        Replace

        client.Copy(ctx, dstTable, srcTable)
        

        with

        dst.Table.CopierFrom(srcTable).Run(ctx)
        
      • To start a query job, create a Query and call its Run method. Set fields on the query instead of passing options.

        Replace

        client.Copy(ctx, table, query)
        

        with

        query.Run(ctx)
        
    • Table.NewUploader has been renamed to Table.Uploader. Instead of options, configure an Uploader by setting its fields. Replace

      u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())
      

      with

      u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())
      u.IgnoreUnknownValues = true
      
  • pubsub: remove pubsub.Done. Use iterator.Done instead, where iterator is the package google.golang.org/api/iterator.

v0.3.0

  • storage:

    • AdminClient replaced by methods on Client. Replace

      adminClient.CreateBucket(ctx, bucketName, attrs)
      

      with

      client.Bucket(bucketName).Create(ctx, projectID, attrs)
      
    • BucketHandle.List replaced by BucketHandle.Objects. Replace

      for query != nil {
          objs, err := bucket.List(d.ctx, query)
          if err != nil { ... }
          query = objs.Next
          for _, obj := range objs.Results {
              fmt.Println(obj)
          }
      }
      

      with

      iter := bucket.Objects(d.ctx, query)
      for {
          obj, err := iter.Next()
          if err == iterator.Done {
              break
          }
          if err != nil { ... }
          fmt.Println(obj)
      }
      

      (The iterator package is at google.golang.org/api/iterator.)

      Replace Query.Cursor with ObjectIterator.PageInfo().Token.

      Replace Query.MaxResults with ObjectIterator.PageInfo().MaxSize.

    • ObjectHandle.CopyTo replaced by ObjectHandle.CopierFrom. Replace

      attrs, err := src.CopyTo(ctx, dst, nil)
      

      with

      attrs, err := dst.CopierFrom(src).Run(ctx)
      

      Replace

      attrs, err := src.CopyTo(ctx, dst, &storage.ObjectAttrs{ContextType: "text/html"})
      

      with

      c := dst.CopierFrom(src)
      c.ContextType = "text/html"
      attrs, err := c.Run(ctx)
      
    • ObjectHandle.ComposeFrom replaced by ObjectHandle.ComposerFrom. Replace

      attrs, err := dst.ComposeFrom(ctx, []*storage.ObjectHandle{src1, src2}, nil)
      

      with

      attrs, err := dst.ComposerFrom(src1, src2).Run(ctx)
      
    • ObjectHandle.Update's ObjectAttrs argument replaced by ObjectAttrsToUpdate. Replace

      attrs, err := obj.Update(ctx, &storage.ObjectAttrs{ContextType: "text/html"})
      

      with

      attrs, err := obj.Update(ctx, storage.ObjectAttrsToUpdate{ContextType: "text/html"})
      
    • ObjectHandle.WithConditions replaced by ObjectHandle.If. Replace

      obj.WithConditions(storage.Generation(gen), storage.IfMetaGenerationMatch(mgen))
      

      with

      obj.Generation(gen).If(storage.Conditions{MetagenerationMatch: mgen})
      

      Replace

      obj.WithConditions(storage.IfGenerationMatch(0))
      

      with

      obj.If(storage.Conditions{DoesNotExist: true})
      
    • storage.Done replaced by iterator.Done (from package google.golang.org/api/iterator).

  • Package preview/logging deleted. Use logging instead.

v0.2.0

  • Logging client replaced with preview version (see below).

  • New clients for some of Google's Machine Learning APIs: Vision, Speech, and Natural Language.

  • Preview version of a new [Stackdriver Logging][cloud-logging] client in cloud.google.com/go/preview/logging. This client uses gRPC as its transport layer, and supports log reading, sinks and metrics. It will replace the current client at cloud.google.com/go/logging shortly.