@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20221219 → 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 +6 -76
  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: 20221219
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.
@@ -876,60 +872,12 @@ declare namespace gapi.client {
876
872
  */
877
873
  peeredNetwork?: string;
878
874
  /**
879
- * Immutable. Subnet IP range within the peered network. This is specified in CIDR notation. The IP and prefix size are both optional. If unspecified, the default value for IP is blank
880
- * (will use an automatic value from the peered network), and the prefix size will default to 24 bits. e.g. `192.168.0.0/30` would specify a subnet mask of 192.168.0.0 with a prefix
881
- * size of 30 bits. `192.168.0.0` would specify a subnet mask of 192.168.0.0 with a prefix size of 24 bits (the default prefix size). `/16` would specify a prefix size of 16 bits, with
882
- * an unspecified IP.
875
+ * Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the
876
+ * subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an
877
+ * automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.
883
878
  */
884
879
  peeredNetworkIpRange?: string;
885
880
  }
886
- interface Notification {
887
- /** 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. */
888
- filter?: string;
889
- /** Configuration for HTTP delivery. */
890
- httpDelivery?: HTTPDelivery;
891
- /** Configuration for Slack delivery. */
892
- slackDelivery?: SlackDelivery;
893
- /** Configuration for SMTP (email) delivery. */
894
- smtpDelivery?: SMTPDelivery;
895
- /** Escape hatch for users to supply custom delivery configs. */
896
- structDelivery?: { [P in string]: any };
897
- }
898
- interface NotifierConfig {
899
- /** The API version of this configuration format. */
900
- apiVersion?: string;
901
- /** The type of notifier to use (e.g. SMTPNotifier). */
902
- kind?: string;
903
- /** Metadata for referring to/handling/deploying this notifier. */
904
- metadata?: NotifierMetadata;
905
- /** The actual configuration for this notifier. */
906
- spec?: NotifierSpec;
907
- }
908
- interface NotifierMetadata {
909
- /** The human-readable and user-given name for the notifier. For example: "repo-merge-email-notifier". */
910
- name?: string;
911
- /** 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". */
912
- notifier?: string;
913
- }
914
- interface NotifierSecret {
915
- /** Name is the local name of the secret, such as the verbatim string "my-smtp-password". */
916
- name?: string;
917
- /**
918
- * 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
919
- * resource path like: "projects/my-project/secrets/my-secret/versions/latest".
920
- */
921
- value?: string;
922
- }
923
- interface NotifierSecretRef {
924
- /** The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`. */
925
- secretRef?: string;
926
- }
927
- interface NotifierSpec {
928
- /** The configuration of this particular notifier. */
929
- notification?: Notification;
930
- /** Configurations for secret resources used by this particular notifier. */
931
- secrets?: NotifierSecret[];
932
- }
933
881
  interface Operation {
934
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. */
935
883
  done?: boolean;
@@ -1131,24 +1079,6 @@ declare namespace gapi.client {
1131
1079
  /** The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
1132
1080
  service?: string;
1133
1081
  }
1134
- interface SlackDelivery {
1135
- /** The secret reference for the Slack webhook URI for sending messages to a channel. */
1136
- webhookUri?: NotifierSecretRef;
1137
- }
1138
- interface SMTPDelivery {
1139
- /** This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender. */
1140
- fromAddress?: string;
1141
- /** The SMTP sender's password. */
1142
- password?: NotifierSecretRef;
1143
- /** The SMTP port of the server. */
1144
- port?: string;
1145
- /** This is the list of addresses to which we send the email (i.e. in the `To:` of the email). */
1146
- recipientAddresses?: string[];
1147
- /** This is the SMTP account/email that is used to send the message. */
1148
- senderAddress?: string;
1149
- /** The address of the SMTP server. */
1150
- server?: string;
1151
- }
1152
1082
  interface Source {
1153
1083
  /** If provided, get the source from this location in a Cloud Source Repository. */
1154
1084
  repoSource?: RepoSource;
@@ -1276,7 +1206,7 @@ declare namespace gapi.client {
1276
1206
  interface WorkerConfig {
1277
1207
  /**
1278
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
1279
- * 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.
1280
1210
  */
1281
1211
  diskSizeGb?: string;
1282
1212
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20221219",
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: 20221219
6
+ // Revision: 20230115
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */