Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream master >= v0.94.1 #14

Merged
merged 370 commits into from
Sep 8, 2021
Merged

upstream master >= v0.94.1 #14

merged 370 commits into from
Sep 8, 2021

Conversation

uschen
Copy link

@uschen uschen commented Sep 8, 2021

No description provided.

codyoss and others added 30 commits June 24, 2021 13:38
* 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: googleapis/go-genproto#623

Changes:

feat(servicedirectory): Update Service Directory v1beta1 protos to include VPC Network field, and create/modify timestamp fields.
  PiperOrigin-RevId: 381234166
  Source-Link: googleapis/googleapis@d69baf2

fix(servicecontrol): add dependency log_severity.proto
  Committer: @summerji
  PiperOrigin-RevId: 381179420
  Source-Link: googleapis/googleapis@8b976f7

feat(spanner): add JSON type
  PiperOrigin-RevId: 381156241
  Source-Link: googleapis/googleapis@fb5c4fb

feat(asset): add new searchable fields (memberTypes, roles, project, folders and organization), new request fields (assetTypes and orderBy) and new response fields (assetType, folders and organization) in SearchAllIamPolicies
  PiperOrigin-RevId: 381145907
  Source-Link: googleapis/googleapis@5d301f9

chore(resourcesettings): update resourcesettings build rules
  Committer: @neenushaji
  PiperOrigin-RevId: 380831596
  Source-Link: googleapis/googleapis@2c1d1b2

build(clouddms): fix package name hint
  PiperOrigin-RevId: 380817131
  Source-Link: googleapis/googleapis@284d1dd

feat(documentai): update ReviewDocumentRequest to allow set priority and enable validation.
  PiperOrigin-RevId: 380732771
  Source-Link: googleapis/googleapis@87fc4d4

feat!(dialogflow/cx): mark agent.default_language_code as required feat: add return_partial response to Fulfillment docs: add notes to train agent before sending queries
  PiperOrigin-RevId: 380726996
  Source-Link: googleapis/googleapis@a5cec0a

feat(pubsublite): Add SeekSubscription and Operations to API
  PiperOrigin-RevId: 380660182
  Source-Link: googleapis/googleapis@b601f02

chore(gkeconnect/gateway): fix multi-version package names in grpc_service_config for gkeconnect
  Committer: @miraleung
  PiperOrigin-RevId: 380655273
  Source-Link: googleapis/googleapis@9250dff

docs(dialogflow): added notes to train agent prior to sending queries fix: added resource reference to agent_version
  PiperOrigin-RevId: 380595849
  Source-Link: googleapis/googleapis@5fe3c63

docs(dialogflow/cx): added notes to train agent before sending queries
  PiperOrigin-RevId: 380267079
  Source-Link: googleapis/googleapis@01bad53

chore(gkeconnect/gateway): Update gkeconnect/gateway v1beta1 BUILD.bazel for python
  PiperOrigin-RevId: 380077711
  Source-Link: googleapis/googleapis@9d8dbc0

chore(resourcemanager): remove protoc-gen-docs_plugin from WORKSPACE
  PiperOrigin-RevId: 380020641
  Source-Link: googleapis/googleapis@cb44b17

* update deps
The forceAll option indicates that all proto files should be
regenerated.
…her (#4312)

PR supersedes: #4076

Related: #1294

With this change, project autodetection is enabled via use of a sentinel
value, and the retained project identifier is now exposed on the Client
and Job resources via the Project() function.
More backend changes appear to be inducing two forms of error message,
depending on which component intercepts the error first.  This test
captures both outcomes (we always get an error).

Co-authored-by: Tyler Bui-Palsulich <26876514+tbpg@users.noreply.github.com>
This is a new field in the IAM configuration for buckets.
Support viewing/setting via bucket attrs, and add an integration
test for the feature.

Closes #3203
Fixes for retryableStream and partitionCountWatcher to ensure PublisherSettings.Timeout and ReceiveSettings.Timeout are respected.
The frontend server for Pub/Sub might occasionally emit GOAWAY errors which are currently not retried. This is not unique to the Go client, though the categorization as `UNKNOWN` vs `UNVAILABLE` is a golang-GRPC issue. Although UNKNOWN [should not generally be retried](https://google.aip.dev/194), this will unblock users of `Receive` until the grpc library can be changed. See internal cl/377393940 for a similar fix in another Go library.

Fixes #4257.
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: googleapis/go-genproto#624

Changes:

fix!(aiplatform): Add C#, PHP and Ruby options for all AI Platform protos
  This is a breaking change for C#, PHP and Ruby, but none of those languages have published libraries for AI Platform.

  PiperOrigin-RevId: 381271921
  Source-Link: googleapis/googleapis@955fee2
Fixes: #3823 

DefaultEntryByteThreshold = `1 << 20 // 1MiB` ===> `1 << 23 // 8MiB` since size of an entries.write request	can be up to 10 MB. 

`DefaultBufferedByteLimit` is unchanged as that's more a cap on memory utilization.
…4320)

This adds a minor correction to Job's access to the underlying project.
While the access on the Client is more accurately called `Project()` as
it accepts project ID or project number, in this case the field is part
of the underlying JobReference type.

This was added yesterday in
#4312 and hasn't made
it into a release cut yet, so addressing this now before release.
Co-authored-by: Cody Oss <6331106+codyoss@users.noreply.github.com>
Changes include:
- add initial `rest` client generation (behind `transport=rest` flag)
- add `EnableJwtWithScope` default client options cc @shinfan
- dependency updates
Adds generation of a `compute` gapic that uses googleapis-discovery. 

Note: we need to capture some fixes in gapic-generator-go with a release there and update here before this will work.

cc: @software-dov @vchudnov-g
Add a gRPC Go GAPIC for the Storage API under an internal subdirectory of the submodule to ensure no one can import it. 

This GAPIC is being added for proof of concept development and should not be used in production or by any other client library.

Generated with the following:

```bash
$ cd google-cloud-go
$ export GOOGLE_CLOUD_GO=$(pwd)
$ cd internal/gapicgen
$ go run cloud.google.com/go/internal/gapicgen/cmd/genbot \
  -local \
  -regen-only \
  -only-gapics \
  -gapic=cloud.google.com/go/storage/internal/apiv1 \
  -gocloud-dir=$GOOGLE_CLOUD_GO
```
Since the createSubscriptionSettings struct is not exposed, hide apply().
* chore: release spanner 1.22.0

* Update CHANGES.md

Co-authored-by: Hengfeng Li <hengfeng@google.com>
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: googleapis/go-genproto#627

Changes:

Synchronize new proto/yaml changes.
  PiperOrigin-RevId: 381955863
  Source-Link: googleapis/googleapis@24443e8

build(apigeeconnect): name should be @google-cloud/apigee-connect
  PiperOrigin-RevId: 381518921
  Source-Link: googleapis/googleapis@8b4a440

feat(servicecontrol): Added the gRPC service config for the Service Controller v1 API docs: Updated some comments.
  PiperOrigin-RevId: 381355331
  Source-Link: googleapis/googleapis@da5f842

feat(gkehub): added v1alpha messages and client for gkehub
  Clients can now target the v1alpha GKE Hub API to interact with Feature
  resources.
  
  PiperOrigin-RevId: 381332895
  Source-Link: googleapis/googleapis@3bd91d5
Changes:

feat(dataflow): start generating apiv1beta3

feat(datastream): start generating apiv1alpha1

feat(eventarc): start generating apiv1

feat(workflows/executions): start generating apiv1

Release-As: 0.85.0
codyoss and others added 29 commits August 26, 2021 06:48
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: googleapis/go-genproto#661

Changes:

feat(analytics/admin): add `GetDataRetentionSettings`, `UpdateDataRetentionSettings` methods to the API
  feat: add `GetDisplayVideo360AdvertiserLink`, `ListDisplayVideo360AdvertiserLinks`, `CreateDisplayVideo360AdvertiserLink`, `DeleteDisplayVideo360AdvertiserLink` methods to the API
  
  feat: add `GetDisplayVideo360AdvertiserLinkProposal`, `ListDisplayVideo360AdvertiserLinkProposals`,`DeleteDisplayVideo360AdvertiserLinkProposal`, `CancelDisplayVideo360AdvertiserLinkProposal` methods to the API
  
  feat: add `LinkProposalStatusDetails`, `DisplayVideo360AdvertiserLinkProposal`, `DisplayVideo360AdvertiserLink`
  `LinkProposalState`, `LinkProposalInitiatingProduct`, `ServiceLevel`, `DataRetentionSettings` types to the API
  
  feat: add `service_level` field to `Property` type
  
  feat: add `display_video_360_advertiser_link`, `display_video_360_advertiser_link_proposal`, `data_retention_settings` fields to `ChangeHistoryChange.resource` oneof field.
  
  feat: add `custom` output only field to `ConversionEvent` type
  
  feat: change `measurement_unit` field to mutable in `CustomMetric` type
  
  fix!: remove `UpdateFirebaseLink` method from the API
  
  fix!: rename `is_deletable` field of `ConversionEvent` type to `deletable`
  
  fix!: rename `email_address` field of `GoogleAdsLink` type to `creator_email_address`
  
  fix!: remove `maximum_user_access` field from `FirebaseLink` type
  
  fix!: remove `MaximumUserAccess` enum from the API
  
  PiperOrigin-RevId: 392540180
  Source-Link: googleapis/googleapis@9e617db

chore(dialogflow/cx): Minor updates to links and library descriptions for CCAI and Dialogflow
  PiperOrigin-RevId: 392530804
  Source-Link: googleapis/googleapis@7ae7671
This client has been deprecated and has been deleted from googleapis.

googleapis/googleapis@be31a88
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: googleapis/go-genproto#664

Changes:

docs(dialogflow/cx): clarified some LRO types docs: fixed some wrong update mask descriptions
  PiperOrigin-RevId: 393365899
  Source-Link: googleapis/googleapis@4309574

feat(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
  PiperOrigin-RevId: 393200011
  Source-Link: googleapis/googleapis@354d076

feat(assuredworkloads): Add Canada Regions And Support compliance regime
  fix: ResourceType CONSUMER_PROJECT is deprecated

  feat: ResourceType CONSUMER_FOLDER and KEYRING are added

  feat: display_name is added to ResourceSettings

  fix: billing_account is now optional in Workload

  feat: resource_settings is added to CreateWorkloadOperationMetadata

  Committer: @ketanbshah
  PiperOrigin-RevId: 393142547
  Source-Link: googleapis/googleapis@4b6bb3d

chore(gkehub): update bazel BUILD
  PiperOrigin-RevId: 392995655
  Source-Link: googleapis/googleapis@410f323

feat(cloudbuild/apiv1): Update cloudbuild proto with the service_account for BYOSA Triggers.
  Committer: @emoryruscus
  PiperOrigin-RevId: 392957767
  Source-Link: googleapis/googleapis@5572865

docs(workflows/executions): Correct the name of the corresponding wrapper library
  PiperOrigin-RevId: 392910344
  Source-Link: googleapis/googleapis@dd50509

feat(cloudbuild/apiv1):add script field to BuildStep message
  PiperOrigin-RevId: 392761119
  Source-Link: googleapis/googleapis@3cd708e

docs(retail): Keep the API doc up-to-date feat: update grpc service config settings to reflect correct API deadlines chore: remove relative private links from search service comments to prevent crashing client lib generation tool
  PiperOrigin-RevId: 392712211
  Source-Link: googleapis/googleapis@cb637a6

feat(gkehub): Add request_id under `DeleteMembershipRequest` and `UpdateMembershipRequest`
  feat: Add `OnPremCluster` and `MultiCloudCluster` as `GkeCluster` equivalent field

  fix!: Move `GkeCluster` under oneof

  PiperOrigin-RevId: 392706843
  Source-Link: googleapis/googleapis@8c0e4a3
…4681)

* feat(bigquery/storage/managedwriter/adapt): add NormalizeDescriptor

This functionality supports the "bring your own proto" case for writing
data.

Towards: #4366
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: googleapis/go-genproto#665

Changes:

feat(gaming): support version reporting API
  PiperOrigin-RevId: 393476621
  Source-Link: googleapis/googleapis@e9da6f8
…4690)

* feat(bigquery/storage/managedwriter): more metrics instrumentation
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: googleapis/go-genproto#667

Changes:

feat(kms): add support for Key Reimport
  PiperOrigin-RevId: 393749648
  Source-Link: googleapis/googleapis@e3d9b11

feat(osconfig): Update osconfig v1 and v1alpha with WindowsApplication
  Committer: @coodie
  PiperOrigin-RevId: 393730900
  Source-Link: googleapis/googleapis@69fe13f

fix(datastream): Change a few resource pattern variables from camelCase to snake_case
  PiperOrigin-RevId: 393705818
  Source-Link: googleapis/googleapis@9e99074

feat(translate): added v3 proto for online/batch document translation and updated v3beta1 proto for format conversion
  PiperOrigin-RevId: 393656336
  Source-Link: googleapis/googleapis@17d3fb2
* Added check that the hit endpoint does not change

* Use subtests

* polish

* test verifies that server receives correct calls

* timeout overall in test

* timeout per subtest

* cleanup
Co-authored-by: shollyman <shollyman@google.com>
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: googleapis/go-genproto#668

Changes:

feat(aiplatform): add XAI, model monitoring, and index services to aiplatform v1
  Committer: @dizcology
  PiperOrigin-RevId: 393860361
  Source-Link: googleapis/googleapis@8031cc2
Updates microgen to v0.23.1. This incorporates a breaking change for compute that is intended. The heuristics for custom operation wrapping changed to exclude more RPCs (Wait RPCs).

BREAKING_CHANGE_ALLOWED: intended breaking change to alpha client.
Co-authored-by: Cody Oss <6331106+codyoss@users.noreply.github.com>
🤖 I have created a release \*beep\* \*boop\*
---
### [1.16.1](https://www.github.com/googleapis/google-cloud-go/compare/storage/v1.16.0...storage/v1.16.1) (2021-08-30)


### Bug Fixes

* **storage/internal:** Update encryption_key fields to "bytes" type. fix: Improve date/times and field name clarity in lifecycle conditions. ([a52baa4](https://www.github.com/googleapis/google-cloud-go/commit/a52baa456ed8513ec492c4b573c191eb61468758))
* **storage:** accept emulator env var without scheme ([#4616](https://www.github.com/googleapis/google-cloud-go/issues/4616)) ([5f8cbb9](https://www.github.com/googleapis/google-cloud-go/commit/5f8cbb98070109e2a34409ac775ed63b94d37efd))
* **storage:** preserve supplied endpoint's scheme ([#4609](https://www.github.com/googleapis/google-cloud-go/issues/4609)) ([ee2756f](https://www.github.com/googleapis/google-cloud-go/commit/ee2756fb0a335d591464a770c9fa4f8fe0ba2e01))
* **storage:** remove unnecessary variable ([#4608](https://www.github.com/googleapis/google-cloud-go/issues/4608)) ([27fc784](https://www.github.com/googleapis/google-cloud-go/commit/27fc78456fb251652bdf5cdb493734a7e1e643e1))
* **storage:** retry LockRetentionPolicy ([#4439](https://www.github.com/googleapis/google-cloud-go/issues/4439)) ([09879ea](https://www.github.com/googleapis/google-cloud-go/commit/09879ea80cb67f9bfd8fc9384b0fda335567cba9)), refs [#4437](https://www.github.com/googleapis/google-cloud-go/issues/4437)
* **storage:** revise Reader to send XML preconditions ([#4479](https://www.github.com/googleapis/google-cloud-go/issues/4479)) ([e36b29a](https://www.github.com/googleapis/google-cloud-go/commit/e36b29a3d43bce5c1c044f7daf6e1db00b0a49e0)), refs [#4470](https://www.github.com/googleapis/google-cloud-go/issues/4470)

This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…, Query.Deserialize for cross machine serialization (#4347)

Adds support for Serialization of Queries, useful for use with PartitionQuery APIs to distribute the work of streaming results. 

Also, as a side effect, DocumentRefs are now supported in OrderBy clauses.
In the case of an error res will be nil. Also, we should not break on nil err
as it might be eligible for a retry from the status code.

Fixes: #4713
Certain non-idempotent operations were being retried by the
library, and certain idempotent operations were not. This
fixes the following operations:

Add retry: notifications.delete, service_account.get
Remove retry: bucket_acl.delete, bucket_acl.update,
  default_object_acl.delete, default_object_acl.update,
  object_acl.delete, object_acl.update, hmacKey.create

Additional PR on conditionally idempotent operations to come.
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: googleapis/go-genproto#669

Changes:

feat(aiplatform): add Vizier service to aiplatform v1
  Committer: @dizcology
  PiperOrigin-RevId: 394116440
  Source-Link: googleapis/googleapis@67c780b

docs(dialogflow/cx): clarified some LRO types docs: fixed some wrong update mask descriptions
  PiperOrigin-RevId: 394033461
  Source-Link: googleapis/googleapis@aa15f32
Co-authored-by: Hengfeng Li <hengfeng@google.com>
…4729)

behavior

Previously, AppendRows() on a managed stream would return one
AppendResult per data row.  This change instead switches the
behavior to return a single AppendResult for tracking the behavior
of the set of rows.

The original per-row contract was done in expectation that we'd
consider making batching decisions are a very granular level. However,
at this point it seems reasonable to consider only batching multiple
appends, not dividing individual batchs more granularly.
@uschen uschen merged commit fd7f3a6 into nuorder:nuorder Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.