@@ -34,7 +34,7 @@ Common functions for the GA4 Data Import API code samples.
3434def get_project_number (project_id : str )
3535```
3636
37- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/common.py#L9 )
37+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/common.py#L9 )
3838
3939Get the project number from the project id.
4040
@@ -61,7 +61,7 @@ This file contains functions for creating a Compute Engine instance and static a
6161def create_static_address (project_id : str , region : str , instance_name : str )
6262```
6363
64- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/compute.py#L32 )
64+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/compute.py#L32 )
6565
6666Create a static address with the provided name, project id, and region.
6767
@@ -90,7 +90,7 @@ def create_instance(instance_name: str,
9090 service_account_email : str = " " )
9191```
9292
93- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/compute.py#L66 )
93+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/compute.py#L66 )
9494
9595Create a Compute Engine instance with the provided name, project id, zone, and bucket name.
9696
@@ -119,7 +119,7 @@ def add_server_pub_key(project_id: str, zone: str, instance_name: str,
119119 pub_key : str , username : str )
120120```
121121
122- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/compute.py#L202 )
122+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/compute.py#L202 )
123123
124124Add the provided SSH public key to the instance metadata.
125125
@@ -145,7 +145,7 @@ This file contains functions for interacting with Google Cloud Storage.
145145def create_bucket (bucket_name : str , region : str )
146146```
147147
148- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/storage.py#L9 )
148+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/storage.py#L9 )
149149
150150Create a new bucket with the provided name in the provided project.
151151
@@ -163,7 +163,7 @@ Create a new bucket with the provided name in the provided project.
163163def add_bucket_read_access (bucket_name : str , service_account_email : str )
164164```
165165
166- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/storage.py#L28 )
166+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/storage.py#L28 )
167167
168168Add read access to the bucket for the compute service account.
169169
@@ -186,7 +186,7 @@ Workflow deployment module to configure BigQuery export to Cloud Storage.
186186def deploy_workflow (project_id , region , workflow_id , service_account_email )
187187```
188188
189- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/workflow.py#L20 )
189+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/workflow.py#L20 )
190190
191191Deploy a workflow to the project.
192192
@@ -206,7 +206,7 @@ def deploy_scheduler(project_id, region, scheduler_id, service_account_email,
206206 schedule , workflow_id , query , storage_path )
207207```
208208
209- [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5 /ga4_data_import/workflow.py#L90 )
209+ [[ view_source]] ( https://github.com/max-ostapenko/ga4_data_import/blob/main /ga4_data_import/workflow.py#L90 )
210210
211211Deploy a trigger to the project.
212212
0 commit comments