@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20231014 → 0.0.20231111
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/index.d.ts +81 -1
- package/package.json +1 -1
- package/tests.ts +9 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231111
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -262,6 +262,11 @@ declare namespace gapi.client {
|
|
|
262
262
|
file?:
|
|
263
263
|
string;
|
|
264
264
|
}
|
|
265
|
+
interface DirectorySearchResult {
|
|
266
|
+
/** File system path relative to the workspace root. */
|
|
267
|
+
path?:
|
|
268
|
+
string;
|
|
269
|
+
}
|
|
265
270
|
// tslint:disable-next-line:no-empty-interface
|
|
266
271
|
interface Empty {
|
|
267
272
|
}
|
|
@@ -318,6 +323,11 @@ declare namespace gapi.client {
|
|
|
318
323
|
writeFile?:
|
|
319
324
|
WriteFile;
|
|
320
325
|
}
|
|
326
|
+
interface FileSearchResult {
|
|
327
|
+
/** File system path relative to the workspace root. */
|
|
328
|
+
path?:
|
|
329
|
+
string;
|
|
330
|
+
}
|
|
321
331
|
interface GitRemoteSettings {
|
|
322
332
|
/** 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/*`. */
|
|
323
333
|
authenticationTokenSecretVersion?:
|
|
@@ -815,6 +825,22 @@ declare namespace gapi.client {
|
|
|
815
825
|
releaseTime?:
|
|
816
826
|
string;
|
|
817
827
|
}
|
|
828
|
+
interface SearchFilesResponse {
|
|
829
|
+
/** Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
830
|
+
nextPageToken?:
|
|
831
|
+
string;
|
|
832
|
+
/** List of matched results. */
|
|
833
|
+
searchResults?:
|
|
834
|
+
SearchResult[];
|
|
835
|
+
}
|
|
836
|
+
interface SearchResult {
|
|
837
|
+
/** Details when search result is a directory. */
|
|
838
|
+
directory?:
|
|
839
|
+
DirectorySearchResult;
|
|
840
|
+
/** Details when search result is a file. */
|
|
841
|
+
file?:
|
|
842
|
+
FileSearchResult;
|
|
843
|
+
}
|
|
818
844
|
interface SetIamPolicyRequest {
|
|
819
845
|
/**
|
|
820
846
|
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
@@ -916,6 +942,9 @@ declare namespace gapi.client {
|
|
|
916
942
|
/** Output only. The workflow invocation's name. */
|
|
917
943
|
name?:
|
|
918
944
|
string;
|
|
945
|
+
/** Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
946
|
+
resolvedCompilationResult?:
|
|
947
|
+
string;
|
|
919
948
|
/** Output only. This workflow invocation's current state. */
|
|
920
949
|
state?:
|
|
921
950
|
string;
|
|
@@ -3586,6 +3615,57 @@ declare namespace gapi.client {
|
|
|
3586
3615
|
string;
|
|
3587
3616
|
},
|
|
3588
3617
|
body: ResetWorkspaceChangesRequest): Request<{}>;
|
|
3618
|
+
/** Finds the contents of a given Workspace directory by filter. */
|
|
3619
|
+
searchFiles(request?: {
|
|
3620
|
+
/** V1 error format. */
|
|
3621
|
+
"$.xgafv"?:
|
|
3622
|
+
string;
|
|
3623
|
+
/** OAuth access token. */
|
|
3624
|
+
access_token?:
|
|
3625
|
+
string;
|
|
3626
|
+
/** Data format for response. */
|
|
3627
|
+
alt?:
|
|
3628
|
+
string;
|
|
3629
|
+
/** JSONP */
|
|
3630
|
+
callback?:
|
|
3631
|
+
string;
|
|
3632
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3633
|
+
fields?:
|
|
3634
|
+
string;
|
|
3635
|
+
/** Optional. Optional filter for the returned list in go/filtering format. Filtering is only currently supported on the `path` field. */
|
|
3636
|
+
filter?:
|
|
3637
|
+
string;
|
|
3638
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3639
|
+
key?:
|
|
3640
|
+
string;
|
|
3641
|
+
/** OAuth 2.0 token for the current user. */
|
|
3642
|
+
oauth_token?:
|
|
3643
|
+
string;
|
|
3644
|
+
/** Optional. Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
3645
|
+
pageSize?:
|
|
3646
|
+
number;
|
|
3647
|
+
/**
|
|
3648
|
+
* Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3649
|
+
* `SearchFilesRequest` must match the call that provided the page token.
|
|
3650
|
+
*/
|
|
3651
|
+
pageToken?:
|
|
3652
|
+
string;
|
|
3653
|
+
/** Returns response with indentations and line breaks. */
|
|
3654
|
+
prettyPrint?:
|
|
3655
|
+
boolean;
|
|
3656
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3657
|
+
quotaUser?:
|
|
3658
|
+
string;
|
|
3659
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3660
|
+
upload_protocol?:
|
|
3661
|
+
string;
|
|
3662
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3663
|
+
uploadType?:
|
|
3664
|
+
string;
|
|
3665
|
+
/** Required. The workspace's name. */
|
|
3666
|
+
workspace:
|
|
3667
|
+
string;
|
|
3668
|
+
}): Request<SearchFilesResponse>;
|
|
3589
3669
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3590
3670
|
setIamPolicy(request: {
|
|
3591
3671
|
/** V1 error format. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231111
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -512,6 +512,7 @@ gapi.load('client', async () => {
|
|
|
512
512
|
startTime: "Test string",
|
|
513
513
|
},
|
|
514
514
|
name: "Test string",
|
|
515
|
+
resolvedCompilationResult: "Test string",
|
|
515
516
|
state: "Test string",
|
|
516
517
|
workflowConfig: "Test string",
|
|
517
518
|
});
|
|
@@ -666,6 +667,13 @@ gapi.load('client', async () => {
|
|
|
666
667
|
"Test string"
|
|
667
668
|
],
|
|
668
669
|
});
|
|
670
|
+
/** Finds the contents of a given Workspace directory by filter. */
|
|
671
|
+
await gapi.client.dataform.projects.locations.repositories.workspaces.searchFiles({
|
|
672
|
+
filter: "Test string",
|
|
673
|
+
pageSize: 42,
|
|
674
|
+
pageToken: "Test string",
|
|
675
|
+
workspace: "Test string",
|
|
676
|
+
});
|
|
669
677
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
670
678
|
await gapi.client.dataform.projects.locations.repositories.workspaces.setIamPolicy({
|
|
671
679
|
resource: "Test string",
|