Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-cloud-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: aae4c07d81f76625e3be15b7677a2f714597831d
Choose a base ref
..
head repository: googleapis/google-cloud-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 577522c40288b86f512f175b5743a3f5d2528852
Choose a head ref
Showing with 4,207 additions and 1,460 deletions.
  1. +4 −0 .github/.OwlBot.yaml
  2. +5 −5 README.md
  3. +31 −20 aiplatform/apiv1beta1/aiplatformpb/io.pb.go
  4. +184 −160 aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data.pb.go
  5. +39 −3 auth/README.md
  6. +105 −104 cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customers.pb.go
  7. +43 −36 cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partner_permissions.pb.go
  8. +17 −16 cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customers.pb.go
  9. +46 −39 cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partner_permissions.pb.go
  10. +6 −3 doc.go
  11. +10 −0 internal/.repo-metadata-full.json
  12. +53 −0 internal/generated/snippets/maps/areainsights/apiv1/Client/ComputeInsights/main.go
  13. +61 −0 ...rnal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json
  14. +1 −1 ...ated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json
  15. +3 −0 internal/postprocessor/config.yaml
  16. +1 −0 maps/CHANGES.md
  17. +387 −0 maps/areainsights/apiv1/area_insights_client.go
  18. +19 −0 maps/areainsights/apiv1/area_insights_client_example_go123_test.go
  19. +83 −0 maps/areainsights/apiv1/area_insights_client_example_test.go
  20. +1,601 −0 maps/areainsights/apiv1/areainsightspb/area_insights_service.pb.go
  21. +17 −0 maps/areainsights/apiv1/auxiliary.go
  22. +19 −0 maps/areainsights/apiv1/auxiliary_go123.go
  23. +123 −0 maps/areainsights/apiv1/doc.go
  24. +33 −0 maps/areainsights/apiv1/gapic_metadata.json
  25. +23 −0 maps/areainsights/apiv1/version.go
  26. +24 −0 maps/routeoptimization/apiv1/route_optimization_client.go
  27. +1,258 −1,062 maps/routeoptimization/apiv1/routeoptimizationpb/route_optimization_service.pb.go
  28. +1 −1 pubsub/CHANGES.md
  29. +1 −1 spanner/errors.go
  30. +6 −6 spanner/integration_test.go
  31. +1 −1 spanner/session_test.go
  32. +1 −1 spanner/spannertest/integration_test.go
  33. +1 −1 spanner/timestampbound.go
4 changes: 4 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -288,6 +288,7 @@ deep-remove-regex:
- /internal/generated/snippets/managedidentities/apiv1/
- /internal/generated/snippets/managedkafka/apiv1/
- /internal/generated/snippets/maps/addressvalidation/apiv1/
- /internal/generated/snippets/maps/areainsights/apiv1/
- /internal/generated/snippets/maps/fleetengine/apiv1/
- /internal/generated/snippets/maps/fleetengine/delivery/apiv1/
- /internal/generated/snippets/maps/places/apiv1/
@@ -434,6 +435,7 @@ deep-remove-regex:
- /managedidentities/apiv1/
- /managedkafka/apiv1/
- /maps/addressvalidation/apiv1/
- /maps/areainsights/apiv1/
- /maps/fleetengine/apiv1/
- /maps/fleetengine/delivery/apiv1/
- /maps/places/apiv1/
@@ -920,6 +922,8 @@ deep-copy-regex:
dest: /
- source: /google/maps/addressvalidation/v1/cloud.google.com/go
dest: /
- source: /google/maps/areainsights/v1/cloud.google.com/go
dest: /
- source: /google/maps/fleetengine/v1/cloud.google.com/go
dest: /
- source: /google/maps/fleetengine/delivery/v1/cloud.google.com/go
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -60,14 +60,14 @@ client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfil
```

You can exert more control over authorization by using the
[`golang.org/x/oauth2`](https://pkg.go.dev/golang.org/x/oauth2) package to
create an `oauth2.TokenSource`. Then pass
[`option.WithTokenSource`](https://pkg.go.dev/google.golang.org/api/option#WithTokenSource)
[credentials](https://pkg.go.dev/cloud.google.com/go/auth/credentials) package to
create an [auth.Credentials](https://pkg.go.dev/cloud.google.com/go/auth#Credentials).
Then pass [`option.WithAuthCredentials`](https://pkg.go.dev/google.golang.org/api/option#WithAuthCredentials)
to the `NewClient` function:

```go
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
creds := ...
client, err := storage.NewClient(ctx, option.WithAuthCredentials(creds))
```

## Contributing
51 changes: 31 additions & 20 deletions aiplatform/apiv1beta1/aiplatformpb/io.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading