@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20230102 → 0.0.20230115

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 +3 -72
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://cloudbuild.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230102
12
+ // Revision: 20230115
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -274,7 +274,7 @@ declare namespace gapi.client {
274
274
  tags?: string[];
275
275
  /**
276
276
  * Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`.
277
- * `timeout` starts ticking from `startTime`. Default time is ten minutes.
277
+ * `timeout` starts ticking from `startTime`. Default time is 60 minutes.
278
278
  */
279
279
  timeout?: string;
280
280
  /**
@@ -789,10 +789,6 @@ declare namespace gapi.client {
789
789
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
790
790
  extensions?: Array<{ [P in string]: any }>;
791
791
  }
792
- interface HTTPDelivery {
793
- /** The URI to which JSON-containing HTTP POST requests should be sent. */
794
- uri?: string;
795
- }
796
792
  interface InlineSecret {
797
793
  /**
798
794
  * Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
@@ -882,53 +878,6 @@ declare namespace gapi.client {
882
878
  */
883
879
  peeredNetworkIpRange?: string;
884
880
  }
885
- interface Notification {
886
- /** The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more. */
887
- filter?: string;
888
- /** Configuration for HTTP delivery. */
889
- httpDelivery?: HTTPDelivery;
890
- /** Configuration for Slack delivery. */
891
- slackDelivery?: SlackDelivery;
892
- /** Configuration for SMTP (email) delivery. */
893
- smtpDelivery?: SMTPDelivery;
894
- /** Escape hatch for users to supply custom delivery configs. */
895
- structDelivery?: { [P in string]: any };
896
- }
897
- interface NotifierConfig {
898
- /** The API version of this configuration format. */
899
- apiVersion?: string;
900
- /** The type of notifier to use (e.g. SMTPNotifier). */
901
- kind?: string;
902
- /** Metadata for referring to/handling/deploying this notifier. */
903
- metadata?: NotifierMetadata;
904
- /** The actual configuration for this notifier. */
905
- spec?: NotifierSpec;
906
- }
907
- interface NotifierMetadata {
908
- /** The human-readable and user-given name for the notifier. For example: "repo-merge-email-notifier". */
909
- name?: string;
910
- /** The string representing the name and version of notifier to deploy. Expected to be of the form of "/:". For example: "gcr.io/my-project/notifiers/smtp:1.2.34". */
911
- notifier?: string;
912
- }
913
- interface NotifierSecret {
914
- /** Name is the local name of the secret, such as the verbatim string "my-smtp-password". */
915
- name?: string;
916
- /**
917
- * Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version
918
- * resource path like: "projects/my-project/secrets/my-secret/versions/latest".
919
- */
920
- value?: string;
921
- }
922
- interface NotifierSecretRef {
923
- /** The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`. */
924
- secretRef?: string;
925
- }
926
- interface NotifierSpec {
927
- /** The configuration of this particular notifier. */
928
- notification?: Notification;
929
- /** Configurations for secret resources used by this particular notifier. */
930
- secrets?: NotifierSecret[];
931
- }
932
881
  interface Operation {
933
882
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
934
883
  done?: boolean;
@@ -1130,24 +1079,6 @@ declare namespace gapi.client {
1130
1079
  /** The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
1131
1080
  service?: string;
1132
1081
  }
1133
- interface SlackDelivery {
1134
- /** The secret reference for the Slack webhook URI for sending messages to a channel. */
1135
- webhookUri?: NotifierSecretRef;
1136
- }
1137
- interface SMTPDelivery {
1138
- /** This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender. */
1139
- fromAddress?: string;
1140
- /** The SMTP sender's password. */
1141
- password?: NotifierSecretRef;
1142
- /** The SMTP port of the server. */
1143
- port?: string;
1144
- /** This is the list of addresses to which we send the email (i.e. in the `To:` of the email). */
1145
- recipientAddresses?: string[];
1146
- /** This is the SMTP account/email that is used to send the message. */
1147
- senderAddress?: string;
1148
- /** The address of the SMTP server. */
1149
- server?: string;
1150
- }
1151
1082
  interface Source {
1152
1083
  /** If provided, get the source from this location in a Cloud Source Repository. */
1153
1084
  repoSource?: RepoSource;
@@ -1275,7 +1206,7 @@ declare namespace gapi.client {
1275
1206
  interface WorkerConfig {
1276
1207
  /**
1277
1208
  * Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of
1278
- * up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
1209
+ * up to 2000. If `0` is specified, Cloud Build will use a standard disk size.
1279
1210
  */
1280
1211
  diskSizeGb?: string;
1281
1212
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20230102",
3
+ "version": "0.0.20230115",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
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: 20230102
6
+ // Revision: 20230115
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */