Permissions

roles/viewer

Permissions for read-only actions that do not affect state, such as viewing (but not modifying) existing resources or data.

roles/editor

All viewer permissions, plus permissions for actions that modify state, such as changing existing resources.

roles/owner

All editor permissions and permissions for the following actions:

  • Manage roles and permissions for a project and all resources within the project.
  • Set up billing for a project.

roles/browser (beta)

Read access to browse the hierarchy for a project, including the folder, organization, and Cloud IAM policy. This role doesn’t include permission to view resources in the project.

--

--

PYPI Packages installation

Pre-requisites:

  1. Authorize the user/Service account using Gcloud command & set the Project ID
  2. Using below command we can update PYPI packages in cloud composer

#gcloud composer environments update ENVIRONMENT-NAME /

— location LOCATION /

— update-pypi-package “sqlalchemy”

2. To update the packages from an file

#gcloud composer environments update ENVIRONMENT-NAME \
— update-pypi-packages-from-file requirements.txt \
— location LOCATION

#Create the requirements.txt file like below

user@cloudshell:~ $ cat requirements.txt
pandas==1.3.3
pandas-gbq==0.14.1

References: https://cloud.google.com/composer/docs/concepts/versioning/composer-versions

https://cloud.google.com/composer/docs/how-to/using/installing-python-dependencies

--

--