<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cloudpods –
Google</title><link>/docs/en/tags/google/</link><description>Recent content in Google on Cloudpods</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><atom:link href="/docs/en/tags/google/index.xml" rel="self" type="application/rss+xml"/><item><title>Docs: Create Google Account</title><link>/docs/en/docs/web_ui/resource-mgmt/multiplecloud/cloudaccount/public/google/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/en/docs/web_ui/resource-mgmt/multiplecloud/cloudaccount/public/google/</guid><description>
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Ensure network connectivity between the platform and Google Cloud.&lt;/li&gt;
&lt;li&gt;If the platform cannot reach Google Cloud directly, configure a proxy to access Google Cloud.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="procedure"&gt;Procedure&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;On the Cloud Accounts page, click “Create” above the list to open the create cloud account page.&lt;/li&gt;
&lt;li&gt;Select “Google” as the cloud platform, then click “Next: Configure cloud account”.&lt;/li&gt;
&lt;li&gt;Configure the following parameters:
&lt;ul&gt;
&lt;li&gt;Name: Google Cloud account name.&lt;/li&gt;
&lt;li&gt;project_id, private_key_id, private_key, client_email, and related parameters: see &lt;a href="#how-to-obtain-google-parameters"&gt;How to obtain Google parameters&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Common parameters: see &lt;a href="../../#common-configuration-parameters"&gt;Common configuration parameters&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click “Connection test” to verify that the parameters are correct.&lt;/li&gt;
&lt;li&gt;After a successful test, click “Next: Configure sync regions” to configure resource sync regions (all regions are synced by default).&lt;/li&gt;
&lt;li&gt;After configuration, click “Next: Billing file access information (optional)” to configure billing parameters.&lt;/li&gt;
&lt;li&gt;Configure scheduled sync (optional), then click “OK” to create the Google Cloud account.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="how-to-obtain-google-parameters"&gt;How to obtain Google parameters&lt;/h2&gt;
&lt;h3 id="how-to-obtain-google-cloud-service-account-key-information"&gt;How to obtain Google Cloud service account key information?&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Onboard a specific project&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the “IAM &amp;amp; Admin – IAM” page in the GCP Console and sign in.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_iam.png" alt="Google IAM"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Select a project” at the top and choose the project to authorize.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_project.png" alt="Google select project"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the left navigation pane, go to “IAM &amp;amp; Admin”, click “Service Accounts”, and open the service accounts page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Create service account” to open the create service account page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Configure the service account name, service account ID, and description, then click “Create and continue”.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_createserviceaccount.png" alt="Google create service account"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the Project – Owner or Project – Viewer role. Owner grants management permissions on the project; Viewer grants read-only permissions. Click “Continue”.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_serviceaccountpolicy.png" alt="Google service account permissions"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Granting users access to this service account does not affect the cloud management platform; configure as needed. After configuration, click “Continue”.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the service accounts page, click the actions button on the right of the newly created service account, then click “Manage keys”.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_serviceaccount.png" alt="Google service account keys"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the keys page, click “Add key”, then in the dialog click “Create new key”, select key type “JSON”, and click “Create” to download the JSON key file.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_create1.png" alt="Google create key"&gt;&lt;img src="/docs/zh/docs/faq/image/google_create.png" alt="Google key file"&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Onboard multiple projects&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To use the service account key obtained above to onboard multiple projects, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the “IAM &amp;amp; Admin – IAM” page in the GCP Console and select another project to onboard.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Add” at the top, add the service account created above as a new member, set the role to Project – Owner or Project – Viewer, then click “Save”.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/google_serviceaccount_otherproject.png" alt="Google add member"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Repeat the steps above to onboard more projects.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="enable-related-apis"&gt;Enable related APIs&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;Google Cloud APIs are project-scoped. When onboarding multiple Google Cloud projects, enable the related APIs in each project.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;APIs required for managing Google Cloud on the platform&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;After obtaining the key file, enable the Cloud Resource Manager API, Cloud Build API (for creating machines from custom images), and Compute Engine API for the authorized project in the Google API Library.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the Cloud Resource Manager API page in the API Library, enable the Cloud Resource Manager API for the authorized project.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/cloudresourcemanagerapi.png" alt="Google Cloud Resource Manager API"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Cloud Build API page in the API Library, enable the Cloud Build API for the authorized project.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/cloudbuildapi.png" alt="Google Cloud Build API"&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;APIs required for managing Google Cloud RDS on the platform&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the Cloud SQL Admin API page in the API Library, enable the Cloud SQL Admin API.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/cloudsqladminapi.png" alt="Google Cloud SQL Admin API"&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="permission-configuration"&gt;Permission configuration&lt;/h2&gt;
&lt;p&gt;To manage Google Cloud resources through the platform, the cloud account needs the following permissions:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Permission description&lt;/th&gt;
&lt;th&gt;Read-only&lt;/th&gt;
&lt;th&gt;Read-write&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Manage all Google Cloud resources&lt;/td&gt;
&lt;td&gt;Viewer&lt;/td&gt;
&lt;td&gt;Editor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage compute instances&lt;/td&gt;
&lt;td&gt;Compute Viewer&lt;/td&gt;
&lt;td&gt;Compute Editor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage network resources&lt;/td&gt;
&lt;td&gt;Compute Network Viewer&lt;/td&gt;
&lt;td&gt;Compute Network Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage object storage resources&lt;/td&gt;
&lt;td&gt;Storage Legacy Bucket Reader, Storage Object Viewer&lt;/td&gt;
&lt;td&gt;Storage Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage cloud databases&lt;/td&gt;
&lt;td&gt;Cloud SQL Viewer&lt;/td&gt;
&lt;td&gt;Cloud SQL Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage Redis&lt;/td&gt;
&lt;td&gt;Redis Enterprise Cloud Viewer&lt;/td&gt;
&lt;td&gt;Redis Enterprise Cloud Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage logs&lt;/td&gt;
&lt;td&gt;Logs Viewer&lt;/td&gt;
&lt;td&gt;Logging Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage file storage&lt;/td&gt;
&lt;td&gt;Cloud Filestore Viewer&lt;/td&gt;
&lt;td&gt;Cloud Filestore Editor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage all custom roles in the project&lt;/td&gt;
&lt;td&gt;Role Viewer&lt;/td&gt;
&lt;td&gt;Role Administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage DNS&lt;/td&gt;
&lt;td&gt;DNS Reader&lt;/td&gt;
&lt;td&gt;DNS Administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage account billing&lt;/td&gt;
&lt;td&gt;Billing Account Viewer&lt;/td&gt;
&lt;td&gt;Billing Account Administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manage monitoring&lt;/td&gt;
&lt;td&gt;Monitoring Viewer&lt;/td&gt;
&lt;td&gt;Monitoring Admin&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="billing-configuration"&gt;Billing configuration&lt;/h2&gt;
&lt;h3 id="billing-data-source"&gt;Billing data source&lt;/h3&gt;
&lt;p&gt;Select where Google billing data is stored: BigQuery or bucket. Google billing no longer supports bucket.&lt;/p&gt;
&lt;h3 id="how-to-configure-and-obtain-bigquery-settings-on-google-cloud"&gt;How to configure and obtain BigQuery settings on Google Cloud?&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Sign in to the Google Cloud Console, click “Billing” in the left menu, and open the billing page.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/googlebilling.png" alt="Google Billing"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Billing export” in the left menu. Under the BIGQUERY EXPORT tab, enable detailed usage cost and configure the project and dataset name.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/googlebigqueryconfig.png" alt="Google BigQuery configuration"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the dataset name to open BigQuery, expand the right-side nodes, select the partitioned table under the dataset name, then on that page click the “Details” tab at the top to obtain the table ID.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/gcpbigquerytableid.png" alt="Google BigQuery table ID"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the table details page, click “Edit details” in the upper right and set expiration to None. If an expiration is set, expired data will be cleaned from BigQuery; configure carefully.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/gcomodifytable.png" alt="Google edit table details"&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="how-to-obtain-the-billing-file-bucket-url-and-file-prefix"&gt;How to obtain the billing file bucket URL and file prefix?&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Sign in to the Google Cloud Console, click “Billing” in the left menu, and open the billing page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Billing export” in the left menu. On the billing page, click the “File export” tab, then view and record the storage partition name and report prefix.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/googlebillingbucket.png" alt="Google billing export"&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click “Storage / Browser” in the left menu. On the storage page, click the corresponding storage partition name, then click the “Overview” tab. The link URL is the bucket URL.&lt;/p&gt;
&lt;img src="/docs/zh/docs/faq/image/googlebillingbucketurl.png" alt="Google bucket URL"&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>