@guayaba/workflow-piece-google-cloud-storage 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +33 -0
- package/README.md +5 -0
- package/assets/logo.png +0 -0
- package/package.json +21 -0
- package/src/i18n/de.json +123 -0
- package/src/i18n/es.json +123 -0
- package/src/i18n/fr.json +123 -0
- package/src/i18n/ja.json +123 -0
- package/src/i18n/nl.json +123 -0
- package/src/i18n/pt.json +123 -0
- package/src/i18n/translation.json +123 -0
- package/src/i18n/zh.json +123 -0
- package/src/index.ts +46 -0
- package/src/lib/actions/clone-object.ts +73 -0
- package/src/lib/actions/create-bucket-acl.ts +56 -0
- package/src/lib/actions/create-bucket-default-object-acl.ts +56 -0
- package/src/lib/actions/create-bucket.ts +73 -0
- package/src/lib/actions/create-object-acl.ts +79 -0
- package/src/lib/actions/delete-bucket-acl.ts +50 -0
- package/src/lib/actions/delete-bucket-default-object-acl.ts +50 -0
- package/src/lib/actions/delete-empty-bucket.ts +40 -0
- package/src/lib/actions/delete-object-acl.ts +62 -0
- package/src/lib/actions/delete-object.ts +57 -0
- package/src/lib/actions/search-buckets.ts +90 -0
- package/src/lib/actions/search-objects.ts +99 -0
- package/src/lib/common/auth.ts +14 -0
- package/src/lib/common/client.ts +63 -0
- package/src/lib/common/props.ts +249 -0
- package/src/lib/triggers/new-object-created.ts +171 -0
- package/src/lib/triggers/object-updated.ts +171 -0
- package/tsconfig.json +20 -0
- package/tsconfig.lib.json +13 -0
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.": "Automatiseer bestandsopslag operaties met Google Cloud Storage. Uploaden, downloaden, buckets beheren, machtigingen instellen en wijzigingen bijhouden met real-time triggers.",
|
|
3
|
+
"Create Bucket": "Emmer maken",
|
|
4
|
+
"Delete Empty Bucket": "Verwijder lege Emmer",
|
|
5
|
+
"Clone Object": "Dupliceer object",
|
|
6
|
+
"Delete Object": "Object verwijderen",
|
|
7
|
+
"Search Objects": "Zoek objecten",
|
|
8
|
+
"Search Buckets": "Zoek Emmers",
|
|
9
|
+
"Create Object ACL": "Object ACL aanmaken",
|
|
10
|
+
"Delete Object ACL": "Object ACL verwijderen",
|
|
11
|
+
"Create Bucket ACL": "Emmer ACL aanmaken",
|
|
12
|
+
"Delete Bucket ACL": "Emmer ACL verwijderen",
|
|
13
|
+
"Create Bucket Default Object ACL": "Bucket standaard object ACL maken",
|
|
14
|
+
"Delete Bucket Default Object ACL": "Emmer standaard object ACL verwijderen",
|
|
15
|
+
"Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.": "Creëer een nieuwe emmer in een opgegeven locatie/configuratie. Perfect voor het automatiseren van opslag voor nieuwe projecten.",
|
|
16
|
+
"Clean up unused buckets by deleting them if they contain no live objects.": "Maak ongebruikte emmers schoon door ze te verwijderen als ze geen live objecten bevatten.",
|
|
17
|
+
"Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.": "Kopieer / kloon een object (bestand) naar een nieuwe locatie (zelfde of verschillende bucket), mogelijk metagegevens overschrijven. Perfect voor het dupliceren van bestanden als back-up of versie.",
|
|
18
|
+
"Permanently delete a specific object. Perfect for removing obsolete files.": "Verwijder permanent een specifiek object. Perfect voor het verwijderen van verouderde bestanden.",
|
|
19
|
+
"Search objects by criteria. Perfect for finding files in your bucket.": "Zoek objecten op criteria. Perfect voor het vinden van bestanden in je bucket.",
|
|
20
|
+
"Search buckets by name. Perfect for finding buckets in your project.": "Doorzoek de emmers op naam. Perfect voor het vinden van emmers in je project.",
|
|
21
|
+
"Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.": "Voeg een ACL invoer toe aan een object (verleen machtiging). Perfect voor het lezen/schrijven van een gebruiker of groep.",
|
|
22
|
+
"Remove an ACL entry from an object. Perfect for revoking access for a user.": "Verwijder een ACL invoer van een object. Perfect voor het intrekken van toegang voor een gebruiker.",
|
|
23
|
+
"Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.": "Voeg een ACL invoer toe op bucket. Perfect om toestemming te geven om de emmer te beheren.",
|
|
24
|
+
"Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.": "Verwijder een ACL invoer van een emmer. Perfect voor het intrekken van toegang voor een gebruiker of groep.",
|
|
25
|
+
"Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.": "Stel standaard ACL's in voor nieuwe objecten die aan een emmer zijn toegevoegd. Perfect voor het automatisch toewijzen van rechten aan nieuwe uploads.",
|
|
26
|
+
"Remove default ACL settings from a bucket. Perfect for reverting to default behavior.": "Verwijder de standaard ACL instellingen van een bucket. Perfect om terug te keren naar standaard gedrag.",
|
|
27
|
+
"Project": "Project",
|
|
28
|
+
"Bucket Name": "Bucket Naam",
|
|
29
|
+
"Location": "Locatie",
|
|
30
|
+
"Storage Class": "Opslag klasse",
|
|
31
|
+
"Enable Versioning": "Versiebeheer inschakelen",
|
|
32
|
+
"Uniform Bucket Level Access": "Uniform Bucket Level Toegang",
|
|
33
|
+
"Labels": "Labels",
|
|
34
|
+
"Bucket": "Emmer",
|
|
35
|
+
"Object": "Object",
|
|
36
|
+
"Destination Object Name": "Naam doelobject",
|
|
37
|
+
"Metadata Overrides": "Metadata overschrijvingen",
|
|
38
|
+
"Generation": "Genereren",
|
|
39
|
+
"Prefix": "Voorvoegsel",
|
|
40
|
+
"Glob Pattern": "Glob patroon",
|
|
41
|
+
"Delimiter": "Scheidingsteken",
|
|
42
|
+
"Include Folders": "Mappen toevoegen",
|
|
43
|
+
"Include Versions": "Inclusief versies",
|
|
44
|
+
"Page Token": "Pagina Token",
|
|
45
|
+
"Max Results": "Max. aantal resultaten",
|
|
46
|
+
"Name Prefix": "Naam voorvoegsel",
|
|
47
|
+
"Include Soft-Deleted": "Soft-Deleted opnemen",
|
|
48
|
+
"Projection": "Projectie",
|
|
49
|
+
"Entity": "Entiteit",
|
|
50
|
+
"Role": "Functie",
|
|
51
|
+
"Unique name for your bucket (must be globally unique, 3-63 characters)": "Unieke naam voor je emmer (moet globaal uniek, 3-63 tekens zijn)",
|
|
52
|
+
"Key-value pairs for bucket labels": "Sleutelwaarde paren voor emmer labels",
|
|
53
|
+
"Name for the copied object (must be valid object name)": "Naam voor het gekopieerde object (moet een geldige objectnaam zijn)",
|
|
54
|
+
"Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)": "Optionele metagegevens en eigenschappen om te overschrijven van het gekopieerde object (contenttype, cachecontrole, contentDisposition etc.)",
|
|
55
|
+
"Optional generation number for versioned objects (permanently deletes a specific revision)": "Optioneel generatienummer voor versieobjecten (verwijdert permanent een specifieke revisie)",
|
|
56
|
+
"Filter objects whose names begin with this prefix": "Objecten filteren waarvan de namen beginnen met dit voorvoegsel",
|
|
57
|
+
"Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")": "Glob patroon om resultaten te filteren (bijv. \"map/*\", \"backup-*.txt\")",
|
|
58
|
+
"Delimiter for hierarchical listing (commonly \"/\")": "Scheidingsteken voor hiërarchische lijst (veel \"/\")",
|
|
59
|
+
"Include empty folders and managed folders in results": "Lege mappen en beheerde mappen toevoegen aan de resultaten",
|
|
60
|
+
"List all versions of objects as distinct results": "Toon alle versies van objecten als verschillende resultaten",
|
|
61
|
+
"Token for pagination (from previous response)": "Token voor paginering (uit vorige reactie)",
|
|
62
|
+
"Maximum number of objects to return (recommended: ≤1000)": "Maximaal aantal te retourneren objecten (aanbevolen: ≤ 1000)",
|
|
63
|
+
"Filter buckets whose names begin with this prefix": "Buckets filteren waarvan de namen beginnen met dit voorvoegsel",
|
|
64
|
+
"Include soft-deleted bucket versions in results": "Inclusief soft-deleted bucket versies in resultaten",
|
|
65
|
+
"Set of properties to return": "Set van eigenschappen om terug te keren",
|
|
66
|
+
"Maximum number of buckets to return": "Maximum aantal emmers om te retourneren",
|
|
67
|
+
"The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers": "De entiteit waar toegang tot moet worden verleend. Moet een entiteittype voorvoegsel voorvoegsel bevatten: user-emailadres, groep-group-groupId, groep-emailadress, domeinnam, project-team-projectId, allUsers, of allAuthenticatedUsers. Voorbeelden: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers",
|
|
68
|
+
"Optional generation number for versioned objects": "Optioneel generatienummer voor versieobjecten",
|
|
69
|
+
"US (Multi-region)": "VS (meerdere regio)",
|
|
70
|
+
"EU (Multi-region)": "EU (meerdere regio)",
|
|
71
|
+
"ASIA (Multi-region)": "ASIA (multi-regio)",
|
|
72
|
+
"us-central1 (Iowa)": "us-central1 (Iowa)",
|
|
73
|
+
"us-east1 (South Carolina)": "us-east1 (Zuid Carolina)",
|
|
74
|
+
"us-east4 (Northern Virginia)": "us-east4 (Noordelijke Maaginia)",
|
|
75
|
+
"us-west1 (Oregon)": "us-west1 (Oregon)",
|
|
76
|
+
"us-west2 (Los Angeles)": "us-west2 (Los Angeles)",
|
|
77
|
+
"us-west3 (Salt Lake City)": "us-west3 (Kamer City)",
|
|
78
|
+
"us-west4 (Las Vegas)": "us-west4 (Las Vegas)",
|
|
79
|
+
"us-south1 (Dallas)": "us-Zuid-1 (Dallas)",
|
|
80
|
+
"europe-central2 (Warsaw)": "europe-central2 (Warschau)",
|
|
81
|
+
"europe-north1 (Finland)": "europe-noord1 (Finland)",
|
|
82
|
+
"europe-southwest1 (Madrid)": "europe-zuidwest1 (Madrid)",
|
|
83
|
+
"europe-west1 (Belgium)": "europe-west1 (België)",
|
|
84
|
+
"europe-west2 (London)": "europe-west2 (London)",
|
|
85
|
+
"europe-west3 (Frankfurt)": "europe-west3 (Frankfurt)",
|
|
86
|
+
"europe-west4 (Netherlands)": "europe-west4 (Nederland)",
|
|
87
|
+
"europe-west6 (Zurich)": "europe-west6 (Zurich)",
|
|
88
|
+
"europe-west8 (Milan)": "europe-west8 (Milan)",
|
|
89
|
+
"europe-west9 (Paris)": "europe-west9 (Parijs)",
|
|
90
|
+
"asia-east1 (Taiwan)": "asia-east1 (Taiwan)",
|
|
91
|
+
"asia-east2 (Hong Kong)": "asia-east2 (Hong Kong)",
|
|
92
|
+
"asia-northeast1 (Tokyo)": "asia-noordooast1 (Tokio)",
|
|
93
|
+
"asia-northeast2 (Osaka)": "asia-noordoost2 (Osaka)",
|
|
94
|
+
"asia-northeast3 (Seoul)": "asia-noordoost3 (Seoul)",
|
|
95
|
+
"asia-south1 (Mumbai)": "asia-south1 (Mumba)",
|
|
96
|
+
"asia-south2 (Delhi)": "asië-zuid2 (Delhi)",
|
|
97
|
+
"asia-southeast1 (Singapore)": "asia-zuidoost1 (Singapore)",
|
|
98
|
+
"asia-southeast2 (Jakarta)": "jakarta)",
|
|
99
|
+
"australia-southeast1 (Sydney)": "australia-zuidoost1 (Sydney)",
|
|
100
|
+
"australia-southeast2 (Melbourne)": "australia-zuidoost2 (Melbourne)",
|
|
101
|
+
"northamerica-northeast1 (Montreal)": "noord-noordoost1 (maand)",
|
|
102
|
+
"northamerica-northeast2 (Toronto)": "noord-noordoost2 (Toronto)",
|
|
103
|
+
"southamerica-east1 (São Paulo)": "southamerica-east1 (Saľo Paulo)",
|
|
104
|
+
"southamerica-west1 (Santiago)": "zuid-amerika-west1 (Santiago)",
|
|
105
|
+
"Standard": "Standaard",
|
|
106
|
+
"Nearline": "Nabijgelegen",
|
|
107
|
+
"Coldline": "Koudelijn",
|
|
108
|
+
"Archive": "Archief",
|
|
109
|
+
"Multi-regional": "Multiregionale",
|
|
110
|
+
"Regional": "Regionaal",
|
|
111
|
+
"Durable Reduced Availability": "Duurzame verminderde beschikbaarheid",
|
|
112
|
+
"No ACLs (faster)": "Geen ACL's (sneller)",
|
|
113
|
+
"Full (includes ACLs)": "Volledig (inclusief ACLs)",
|
|
114
|
+
"Reader": "Lezer",
|
|
115
|
+
"Owner": "Eigenaar",
|
|
116
|
+
"Writer": "Schrijver",
|
|
117
|
+
"New Object Created": "Nieuw object gemaakt",
|
|
118
|
+
"Object Updated": "Object bijgewerkt",
|
|
119
|
+
"Triggers when a new object is created in a bucket": "Triggert wanneer een nieuw object is gemaakt in een emmer",
|
|
120
|
+
"Triggers when an existing object is updated in a bucket": "Triggert wanneer een bestaand object in een emmer wordt bijgewerkt",
|
|
121
|
+
"Prefix Filter": "Filter voorvoegsel",
|
|
122
|
+
"Only trigger for objects with this prefix": "Alleen genereren voor objecten met dit voorvoegsel"
|
|
123
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.": "Automatize as operações de armazenamento de arquivos com o Google Cloud Storage. Upload, download, gerencie buckets, configure permissões e monitore alterações com gatilhos em tempo real.",
|
|
3
|
+
"Create Bucket": "Criar Balde",
|
|
4
|
+
"Delete Empty Bucket": "Apagar Balde Vazio",
|
|
5
|
+
"Clone Object": "Clonar objeto",
|
|
6
|
+
"Delete Object": "Excluir Objeto",
|
|
7
|
+
"Search Objects": "Pesquisar Objetos",
|
|
8
|
+
"Search Buckets": "Pesquisar baldes",
|
|
9
|
+
"Create Object ACL": "Criar objeto ACL",
|
|
10
|
+
"Delete Object ACL": "Excluir objeto ACL",
|
|
11
|
+
"Create Bucket ACL": "Criar Bucket ACL",
|
|
12
|
+
"Delete Bucket ACL": "Excluir Bucket ACL",
|
|
13
|
+
"Create Bucket Default Object ACL": "Criar Objeto ACL Padrão do Bucket",
|
|
14
|
+
"Delete Bucket Default Object ACL": "Apagar Bucket Padrão do Objeto ACL",
|
|
15
|
+
"Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.": "Criar um novo balde em um local/configuração especificada. Perfeito para automatizar o provisionamento do armazenamento para novos projetos.",
|
|
16
|
+
"Clean up unused buckets by deleting them if they contain no live objects.": "Limpe baldes não utilizados excluindo-os se não tiverem objetos ao vivo.",
|
|
17
|
+
"Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.": "Copie / clone um objeto (arquivo) para um novo local (mesmo ou outro bucket), opcionalmente substituindo metadados. Perfeito para duplicar arquivos como backup ou versão.",
|
|
18
|
+
"Permanently delete a specific object. Perfect for removing obsolete files.": "Excluir permanentemente um objeto específico. Perfeito para remover arquivos obsoletos.",
|
|
19
|
+
"Search objects by criteria. Perfect for finding files in your bucket.": "Pesquisar objetos por critérios. Perfeito para encontrar arquivos em seu bucket.",
|
|
20
|
+
"Search buckets by name. Perfect for finding buckets in your project.": "Procure baldes por nome. Perfeito para encontrar baldes em seu projeto.",
|
|
21
|
+
"Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.": "Adicionar uma entrada de ACL a um objeto (conceder uma permissão). Perfeito para conceder acesso de leitura/gravação a um usuário ou grupo.",
|
|
22
|
+
"Remove an ACL entry from an object. Perfect for revoking access for a user.": "Remove uma entrada de ACL de um objeto. Perfeito para revogar acesso para um usuário.",
|
|
23
|
+
"Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.": "Adicione uma entrada ACL no nível do bucket. Perfeito para conceder permissão para gerenciar o bucket.",
|
|
24
|
+
"Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.": "Remove uma entrada de ACL de um bucket. Perfeito para revogar acesso para um usuário ou grupo.",
|
|
25
|
+
"Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.": "Defina ACLs padrão para novos objetos adicionados a um bucket. Perfeito para atribuir automaticamente permissões a novos uploads.",
|
|
26
|
+
"Remove default ACL settings from a bucket. Perfect for reverting to default behavior.": "Remover as configurações padrão de ACL de um bucket. Perfeito para reverter para o comportamento padrão.",
|
|
27
|
+
"Project": "Projecto",
|
|
28
|
+
"Bucket Name": "Nome do Balde",
|
|
29
|
+
"Location": "Local:",
|
|
30
|
+
"Storage Class": "Classe de Armazenamento",
|
|
31
|
+
"Enable Versioning": "Habilitar versionamento",
|
|
32
|
+
"Uniform Bucket Level Access": "Acesso ao nível de Balde Uniforme",
|
|
33
|
+
"Labels": "Marcadores",
|
|
34
|
+
"Bucket": "Balde",
|
|
35
|
+
"Object": "Objeto",
|
|
36
|
+
"Destination Object Name": "Nome do objeto destino",
|
|
37
|
+
"Metadata Overrides": "Substituições de metadados",
|
|
38
|
+
"Generation": "Geração",
|
|
39
|
+
"Prefix": "Prefixo",
|
|
40
|
+
"Glob Pattern": "Padrão de Globa",
|
|
41
|
+
"Delimiter": "Delimitador",
|
|
42
|
+
"Include Folders": "Incluir pastas",
|
|
43
|
+
"Include Versions": "Incluir versões",
|
|
44
|
+
"Page Token": "Token da Página",
|
|
45
|
+
"Max Results": "Resultados no Máx.",
|
|
46
|
+
"Name Prefix": "Prefixo do Nome",
|
|
47
|
+
"Include Soft-Deleted": "Incluir Suavização",
|
|
48
|
+
"Projection": "Projeção",
|
|
49
|
+
"Entity": "Entidade",
|
|
50
|
+
"Role": "Funções",
|
|
51
|
+
"Unique name for your bucket (must be globally unique, 3-63 characters)": "Nome exclusivo do seu balde (deve ser globalmente único, 3-63 caracteres)",
|
|
52
|
+
"Key-value pairs for bucket labels": "Pares chave-valor para etiquetas de baldes",
|
|
53
|
+
"Name for the copied object (must be valid object name)": "Nome para o objeto copiado (deve ser o nome do objeto válido)",
|
|
54
|
+
"Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)": "Metadados e propriedades opcionais para substituir no objeto copiado (contentType, cacheControl, contentDisposition, etc.)",
|
|
55
|
+
"Optional generation number for versioned objects (permanently deletes a specific revision)": "Número de geração opcional para objetos de versão (exclui permanentemente uma revisão específica)",
|
|
56
|
+
"Filter objects whose names begin with this prefix": "Filtrar objetos cujos nomes começam com este prefixo",
|
|
57
|
+
"Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")": "Padrão Glob para filtrar resultados (por exemplo, \"pasta/*\", \"backup-*.txt\")",
|
|
58
|
+
"Delimiter for hierarchical listing (commonly \"/\")": "Delimitador para listagem hierárquica (comumente \"/\")",
|
|
59
|
+
"Include empty folders and managed folders in results": "Incluir pastas vazias e pastas gerenciadas nos resultados",
|
|
60
|
+
"List all versions of objects as distinct results": "Listar todas as versões de objetos como resultados distintos",
|
|
61
|
+
"Token for pagination (from previous response)": "Token para paginação (de resposta anterior)",
|
|
62
|
+
"Maximum number of objects to return (recommended: ≤1000)": "Número máximo de objetos a retornar (recomendado: ≤1000)",
|
|
63
|
+
"Filter buckets whose names begin with this prefix": "Filtrar buckets cujos nomes começam com este prefixo",
|
|
64
|
+
"Include soft-deleted bucket versions in results": "Incluir versões de bucket excluídas por software nos resultados",
|
|
65
|
+
"Set of properties to return": "Conjunto de propriedades para retornar",
|
|
66
|
+
"Maximum number of buckets to return": "Número máximo de baldes para devolver",
|
|
67
|
+
"The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers": "A entidade para conceder acesso. Deve incluir o prefixo do tipo de entidade. Formato: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, ou allAuthenticatedUsers. Exemplos: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers",
|
|
68
|
+
"Optional generation number for versioned objects": "Número opcional de geração para objetos versionados",
|
|
69
|
+
"US (Multi-region)": "US (Multi-região)",
|
|
70
|
+
"EU (Multi-region)": "UE (Multi-região)",
|
|
71
|
+
"ASIA (Multi-region)": "ASIA (multi-região)",
|
|
72
|
+
"us-central1 (Iowa)": "us-central1 (Iowa)",
|
|
73
|
+
"us-east1 (South Carolina)": "us-east1 (Carolina quadradina)",
|
|
74
|
+
"us-east4 (Northern Virginia)": "us-east4 (Virgínia do Norte)",
|
|
75
|
+
"us-west1 (Oregon)": "us-west1 (Oregon)",
|
|
76
|
+
"us-west2 (Los Angeles)": "us-west2 (Los Angeles)",
|
|
77
|
+
"us-west3 (Salt Lake City)": "us-west3 (Salt Lake City)",
|
|
78
|
+
"us-west4 (Las Vegas)": "us-west4 (Las Vegas)",
|
|
79
|
+
"us-south1 (Dallas)": "-Sul 1 (Dallas)",
|
|
80
|
+
"europe-central2 (Warsaw)": "Europa-central2 (Varsóvia)",
|
|
81
|
+
"europe-north1 (Finland)": "Europa-norte1 (Finlândia)",
|
|
82
|
+
"europe-southwest1 (Madrid)": "Europa-sudoeste1 (Madrid)",
|
|
83
|
+
"europe-west1 (Belgium)": "Europa-Oeste1 (Bélgica)",
|
|
84
|
+
"europe-west2 (London)": "Europa-west2 (Londres)",
|
|
85
|
+
"europe-west3 (Frankfurt)": "Europa-oeste 3 (Frankfurt)",
|
|
86
|
+
"europe-west4 (Netherlands)": "Oeste4 (Holanda)",
|
|
87
|
+
"europe-west6 (Zurich)": "European west6 (Zurich)",
|
|
88
|
+
"europe-west8 (Milan)": "Oeste8 da Europa (Milão)",
|
|
89
|
+
"europe-west9 (Paris)": "Oeste9 da Europa (Paris)",
|
|
90
|
+
"asia-east1 (Taiwan)": "Ásia-Leste1 (Taiwan)",
|
|
91
|
+
"asia-east2 (Hong Kong)": "Aeste2 (Hong Kong)",
|
|
92
|
+
"asia-northeast1 (Tokyo)": "asia-northeast1 (Tóquio)",
|
|
93
|
+
"asia-northeast2 (Osaka)": "asia-norteast2 (Osaka)",
|
|
94
|
+
"asia-northeast3 (Seoul)": "asia-norteast3 (Seul)",
|
|
95
|
+
"asia-south1 (Mumbai)": "asia-sul (Mumbai)",
|
|
96
|
+
"asia-south2 (Delhi)": "Ásia-sul2 (Delhi)",
|
|
97
|
+
"asia-southeast1 (Singapore)": "Ásia-Sudeste1 (Singapura)",
|
|
98
|
+
"asia-southeast2 (Jakarta)": "asia-sudeste2 (Jakarta)",
|
|
99
|
+
"australia-southeast1 (Sydney)": "australia-sudeste1 (Sydney)",
|
|
100
|
+
"australia-southeast2 (Melbourne)": "australia-sudeste2 (Melbourne)",
|
|
101
|
+
"northamerica-northeast1 (Montreal)": "Norte-americana-nordeste1 (Montreal)",
|
|
102
|
+
"northamerica-northeast2 (Toronto)": "Norte-americano-nordeste2 (Toronto)",
|
|
103
|
+
"southamerica-east1 (São Paulo)": "sul-americana-leste 1 (Sa├o Paulo)",
|
|
104
|
+
"southamerica-west1 (Santiago)": "sudoamericana-oeste1 (Santiago)",
|
|
105
|
+
"Standard": "Padrão",
|
|
106
|
+
"Nearline": "Próximos",
|
|
107
|
+
"Coldline": "Frio",
|
|
108
|
+
"Archive": "Arquivo",
|
|
109
|
+
"Multi-regional": "Multi-regional",
|
|
110
|
+
"Regional": "Região",
|
|
111
|
+
"Durable Reduced Availability": "Redução de durabilidade",
|
|
112
|
+
"No ACLs (faster)": "Sem ACLs (mais rápido)",
|
|
113
|
+
"Full (includes ACLs)": "Completo (incluindo ACLs)",
|
|
114
|
+
"Reader": "Leitor",
|
|
115
|
+
"Owner": "Proprietário",
|
|
116
|
+
"Writer": "Escritor",
|
|
117
|
+
"New Object Created": "Novo Objeto Criado",
|
|
118
|
+
"Object Updated": "Objeto atualizado",
|
|
119
|
+
"Triggers when a new object is created in a bucket": "Aciona quando um novo objeto é criado em um balde",
|
|
120
|
+
"Triggers when an existing object is updated in a bucket": "Dispara quando um objeto existente é atualizado em um balde",
|
|
121
|
+
"Prefix Filter": "Filtro de Prefixo",
|
|
122
|
+
"Only trigger for objects with this prefix": "Apenas gatilho para objetos com este prefixo"
|
|
123
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.": "Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.",
|
|
3
|
+
"Create Bucket": "Create Bucket",
|
|
4
|
+
"Delete Empty Bucket": "Delete Empty Bucket",
|
|
5
|
+
"Clone Object": "Clone Object",
|
|
6
|
+
"Delete Object": "Delete Object",
|
|
7
|
+
"Search Objects": "Search Objects",
|
|
8
|
+
"Search Buckets": "Search Buckets",
|
|
9
|
+
"Create Object ACL": "Create Object ACL",
|
|
10
|
+
"Delete Object ACL": "Delete Object ACL",
|
|
11
|
+
"Create Bucket ACL": "Create Bucket ACL",
|
|
12
|
+
"Delete Bucket ACL": "Delete Bucket ACL",
|
|
13
|
+
"Create Bucket Default Object ACL": "Create Bucket Default Object ACL",
|
|
14
|
+
"Delete Bucket Default Object ACL": "Delete Bucket Default Object ACL",
|
|
15
|
+
"Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.": "Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.",
|
|
16
|
+
"Clean up unused buckets by deleting them if they contain no live objects.": "Clean up unused buckets by deleting them if they contain no live objects.",
|
|
17
|
+
"Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.": "Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.",
|
|
18
|
+
"Permanently delete a specific object. Perfect for removing obsolete files.": "Permanently delete a specific object. Perfect for removing obsolete files.",
|
|
19
|
+
"Search objects by criteria. Perfect for finding files in your bucket.": "Search objects by criteria. Perfect for finding files in your bucket.",
|
|
20
|
+
"Search buckets by name. Perfect for finding buckets in your project.": "Search buckets by name. Perfect for finding buckets in your project.",
|
|
21
|
+
"Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.": "Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.",
|
|
22
|
+
"Remove an ACL entry from an object. Perfect for revoking access for a user.": "Remove an ACL entry from an object. Perfect for revoking access for a user.",
|
|
23
|
+
"Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.": "Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.",
|
|
24
|
+
"Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.": "Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.",
|
|
25
|
+
"Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.": "Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.",
|
|
26
|
+
"Remove default ACL settings from a bucket. Perfect for reverting to default behavior.": "Remove default ACL settings from a bucket. Perfect for reverting to default behavior.",
|
|
27
|
+
"Project": "Project",
|
|
28
|
+
"Bucket Name": "Bucket Name",
|
|
29
|
+
"Location": "Location",
|
|
30
|
+
"Storage Class": "Storage Class",
|
|
31
|
+
"Enable Versioning": "Enable Versioning",
|
|
32
|
+
"Uniform Bucket Level Access": "Uniform Bucket Level Access",
|
|
33
|
+
"Labels": "Labels",
|
|
34
|
+
"Bucket": "Bucket",
|
|
35
|
+
"Object": "Object",
|
|
36
|
+
"Destination Object Name": "Destination Object Name",
|
|
37
|
+
"Metadata Overrides": "Metadata Overrides",
|
|
38
|
+
"Generation": "Generation",
|
|
39
|
+
"Prefix": "Prefix",
|
|
40
|
+
"Glob Pattern": "Glob Pattern",
|
|
41
|
+
"Delimiter": "Delimiter",
|
|
42
|
+
"Include Folders": "Include Folders",
|
|
43
|
+
"Include Versions": "Include Versions",
|
|
44
|
+
"Page Token": "Page Token",
|
|
45
|
+
"Max Results": "Max Results",
|
|
46
|
+
"Name Prefix": "Name Prefix",
|
|
47
|
+
"Include Soft-Deleted": "Include Soft-Deleted",
|
|
48
|
+
"Projection": "Projection",
|
|
49
|
+
"Entity": "Entity",
|
|
50
|
+
"Role": "Role",
|
|
51
|
+
"Unique name for your bucket (must be globally unique, 3-63 characters)": "Unique name for your bucket (must be globally unique, 3-63 characters)",
|
|
52
|
+
"Key-value pairs for bucket labels": "Key-value pairs for bucket labels",
|
|
53
|
+
"Name for the copied object (must be valid object name)": "Name for the copied object (must be valid object name)",
|
|
54
|
+
"Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)": "Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)",
|
|
55
|
+
"Optional generation number for versioned objects (permanently deletes a specific revision)": "Optional generation number for versioned objects (permanently deletes a specific revision)",
|
|
56
|
+
"Filter objects whose names begin with this prefix": "Filter objects whose names begin with this prefix",
|
|
57
|
+
"Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")": "Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")",
|
|
58
|
+
"Delimiter for hierarchical listing (commonly \"/\")": "Delimiter for hierarchical listing (commonly \"/\")",
|
|
59
|
+
"Include empty folders and managed folders in results": "Include empty folders and managed folders in results",
|
|
60
|
+
"List all versions of objects as distinct results": "List all versions of objects as distinct results",
|
|
61
|
+
"Token for pagination (from previous response)": "Token for pagination (from previous response)",
|
|
62
|
+
"Maximum number of objects to return (recommended: ≤1000)": "Maximum number of objects to return (recommended: ≤1000)",
|
|
63
|
+
"Filter buckets whose names begin with this prefix": "Filter buckets whose names begin with this prefix",
|
|
64
|
+
"Include soft-deleted bucket versions in results": "Include soft-deleted bucket versions in results",
|
|
65
|
+
"Set of properties to return": "Set of properties to return",
|
|
66
|
+
"Maximum number of buckets to return": "Maximum number of buckets to return",
|
|
67
|
+
"The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers": "The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers",
|
|
68
|
+
"Optional generation number for versioned objects": "Optional generation number for versioned objects",
|
|
69
|
+
"US (Multi-region)": "US (Multi-region)",
|
|
70
|
+
"EU (Multi-region)": "EU (Multi-region)",
|
|
71
|
+
"ASIA (Multi-region)": "ASIA (Multi-region)",
|
|
72
|
+
"us-central1 (Iowa)": "us-central1 (Iowa)",
|
|
73
|
+
"us-east1 (South Carolina)": "us-east1 (South Carolina)",
|
|
74
|
+
"us-east4 (Northern Virginia)": "us-east4 (Northern Virginia)",
|
|
75
|
+
"us-west1 (Oregon)": "us-west1 (Oregon)",
|
|
76
|
+
"us-west2 (Los Angeles)": "us-west2 (Los Angeles)",
|
|
77
|
+
"us-west3 (Salt Lake City)": "us-west3 (Salt Lake City)",
|
|
78
|
+
"us-west4 (Las Vegas)": "us-west4 (Las Vegas)",
|
|
79
|
+
"us-south1 (Dallas)": "us-south1 (Dallas)",
|
|
80
|
+
"europe-central2 (Warsaw)": "europe-central2 (Warsaw)",
|
|
81
|
+
"europe-north1 (Finland)": "europe-north1 (Finland)",
|
|
82
|
+
"europe-southwest1 (Madrid)": "europe-southwest1 (Madrid)",
|
|
83
|
+
"europe-west1 (Belgium)": "europe-west1 (Belgium)",
|
|
84
|
+
"europe-west2 (London)": "europe-west2 (London)",
|
|
85
|
+
"europe-west3 (Frankfurt)": "europe-west3 (Frankfurt)",
|
|
86
|
+
"europe-west4 (Netherlands)": "europe-west4 (Netherlands)",
|
|
87
|
+
"europe-west6 (Zurich)": "europe-west6 (Zurich)",
|
|
88
|
+
"europe-west8 (Milan)": "europe-west8 (Milan)",
|
|
89
|
+
"europe-west9 (Paris)": "europe-west9 (Paris)",
|
|
90
|
+
"asia-east1 (Taiwan)": "asia-east1 (Taiwan)",
|
|
91
|
+
"asia-east2 (Hong Kong)": "asia-east2 (Hong Kong)",
|
|
92
|
+
"asia-northeast1 (Tokyo)": "asia-northeast1 (Tokyo)",
|
|
93
|
+
"asia-northeast2 (Osaka)": "asia-northeast2 (Osaka)",
|
|
94
|
+
"asia-northeast3 (Seoul)": "asia-northeast3 (Seoul)",
|
|
95
|
+
"asia-south1 (Mumbai)": "asia-south1 (Mumbai)",
|
|
96
|
+
"asia-south2 (Delhi)": "asia-south2 (Delhi)",
|
|
97
|
+
"asia-southeast1 (Singapore)": "asia-southeast1 (Singapore)",
|
|
98
|
+
"asia-southeast2 (Jakarta)": "asia-southeast2 (Jakarta)",
|
|
99
|
+
"australia-southeast1 (Sydney)": "australia-southeast1 (Sydney)",
|
|
100
|
+
"australia-southeast2 (Melbourne)": "australia-southeast2 (Melbourne)",
|
|
101
|
+
"northamerica-northeast1 (Montreal)": "northamerica-northeast1 (Montreal)",
|
|
102
|
+
"northamerica-northeast2 (Toronto)": "northamerica-northeast2 (Toronto)",
|
|
103
|
+
"southamerica-east1 (São Paulo)": "southamerica-east1 (São Paulo)",
|
|
104
|
+
"southamerica-west1 (Santiago)": "southamerica-west1 (Santiago)",
|
|
105
|
+
"Standard": "Standard",
|
|
106
|
+
"Nearline": "Nearline",
|
|
107
|
+
"Coldline": "Coldline",
|
|
108
|
+
"Archive": "Archive",
|
|
109
|
+
"Multi-regional": "Multi-regional",
|
|
110
|
+
"Regional": "Regional",
|
|
111
|
+
"Durable Reduced Availability": "Durable Reduced Availability",
|
|
112
|
+
"No ACLs (faster)": "No ACLs (faster)",
|
|
113
|
+
"Full (includes ACLs)": "Full (includes ACLs)",
|
|
114
|
+
"Reader": "Reader",
|
|
115
|
+
"Owner": "Owner",
|
|
116
|
+
"Writer": "Writer",
|
|
117
|
+
"New Object Created": "New Object Created",
|
|
118
|
+
"Object Updated": "Object Updated",
|
|
119
|
+
"Triggers when a new object is created in a bucket": "Triggers when a new object is created in a bucket",
|
|
120
|
+
"Triggers when an existing object is updated in a bucket": "Triggers when an existing object is updated in a bucket",
|
|
121
|
+
"Prefix Filter": "Prefix Filter",
|
|
122
|
+
"Only trigger for objects with this prefix": "Only trigger for objects with this prefix"
|
|
123
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.": "Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.",
|
|
3
|
+
"Create Bucket": "Create Bucket",
|
|
4
|
+
"Delete Empty Bucket": "Delete Empty Bucket",
|
|
5
|
+
"Clone Object": "Clone Object",
|
|
6
|
+
"Delete Object": "Delete Object",
|
|
7
|
+
"Search Objects": "Search Objects",
|
|
8
|
+
"Search Buckets": "Search Buckets",
|
|
9
|
+
"Create Object ACL": "Create Object ACL",
|
|
10
|
+
"Delete Object ACL": "Delete Object ACL",
|
|
11
|
+
"Create Bucket ACL": "Create Bucket ACL",
|
|
12
|
+
"Delete Bucket ACL": "Delete Bucket ACL",
|
|
13
|
+
"Create Bucket Default Object ACL": "Create Bucket Default Object ACL",
|
|
14
|
+
"Delete Bucket Default Object ACL": "Delete Bucket Default Object ACL",
|
|
15
|
+
"Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.": "Create a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.",
|
|
16
|
+
"Clean up unused buckets by deleting them if they contain no live objects.": "Clean up unused buckets by deleting them if they contain no live objects.",
|
|
17
|
+
"Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.": "Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.",
|
|
18
|
+
"Permanently delete a specific object. Perfect for removing obsolete files.": "Permanently delete a specific object. Perfect for removing obsolete files.",
|
|
19
|
+
"Search objects by criteria. Perfect for finding files in your bucket.": "Search objects by criteria. Perfect for finding files in your bucket.",
|
|
20
|
+
"Search buckets by name. Perfect for finding buckets in your project.": "Search buckets by name. Perfect for finding buckets in your project.",
|
|
21
|
+
"Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.": "Add an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.",
|
|
22
|
+
"Remove an ACL entry from an object. Perfect for revoking access for a user.": "Remove an ACL entry from an object. Perfect for revoking access for a user.",
|
|
23
|
+
"Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.": "Add an ACL entry at bucket level. Perfect for granting permission to manage the bucket.",
|
|
24
|
+
"Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.": "Remove an ACL entry from a bucket. Perfect for revoking access for a user or group.",
|
|
25
|
+
"Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.": "Set default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.",
|
|
26
|
+
"Remove default ACL settings from a bucket. Perfect for reverting to default behavior.": "Remove default ACL settings from a bucket. Perfect for reverting to default behavior.",
|
|
27
|
+
"Project": "项目",
|
|
28
|
+
"Bucket Name": "Bucket Name",
|
|
29
|
+
"Location": "Location",
|
|
30
|
+
"Storage Class": "Storage Class",
|
|
31
|
+
"Enable Versioning": "Enable Versioning",
|
|
32
|
+
"Uniform Bucket Level Access": "Uniform Bucket Level Access",
|
|
33
|
+
"Labels": "Labels",
|
|
34
|
+
"Bucket": "Bucket",
|
|
35
|
+
"Object": "Object",
|
|
36
|
+
"Destination Object Name": "Destination Object Name",
|
|
37
|
+
"Metadata Overrides": "Metadata Overrides",
|
|
38
|
+
"Generation": "Generation",
|
|
39
|
+
"Prefix": "Prefix",
|
|
40
|
+
"Glob Pattern": "Glob Pattern",
|
|
41
|
+
"Delimiter": "Delimiter",
|
|
42
|
+
"Include Folders": "Include Folders",
|
|
43
|
+
"Include Versions": "Include Versions",
|
|
44
|
+
"Page Token": "Page Token",
|
|
45
|
+
"Max Results": "Max Results",
|
|
46
|
+
"Name Prefix": "Name Prefix",
|
|
47
|
+
"Include Soft-Deleted": "Include Soft-Deleted",
|
|
48
|
+
"Projection": "Projection",
|
|
49
|
+
"Entity": "Entity",
|
|
50
|
+
"Role": "作用",
|
|
51
|
+
"Unique name for your bucket (must be globally unique, 3-63 characters)": "Unique name for your bucket (must be globally unique, 3-63 characters)",
|
|
52
|
+
"Key-value pairs for bucket labels": "Key-value pairs for bucket labels",
|
|
53
|
+
"Name for the copied object (must be valid object name)": "Name for the copied object (must be valid object name)",
|
|
54
|
+
"Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)": "Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)",
|
|
55
|
+
"Optional generation number for versioned objects (permanently deletes a specific revision)": "Optional generation number for versioned objects (permanently deletes a specific revision)",
|
|
56
|
+
"Filter objects whose names begin with this prefix": "Filter objects whose names begin with this prefix",
|
|
57
|
+
"Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")": "Glob pattern to filter results (e.g., \"folder/*\", \"backup-*.txt\")",
|
|
58
|
+
"Delimiter for hierarchical listing (commonly \"/\")": "Delimiter for hierarchical listing (commonly \"/\")",
|
|
59
|
+
"Include empty folders and managed folders in results": "Include empty folders and managed folders in results",
|
|
60
|
+
"List all versions of objects as distinct results": "List all versions of objects as distinct results",
|
|
61
|
+
"Token for pagination (from previous response)": "Token for pagination (from previous response)",
|
|
62
|
+
"Maximum number of objects to return (recommended: ≤1000)": "Maximum number of objects to return (recommended: ≤1000)",
|
|
63
|
+
"Filter buckets whose names begin with this prefix": "Filter buckets whose names begin with this prefix",
|
|
64
|
+
"Include soft-deleted bucket versions in results": "Include soft-deleted bucket versions in results",
|
|
65
|
+
"Set of properties to return": "Set of properties to return",
|
|
66
|
+
"Maximum number of buckets to return": "Maximum number of buckets to return",
|
|
67
|
+
"The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers": "The entity to grant access to. Must include the entity type prefix. Format: user-emailAddress, group-groupId, group-emailAddress, domain-domainName, project-team-projectId, allUsers, or allAuthenticatedUsers. Examples: user-liz@example.com, group-mygroup@googlegroups.com, domain-example.com, allUsers",
|
|
68
|
+
"Optional generation number for versioned objects": "Optional generation number for versioned objects",
|
|
69
|
+
"US (Multi-region)": "US (Multi-region)",
|
|
70
|
+
"EU (Multi-region)": "EU (Multi-region)",
|
|
71
|
+
"ASIA (Multi-region)": "ASIA (Multi-region)",
|
|
72
|
+
"us-central1 (Iowa)": "us-central1 (Iowa)",
|
|
73
|
+
"us-east1 (South Carolina)": "us-east1 (South Carolina)",
|
|
74
|
+
"us-east4 (Northern Virginia)": "us-east4 (Northern Virginia)",
|
|
75
|
+
"us-west1 (Oregon)": "us-west1 (Oregon)",
|
|
76
|
+
"us-west2 (Los Angeles)": "us-west2 (Los Angeles)",
|
|
77
|
+
"us-west3 (Salt Lake City)": "us-west3 (Salt Lake City)",
|
|
78
|
+
"us-west4 (Las Vegas)": "us-west4 (Las Vegas)",
|
|
79
|
+
"us-south1 (Dallas)": "us-south1 (Dallas)",
|
|
80
|
+
"europe-central2 (Warsaw)": "europe-central2 (Warsaw)",
|
|
81
|
+
"europe-north1 (Finland)": "europe-north1 (Finland)",
|
|
82
|
+
"europe-southwest1 (Madrid)": "europe-southwest1 (Madrid)",
|
|
83
|
+
"europe-west1 (Belgium)": "europe-west1 (Belgium)",
|
|
84
|
+
"europe-west2 (London)": "europe-west2 (London)",
|
|
85
|
+
"europe-west3 (Frankfurt)": "europe-west3 (Frankfurt)",
|
|
86
|
+
"europe-west4 (Netherlands)": "europe-west4 (Netherlands)",
|
|
87
|
+
"europe-west6 (Zurich)": "europe-west6 (Zurich)",
|
|
88
|
+
"europe-west8 (Milan)": "europe-west8 (Milan)",
|
|
89
|
+
"europe-west9 (Paris)": "europe-west9 (Paris)",
|
|
90
|
+
"asia-east1 (Taiwan)": "asia-east1 (Taiwan)",
|
|
91
|
+
"asia-east2 (Hong Kong)": "asia-east2 (Hong Kong)",
|
|
92
|
+
"asia-northeast1 (Tokyo)": "asia-northeast1 (Tokyo)",
|
|
93
|
+
"asia-northeast2 (Osaka)": "asia-northeast2 (Osaka)",
|
|
94
|
+
"asia-northeast3 (Seoul)": "asia-northeast3 (Seoul)",
|
|
95
|
+
"asia-south1 (Mumbai)": "asia-south1 (Mumbai)",
|
|
96
|
+
"asia-south2 (Delhi)": "asia-south2 (Delhi)",
|
|
97
|
+
"asia-southeast1 (Singapore)": "asia-southeast1 (Singapore)",
|
|
98
|
+
"asia-southeast2 (Jakarta)": "asia-southeast2 (Jakarta)",
|
|
99
|
+
"australia-southeast1 (Sydney)": "australia-southeast1 (Sydney)",
|
|
100
|
+
"australia-southeast2 (Melbourne)": "australia-southeast2 (Melbourne)",
|
|
101
|
+
"northamerica-northeast1 (Montreal)": "northamerica-northeast1 (Montreal)",
|
|
102
|
+
"northamerica-northeast2 (Toronto)": "northamerica-northeast2 (Toronto)",
|
|
103
|
+
"southamerica-east1 (São Paulo)": "southamerica-east1 (São Paulo)",
|
|
104
|
+
"southamerica-west1 (Santiago)": "southamerica-west1 (Santiago)",
|
|
105
|
+
"Standard": "Standard",
|
|
106
|
+
"Nearline": "Nearline",
|
|
107
|
+
"Coldline": "Coldline",
|
|
108
|
+
"Archive": "Archive",
|
|
109
|
+
"Multi-regional": "Multi-regional",
|
|
110
|
+
"Regional": "Regional",
|
|
111
|
+
"Durable Reduced Availability": "Durable Reduced Availability",
|
|
112
|
+
"No ACLs (faster)": "No ACLs (faster)",
|
|
113
|
+
"Full (includes ACLs)": "Full (includes ACLs)",
|
|
114
|
+
"Reader": "Reader",
|
|
115
|
+
"Owner": "所有者",
|
|
116
|
+
"Writer": "Writer",
|
|
117
|
+
"New Object Created": "New Object Created",
|
|
118
|
+
"Object Updated": "Object Updated",
|
|
119
|
+
"Triggers when a new object is created in a bucket": "Triggers when a new object is created in a bucket",
|
|
120
|
+
"Triggers when an existing object is updated in a bucket": "Triggers when an existing object is updated in a bucket",
|
|
121
|
+
"Prefix Filter": "Prefix Filter",
|
|
122
|
+
"Only trigger for objects with this prefix": "Only trigger for objects with this prefix"
|
|
123
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
import { createPiece } from "@guayaba/workflows-framework";
|
|
3
|
+
import { PieceCategory } from "@guayaba/workflows-shared";
|
|
4
|
+
import { googleCloudStorageAuth } from "./lib/common/auth";
|
|
5
|
+
import { createBucket } from "./lib/actions/create-bucket";
|
|
6
|
+
import { deleteEmptyBucket } from "./lib/actions/delete-empty-bucket";
|
|
7
|
+
import { cloneObject } from "./lib/actions/clone-object";
|
|
8
|
+
import { deleteObject } from "./lib/actions/delete-object";
|
|
9
|
+
import { searchObjects } from "./lib/actions/search-objects";
|
|
10
|
+
import { searchBuckets } from "./lib/actions/search-buckets";
|
|
11
|
+
import { createObjectAcl } from "./lib/actions/create-object-acl";
|
|
12
|
+
import { deleteObjectAcl } from "./lib/actions/delete-object-acl";
|
|
13
|
+
import { createBucketAcl } from "./lib/actions/create-bucket-acl";
|
|
14
|
+
import { deleteBucketAcl } from "./lib/actions/delete-bucket-acl";
|
|
15
|
+
import { createBucketDefaultObjectAcl } from "./lib/actions/create-bucket-default-object-acl";
|
|
16
|
+
import { deleteBucketDefaultObjectAcl } from "./lib/actions/delete-bucket-default-object-acl";
|
|
17
|
+
import { newObjectCreated } from "./lib/triggers/new-object-created";
|
|
18
|
+
import { objectUpdated } from "./lib/triggers/object-updated";
|
|
19
|
+
|
|
20
|
+
export const googleCloudStorage = createPiece({
|
|
21
|
+
displayName: "Google Cloud Storage",
|
|
22
|
+
description: "Automate file storage operations with Google Cloud Storage. Upload, download, manage buckets, set permissions, and monitor changes with real-time triggers.",
|
|
23
|
+
auth: googleCloudStorageAuth,
|
|
24
|
+
minimumSupportedRelease: '0.36.1',
|
|
25
|
+
logoUrl: "https://cdn.activepieces.com/pieces/google-cloud-storage.png",
|
|
26
|
+
authors: ["sparkybug"],
|
|
27
|
+
categories: [PieceCategory.CONTENT_AND_FILES],
|
|
28
|
+
actions: [
|
|
29
|
+
createBucket,
|
|
30
|
+
deleteEmptyBucket,
|
|
31
|
+
cloneObject,
|
|
32
|
+
deleteObject,
|
|
33
|
+
searchObjects,
|
|
34
|
+
searchBuckets,
|
|
35
|
+
createObjectAcl,
|
|
36
|
+
deleteObjectAcl,
|
|
37
|
+
createBucketAcl,
|
|
38
|
+
deleteBucketAcl,
|
|
39
|
+
createBucketDefaultObjectAcl,
|
|
40
|
+
deleteBucketDefaultObjectAcl,
|
|
41
|
+
],
|
|
42
|
+
triggers: [
|
|
43
|
+
newObjectCreated,
|
|
44
|
+
objectUpdated,
|
|
45
|
+
],
|
|
46
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { createAction, Property, OAuth2PropertyValue } from '@guayaba/workflows-framework';
|
|
2
|
+
import { googleCloudStorageAuth } from '../common/auth';
|
|
3
|
+
import { gcsCommon } from '../common/client';
|
|
4
|
+
import { bucketDropdown, objectDropdown, projectIdProperty } from '../common/props';
|
|
5
|
+
import { HttpMethod } from '@guayaba/workflows-common';
|
|
6
|
+
|
|
7
|
+
export const cloneObject = createAction({
|
|
8
|
+
auth: googleCloudStorageAuth,
|
|
9
|
+
name: 'clone_object',
|
|
10
|
+
displayName: 'Clone Object',
|
|
11
|
+
description: 'Copy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.',
|
|
12
|
+
props: {
|
|
13
|
+
projectId: projectIdProperty,
|
|
14
|
+
sourceBucket: bucketDropdown,
|
|
15
|
+
sourceObject: objectDropdown('sourceBucket'),
|
|
16
|
+
destBucket: bucketDropdown,
|
|
17
|
+
destObject: Property.ShortText({
|
|
18
|
+
displayName: 'Destination Object Name',
|
|
19
|
+
description: 'Name for the copied object (must be valid object name)',
|
|
20
|
+
required: true,
|
|
21
|
+
}),
|
|
22
|
+
metadataOverrides: Property.Object({
|
|
23
|
+
displayName: 'Metadata Overrides',
|
|
24
|
+
description: 'Optional metadata and properties to override in the copied object (contentType, cacheControl, contentDisposition, etc.)',
|
|
25
|
+
required: false,
|
|
26
|
+
}),
|
|
27
|
+
},
|
|
28
|
+
async run(context) {
|
|
29
|
+
const { sourceBucket, sourceObject, destBucket, destObject, metadataOverrides } = context.propsValue;
|
|
30
|
+
const auth = context.auth as OAuth2PropertyValue;
|
|
31
|
+
|
|
32
|
+
const body = metadataOverrides || undefined;
|
|
33
|
+
|
|
34
|
+
try {
|
|
35
|
+
const response = await gcsCommon.makeRequest(
|
|
36
|
+
HttpMethod.POST,
|
|
37
|
+
`/b/${sourceBucket}/o/${encodeURIComponent(sourceObject as string)}/copyTo/b/${destBucket}/o/${encodeURIComponent(destObject as string)}`,
|
|
38
|
+
auth.access_token,
|
|
39
|
+
body
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
return {
|
|
43
|
+
success: true,
|
|
44
|
+
source: {
|
|
45
|
+
bucket: sourceBucket,
|
|
46
|
+
object: sourceObject,
|
|
47
|
+
},
|
|
48
|
+
destination: {
|
|
49
|
+
bucket: destBucket,
|
|
50
|
+
object: destObject,
|
|
51
|
+
},
|
|
52
|
+
object: response,
|
|
53
|
+
};
|
|
54
|
+
} catch (error: any) {
|
|
55
|
+
if (error.response?.status === 404) {
|
|
56
|
+
throw new Error(`Source object "${sourceObject}" not found in bucket "${sourceBucket}".`);
|
|
57
|
+
}
|
|
58
|
+
if (error.response?.status === 403) {
|
|
59
|
+
throw new Error('Access denied. Check permissions for source and destination buckets.');
|
|
60
|
+
}
|
|
61
|
+
if (error.response?.status === 412) {
|
|
62
|
+
throw new Error('Precondition failed. Source object may have been modified.');
|
|
63
|
+
}
|
|
64
|
+
if (error.response?.status === 409) {
|
|
65
|
+
throw new Error(`Destination object "${destObject}" already exists in bucket "${destBucket}".`);
|
|
66
|
+
}
|
|
67
|
+
if (error.response?.status === 400) {
|
|
68
|
+
throw new Error('Invalid request. Check object names and bucket configurations.');
|
|
69
|
+
}
|
|
70
|
+
throw new Error(`Failed to clone object: ${error.message || 'Unknown error'}`);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
});
|