google-cloud-platform

What scopes / roles are required for a service account to be able to submit container builder jobs?

拜拜、爱过 提交于 2021-02-18 22:32:52
问题 When creating a new service account to handle Container Builder jobs, the jobs fail with the following error despite the service account having Cloud Container Builder , Logs Viewer and Private Logs viewer : ERROR: (gcloud.container.builds.submit) HTTPError 403: <?xml version='1.0' encoding='UTF-8'?> <Error> <Code>AccessDenied</Code> <Message>Access denied.</Message> <Details>v2-container-builder@redacted.iam.gserviceaccount.com does not have storage.objects.get access to object redacted

What scopes / roles are required for a service account to be able to submit container builder jobs?

混江龙づ霸主 提交于 2021-02-18 22:32:31
问题 When creating a new service account to handle Container Builder jobs, the jobs fail with the following error despite the service account having Cloud Container Builder , Logs Viewer and Private Logs viewer : ERROR: (gcloud.container.builds.submit) HTTPError 403: <?xml version='1.0' encoding='UTF-8'?> <Error> <Code>AccessDenied</Code> <Message>Access denied.</Message> <Details>v2-container-builder@redacted.iam.gserviceaccount.com does not have storage.objects.get access to object redacted

Default values for columns in Big Query Tables

纵饮孤独 提交于 2021-02-18 21:09:30
问题 Is there a way to set default values for columns in tables in big query? I would like to set 'false' as a default value for a column of boolean data type. 回答1: A nullable column can (trivially) have a NULL default value, but there is no other notion of default in BigQuery (you either insert a particular value or omit the value and it will have the NULL value). That said, if you want to wrap your raw table in a View, you can map a NULL column value to any default that you like. 回答2: There is

Default values for columns in Big Query Tables

萝らか妹 提交于 2021-02-18 21:09:27
问题 Is there a way to set default values for columns in tables in big query? I would like to set 'false' as a default value for a column of boolean data type. 回答1: A nullable column can (trivially) have a NULL default value, but there is no other notion of default in BigQuery (you either insert a particular value or omit the value and it will have the NULL value). That said, if you want to wrap your raw table in a View, you can map a NULL column value to any default that you like. 回答2: There is

Default values for columns in Big Query Tables

天涯浪子 提交于 2021-02-18 21:09:21
问题 Is there a way to set default values for columns in tables in big query? I would like to set 'false' as a default value for a column of boolean data type. 回答1: A nullable column can (trivially) have a NULL default value, but there is no other notion of default in BigQuery (you either insert a particular value or omit the value and it will have the NULL value). That said, if you want to wrap your raw table in a View, you can map a NULL column value to any default that you like. 回答2: There is

Google Cloud. Pub/Sub Android App

时间秒杀一切 提交于 2021-02-18 17:59:50
问题 I'm try to send data throught pub/sub library to my topic in GoogleCloud projects/navigator-cloud/topics/navigator-location Here is a project of a google map with a overlay image of a building, which I should use. I want to publish a JSON with some info like this: {"Username": "oscarhmg", "Location": "labproto", "Timestamp": "2016-12-04T15:29:05Z" } . When the topic receive this info, in the building map appears a marker(This map shows in my application in a web view). This functionality is

Can a Cloud Function read from Cloud Storage?

夙愿已清 提交于 2021-02-18 10:14:31
问题 The only docs I can find about using GCF+GCS is https://cloud.google.com/functions/docs/tutorials/storage. AFAICT this is just showing how to use GCS events to trigger GCF. In the docs for GCF dependencies, it only mentions node modules. Is it possible for GCF code to read from a GCS bucket? Is it simply the case of requiring a node module that knows how to communicate with GCS and if so, are there any examples of that? 回答1: Yes, but note that it will store the result in a ramdisk, so you'll

How do I setup a public Google Cloud Storage bucket

血红的双手。 提交于 2021-02-18 09:59:31
问题 I am trying to upload files to a bucket on Google Cloud Storage, but I am having trouble figuring out how to set it up so that it is publicly writable and readable. In other words, I don't want to have to require authentication from the user in order to upload to the bucket. Does anybody know the steps to follow in order to set this up? I would also like to know what I need to append to my request headers in order to upload files to this bucket. I am using the iOS API client, but if anybody

How to deploy one app from a large monorepo with dependencies to packages in the same repo to google app engine?

邮差的信 提交于 2021-02-18 04:56:29
问题 I have a large node.js monorepo with several applications and packages and inter dependencies. It is all managed with yarn workspaces and a little bit of lerna. Everything works great for me, however I am having trouble trying to deploy one of the applications in this monorepo to google app engine. The main issue is that the app engine wants to install packages that are located only locally and are not on npm, and it throws an error. I've scoured the google cloud documentations but did not

SAML authentication with firebase

最后都变了- 提交于 2021-02-17 20:33:10
问题 Is there a way to authenticate a user with SAML token using firebase as a backend? The company I am working with requires that SAML is used within the authentication system and I am not sure if this is possible with firebase as a backend. Thanks 回答1: Maybe new GCP service "Cloud Identity for Customers and Partners" (in beta for now) could help you. Cloud Identity for Customers and Partners (CICP) provides an identity platform that allows users to authenticate to your applications and services