@maxim_mazurok/gapi.client.prod_tt_sasportal-v1alpha1 0.0.20230814 → 0.0.20230828

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 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://prod-tt-sasportal.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20230814
12
+ // Revision: 20230828
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -509,6 +509,15 @@ declare namespace gapi.client {
509
509
  resource?:
510
510
  string;
511
511
  }
512
+ // tslint:disable-next-line:no-empty-interface
513
+ interface SasPortalSetupSasAnalyticsMetadata {
514
+ }
515
+ // tslint:disable-next-line:no-empty-interface
516
+ interface SasPortalSetupSasAnalyticsRequest {
517
+ }
518
+ // tslint:disable-next-line:no-empty-interface
519
+ interface SasPortalSetupSasAnalyticsResponse {
520
+ }
512
521
  interface SasPortalSignDeviceRequest {
513
522
  /** Required. The device to sign. The device fields name, fcc_id and serial_number must be set. The user_id field must be set. */
514
523
  device?:
@@ -3010,6 +3019,84 @@ declare namespace gapi.client {
3010
3019
  string;
3011
3020
  },
3012
3021
  body: SasPortalProvisionDeploymentRequest): Request<SasPortalProvisionDeploymentResponse>;
3022
+ /**
3023
+ * Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as
3024
+ * part of this service.
3025
+ */
3026
+ setupSasAnalytics(request: {
3027
+ /** V1 error format. */
3028
+ "$.xgafv"?:
3029
+ string;
3030
+ /** OAuth access token. */
3031
+ access_token?:
3032
+ string;
3033
+ /** Data format for response. */
3034
+ alt?:
3035
+ string;
3036
+ /** JSONP */
3037
+ callback?:
3038
+ string;
3039
+ /** Selector specifying which fields to include in a partial response. */
3040
+ fields?:
3041
+ string;
3042
+ /** 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. */
3043
+ key?:
3044
+ string;
3045
+ /** OAuth 2.0 token for the current user. */
3046
+ oauth_token?:
3047
+ string;
3048
+ /** Returns response with indentations and line breaks. */
3049
+ prettyPrint?:
3050
+ boolean;
3051
+ /** 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. */
3052
+ quotaUser?:
3053
+ string;
3054
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3055
+ upload_protocol?:
3056
+ string;
3057
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3058
+ uploadType?:
3059
+ string;
3060
+ /** Request body */
3061
+ resource:
3062
+ SasPortalSetupSasAnalyticsRequest;
3063
+ }): Request<SasPortalOperation>;
3064
+ setupSasAnalytics(request: {
3065
+ /** V1 error format. */
3066
+ "$.xgafv"?:
3067
+ string;
3068
+ /** OAuth access token. */
3069
+ access_token?:
3070
+ string;
3071
+ /** Data format for response. */
3072
+ alt?:
3073
+ string;
3074
+ /** JSONP */
3075
+ callback?:
3076
+ string;
3077
+ /** Selector specifying which fields to include in a partial response. */
3078
+ fields?:
3079
+ string;
3080
+ /** 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. */
3081
+ key?:
3082
+ string;
3083
+ /** OAuth 2.0 token for the current user. */
3084
+ oauth_token?:
3085
+ string;
3086
+ /** Returns response with indentations and line breaks. */
3087
+ prettyPrint?:
3088
+ boolean;
3089
+ /** 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. */
3090
+ quotaUser?:
3091
+ string;
3092
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3093
+ upload_protocol?:
3094
+ string;
3095
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3096
+ uploadType?:
3097
+ string;
3098
+ },
3099
+ body: SasPortalSetupSasAnalyticsRequest): Request<SasPortalOperation>;
3013
3100
  deployments:
3014
3101
  DeploymentsResource;
3015
3102
  devices:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.prod_tt_sasportal-v1alpha1",
3
- "version": "0.0.20230814",
3
+ "version": "0.0.20230828",
4
4
  "description": "TypeScript typings for SAS Portal API (Testing) v1alpha1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -99,6 +99,11 @@ Creates a new SAS deployment through the GCP workflow. Creates a SAS organizatio
99
99
  */
100
100
  await gapi.client.prod_tt_sasportal.customers.provisionDeployment({ });
101
101
 
102
+ /*
103
+ Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.
104
+ */
105
+ await gapi.client.prod_tt_sasportal.customers.setupSasAnalytics({ });
106
+
102
107
  /*
103
108
  Returns a requested deployment.
104
109
  */
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: 20230814
6
+ // Revision: 20230828
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -69,6 +69,13 @@ gapi.load('client', async () => {
69
69
  newOrganizationDisplayName: "Test string",
70
70
  organizationId: "Test string",
71
71
  });
72
+ /**
73
+ * Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part
74
+ * of this service.
75
+ */
76
+ await gapi.client.prod_tt_sasportal.customers.setupSasAnalytics({
77
+ }, {
78
+ });
72
79
  /** Creates a new deployment. */
73
80
  await gapi.client.prod_tt_sasportal.customers.deployments.create({
74
81
  parent: "Test string",