commit | a07781a7a28a9895f776742b3bdf1be963ce95e9 | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Wed May 22 16:26:19 2024 +0000 |
committer | GitHub <noreply@github.com> | Wed May 22 16:26:19 2024 +0000 |
tree | f25d36d529c43264243ae121280e08893114cc6c | |
parent | 8fdf6dbf4df44482b8fc095469962ebb3d9ecbe5 [diff] |
fix: add php_namespace (#10231) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 635971833 Source-Link: https://togithub.com/googleapis/googleapis/commit/f84e781256b0657a0d67bc1818bbb7e9a3e86a85 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/09bd58bd2bff201fdb92206f5304bd335647e17d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliZDU4YmQyYmZmMjAxZmRiOTIyMDZmNTMwNGJkMzM1NjQ3ZTE3ZCJ9 BEGIN_NESTED_COMMIT feat(shopping/merchant/reports): add `non_product_performance_view` table to Reports sub-API feat(shopping/merchant/reports): add `effectiveness` field to `price_insights_product_view` table in Reports sub-API PiperOrigin-RevId: 635777166 Source-Link: https://togithub.com/googleapis/googleapis/commit/57514fbcb92c243fc478fdd540e5bf40bd91bf64 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/564835792365b80ff6e0248b50cda818bd18c0e5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTY0ODM1NzkyMzY1YjgwZmY2ZTAyNDhiNTBjZGE4MThiZDE4YzBlNSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(shopping/merchant/conversions): change in wording docs(shopping/merchant/conversions): A comment for message `MerchantCenterDestination` is changed PiperOrigin-RevId: 635709955 Source-Link: https://togithub.com/googleapis/googleapis/commit/0ed8e060147c90feeeac57b2c35114d407257ed8 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d1754bc91458f1f6d31fe07ceeba9cba5b634386 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDE3NTRiYzkxNDU4ZjFmNmQzMWZlMDdjZWViYTljYmE1YjYzNDM4NiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(shopping/merchant/reports): A new enum `Effectiveness` is added feat(shopping/merchant/reports): A new field `effectiveness` is added to message `.google.shopping.merchant.reports.v1beta.PriceInsightsProductView` docs(shopping/merchant/reports): A comment for enum `AggregatedReportingContextStatus` is changed docs(shopping/merchant/reports): A comment for field `shipping_label` in message `.google.shopping.merchant.reports.v1beta.ProductView` is changed docs(shopping/merchant/reports): A comment for field `inventory_status` in message `.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView` is changed docs(shopping/merchant/reports): A comment for field `brand_inventory_status` in message `.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView` is changed PiperOrigin-RevId: 635706104 Source-Link: https://togithub.com/googleapis/googleapis/commit/054146896ff300d6137157d18e6e76d506d9e729 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/809fa15e425a42645261004426b6ba776767ac23 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODA5ZmExNWU0MjVhNDI2NDUyNjEwMDQ0MjZiNmJhNzc2NzY3YWMyMyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(shopping/merchant/lfp): change in wording docs(shopping/merchant/lfp): A comment for field `availability` in message `.google.shopping.merchant.lfp.v1beta.LfpInventory` is changed docs(shopping/merchant/lfp): A comment for field `pickup_method` in message `.google.shopping.merchant.lfp.v1beta.LfpInventory` is changed docs(shopping/merchant/lfp): A comment for field `pickup_sla` in message `.google.shopping.merchant.lfp.v1beta.LfpInventory` is changed docs(shopping/merchant/lfp): A comment for message `LfpStore` is changed docs(shopping/merchant/lfp): A comment for enum `StoreMatchingState` is changed docs(shopping/merchant/lfp): A comment for field `matching_state` in message `.google.shopping.merchant.lfp.v1beta.LfpStore` is changed PiperOrigin-RevId: 635705712 Source-Link: https://togithub.com/googleapis/googleapis/commit/958ef9d7846b6ec6da7ca274a8db6841ebb1b0aa Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/fa683eaf110b0deece90b4658ce817a73ff6c21d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmE2ODNlYWYxMTBiMGRlZWNlOTBiNDY1OGNlODE3YTczZmY2YzIxZCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(shopping/merchant/inventories): change in wording docs(shopping/merchant/inventories): A comment for message `LocalInventory` is changed docs(shopping/merchant/inventories): A comment for field `store_code` in message `.google.shopping.merchant.inventories.v1beta.LocalInventory` is changed docs(shopping/merchant/inventories): A comment for field `availability` in message `.google.shopping.merchant.inventories.v1beta.LocalInventory` is changed docs(shopping/merchant/inventories): A comment for field `pickup_method` in message `.google.shopping.merchant.inventories.v1beta.LocalInventory` is changed docs(shopping/merchant/inventories): A comment for field `pickup_sla` in message `.google.shopping.merchant.inventories.v1beta.LocalInventory` is changed docs(shopping/merchant/inventories): A comment for field `custom_attributes` in message `.google.shopping.merchant.inventories.v1beta.LocalInventory` is changed docs(shopping/merchant/inventories): A comment for message `RegionalInventory` is changed docs(shopping/merchant/inventories): A comment for field `availability` in message `.google.shopping.merchant.inventories.v1beta.RegionalInventory` is changed docs(shopping/merchant/inventories): A comment for field `custom_attributes` in message `.google.shopping.merchant.inventories.v1beta.RegionalInventory` is changed PiperOrigin-RevId: 635705518 Source-Link: https://togithub.com/googleapis/googleapis/commit/657d99eff7c05e7a4e22639b562b423a92ebc55c Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1f0d4cc9c4fca08cad36e964ce00313409f0c8c6 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWYwZDRjYzljNGZjYTA4Y2FkMzZlOTY0Y2UwMDMxMzQwOWYwYzhjNiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(gkebackup): add fine-grained restore feat(gkebackup): add volume restore flexibility feat(gkebackup): add restore order feat(gkebackup): add strict-permissive mode feat(gkebackup): add gitops docs(gkebackup): update duration comment to include new validation from smart scheduling PiperOrigin-RevId: 635316968 Source-Link: https://togithub.com/googleapis/googleapis/commit/bcaed39fd1a805a6411a3992ea32dc1ba0ba7ec3 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/611b3e4f754ec20d268ad973ba45c38371059d13 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjExYjNlNGY3NTRlYzIwZDI2OGFkOTczYmE0NWMzODM3MTA1OWQxMyJ9 END_NESTED_COMMIT
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:
cd /my/cloud/project
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:
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.