@maxim_mazurok/gapi.client.run-v1 0.0.20230409 → 0.0.20230416
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 +63 -95
- package/package.json +1 -1
- 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://run.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230416
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -156,19 +156,13 @@ declare namespace gapi.client {
|
|
|
156
156
|
env?: EnvVar[];
|
|
157
157
|
/** Not supported by Cloud Run. */
|
|
158
158
|
envFrom?: EnvFromSource[];
|
|
159
|
-
/**
|
|
160
|
-
* Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed. More info:
|
|
161
|
-
* https://kubernetes.io/docs/concepts/containers/images
|
|
162
|
-
*/
|
|
159
|
+
/** Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed. */
|
|
163
160
|
image?: string;
|
|
164
|
-
/**
|
|
165
|
-
* Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. More info:
|
|
166
|
-
* https://kubernetes.io/docs/concepts/containers/images#updating-images
|
|
167
|
-
*/
|
|
161
|
+
/** Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. */
|
|
168
162
|
imagePullPolicy?: string;
|
|
169
|
-
/** Periodic probe of container liveness. Container will be restarted if the probe fails.
|
|
163
|
+
/** Periodic probe of container liveness. Container will be restarted if the probe fails. */
|
|
170
164
|
livenessProbe?: Probe;
|
|
171
|
-
/** Name of the container specified as a DNS_LABEL (RFC 1123).
|
|
165
|
+
/** Name of the container specified as a DNS_LABEL (RFC 1123). */
|
|
172
166
|
name?: string;
|
|
173
167
|
/**
|
|
174
168
|
* List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be
|
|
@@ -177,13 +171,13 @@ declare namespace gapi.client {
|
|
|
177
171
|
ports?: ContainerPort[];
|
|
178
172
|
/** Not supported by Cloud Run. */
|
|
179
173
|
readinessProbe?: Probe;
|
|
180
|
-
/** Compute Resources required by this container.
|
|
174
|
+
/** Compute Resources required by this container. */
|
|
181
175
|
resources?: ResourceRequirements;
|
|
182
176
|
/** Not supported by Cloud Run. */
|
|
183
177
|
securityContext?: SecurityContext;
|
|
184
178
|
/**
|
|
185
179
|
* Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not receive traffic if the probe
|
|
186
|
-
* fails. If not provided, a default startup probe with TCP socket action is used.
|
|
180
|
+
* fails. If not provided, a default startup probe with TCP socket action is used.
|
|
187
181
|
*/
|
|
188
182
|
startupProbe?: Probe;
|
|
189
183
|
/**
|
|
@@ -296,19 +290,19 @@ declare namespace gapi.client {
|
|
|
296
290
|
interface Execution {
|
|
297
291
|
/**
|
|
298
292
|
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject
|
|
299
|
-
* unrecognized values.
|
|
293
|
+
* unrecognized values.
|
|
300
294
|
*/
|
|
301
295
|
apiVersion?: string;
|
|
302
296
|
/**
|
|
303
297
|
* Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated.
|
|
304
|
-
* In CamelCase.
|
|
298
|
+
* In CamelCase.
|
|
305
299
|
*/
|
|
306
300
|
kind?: string;
|
|
307
|
-
/** Optional. Standard object's metadata.
|
|
301
|
+
/** Optional. Standard object's metadata. */
|
|
308
302
|
metadata?: ObjectMeta;
|
|
309
|
-
/** Optional. Specification of the desired behavior of an execution.
|
|
303
|
+
/** Optional. Specification of the desired behavior of an execution. */
|
|
310
304
|
spec?: ExecutionSpec;
|
|
311
|
-
/** Output only. Current status of an execution.
|
|
305
|
+
/** Output only. Current status of an execution. */
|
|
312
306
|
status?: ExecutionStatus;
|
|
313
307
|
}
|
|
314
308
|
interface ExecutionReference {
|
|
@@ -401,10 +395,7 @@ declare namespace gapi.client {
|
|
|
401
395
|
severity?: string;
|
|
402
396
|
/** Status of the condition, one of True, False, Unknown. */
|
|
403
397
|
status?: string;
|
|
404
|
-
/**
|
|
405
|
-
* type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types
|
|
406
|
-
* common to all resources include: * "Ready" or "Completed": True when the Resource is ready.
|
|
407
|
-
*/
|
|
398
|
+
/** type is used to communicate the status of the reconciliation process. Types common to all resources include: * "Ready" or "Completed": True when the Resource is ready. */
|
|
408
399
|
type?: string;
|
|
409
400
|
}
|
|
410
401
|
interface GoogleRpcStatus {
|
|
@@ -421,10 +412,7 @@ declare namespace gapi.client {
|
|
|
421
412
|
interface GRPCAction {
|
|
422
413
|
/** Port number of the gRPC service. Number must be in the range 1 to 65535. */
|
|
423
414
|
port?: number;
|
|
424
|
-
/**
|
|
425
|
-
* Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the
|
|
426
|
-
* default behavior is defined by gRPC.
|
|
427
|
-
*/
|
|
415
|
+
/** Service is the name of the service to place in the gRPC HealthCheckRequest. If this is not specified, the default behavior is defined by gRPC. */
|
|
428
416
|
service?: string;
|
|
429
417
|
}
|
|
430
418
|
interface HTTPGetAction {
|
|
@@ -448,19 +436,19 @@ declare namespace gapi.client {
|
|
|
448
436
|
interface Job {
|
|
449
437
|
/**
|
|
450
438
|
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject
|
|
451
|
-
* unrecognized values.
|
|
439
|
+
* unrecognized values.
|
|
452
440
|
*/
|
|
453
441
|
apiVersion?: string;
|
|
454
442
|
/**
|
|
455
443
|
* Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated.
|
|
456
|
-
* In CamelCase.
|
|
444
|
+
* In CamelCase.
|
|
457
445
|
*/
|
|
458
446
|
kind?: string;
|
|
459
|
-
/** Optional. Standard object's metadata.
|
|
447
|
+
/** Optional. Standard object's metadata. */
|
|
460
448
|
metadata?: ObjectMeta;
|
|
461
|
-
/** Optional. Specification of the desired behavior of a job.
|
|
449
|
+
/** Optional. Specification of the desired behavior of a job. */
|
|
462
450
|
spec?: JobSpec;
|
|
463
|
-
/** Output only. Current status of a job.
|
|
451
|
+
/** Output only. Current status of a job. */
|
|
464
452
|
status?: JobStatus;
|
|
465
453
|
}
|
|
466
454
|
interface JobSpec {
|
|
@@ -562,7 +550,7 @@ declare namespace gapi.client {
|
|
|
562
550
|
continue?: string;
|
|
563
551
|
/**
|
|
564
552
|
* Opaque string that identifies the server's internal version of this object. It can be used by clients to determine when objects have changed. If the message is passed back to the
|
|
565
|
-
* server, it must be left unmodified.
|
|
553
|
+
* server, it must be left unmodified.
|
|
566
554
|
*/
|
|
567
555
|
resourceVersion?: string;
|
|
568
556
|
/** URL representing this object. */
|
|
@@ -617,7 +605,7 @@ declare namespace gapi.client {
|
|
|
617
605
|
unreachable?: string[];
|
|
618
606
|
}
|
|
619
607
|
interface LocalObjectReference {
|
|
620
|
-
/** Name of the referent.
|
|
608
|
+
/** Name of the referent. */
|
|
621
609
|
name?: string;
|
|
622
610
|
}
|
|
623
611
|
interface Location {
|
|
@@ -644,12 +632,11 @@ declare namespace gapi.client {
|
|
|
644
632
|
* `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. *
|
|
645
633
|
* `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. *
|
|
646
634
|
* `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
|
|
647
|
-
* Execution. More info: https://kubernetes.io/docs/user-guide/annotations
|
|
648
635
|
*/
|
|
649
636
|
annotations?: { [P in string]: string };
|
|
650
637
|
/** Not supported by Cloud Run */
|
|
651
638
|
clusterName?: string;
|
|
652
|
-
/** UTC timestamp representing the server time when this object was created.
|
|
639
|
+
/** UTC timestamp representing the server time when this object was created. */
|
|
653
640
|
creationTimestamp?: string;
|
|
654
641
|
/** Not supported by Cloud Run */
|
|
655
642
|
deletionGracePeriodSeconds?: number;
|
|
@@ -661,14 +648,11 @@ declare namespace gapi.client {
|
|
|
661
648
|
generateName?: string;
|
|
662
649
|
/** A system-provided sequence number representing a specific generation of the desired state. */
|
|
663
650
|
generation?: number;
|
|
664
|
-
/**
|
|
665
|
-
* Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info:
|
|
666
|
-
* https://kubernetes.io/docs/user-guide/labels
|
|
667
|
-
*/
|
|
651
|
+
/** Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. */
|
|
668
652
|
labels?: { [P in string]: string };
|
|
669
653
|
/**
|
|
670
|
-
* Required. The name of the resource.
|
|
671
|
-
*
|
|
654
|
+
* Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once
|
|
655
|
+
* created.
|
|
672
656
|
*/
|
|
673
657
|
name?: string;
|
|
674
658
|
/** Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number. */
|
|
@@ -678,12 +662,12 @@ declare namespace gapi.client {
|
|
|
678
662
|
/**
|
|
679
663
|
* Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic
|
|
680
664
|
* concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit
|
|
681
|
-
* the value to disable conflict-detection.
|
|
665
|
+
* the value to disable conflict-detection.
|
|
682
666
|
*/
|
|
683
667
|
resourceVersion?: string;
|
|
684
668
|
/** URL representing this object. */
|
|
685
669
|
selfLink?: string;
|
|
686
|
-
/** Unique, system-generated identifier for this resource.
|
|
670
|
+
/** Unique, system-generated identifier for this resource. */
|
|
687
671
|
uid?: string;
|
|
688
672
|
}
|
|
689
673
|
interface Overrides {
|
|
@@ -747,7 +731,7 @@ declare namespace gapi.client {
|
|
|
747
731
|
httpGet?: HTTPGetAction;
|
|
748
732
|
/**
|
|
749
733
|
* Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value
|
|
750
|
-
* for startup probe is 240.
|
|
734
|
+
* for startup probe is 240.
|
|
751
735
|
*/
|
|
752
736
|
initialDelaySeconds?: number;
|
|
753
737
|
/**
|
|
@@ -759,10 +743,7 @@ declare namespace gapi.client {
|
|
|
759
743
|
successThreshold?: number;
|
|
760
744
|
/** TCPSocket specifies an action involving a TCP port. */
|
|
761
745
|
tcpSocket?: TCPSocketAction;
|
|
762
|
-
/**
|
|
763
|
-
* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds. More info:
|
|
764
|
-
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
|
765
|
-
*/
|
|
746
|
+
/** Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds. */
|
|
766
747
|
timeoutSeconds?: number;
|
|
767
748
|
}
|
|
768
749
|
interface ResourceRecord {
|
|
@@ -775,14 +756,14 @@ declare namespace gapi.client {
|
|
|
775
756
|
}
|
|
776
757
|
interface ResourceRequirements {
|
|
777
758
|
/**
|
|
778
|
-
*
|
|
779
|
-
* https://
|
|
759
|
+
* Limits describes the maximum amount of compute resources allowed. Only 'cpu' and 'memory' keys are supported. * For supported 'cpu' values, go to
|
|
760
|
+
* https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
|
|
780
761
|
*/
|
|
781
762
|
limits?: { [P in string]: string };
|
|
782
763
|
/**
|
|
783
|
-
*
|
|
784
|
-
* explicitly specified, otherwise to an implementation-defined value.
|
|
785
|
-
* https://
|
|
764
|
+
* Requests describes the minimum amount of compute resources required. Only `cpu` and `memory` are supported. If Requests is omitted for a container, it defaults to Limits if that is
|
|
765
|
+
* explicitly specified, otherwise to an implementation-defined value. * For supported 'cpu' values, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory'
|
|
766
|
+
* values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
|
|
786
767
|
*/
|
|
787
768
|
requests?: { [P in string]: string };
|
|
788
769
|
}
|
|
@@ -803,8 +784,7 @@ declare namespace gapi.client {
|
|
|
803
784
|
containerConcurrency?: number;
|
|
804
785
|
/**
|
|
805
786
|
* Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container,
|
|
806
|
-
* including: name and lifecycle. In Cloud Run, only a single container may be provided.
|
|
807
|
-
* https://github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
|
787
|
+
* including: name and lifecycle. In Cloud Run, only a single container may be provided.
|
|
808
788
|
*/
|
|
809
789
|
containers?: Container[];
|
|
810
790
|
/** Not supported by Cloud Run. */
|
|
@@ -1027,14 +1007,14 @@ declare namespace gapi.client {
|
|
|
1027
1007
|
details?: StatusDetails;
|
|
1028
1008
|
/** A human-readable description of the status of this operation. */
|
|
1029
1009
|
message?: string;
|
|
1030
|
-
/** Standard list metadata.
|
|
1010
|
+
/** Standard list metadata. */
|
|
1031
1011
|
metadata?: ListMeta;
|
|
1032
1012
|
/**
|
|
1033
1013
|
* A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but
|
|
1034
1014
|
* does not override it.
|
|
1035
1015
|
*/
|
|
1036
1016
|
reason?: string;
|
|
1037
|
-
/** Status of the operation. One of: "Success" or "Failure".
|
|
1017
|
+
/** Status of the operation. One of: "Success" or "Failure". */
|
|
1038
1018
|
status?: string;
|
|
1039
1019
|
}
|
|
1040
1020
|
interface StatusCause {
|
|
@@ -1054,10 +1034,7 @@ declare namespace gapi.client {
|
|
|
1054
1034
|
causes?: StatusCause[];
|
|
1055
1035
|
/** The group attribute of the resource associated with the status StatusReason. */
|
|
1056
1036
|
group?: string;
|
|
1057
|
-
/**
|
|
1058
|
-
* The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info:
|
|
1059
|
-
* https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1060
|
-
*/
|
|
1037
|
+
/** The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. */
|
|
1061
1038
|
kind?: string;
|
|
1062
1039
|
/** The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). */
|
|
1063
1040
|
name?: string;
|
|
@@ -1066,25 +1043,25 @@ declare namespace gapi.client {
|
|
|
1066
1043
|
* indicate how long to wait before taking the alternate action.
|
|
1067
1044
|
*/
|
|
1068
1045
|
retryAfterSeconds?: number;
|
|
1069
|
-
/** UID of the resource. (when there is a single resource which can be described).
|
|
1046
|
+
/** UID of the resource. (when there is a single resource which can be described). */
|
|
1070
1047
|
uid?: string;
|
|
1071
1048
|
}
|
|
1072
1049
|
interface Task {
|
|
1073
1050
|
/**
|
|
1074
1051
|
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject
|
|
1075
|
-
* unrecognized values.
|
|
1052
|
+
* unrecognized values.
|
|
1076
1053
|
*/
|
|
1077
1054
|
apiVersion?: string;
|
|
1078
1055
|
/**
|
|
1079
1056
|
* Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated.
|
|
1080
|
-
* In CamelCase.
|
|
1057
|
+
* In CamelCase.
|
|
1081
1058
|
*/
|
|
1082
1059
|
kind?: string;
|
|
1083
|
-
/** Optional. Standard object's metadata.
|
|
1060
|
+
/** Optional. Standard object's metadata. */
|
|
1084
1061
|
metadata?: ObjectMeta;
|
|
1085
|
-
/** Optional. Specification of the desired behavior of a task.
|
|
1062
|
+
/** Optional. Specification of the desired behavior of a task. */
|
|
1086
1063
|
spec?: TaskSpec;
|
|
1087
|
-
/** Output only. Current status of a task.
|
|
1064
|
+
/** Output only. Current status of a task. */
|
|
1088
1065
|
status?: TaskStatus;
|
|
1089
1066
|
}
|
|
1090
1067
|
interface TaskAttemptResult {
|
|
@@ -1111,7 +1088,7 @@ declare namespace gapi.client {
|
|
|
1111
1088
|
* meaning each retry can run for the full timeout. Defaults to 600 seconds.
|
|
1112
1089
|
*/
|
|
1113
1090
|
timeoutSeconds?: string;
|
|
1114
|
-
/** Optional. List of volumes that can be mounted by containers belonging to the task.
|
|
1091
|
+
/** Optional. List of volumes that can be mounted by containers belonging to the task. */
|
|
1115
1092
|
volumes?: Volume[];
|
|
1116
1093
|
}
|
|
1117
1094
|
interface TaskStatus {
|
|
@@ -1142,7 +1119,7 @@ declare namespace gapi.client {
|
|
|
1142
1119
|
startTime?: string;
|
|
1143
1120
|
}
|
|
1144
1121
|
interface TaskTemplateSpec {
|
|
1145
|
-
/** Optional. Specification of the desired behavior of the task.
|
|
1122
|
+
/** Optional. Specification of the desired behavior of the task. */
|
|
1146
1123
|
spec?: TaskSpec;
|
|
1147
1124
|
}
|
|
1148
1125
|
interface TCPSocketAction {
|
|
@@ -1324,7 +1301,7 @@ declare namespace gapi.client {
|
|
|
1324
1301
|
/** OAuth 2.0 token for the current user. */
|
|
1325
1302
|
oauth_token?: string;
|
|
1326
1303
|
/**
|
|
1327
|
-
* The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1304
|
+
* Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1328
1305
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
1329
1306
|
*/
|
|
1330
1307
|
parent: string;
|
|
@@ -1357,7 +1334,7 @@ declare namespace gapi.client {
|
|
|
1357
1334
|
/** OAuth 2.0 token for the current user. */
|
|
1358
1335
|
oauth_token?: string;
|
|
1359
1336
|
/**
|
|
1360
|
-
* The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1337
|
+
* Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1361
1338
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
1362
1339
|
*/
|
|
1363
1340
|
parent: string;
|
|
@@ -1392,8 +1369,8 @@ declare namespace gapi.client {
|
|
|
1392
1369
|
/** Cloud Run currently ignores this parameter. */
|
|
1393
1370
|
kind?: string;
|
|
1394
1371
|
/**
|
|
1395
|
-
* The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
1396
|
-
* example: namespaces/PROJECT_ID
|
|
1372
|
+
* Required. The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
1373
|
+
* For example: namespaces/PROJECT_ID
|
|
1397
1374
|
*/
|
|
1398
1375
|
name: string;
|
|
1399
1376
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1427,8 +1404,8 @@ declare namespace gapi.client {
|
|
|
1427
1404
|
/** 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. */
|
|
1428
1405
|
key?: string;
|
|
1429
1406
|
/**
|
|
1430
|
-
* The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
1431
|
-
* example: namespaces/PROJECT_ID
|
|
1407
|
+
* Required. The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
1408
|
+
* For example: namespaces/PROJECT_ID
|
|
1432
1409
|
*/
|
|
1433
1410
|
name: string;
|
|
1434
1411
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1469,7 +1446,7 @@ declare namespace gapi.client {
|
|
|
1469
1446
|
/** OAuth 2.0 token for the current user. */
|
|
1470
1447
|
oauth_token?: string;
|
|
1471
1448
|
/**
|
|
1472
|
-
* The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1449
|
+
* Required. The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
1473
1450
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
1474
1451
|
*/
|
|
1475
1452
|
parent: string;
|
|
@@ -1568,10 +1545,7 @@ declare namespace gapi.client {
|
|
|
1568
1545
|
oauth_token?: string;
|
|
1569
1546
|
/** Returns response with indentations and line breaks. */
|
|
1570
1547
|
prettyPrint?: boolean;
|
|
1571
|
-
/**
|
|
1572
|
-
* Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see
|
|
1573
|
-
* https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.
|
|
1574
|
-
*/
|
|
1548
|
+
/** Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting. */
|
|
1575
1549
|
propagationPolicy?: string;
|
|
1576
1550
|
/** 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. */
|
|
1577
1551
|
quotaUser?: string;
|
|
@@ -1968,10 +1942,7 @@ declare namespace gapi.client {
|
|
|
1968
1942
|
oauth_token?: string;
|
|
1969
1943
|
/** Returns response with indentations and line breaks. */
|
|
1970
1944
|
prettyPrint?: boolean;
|
|
1971
|
-
/**
|
|
1972
|
-
* Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see
|
|
1973
|
-
* https://kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
|
|
1974
|
-
*/
|
|
1945
|
+
/** Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. */
|
|
1975
1946
|
propagationPolicy?: string;
|
|
1976
1947
|
/** 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. */
|
|
1977
1948
|
quotaUser?: string;
|
|
@@ -2631,7 +2602,7 @@ declare namespace gapi.client {
|
|
|
2631
2602
|
/** OAuth 2.0 token for the current user. */
|
|
2632
2603
|
oauth_token?: string;
|
|
2633
2604
|
/**
|
|
2634
|
-
* The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2605
|
+
* Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2635
2606
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
2636
2607
|
*/
|
|
2637
2608
|
parent: string;
|
|
@@ -2664,7 +2635,7 @@ declare namespace gapi.client {
|
|
|
2664
2635
|
/** OAuth 2.0 token for the current user. */
|
|
2665
2636
|
oauth_token?: string;
|
|
2666
2637
|
/**
|
|
2667
|
-
* The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2638
|
+
* Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2668
2639
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
2669
2640
|
*/
|
|
2670
2641
|
parent: string;
|
|
@@ -2699,8 +2670,8 @@ declare namespace gapi.client {
|
|
|
2699
2670
|
/** Cloud Run currently ignores this parameter. */
|
|
2700
2671
|
kind?: string;
|
|
2701
2672
|
/**
|
|
2702
|
-
* The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
2703
|
-
* example: namespaces/PROJECT_ID
|
|
2673
|
+
* Required. The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
2674
|
+
* For example: namespaces/PROJECT_ID
|
|
2704
2675
|
*/
|
|
2705
2676
|
name: string;
|
|
2706
2677
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2734,8 +2705,8 @@ declare namespace gapi.client {
|
|
|
2734
2705
|
/** 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. */
|
|
2735
2706
|
key?: string;
|
|
2736
2707
|
/**
|
|
2737
|
-
* The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
2738
|
-
* example: namespaces/PROJECT_ID
|
|
2708
|
+
* Required. The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}.
|
|
2709
|
+
* For example: namespaces/PROJECT_ID
|
|
2739
2710
|
*/
|
|
2740
2711
|
name: string;
|
|
2741
2712
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2776,7 +2747,7 @@ declare namespace gapi.client {
|
|
|
2776
2747
|
/** OAuth 2.0 token for the current user. */
|
|
2777
2748
|
oauth_token?: string;
|
|
2778
2749
|
/**
|
|
2779
|
-
* The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2750
|
+
* Required. The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form
|
|
2780
2751
|
* namespaces/{namespace}. For example: namespaces/PROJECT_ID
|
|
2781
2752
|
*/
|
|
2782
2753
|
parent: string;
|
|
@@ -2926,10 +2897,7 @@ declare namespace gapi.client {
|
|
|
2926
2897
|
oauth_token?: string;
|
|
2927
2898
|
/** Returns response with indentations and line breaks. */
|
|
2928
2899
|
prettyPrint?: boolean;
|
|
2929
|
-
/**
|
|
2930
|
-
* Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see
|
|
2931
|
-
* https://kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
|
|
2932
|
-
*/
|
|
2900
|
+
/** Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. */
|
|
2933
2901
|
propagationPolicy?: string;
|
|
2934
2902
|
/** 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. */
|
|
2935
2903
|
quotaUser?: string;
|
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: 20230416
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|