Package Usage: go: google.golang.org/api
Package api is the root of the packages used to access Google Cloud
Services. See https://godoc.org/google.golang.org/api for a full list of
sub-packages.
Within api there exist numerous clients which connect to Google APIs,
and various utility packages.
All clients in sub-packages are configurable via client options. These
options are described here: https://godoc.org/google.golang.org/api/option.
All the clients in sub-packages support authentication via Google
Application Default Credentials (see
https://cloud.google.com/docs/authentication/production), or by providing a
JSON key file for a Service Account. See the authentication examples in
https://godoc.org/google.golang.org/api/transport for more details.
Due to the auto-generated nature of this collection of libraries, complete
APIs or specific versions can appear or go away without notice. As a result,
you should always locally vendor any API(s) that your code relies upon.
Google APIs follow semver as specified by
https://cloud.google.com/apis/design/versioning. The code generator and
the code it produces - the libraries in the google.golang.org/api/...
subpackages - are beta.
Note that versioning and stability is strictly not communicated through Go
modules. Go modules are used only for dependency management.
Many parameters are specified using ints. However, underlying APIs might
operate on a finer granularity, expecting int64, int32, uint64, or uint32,
all of whom have different maximum values. Subsequently, specifying an int
parameter in one of these clients may result in an error from the API
because the value is too large.
To see the exact type of int that the API expects, you can inspect the API's
discovery doc. A global catalogue pointing to the discovery doc of APIs can
be found at https://www.googleapis.com/discovery/v1/apis.
This field can be found on all Request/Response structs in the generated
clients. All of these types have the JSON `omitempty` field tag present on
their fields. This means if a type is set to its default value it will not be
marshalled. Sometimes you may actually want to send a default value, for
instance sending an int of `0`. In this case you can override the `omitempty`
feature by adding the field name to the `ForceSendFields` slice. See docs on
any struct for more details. This may be used to include empty fields in
Patch requests.
This field can be found on all Request/Response structs in the generated
clients. It can be be used to send JSON null values for the listed fields.
By default, fields with empty values are omitted from API requests because of
the presence of the `omitempty` field tag on all fields. However, any field
with an empty value appearing in NullFields will be sent to the server as
null. It is an error if a field in this list has a non-empty value. This may
be used to include null fields in Patch requests.
An error returned by a client's Do method may be cast to a *googleapi.Error
or unwrapped to an *apierror.APIError.
The https://pkg.go.dev/google.golang.org/api/googleapi#Error type is useful
for getting the HTTP status code:
The https://pkg.go.dev/github.com/googleapis/gax-go/v2/apierror#APIError type
is useful for inspecting structured details of the underlying API response,
such as the reason for the error and the error domain, which is typically the
registered service name of the tool or product that generated the error:
If an API call returns an Operation, that means it could take some time to
complete the work initiated by the API call. Applications that are interested
in the end result of the operation they initiated should wait until the
Operation.Done field indicates it is finished. To do this, use the service's
Operation client, and a loop, like so:
205 versions
Latest release: about 1 year ago
18,552 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/google.golang.org/api
Dependent Repos 26
betagouv/vouch-proxy Fork of vouch/vouch-proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request moduleSize: 5.68 MB - Last synced: 2 days ago - Pushed: over 1 year ago

cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in GoSize: 404 KB - Last synced: 3 days ago - Pushed: 6 months ago

cea-hpc/fleet Fork of coreos/fleet
fleet ties together systemd and etcd into a distributed init systemSize: 13.5 MB - Last synced: 3 days ago - Pushed: over 4 years ago

1024pix/goauth Fork of grokify/goauth
Utility libraries for Go (aka Golang) API auth including OAuth 2, JWT, TLS Client Authentication and Basic Auth.Size: 737 KB - Last synced: 6 days ago - Pushed: about 1 year ago

1024pix/steampipe-plugin-github Fork of turbot/steampipe-plugin-github
Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.Size: 206 KB - Last synced: 6 days ago - Pushed: about 1 year ago

radiofrance/ipahealthcheck_exporter Fork of camptocamp/ipahealthcheck_exporter
Prometheus exporter for exposing ipa-healthcheck tool checks as metricsSize: 60.5 KB - Last synced: 3 days ago - Pushed: almost 4 years ago

radiofrance/process-exporter Fork of ncabatoff/process-exporter
Prometheus exporter that mines /proc to report on selected processesSize: 2.25 MB - Last synced: 3 days ago - Pushed: over 1 year ago

signaux-faibles/wekan-alerter
wekan-alerterSize: 44.9 KB - Last synced: 3 days ago - Pushed: over 2 years ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droitsSize: 63.1 MB - Last synced: 3 days ago - Pushed: over 2 years ago


radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2.99 MB - Last synced: 7 months ago - Pushed: 10 months ago
