@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20230304 → 0.0.20230318

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.
Files changed (3) hide show
  1. package/index.d.ts +34 -3
  2. package/package.json +1 -1
  3. package/tests.ts +6 -2
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: 20230304
12
+ // Revision: 20230318
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -182,6 +182,10 @@ declare namespace gapi.client {
182
182
  /** This action's identifier. Unique within the compilation result. */
183
183
  target?: Target;
184
184
  }
185
+ interface ComputeRepositoryAccessTokenStatusResponse {
186
+ /** Indicates the status of the Git access token. */
187
+ tokenStatus?: string;
188
+ }
185
189
  interface Declaration {
186
190
  /** Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata. */
187
191
  relationDescriptor?: RelationDescriptor;
@@ -2614,6 +2618,33 @@ declare namespace gapi.client {
2614
2618
  uploadType?: string;
2615
2619
  },
2616
2620
  body: CommitRepositoryChangesRequest): Request<{}>;
2621
+ /** Computes a Repository's Git access token status. */
2622
+ computeAccessTokenStatus(request?: {
2623
+ /** V1 error format. */
2624
+ "$.xgafv"?: string;
2625
+ /** OAuth access token. */
2626
+ access_token?: string;
2627
+ /** Data format for response. */
2628
+ alt?: string;
2629
+ /** JSONP */
2630
+ callback?: string;
2631
+ /** Selector specifying which fields to include in a partial response. */
2632
+ fields?: string;
2633
+ /** 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. */
2634
+ key?: string;
2635
+ /** Required. The repository's name. */
2636
+ name: string;
2637
+ /** OAuth 2.0 token for the current user. */
2638
+ oauth_token?: string;
2639
+ /** Returns response with indentations and line breaks. */
2640
+ prettyPrint?: boolean;
2641
+ /** 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. */
2642
+ quotaUser?: string;
2643
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2644
+ upload_protocol?: string;
2645
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2646
+ uploadType?: string;
2647
+ }): Request<ComputeRepositoryAccessTokenStatusResponse>;
2617
2648
  /** Creates a new Repository in a given project and location. */
2618
2649
  create(request: {
2619
2650
  /** V1 error format. */
@@ -2703,7 +2734,7 @@ declare namespace gapi.client {
2703
2734
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2704
2735
  uploadType?: string;
2705
2736
  }): Request<{}>;
2706
- /** Fetches a Repository's history of changes. The Repository must not have a value for `git_remote_settings.url`. */
2737
+ /** Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`. */
2707
2738
  fetchHistory(request?: {
2708
2739
  /** V1 error format. */
2709
2740
  "$.xgafv"?: string;
@@ -2721,7 +2752,7 @@ declare namespace gapi.client {
2721
2752
  name: string;
2722
2753
  /** OAuth 2.0 token for the current user. */
2723
2754
  oauth_token?: string;
2724
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
2755
+ /** Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
2725
2756
  pageSize?: number;
2726
2757
  /**
2727
2758
  * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataform-v1beta1",
3
- "version": "0.0.20230304",
3
+ "version": "0.0.20230318",
4
4
  "description": "TypeScript typings for Dataform API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230304
6
+ // Revision: 20230318
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -62,6 +62,10 @@ gapi.load('client', async () => {
62
62
  }
63
63
  },
64
64
  });
65
+ /** Computes a Repository's Git access token status. */
66
+ await gapi.client.dataform.projects.locations.repositories.computeAccessTokenStatus({
67
+ name: "Test string",
68
+ });
65
69
  /** Creates a new Repository in a given project and location. */
66
70
  await gapi.client.dataform.projects.locations.repositories.create({
67
71
  parent: "Test string",
@@ -99,7 +103,7 @@ gapi.load('client', async () => {
99
103
  force: true,
100
104
  name: "Test string",
101
105
  });
102
- /** Fetches a Repository's history of changes. The Repository must not have a value for `git_remote_settings.url`. */
106
+ /** Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`. */
103
107
  await gapi.client.dataform.projects.locations.repositories.fetchHistory({
104
108
  name: "Test string",
105
109
  pageSize: 42,