You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
<pre>Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
165
+
166
+
Args:
167
+
name: string, Required. The repository's name. (required)
168
+
body: object, The request body.
169
+
The object takes the form of:
170
+
171
+
{ # `CommitRepositoryChanges` request message.
172
+
"commitMetadata": { # Represents a Dataform Git commit. # Required. The changes to commit to the repository.
173
+
"author": { # Represents the author of a Git commit. # Required. The commit's author.
174
+
"emailAddress": "A String", # Required. The commit author's email address.
175
+
"name": "A String", # Required. The commit author's name.
176
+
},
177
+
"commitMessage": "A String", # Optional. The commit's message.
178
+
},
179
+
"fileOperations": { # A map to the path of the file to the operation. The path is the ull file path including filename, from repository root.
180
+
"a_key": { # Represents a single file operation to the repository.
181
+
"deleteFile": { # Represents the delete file operation. # Represents the delete operation.
182
+
},
183
+
"writeFile": { # Represents the write file operation (for files added or modified). # Represents the write operation.
184
+
"contents": "A String", # The file's contents.
185
+
},
186
+
},
187
+
},
188
+
"requiredHeadCommitSha": "A String", # Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.
189
+
}
190
+
191
+
x__xgafv: string, V1 error format.
192
+
Allowed values
193
+
1 - v1 error format
194
+
2 - v2 error format
195
+
196
+
Returns:
197
+
An object of the form:
198
+
199
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
<pre>Computes a Repository's Git access token status.
@@ -170,15 +229,20 @@ <h3>Method Details</h3>
170
229
The object takes the form of:
171
230
172
231
{ # Represents a Dataform Git repository.
232
+
"displayName": "A String", # Optional. The repository's user-friendly name.
173
233
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
174
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
234
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
177
237
"url": "A String", # Required. The Git remote's URL.
178
238
},
239
+
"labels": { # Optional. Repository user labels.
240
+
"a_key": "A String",
241
+
},
179
242
"name": "A String", # Output only. The repository's name.
180
243
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
181
244
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
245
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
182
246
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
"schemaSuffix": "A String", # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
@@ -196,15 +260,20 @@ <h3>Method Details</h3>
196
260
An object of the form:
197
261
198
262
{ # Represents a Dataform Git repository.
263
+
"displayName": "A String", # Optional. The repository's user-friendly name.
199
264
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
200
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
265
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
203
268
"url": "A String", # Required. The Git remote's URL.
204
269
},
270
+
"labels": { # Optional. Repository user labels.
271
+
"a_key": "A String",
272
+
},
205
273
"name": "A String", # Output only. The repository's name.
206
274
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
207
275
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
276
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
208
277
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
<pre>Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
307
+
308
+
Args:
309
+
name: string, Required. The repository's name. (required)
310
+
pageSize: integer, Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
311
+
pageToken: string, Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.
312
+
x__xgafv: string, V1 error format.
313
+
Allowed values
314
+
1 - v1 error format
315
+
2 - v2 error format
316
+
317
+
Returns:
318
+
An object of the form:
319
+
320
+
{ # `FetchRepositoryHistory` response message.
321
+
"commits": [ # A list of commit logs, ordered by 'git log' default order.
322
+
{ # Represents a single commit log.
323
+
"author": { # Represents the author of a Git commit. # The commit author for this commit log entry.
324
+
"emailAddress": "A String", # Required. The commit author's email address.
325
+
"name": "A String", # Required. The commit author's name.
326
+
},
327
+
"commitMessage": "A String", # The commit message for this commit log entry.
328
+
"commitSha": "A String", # The commit SHA for this commit log entry.
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
"displayName": "A String", # Optional. The repository's user-friendly name.
271
387
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
272
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
388
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
275
391
"url": "A String", # Required. The Git remote's URL.
276
392
},
393
+
"labels": { # Optional. Repository user labels.
394
+
"a_key": "A String",
395
+
},
277
396
"name": "A String", # Output only. The repository's name.
278
397
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
279
398
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
399
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
280
400
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
"schemaSuffix": "A String", # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
@@ -342,15 +462,20 @@ <h3>Method Details</h3>
342
462
"nextPageToken": "A String", # A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
343
463
"repositories": [ # List of repositories.
344
464
{ # Represents a Dataform Git repository.
465
+
"displayName": "A String", # Optional. The repository's user-friendly name.
345
466
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
346
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
467
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
349
470
"url": "A String", # Required. The Git remote's URL.
350
471
},
472
+
"labels": { # Optional. Repository user labels.
473
+
"a_key": "A String",
474
+
},
351
475
"name": "A String", # Output only. The repository's name.
352
476
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
353
477
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
478
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
354
479
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
"schemaSuffix": "A String", # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
@@ -388,15 +513,20 @@ <h3>Method Details</h3>
388
513
The object takes the form of:
389
514
390
515
{ # Represents a Dataform Git repository.
516
+
"displayName": "A String", # Optional. The repository's user-friendly name.
391
517
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
392
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
518
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
395
521
"url": "A String", # Required. The Git remote's URL.
396
522
},
523
+
"labels": { # Optional. Repository user labels.
524
+
"a_key": "A String",
525
+
},
397
526
"name": "A String", # Output only. The repository's name.
398
527
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
399
528
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
529
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
400
530
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
"schemaSuffix": "A String", # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
@@ -414,15 +544,20 @@ <h3>Method Details</h3>
414
544
An object of the form:
415
545
416
546
{ # Represents a Dataform Git repository.
547
+
"displayName": "A String", # Optional. The repository's user-friendly name.
417
548
"gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote.
418
-
"authenticationTokenSecretVersion": "A String", # Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
549
+
"authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.
"tokenStatus": "A String", # Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
421
552
"url": "A String", # Required. The Git remote's URL.
422
553
},
554
+
"labels": { # Optional. Repository user labels.
555
+
"a_key": "A String",
556
+
},
423
557
"name": "A String", # Output only. The repository's name.
424
558
"npmrcEnvironmentVariablesSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
425
559
"serviceAccount": "A String", # Optional. The service account to run workflow invocations under.
560
+
"setAuthenticatedUserAdmin": True or False, # Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
426
561
"workspaceCompilationOverrides": { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
<pre>Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
572
+
573
+
Args:
574
+
name: string, Required. The repository's name. (required)
575
+
commitSha: string, Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
576
+
pageSize: integer, Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
577
+
pageToken: string, Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.
578
+
path: string, Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
"directoryEntries": [ # List of entries in the directory.
589
+
{ # Represents a single entry in a directory.
590
+
"directory": "A String", # A child directory in the directory.
591
+
"file": "A String", # A file in the directory.
592
+
},
593
+
],
594
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
<pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
"description": "Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
315
+
"format": "int32",
316
+
"location": "query",
317
+
"type": "integer"
318
+
},
319
+
"pageToken": {
320
+
"description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.",
321
+
"location": "query",
322
+
"type": "string"
323
+
}
324
+
},
325
+
"path": "v1beta1/{+name}:fetchHistory",
326
+
"response": {
327
+
"$ref": "FetchRepositoryHistoryResponse"
328
+
},
329
+
"scopes": [
330
+
"https://www.googleapis.com/auth/cloud-platform"
331
+
]
332
+
},
269
333
"fetchRemoteBranches": {
270
334
"description": "Fetches a Repository's remote branches.",
"description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
517
+
"format": "int32",
518
+
"location": "query",
519
+
"type": "integer"
520
+
},
521
+
"pageToken": {
522
+
"description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.",
523
+
"location": "query",
524
+
"type": "string"
525
+
},
526
+
"path": {
527
+
"description": "Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.",
"description": "Required. Full file path to read including filename, from repository root.",
563
+
"location": "query",
564
+
"type": "string"
565
+
}
566
+
},
567
+
"path": "v1beta1/{+name}:readFile",
568
+
"response": {
569
+
"$ref": "ReadRepositoryFileResponse"
570
+
},
571
+
"scopes": [
572
+
"https://www.googleapis.com/auth/cloud-platform"
573
+
]
574
+
},
430
575
"setIamPolicy": {
431
576
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"description": "Required. The changes to commit to the repository."
2172
+
},
2173
+
"fileOperations": {
2174
+
"additionalProperties": {
2175
+
"$ref": "FileOperation"
2176
+
},
2177
+
"description": "A map to the path of the file to the operation. The path is the ull file path including filename, from repository root.",
2178
+
"type": "object"
2179
+
},
2180
+
"requiredHeadCommitSha": {
2181
+
"description": "Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.",
"description": "A list of commit logs, ordered by 'git log' default order.",
2463
+
"items": {
2464
+
"$ref": "CommitLogEntry"
2465
+
},
2466
+
"type": "array"
2467
+
},
2468
+
"nextPageToken": {
2469
+
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
2470
+
"type": "string"
2471
+
}
2472
+
},
2473
+
"type": "object"
2474
+
},
2475
+
"FileOperation": {
2476
+
"description": "Represents a single file operation to the repository.",
2477
+
"id": "FileOperation",
2478
+
"properties": {
2479
+
"deleteFile": {
2480
+
"$ref": "DeleteFile",
2481
+
"description": "Represents the delete operation."
2482
+
},
2483
+
"writeFile": {
2484
+
"$ref": "WriteFile",
2485
+
"description": "Represents the write operation."
2486
+
}
2487
+
},
2488
+
"type": "object"
2489
+
},
2245
2490
"GitRemoteSettings": {
2246
2491
"description": "Controls Git remote configuration for a repository.",
2247
2492
"id": "GitRemoteSettings",
2248
2493
"properties": {
2249
2494
"authenticationTokenSecretVersion": {
2250
-
"description": "Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.",
2495
+
"description": "Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.",
"description": "Represents a Dataform Git repository.",
3034
3309
"id": "Repository",
3035
3310
"properties": {
3311
+
"displayName": {
3312
+
"description": "Optional. The repository's user-friendly name.",
3313
+
"type": "string"
3314
+
},
3036
3315
"gitRemoteSettings": {
3037
3316
"$ref": "GitRemoteSettings",
3038
3317
"description": "Optional. If set, configures this repository to be linked to a Git remote."
3039
3318
},
3319
+
"labels": {
3320
+
"additionalProperties": {
3321
+
"type": "string"
3322
+
},
3323
+
"description": "Optional. Repository user labels.",
3324
+
"type": "object"
3325
+
},
3040
3326
"name": {
3041
3327
"description": "Output only. The repository's name.",
3042
3328
"readOnly": true,
@@ -3050,6 +3336,10 @@
3050
3336
"description": "Optional. The service account to run workflow invocations under.",
3051
3337
"type": "string"
3052
3338
},
3339
+
"setAuthenticatedUserAdmin": {
3340
+
"description": "Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories",
3341
+
"type": "boolean"
3342
+
},
3053
3343
"workspaceCompilationOverrides": {
3054
3344
"$ref": "WorkspaceCompilationOverrides",
3055
3345
"description": "Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information."
@@ -3401,6 +3691,18 @@
3401
3691
},
3402
3692
"type": "object"
3403
3693
},
3694
+
"WriteFile": {
3695
+
"description": "Represents the write file operation (for files added or modified).",
0 commit comments