commit | 4a223de8eab072d95818c761e41fb3f3f6ac728c | [log] [tgz] |
---|---|---|
author | Cody Oss <6331106+codyoss@users.noreply.github.com> | Thu Feb 17 10:16:58 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Feb 17 12:16:58 2022 -0500 |
tree | 48c1c93d878e457745d5aad8fd44440089c03e38 | |
parent | 7d6b0e5891b50cccdf77cd17ddd3644f31ef6dfc [diff] |
chore: fixup failed regen for release-please (#5668) Some extra trailers got added to the regen commit so RP could not process them. Re-listing the changes made in #5659 so they can get picked up. Changes: feat(osconfig/agentendpoint): Add fields to RegisterAgentRequest: - supported_capabilities - os_long_name - os_short_name - os_version - os_architecture feat: Add field to PatchConfig message: - mig_instances_allowed fix: Add NONE Interpreter enum value that should be used over INTERPRETER_UNSPECIFIED in ExecStepConfig message PiperOrigin-RevId: 428781221 Source-Link: googleapis/googleapis@f158f82 feat(servicemanagement): Remove EnableService and DisableService RPC methods and related protos from service management API BREAKING CHANGE: PiperOrigin-RevId: 428693468 Source-Link: googleapis/googleapis@42a19d6 fix(security/privateca): Add google-cloud-location as a dependency for the privateca client PiperOrigin-RevId: 428624147 Source-Link: googleapis/googleapis@d19f69b chore(video/livestream): Configure Ruby generator for Video Live Stream clients PiperOrigin-RevId: 428111509 Source-Link: googleapis/googleapis@7c7a99a chore(servicemanagement): cleanup unused imports in google/api/servicemanagement/v1 PiperOrigin-RevId: 428077790 Source-Link: googleapis/googleapis@4807247 chore(dataplex): Configure Ruby generator for Dataplex clients PiperOrigin-RevId: 428067759 Source-Link: googleapis/googleapis@1798403 fix(compute): fix breaking changes in Compute API (#701) Source-Link: googleapis/googleapis@272c110 fix(pubsub): removing misspelled field, add correctly spelled field PiperOrigin-RevId: 428023165 Source-Link: googleapis/googleapis@63d374d fix(osconfig/agentendpoint): Fix description of an interpreter field, validate if the field is not unspecified PiperOrigin-RevId: 427987153 Source-Link: googleapis/googleapis@a1b62c1 fix(osconfig/agentendpoint): update third_party protos to the most actual version: - Add item that is affected by vulnerability - Add GetOsPolicyAssignmentReport and analogous List rpc method - Add Inventory to InstanceFilter - Add existing os_policy_assignment_reports.proto fixing the build - Mark methods as deprecated PiperOrigin-RevId: 427981818 Source-Link: googleapis/googleapis@0b2c906 feat(compute): update compute API to revision 20220112 (#700) Source-Link: googleapis/googleapis@249e9a1
Go packages for Google Cloud Platform services.
import "cloud.google.com/go"
To install the packages on your system, do not clone the repo. Instead:
Change to your project directory:
cd /my/cloud/project
Get the package you want to use. Some products have their own module, so it's best to go get
the package(s) you want to use:
$ go get cloud.google.com/go/firestore # Replace with the package you want to use.
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.
For an updated list of all of our released APIs please see our reference docs.
Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.
client, err := storage.NewClient(ctx)
To authorize using a JSON key file, pass option.WithCredentialsFile
to the NewClient
function of the desired package. For example:
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))
You can exert more control over authorization by using the golang.org/x/oauth2
package to create an oauth2.TokenSource
. Then pass option.WithTokenSource
to the NewClient
function: snip:# (auth-ts)
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
Contributions are welcome. Please, see the CONTRIBUTING document for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.