@maxim_mazurok/gapi.client.compute-alpha 0.0.20220726 → 0.0.20220809

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 (4) hide show
  1. package/index.d.ts +153 -338
  2. package/package.json +1 -1
  3. package/readme.md +5 -35
  4. package/tests.ts +435 -195
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
13
- // Revision: 20220726
13
+ // Revision: 20220809
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -546,6 +546,8 @@ declare namespace gapi.client {
546
546
  * details, see the Extreme persistent disk documentation.
547
547
  */
548
548
  provisionedIops?: string;
549
+ /** Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. */
550
+ provisionedThroughput?: string;
549
551
  /** URLs of the zones where the disk should be replicated to. Only applicable for regional resources. */
550
552
  replicaZones?: string[];
551
553
  /**
@@ -1679,8 +1681,10 @@ declare namespace gapi.client {
1679
1681
  * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
1680
1682
  * the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
1681
1683
  * account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
1682
- * represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example,
1683
- * `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
1684
+ * represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
1685
+ * for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
1686
+ * `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
1687
+ * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
1684
1688
  * `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
1685
1689
  * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
1686
1690
  * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
@@ -2214,6 +2218,8 @@ declare namespace gapi.client {
2214
2218
  * details, see the Extreme persistent disk documentation.
2215
2219
  */
2216
2220
  provisionedIops?: string;
2221
+ /** Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. */
2222
+ provisionedThroughput?: string;
2217
2223
  /**
2218
2224
  * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a
2219
2225
  * field in the request body.
@@ -2498,7 +2504,7 @@ declare namespace gapi.client {
2498
2504
  */
2499
2505
  asyncSecondaryDisk?: string;
2500
2506
  }
2501
- interface DisksStopGroupAsyncReplicationRequest {
2507
+ interface DisksStopGroupAsyncReplicationResource {
2502
2508
  /**
2503
2509
  * The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: -
2504
2510
  * https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy -
@@ -5298,8 +5304,8 @@ declare namespace gapi.client {
5298
5304
  interface InstanceGroupManagerInstanceLifecyclePolicy {
5299
5305
  /**
5300
5306
  * A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they
5301
- * are not forcefully applied during repair. However, if you've set up a proactive type of update policy, then configuration updates are applied as usual. - YES: If configuration
5302
- * updates are available, they are applied during repair.
5307
+ * are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are
5308
+ * applied during repair.
5303
5309
  */
5304
5310
  forceUpdateOnRepair?: string;
5305
5311
  /**
@@ -7920,6 +7926,7 @@ declare namespace gapi.client {
7920
7926
  * PRIVATE_SERVICE_CONNECT.
7921
7927
  */
7922
7928
  networkEndpointType?: string;
7929
+ pscData?: NetworkEndpointGroupPscData;
7923
7930
  /** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com" */
7924
7931
  pscTargetService?: string;
7925
7932
  /** [Output Only] The URL of the region where the network endpoint group is located. */
@@ -8054,6 +8061,14 @@ declare namespace gapi.client {
8054
8061
  message?: string;
8055
8062
  };
8056
8063
  }
8064
+ interface NetworkEndpointGroupPscData {
8065
+ /** [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. */
8066
+ consumerPscAddress?: string;
8067
+ /** [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. */
8068
+ pscConnectionId?: string;
8069
+ /** [Output Only] The connection status of the PSC Forwarding Rule. */
8070
+ pscConnectionStatus?: string;
8071
+ }
8057
8072
  interface NetworkEndpointGroupsAttachEndpointsRequest {
8058
8073
  /** The list of network endpoints to be attached. */
8059
8074
  networkEndpoints?: NetworkEndpoint[];
@@ -8602,6 +8617,10 @@ declare namespace gapi.client {
8602
8617
  /** Full or partial URL of the node template resource to be updated for this node group. */
8603
8618
  nodeTemplate?: string;
8604
8619
  }
8620
+ interface NodeGroupsSimulateMaintenanceEventRequest {
8621
+ /** Names of the nodes to go under maintenance simulation. */
8622
+ nodes?: string[];
8623
+ }
8605
8624
  interface NodeTemplate {
8606
8625
  accelerators?: AcceleratorConfig[];
8607
8626
  /** CPU overcommit. */
@@ -10240,14 +10259,6 @@ declare namespace gapi.client {
10240
10259
  */
10241
10260
  asyncSecondaryDisk?: string;
10242
10261
  }
10243
- interface RegionDisksStopGroupAsyncReplicationRequest {
10244
- /**
10245
- * The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: -
10246
- * https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy -
10247
- * regions/region/resourcePolicies/resourcePolicy
10248
- */
10249
- resourcePolicy?: string;
10250
- }
10251
10262
  interface RegionDiskTypeList {
10252
10263
  /** [Output Only] Unique identifier for the resource; defined by the server. */
10253
10264
  id?: string;
@@ -11842,6 +11853,7 @@ declare namespace gapi.client {
11842
11853
  currentCpus?: number;
11843
11854
  /** Current amount of memory (in MB) available for VM. 0 or unset means default amount of memory of the current machine type. */
11844
11855
  currentMemoryMb?: string;
11856
+ dynamicResizeProperties?: SchedulingDynamicResizeProperties;
11845
11857
  /**
11846
11858
  * Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery
11847
11859
  * will be used.
@@ -11881,6 +11893,12 @@ declare namespace gapi.client {
11881
11893
  /** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
11882
11894
  terminationTime?: string;
11883
11895
  }
11896
+ interface SchedulingDynamicResizeProperties {
11897
+ /** Set to true if this VM is supporting HotStandby modes (b/235044648). */
11898
+ enableHotStandby?: boolean;
11899
+ /** Current Hot Standby state of VM. */
11900
+ hotStandbyState?: string;
11901
+ }
11884
11902
  interface SchedulingNodeAffinity {
11885
11903
  /** Corresponds to the label key of Node resource. */
11886
11904
  key?: string;
@@ -12145,6 +12163,11 @@ declare namespace gapi.client {
12145
12163
  kind?: string;
12146
12164
  /** A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. */
12147
12165
  match?: SecurityPolicyRuleMatcher;
12166
+ /**
12167
+ * Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will
12168
+ * have no effect.
12169
+ */
12170
+ preconfiguredWafConfig?: SecurityPolicyRulePreconfiguredWafConfig;
12148
12171
  /** If set to true, the specified action is not enforced. */
12149
12172
  preview?: boolean;
12150
12173
  /**
@@ -12235,6 +12258,36 @@ declare namespace gapi.client {
12235
12258
  */
12236
12259
  ports?: string[];
12237
12260
  }
12261
+ interface SecurityPolicyRulePreconfiguredWafConfig {
12262
+ /** A list of exclusions to apply during preconfigured WAF evaluation. */
12263
+ exclusions?: SecurityPolicyRulePreconfiguredWafConfigExclusion[];
12264
+ }
12265
+ interface SecurityPolicyRulePreconfiguredWafConfigExclusion {
12266
+ /** A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. */
12267
+ requestCookiesToExclude?: SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[];
12268
+ /** A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation. */
12269
+ requestHeadersToExclude?: SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[];
12270
+ /**
12271
+ * A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in
12272
+ * the POST body.
12273
+ */
12274
+ requestQueryParamsToExclude?: SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[];
12275
+ /**
12276
+ * A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be
12277
+ * excluded.
12278
+ */
12279
+ requestUrisToExclude?: SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[];
12280
+ /** A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set. */
12281
+ targetRuleIds?: string[];
12282
+ /** Target WAF rule set to apply the preconfigured WAF exclusion. */
12283
+ targetRuleSet?: string;
12284
+ }
12285
+ interface SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams {
12286
+ /** The match operator for the field. */
12287
+ op?: string;
12288
+ /** The value of the field. */
12289
+ val?: string;
12290
+ }
12238
12291
  interface SecurityPolicyRuleRateLimitOptions {
12239
12292
  /**
12240
12293
  * Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after
@@ -18971,7 +19024,7 @@ declare namespace gapi.client {
18971
19024
  /** The name of the zone for this request. This must be the zone of the primary or secondary disks in the consistency group. */
18972
19025
  zone: string;
18973
19026
  /** Request body */
18974
- resource: DisksStopGroupAsyncReplicationRequest;
19027
+ resource: DisksStopGroupAsyncReplicationResource;
18975
19028
  }): Request<Operation>;
18976
19029
  stopGroupAsyncReplication(request: {
18977
19030
  /** V1 error format. */
@@ -19010,7 +19063,7 @@ declare namespace gapi.client {
19010
19063
  /** The name of the zone for this request. This must be the zone of the primary or secondary disks in the consistency group. */
19011
19064
  zone: string;
19012
19065
  },
19013
- body: DisksStopGroupAsyncReplicationRequest): Request<Operation>;
19066
+ body: DisksStopGroupAsyncReplicationResource): Request<Operation>;
19014
19067
  /** Returns permissions that a caller has on the specified resource. */
19015
19068
  testIamPermissions(request: {
19016
19069
  /** V1 error format. */
@@ -37935,6 +37988,88 @@ declare namespace gapi.client {
37935
37988
  zone: string;
37936
37989
  },
37937
37990
  body: NodeGroupsSetNodeTemplateRequest): Request<Operation>;
37991
+ /** Simulates maintenance event on specified nodes from the node group. */
37992
+ simulateMaintenanceEvent(request: {
37993
+ /** V1 error format. */
37994
+ "$.xgafv"?: string;
37995
+ /** OAuth access token. */
37996
+ access_token?: string;
37997
+ /** Data format for response. */
37998
+ alt?: string;
37999
+ /** JSONP */
38000
+ callback?: string;
38001
+ /** Selector specifying which fields to include in a partial response. */
38002
+ fields?: string;
38003
+ /** 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. */
38004
+ key?: string;
38005
+ /** Name of the NodeGroup resource whose nodes will go under maintenance simulation. */
38006
+ nodeGroup: string;
38007
+ /** OAuth 2.0 token for the current user. */
38008
+ oauth_token?: string;
38009
+ /** Returns response with indentations and line breaks. */
38010
+ prettyPrint?: boolean;
38011
+ /** Project ID for this request. */
38012
+ project: string;
38013
+ /** 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. */
38014
+ quotaUser?: string;
38015
+ /**
38016
+ * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
38017
+ * been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server
38018
+ * can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate
38019
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
38020
+ */
38021
+ requestId?: string;
38022
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38023
+ upload_protocol?: string;
38024
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38025
+ uploadType?: string;
38026
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
38027
+ userIp?: string;
38028
+ /** The name of the zone for this request. */
38029
+ zone: string;
38030
+ /** Request body */
38031
+ resource: NodeGroupsSimulateMaintenanceEventRequest;
38032
+ }): Request<Operation>;
38033
+ simulateMaintenanceEvent(request: {
38034
+ /** V1 error format. */
38035
+ "$.xgafv"?: string;
38036
+ /** OAuth access token. */
38037
+ access_token?: string;
38038
+ /** Data format for response. */
38039
+ alt?: string;
38040
+ /** JSONP */
38041
+ callback?: string;
38042
+ /** Selector specifying which fields to include in a partial response. */
38043
+ fields?: string;
38044
+ /** 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. */
38045
+ key?: string;
38046
+ /** Name of the NodeGroup resource whose nodes will go under maintenance simulation. */
38047
+ nodeGroup: string;
38048
+ /** OAuth 2.0 token for the current user. */
38049
+ oauth_token?: string;
38050
+ /** Returns response with indentations and line breaks. */
38051
+ prettyPrint?: boolean;
38052
+ /** Project ID for this request. */
38053
+ project: string;
38054
+ /** 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. */
38055
+ quotaUser?: string;
38056
+ /**
38057
+ * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
38058
+ * been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server
38059
+ * can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate
38060
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
38061
+ */
38062
+ requestId?: string;
38063
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38064
+ upload_protocol?: string;
38065
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38066
+ uploadType?: string;
38067
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
38068
+ userIp?: string;
38069
+ /** The name of the zone for this request. */
38070
+ zone: string;
38071
+ },
38072
+ body: NodeGroupsSimulateMaintenanceEventRequest): Request<Operation>;
37938
38073
  /** Returns permissions that a caller has on the specified resource. */
37939
38074
  testIamPermissions(request: {
37940
38075
  /** V1 error format. */
@@ -43754,7 +43889,7 @@ declare namespace gapi.client {
43754
43889
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43755
43890
  userIp?: string;
43756
43891
  /** Request body */
43757
- resource: RegionDisksStopGroupAsyncReplicationRequest;
43892
+ resource: DisksStopGroupAsyncReplicationResource;
43758
43893
  }): Request<Operation>;
43759
43894
  stopGroupAsyncReplication(request: {
43760
43895
  /** V1 error format. */
@@ -43793,7 +43928,7 @@ declare namespace gapi.client {
43793
43928
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
43794
43929
  userIp?: string;
43795
43930
  },
43796
- body: RegionDisksStopGroupAsyncReplicationRequest): Request<Operation>;
43931
+ body: DisksStopGroupAsyncReplicationResource): Request<Operation>;
43797
43932
  /** Returns permissions that a caller has on the specified resource. */
43798
43933
  testIamPermissions(request: {
43799
43934
  /** V1 error format. */
@@ -49040,324 +49175,6 @@ declare namespace gapi.client {
49040
49175
  },
49041
49176
  body: TestPermissionsRequest): Request<TestPermissionsResponse>;
49042
49177
  }
49043
- interface RegionNetworksResource {
49044
- /** Deletes the specified network. */
49045
- delete(request?: {
49046
- /** V1 error format. */
49047
- "$.xgafv"?: string;
49048
- /** OAuth access token. */
49049
- access_token?: string;
49050
- /** Data format for response. */
49051
- alt?: string;
49052
- /** JSONP */
49053
- callback?: string;
49054
- /** Selector specifying which fields to include in a partial response. */
49055
- fields?: string;
49056
- /** 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. */
49057
- key?: string;
49058
- /** Name of the network to delete. */
49059
- network: string;
49060
- /** OAuth 2.0 token for the current user. */
49061
- oauth_token?: string;
49062
- /** Returns response with indentations and line breaks. */
49063
- prettyPrint?: boolean;
49064
- /** Project ID for this request. */
49065
- project: string;
49066
- /** 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. */
49067
- quotaUser?: string;
49068
- /** Name of the region scoping this request. */
49069
- region: string;
49070
- /**
49071
- * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
49072
- * been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server
49073
- * can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate
49074
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
49075
- */
49076
- requestId?: string;
49077
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49078
- upload_protocol?: string;
49079
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49080
- uploadType?: string;
49081
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49082
- userIp?: string;
49083
- }): Request<Operation>;
49084
- /** Returns the specified network. */
49085
- get(request?: {
49086
- /** V1 error format. */
49087
- "$.xgafv"?: string;
49088
- /** OAuth access token. */
49089
- access_token?: string;
49090
- /** Data format for response. */
49091
- alt?: string;
49092
- /** JSONP */
49093
- callback?: string;
49094
- /** Selector specifying which fields to include in a partial response. */
49095
- fields?: string;
49096
- /** 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. */
49097
- key?: string;
49098
- /** Name of the network to return. */
49099
- network: string;
49100
- /** OAuth 2.0 token for the current user. */
49101
- oauth_token?: string;
49102
- /** Returns response with indentations and line breaks. */
49103
- prettyPrint?: boolean;
49104
- /** Project ID for this request. */
49105
- project: string;
49106
- /** 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. */
49107
- quotaUser?: string;
49108
- /** Name of the region scoping this request. */
49109
- region: string;
49110
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49111
- upload_protocol?: string;
49112
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49113
- uploadType?: string;
49114
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49115
- userIp?: string;
49116
- }): Request<Network>;
49117
- /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
49118
- getIamPolicy(request?: {
49119
- /** V1 error format. */
49120
- "$.xgafv"?: string;
49121
- /** OAuth access token. */
49122
- access_token?: string;
49123
- /** Data format for response. */
49124
- alt?: string;
49125
- /** JSONP */
49126
- callback?: string;
49127
- /** Selector specifying which fields to include in a partial response. */
49128
- fields?: string;
49129
- /** 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. */
49130
- key?: string;
49131
- /** OAuth 2.0 token for the current user. */
49132
- oauth_token?: string;
49133
- /** Requested IAM Policy version. */
49134
- optionsRequestedPolicyVersion?: number;
49135
- /** Returns response with indentations and line breaks. */
49136
- prettyPrint?: boolean;
49137
- /** Project ID for this request. */
49138
- project: string;
49139
- /** 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. */
49140
- quotaUser?: string;
49141
- /** The name of the region for this request. */
49142
- region: string;
49143
- /** Name or id of the resource for this request. */
49144
- resource: string;
49145
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49146
- upload_protocol?: string;
49147
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49148
- uploadType?: string;
49149
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49150
- userIp?: string;
49151
- }): Request<Policy>;
49152
- /** Creates a network in the specified project and region using the data included in the request. */
49153
- insert(request: {
49154
- /** V1 error format. */
49155
- "$.xgafv"?: string;
49156
- /** OAuth access token. */
49157
- access_token?: string;
49158
- /** Data format for response. */
49159
- alt?: string;
49160
- /** JSONP */
49161
- callback?: string;
49162
- /** Selector specifying which fields to include in a partial response. */
49163
- fields?: string;
49164
- /** 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. */
49165
- key?: string;
49166
- /** OAuth 2.0 token for the current user. */
49167
- oauth_token?: string;
49168
- /** Returns response with indentations and line breaks. */
49169
- prettyPrint?: boolean;
49170
- /** Project ID for this request. */
49171
- project: string;
49172
- /** 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. */
49173
- quotaUser?: string;
49174
- /** Name of the region scoping this request. */
49175
- region: string;
49176
- /**
49177
- * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
49178
- * been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server
49179
- * can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate
49180
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
49181
- */
49182
- requestId?: string;
49183
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49184
- upload_protocol?: string;
49185
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49186
- uploadType?: string;
49187
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49188
- userIp?: string;
49189
- /** Request body */
49190
- resource: Network;
49191
- }): Request<Operation>;
49192
- insert(request: {
49193
- /** V1 error format. */
49194
- "$.xgafv"?: string;
49195
- /** OAuth access token. */
49196
- access_token?: string;
49197
- /** Data format for response. */
49198
- alt?: string;
49199
- /** JSONP */
49200
- callback?: string;
49201
- /** Selector specifying which fields to include in a partial response. */
49202
- fields?: string;
49203
- /** 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. */
49204
- key?: string;
49205
- /** OAuth 2.0 token for the current user. */
49206
- oauth_token?: string;
49207
- /** Returns response with indentations and line breaks. */
49208
- prettyPrint?: boolean;
49209
- /** Project ID for this request. */
49210
- project: string;
49211
- /** 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. */
49212
- quotaUser?: string;
49213
- /** Name of the region scoping this request. */
49214
- region: string;
49215
- /**
49216
- * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
49217
- * been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server
49218
- * can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate
49219
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
49220
- */
49221
- requestId?: string;
49222
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49223
- upload_protocol?: string;
49224
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49225
- uploadType?: string;
49226
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49227
- userIp?: string;
49228
- },
49229
- body: Network): Request<Operation>;
49230
- /** Retrieves the list of networks available to the specified project in the given region. */
49231
- list(request?: {
49232
- /** V1 error format. */
49233
- "$.xgafv"?: string;
49234
- /** OAuth access token. */
49235
- access_token?: string;
49236
- /** Data format for response. */
49237
- alt?: string;
49238
- /** JSONP */
49239
- callback?: string;
49240
- /** Selector specifying which fields to include in a partial response. */
49241
- fields?: string;
49242
- /**
49243
- * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
49244
- * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
49245
- * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
49246
- * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
49247
- * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
49248
- * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
49249
- * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
49250
- * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
49251
- * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
49252
- * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
49253
- * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
49254
- * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
49255
- * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
49256
- */
49257
- filter?: string;
49258
- /** 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. */
49259
- key?: string;
49260
- /**
49261
- * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
49262
- * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
49263
- */
49264
- maxResults?: number;
49265
- /** OAuth 2.0 token for the current user. */
49266
- oauth_token?: string;
49267
- /**
49268
- * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
49269
- * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
49270
- * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
49271
- */
49272
- orderBy?: string;
49273
- /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
49274
- pageToken?: string;
49275
- /** Returns response with indentations and line breaks. */
49276
- prettyPrint?: boolean;
49277
- /** Project ID for this request. */
49278
- project: string;
49279
- /** 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. */
49280
- quotaUser?: string;
49281
- /** Name of the region scoping this request. */
49282
- region: string;
49283
- /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
49284
- returnPartialSuccess?: boolean;
49285
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49286
- upload_protocol?: string;
49287
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49288
- uploadType?: string;
49289
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49290
- userIp?: string;
49291
- }): Request<NetworkList>;
49292
- /** Sets the access control policy on the specified resource. Replaces any existing policy. */
49293
- setIamPolicy(request: {
49294
- /** V1 error format. */
49295
- "$.xgafv"?: string;
49296
- /** OAuth access token. */
49297
- access_token?: string;
49298
- /** Data format for response. */
49299
- alt?: string;
49300
- /** JSONP */
49301
- callback?: string;
49302
- /** Selector specifying which fields to include in a partial response. */
49303
- fields?: string;
49304
- /** 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. */
49305
- key?: string;
49306
- /** OAuth 2.0 token for the current user. */
49307
- oauth_token?: string;
49308
- /** Returns response with indentations and line breaks. */
49309
- prettyPrint?: boolean;
49310
- /** Project ID for this request. */
49311
- project: string;
49312
- /** 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. */
49313
- quotaUser?: string;
49314
- /** The name of the region for this request. */
49315
- region: string;
49316
- /** Name or id of the resource for this request. */
49317
- resource: string;
49318
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49319
- upload_protocol?: string;
49320
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49321
- uploadType?: string;
49322
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49323
- userIp?: string;
49324
- },
49325
- body: RegionSetPolicyRequest): Request<Policy>;
49326
- /** Returns permissions that a caller has on the specified resource. */
49327
- testIamPermissions(request: {
49328
- /** V1 error format. */
49329
- "$.xgafv"?: string;
49330
- /** OAuth access token. */
49331
- access_token?: string;
49332
- /** Data format for response. */
49333
- alt?: string;
49334
- /** JSONP */
49335
- callback?: string;
49336
- /** Selector specifying which fields to include in a partial response. */
49337
- fields?: string;
49338
- /** 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. */
49339
- key?: string;
49340
- /** OAuth 2.0 token for the current user. */
49341
- oauth_token?: string;
49342
- /** Returns response with indentations and line breaks. */
49343
- prettyPrint?: boolean;
49344
- /** Project ID for this request. */
49345
- project: string;
49346
- /** 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. */
49347
- quotaUser?: string;
49348
- /** The name of the region for this request. */
49349
- region: string;
49350
- /** Name or id of the resource for this request. */
49351
- resource: string;
49352
- /** Upload protocol for media (e.g. "raw", "multipart"). */
49353
- upload_protocol?: string;
49354
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49355
- uploadType?: string;
49356
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
49357
- userIp?: string;
49358
- },
49359
- body: TestPermissionsRequest): Request<TestPermissionsResponse>;
49360
- }
49361
49178
  interface RegionNotificationEndpointsResource {
49362
49179
  /** Retrieves the list of all NotificationEndpoint resources, regional and global, available to the specified project. */
49363
49180
  aggregatedList(request?: {
@@ -63290,8 +63107,6 @@ declare namespace gapi.client {
63290
63107
 
63291
63108
  const regionNetworkFirewallPolicies: RegionNetworkFirewallPoliciesResource;
63292
63109
 
63293
- const regionNetworks: RegionNetworksResource;
63294
-
63295
63110
  const regionNotificationEndpoints: RegionNotificationEndpointsResource;
63296
63111
 
63297
63112
  const regionOperations: RegionOperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20220726",
3
+ "version": "0.0.20220809",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {