
Google Data Studio Get
CertifiedList Data Studio asset permissions
Google Data Studio Get
List Data Studio asset permissions
List who has access to a report or data source, grouped by role.
type: io.kestra.plugin.datastudio.permissions.GetExamples
Audit who can view a report
id: permissions_get
namespace: company.team
inputs:
- id: asset_id
type: STRING
tasks:
- id: get
type: io.kestra.plugin.datastudio.permissions.Get
serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
assetName: "{{ inputs.asset_id }}"
Properties
assetName *string
Asset name
The Data Studio asset ID.
accessToken string
Access token
OAuth access token. When set, the service account exchange is skipped, so the token must already include datastudio.readonly for read tasks or datastudio for Add and Revoke.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150baseUrl string
https://datastudio.googleapis.com/v1API base URL
Data Studio API root. Defaults to https://datastudio.googleapis.com/v1.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch type
FETCH returns every member in the execution context. FETCH_ONE returns the first member. STORE writes an Ion file of members to internal storage. NONE returns only the count.
serviceAccount string
Service account JSON
Google service account key JSON. Read tasks request https://www.googleapis.com/auth/datastudio.readonly. Add and Revoke request https://www.googleapis.com/auth/datastudio. Grant the scope through domain-wide delegation in a Google Workspace or Cloud Identity organization. Use this or accessToken.
subject string
Delegated user
Workspace user email the service account impersonates. Required for domain-wide delegation. Ignored when accessToken is set.
tokenUri string
https://oauth2.googleapis.com/tokenToken URI
OAuth token endpoint used to exchange a service account JWT.
Outputs
member
First member
Set only when fetchType is FETCH_ONE.
io.kestra.plugin.datastudio.models.Member
Member
Member identifier such as user: ada@acme.com or group: analysts@acme.com.
Role
OWNER, EDITOR, VIEWER, LINK_EDITOR, or LINK_VIEWER.
members array
Members
Set only when fetchType is FETCH. Each member includes its role, so the role map is not repeated.
io.kestra.plugin.datastudio.models.Member
Member
Member identifier such as user: ada@acme.com or group: analysts@acme.com.
Role
OWNER, EDITOR, VIEWER, LINK_EDITOR, or LINK_VIEWER.
size integer
Number of members
uri string
uriInternal storage URI
Ion file of members. Set only when fetchType is STORE.