Perform operations on bucket and object on Google Cloud Storage via the Workflow Automator.
Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app include:
Get Bucket Details
Get Bucket Labels
Update Bucket Details
Bucket Access Control Management
Create Bucket Access Control
Update Bucket Access Control
Delete Bucket Access Control
Attach Cloud Storage Object to Freshservice Ticket Note
Get Object Details
Upload Freshservice Attachments to Cloud Storage
Object Access Control Management
Create Object Access Control
Update Object Access Control
Delete Object Access Control
App Installation Parameters:
Private Key ID
Email ID(The GSuite account email address)
The following two parameters are required for attaching documents to your Freshservice tickets note.
Freshservice Domain - The domain of your Freshservice tenant. Example: yourcompany.freshservice.com
Freshservice API Key - Login to your Freshservice tenant. Click on your profile icon ->"Profile Settings" on the right side pane, under "Your API Key" complete the captcha and copy your API key.
Installation Parameters Description:
All app installation parameters are present in the service account credentials (JSON) generated in Prerequisite(A).
A. Create a Service Account:
Open the Service accounts page.
If prompted, select a project, or create a new one.
Click add Create service account.
Under Service account details, fill in the "Name", "ID", and "Description" of the service account and click Create.
Optional: Under Service account permissions, select the IAM roles to grant to the service account, then click Continue.
Optional: Under Grant users access to this service account, add the users or groups that are allowed to use and manage the service account.
Open the service account created, click on Edit->Add Key under "Keys", and select "Create New Key".
Click on "Domain-Wide Delegation" and then select "Enable G Suite Domain-wide Delegation".
Your new public/private key pair is generated and downloaded to your machine; it serves as the only copy of the private key. You are responsible for storing it securely. If you lose this key pair, you will need to generate a new one.
B. Enable API & Services:
Navigate to https://console.developers.google.com/
Click on Enable API & Services
Search for Google Cloud Storage JSON API
Enable Google Cloud Storage JSON API
C. Assign OAuth Scopes for Google API:
Navigate to the Admin console and select Home > Security > API controls.
Under Domain-wide delegation, click Manage Domain Wide Delegation.
On the Manage domain-wide delegation page, click Add new.
Enter the client ID of the service account or OAuth2 client ID of the app. Under OAuth Scope, add each scope that the application can access, as mentioned in Prerequisites(D) below.
D. OAuth Scopes