@maxim_mazurok/gapi.client.compute-alpha 0.0.20240407 → 0.0.20240430
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 +178 -18
- package/package.json +1 -1
- package/readme.md +10 -0
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://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240430
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -139,7 +139,7 @@ declare namespace gapi.client {
|
|
|
139
139
|
networkTier?: string;
|
|
140
140
|
/** [Output Only] The public DNS domain name for the instance. */
|
|
141
141
|
publicDnsName?: string;
|
|
142
|
-
/** The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be
|
|
142
|
+
/** The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range. */
|
|
143
143
|
publicPtrDomainName?: string;
|
|
144
144
|
/** [Output Only] The resource URL for the security policy associated with this access config. */
|
|
145
145
|
securityPolicy?: string;
|
|
@@ -2780,7 +2780,7 @@ declare namespace gapi.client {
|
|
|
2780
2780
|
selfLink?: string;
|
|
2781
2781
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
2782
2782
|
selfLinkWithId?: string;
|
|
2783
|
-
/** The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of
|
|
2783
|
+
/** The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. */
|
|
2784
2784
|
sourceRegions?: string[];
|
|
2785
2785
|
sslHealthCheck?: SSLHealthCheck;
|
|
2786
2786
|
tcpHealthCheck?: TCPHealthCheck;
|
|
@@ -3040,7 +3040,7 @@ declare namespace gapi.client {
|
|
|
3040
3040
|
portSpecification?: string;
|
|
3041
3041
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3042
3042
|
proxyHeader?: string;
|
|
3043
|
-
/** The request path of the HTTP/2 health check request. The default value is /. */
|
|
3043
|
+
/** The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986. */
|
|
3044
3044
|
requestPath?: string;
|
|
3045
3045
|
/** Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3046
3046
|
response?: string;
|
|
@@ -3150,7 +3150,7 @@ declare namespace gapi.client {
|
|
|
3150
3150
|
portSpecification?: string;
|
|
3151
3151
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3152
3152
|
proxyHeader?: string;
|
|
3153
|
-
/** The request path of the HTTP health check request. The default value is /. */
|
|
3153
|
+
/** The request path of the HTTP health check request. The default value is /. Must comply with RFC3986. */
|
|
3154
3154
|
requestPath?: string;
|
|
3155
3155
|
/** Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3156
3156
|
response?: string;
|
|
@@ -3314,7 +3314,7 @@ declare namespace gapi.client {
|
|
|
3314
3314
|
portSpecification?: string;
|
|
3315
3315
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3316
3316
|
proxyHeader?: string;
|
|
3317
|
-
/** The request path of the HTTPS health check request. The default value is /. */
|
|
3317
|
+
/** The request path of the HTTPS health check request. The default value is /. Must comply with RFC3986. */
|
|
3318
3318
|
requestPath?: string;
|
|
3319
3319
|
/** Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3320
3320
|
response?: string;
|
|
@@ -4789,6 +4789,8 @@ declare namespace gapi.client {
|
|
|
4789
4789
|
rangeStart?: string;
|
|
4790
4790
|
}
|
|
4791
4791
|
interface Interconnect {
|
|
4792
|
+
/** Enable or disable the Application Aware Interconnect(AAI) feature on this interconnect. */
|
|
4793
|
+
aaiEnabled?: boolean;
|
|
4792
4794
|
/** Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */
|
|
4793
4795
|
adminEnabled?: boolean;
|
|
4794
4796
|
/** Configuration for enabling Application Aware Interconnect (AAI) on this Cloud Interconnect connection between Google and your on-premises router. */
|
|
@@ -7380,7 +7382,7 @@ declare namespace gapi.client {
|
|
|
7380
7382
|
description?: string;
|
|
7381
7383
|
/** Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. */
|
|
7382
7384
|
enable?: string;
|
|
7383
|
-
/** Filter for mirrored traffic. If unspecified, all traffic is mirrored. */
|
|
7385
|
+
/** Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored. */
|
|
7384
7386
|
filter?: PacketMirroringFilter;
|
|
7385
7387
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
7386
7388
|
id?: string;
|
|
@@ -7430,7 +7432,7 @@ declare namespace gapi.client {
|
|
|
7430
7432
|
};
|
|
7431
7433
|
}
|
|
7432
7434
|
interface PacketMirroringFilter {
|
|
7433
|
-
/** One or more IPv4 or IPv6 CIDR ranges that apply as
|
|
7435
|
+
/** One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". */
|
|
7434
7436
|
cidrRanges?: string[];
|
|
7435
7437
|
/** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
|
|
7436
7438
|
direction?: string;
|
|
@@ -9126,15 +9128,15 @@ declare namespace gapi.client {
|
|
|
9126
9128
|
enable?: string;
|
|
9127
9129
|
/** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
|
|
9128
9130
|
enableIpv4?: boolean;
|
|
9129
|
-
/** Enable IPv6 traffic over BGP Peer.
|
|
9131
|
+
/** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
|
|
9130
9132
|
enableIpv6?: boolean;
|
|
9131
|
-
/** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. */
|
|
9133
|
+
/** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
|
|
9132
9134
|
exportPolicies?: string[];
|
|
9133
|
-
/** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. */
|
|
9135
|
+
/** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
|
|
9134
9136
|
importPolicies?: string[];
|
|
9135
9137
|
/** Name of the interface the BGP peer is associated with. */
|
|
9136
9138
|
interfaceName?: string;
|
|
9137
|
-
/** IP address of the interface inside Google Cloud Platform.
|
|
9139
|
+
/** IP address of the interface inside Google Cloud Platform. */
|
|
9138
9140
|
ipAddress?: string;
|
|
9139
9141
|
/** IPv4 address of the interface inside Google Cloud Platform. */
|
|
9140
9142
|
ipv4NexthopAddress?: string;
|
|
@@ -9148,7 +9150,7 @@ declare namespace gapi.client {
|
|
|
9148
9150
|
name?: string;
|
|
9149
9151
|
/** Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. */
|
|
9150
9152
|
peerAsn?: number;
|
|
9151
|
-
/** IP address of the BGP interface outside Google Cloud Platform.
|
|
9153
|
+
/** IP address of the BGP interface outside Google Cloud Platform. */
|
|
9152
9154
|
peerIpAddress?: string;
|
|
9153
9155
|
/** IPv4 address of the BGP interface outside Google Cloud Platform. */
|
|
9154
9156
|
peerIpv4NexthopAddress?: string;
|
|
@@ -9178,7 +9180,7 @@ declare namespace gapi.client {
|
|
|
9178
9180
|
range?: string;
|
|
9179
9181
|
}
|
|
9180
9182
|
interface RouterInterface {
|
|
9181
|
-
/** IP address and range of the interface.
|
|
9183
|
+
/** IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose. */
|
|
9182
9184
|
ipRange?: string;
|
|
9183
9185
|
/** IP version of this interface. */
|
|
9184
9186
|
ipVersion?: string;
|
|
@@ -9439,7 +9441,7 @@ declare namespace gapi.client {
|
|
|
9439
9441
|
bfdStatus?: BfdStatus;
|
|
9440
9442
|
/** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
|
|
9441
9443
|
enableIpv4?: boolean;
|
|
9442
|
-
/** Enable IPv6 traffic over BGP Peer.
|
|
9444
|
+
/** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
|
|
9443
9445
|
enableIpv6?: boolean;
|
|
9444
9446
|
/** IP address of the local BGP interface. */
|
|
9445
9447
|
ipAddress?: string;
|
|
@@ -9620,6 +9622,8 @@ declare namespace gapi.client {
|
|
|
9620
9622
|
provisioningModel?: string;
|
|
9621
9623
|
/** 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. */
|
|
9622
9624
|
terminationTime?: string;
|
|
9625
|
+
/** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
|
|
9626
|
+
windowsLicenseOptimizationMode?: string;
|
|
9623
9627
|
}
|
|
9624
9628
|
interface SchedulingGracefulShutdown {
|
|
9625
9629
|
/** Opts-in for graceful shutdown. */
|
|
@@ -9740,6 +9744,8 @@ declare namespace gapi.client {
|
|
|
9740
9744
|
selfLink?: string;
|
|
9741
9745
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
9742
9746
|
selfLinkWithId?: string;
|
|
9747
|
+
/** User-provided name of the organization security policy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
9748
|
+
shortName?: string;
|
|
9743
9749
|
/** The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. */
|
|
9744
9750
|
type?: string;
|
|
9745
9751
|
/** Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff" */
|
|
@@ -9802,10 +9808,16 @@ declare namespace gapi.client {
|
|
|
9802
9808
|
attachmentId?: string;
|
|
9803
9809
|
/** [Output Only] The display name of the security policy of the association. */
|
|
9804
9810
|
displayName?: string;
|
|
9811
|
+
/** A list of folders to exclude from the security policy. */
|
|
9812
|
+
excludedFolders?: string[];
|
|
9813
|
+
/** A list of projects to exclude from the security policy. */
|
|
9814
|
+
excludedProjects?: string[];
|
|
9805
9815
|
/** The name for an association. */
|
|
9806
9816
|
name?: string;
|
|
9807
9817
|
/** [Output Only] The security policy ID of the association. */
|
|
9808
9818
|
securityPolicyId?: string;
|
|
9819
|
+
/** [Output Only] The short name of the security policy of the association. */
|
|
9820
|
+
shortName?: string;
|
|
9809
9821
|
}
|
|
9810
9822
|
interface SecurityPolicyCloudArmorConfig {
|
|
9811
9823
|
/** If set to true, enables Cloud Armor Machine Learning. */
|
|
@@ -10496,7 +10508,7 @@ declare namespace gapi.client {
|
|
|
10496
10508
|
region?: string;
|
|
10497
10509
|
}
|
|
10498
10510
|
interface SnapshotSettingsStorageLocationSettings {
|
|
10499
|
-
/** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are
|
|
10511
|
+
/** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified. */
|
|
10500
10512
|
locations?: {
|
|
10501
10513
|
[P in string]: SnapshotSettingsStorageLocationSettingsStorageLocationPreference;
|
|
10502
10514
|
};
|
|
@@ -10504,7 +10516,7 @@ declare namespace gapi.client {
|
|
|
10504
10516
|
policy?: string;
|
|
10505
10517
|
}
|
|
10506
10518
|
interface SnapshotSettingsStorageLocationSettingsStorageLocationPreference {
|
|
10507
|
-
/** Name of the location. It should be one of the
|
|
10519
|
+
/** Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified. */
|
|
10508
10520
|
name?: string;
|
|
10509
10521
|
}
|
|
10510
10522
|
interface SnapshotsScopedList {
|
|
@@ -11562,7 +11574,7 @@ declare namespace gapi.client {
|
|
|
11562
11574
|
description?: string;
|
|
11563
11575
|
/** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. */
|
|
11564
11576
|
fingerprint?: string;
|
|
11565
|
-
/** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/
|
|
11577
|
+
/** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/ location/httpFilters/httpFilter Only filters that handle outbound connection and stream events may be specified. These filters work in conjunction with a default set of HTTP filters that may already be configured by Traffic Director. Traffic Director will determine the final location of these filters within xDS configuration based on the name of the HTTP filter. If Traffic Director positions multiple filters at the same location, those filters will be in the same order as specified in this list. httpFilters only applies for loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. */
|
|
11566
11578
|
httpFilters?: string[];
|
|
11567
11579
|
/** Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. */
|
|
11568
11580
|
httpKeepAliveTimeoutSec?: number;
|
|
@@ -49227,6 +49239,154 @@ declare namespace gapi.client {
|
|
|
49227
49239
|
},
|
|
49228
49240
|
body: Router
|
|
49229
49241
|
): Request<Operation>;
|
|
49242
|
+
/** Patches Named Set */
|
|
49243
|
+
patchNamedSet(request: {
|
|
49244
|
+
/** V1 error format. */
|
|
49245
|
+
'$.xgafv'?: string;
|
|
49246
|
+
/** OAuth access token. */
|
|
49247
|
+
access_token?: string;
|
|
49248
|
+
/** Data format for response. */
|
|
49249
|
+
alt?: string;
|
|
49250
|
+
/** JSONP */
|
|
49251
|
+
callback?: string;
|
|
49252
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49253
|
+
fields?: string;
|
|
49254
|
+
/** 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. */
|
|
49255
|
+
key?: string;
|
|
49256
|
+
/** OAuth 2.0 token for the current user. */
|
|
49257
|
+
oauth_token?: string;
|
|
49258
|
+
/** Returns response with indentations and line breaks. */
|
|
49259
|
+
prettyPrint?: boolean;
|
|
49260
|
+
/** Project ID for this request. */
|
|
49261
|
+
project: string;
|
|
49262
|
+
/** 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. */
|
|
49263
|
+
quotaUser?: string;
|
|
49264
|
+
/** Name of the region for this request. */
|
|
49265
|
+
region: string;
|
|
49266
|
+
/** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
49267
|
+
requestId?: string;
|
|
49268
|
+
/** Name of the Router resource where Named Set is defined. */
|
|
49269
|
+
router: string;
|
|
49270
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49271
|
+
upload_protocol?: string;
|
|
49272
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49273
|
+
uploadType?: string;
|
|
49274
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49275
|
+
userIp?: string;
|
|
49276
|
+
/** Request body */
|
|
49277
|
+
resource: NamedSet;
|
|
49278
|
+
}): Request<Operation>;
|
|
49279
|
+
patchNamedSet(
|
|
49280
|
+
request: {
|
|
49281
|
+
/** V1 error format. */
|
|
49282
|
+
'$.xgafv'?: string;
|
|
49283
|
+
/** OAuth access token. */
|
|
49284
|
+
access_token?: string;
|
|
49285
|
+
/** Data format for response. */
|
|
49286
|
+
alt?: string;
|
|
49287
|
+
/** JSONP */
|
|
49288
|
+
callback?: string;
|
|
49289
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49290
|
+
fields?: string;
|
|
49291
|
+
/** 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. */
|
|
49292
|
+
key?: string;
|
|
49293
|
+
/** OAuth 2.0 token for the current user. */
|
|
49294
|
+
oauth_token?: string;
|
|
49295
|
+
/** Returns response with indentations and line breaks. */
|
|
49296
|
+
prettyPrint?: boolean;
|
|
49297
|
+
/** Project ID for this request. */
|
|
49298
|
+
project: string;
|
|
49299
|
+
/** 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. */
|
|
49300
|
+
quotaUser?: string;
|
|
49301
|
+
/** Name of the region for this request. */
|
|
49302
|
+
region: string;
|
|
49303
|
+
/** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
49304
|
+
requestId?: string;
|
|
49305
|
+
/** Name of the Router resource where Named Set is defined. */
|
|
49306
|
+
router: string;
|
|
49307
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49308
|
+
upload_protocol?: string;
|
|
49309
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49310
|
+
uploadType?: string;
|
|
49311
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49312
|
+
userIp?: string;
|
|
49313
|
+
},
|
|
49314
|
+
body: NamedSet
|
|
49315
|
+
): Request<Operation>;
|
|
49316
|
+
/** Patches Route Policy */
|
|
49317
|
+
patchRoutePolicy(request: {
|
|
49318
|
+
/** V1 error format. */
|
|
49319
|
+
'$.xgafv'?: string;
|
|
49320
|
+
/** OAuth access token. */
|
|
49321
|
+
access_token?: string;
|
|
49322
|
+
/** Data format for response. */
|
|
49323
|
+
alt?: string;
|
|
49324
|
+
/** JSONP */
|
|
49325
|
+
callback?: string;
|
|
49326
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49327
|
+
fields?: string;
|
|
49328
|
+
/** 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. */
|
|
49329
|
+
key?: string;
|
|
49330
|
+
/** OAuth 2.0 token for the current user. */
|
|
49331
|
+
oauth_token?: string;
|
|
49332
|
+
/** Returns response with indentations and line breaks. */
|
|
49333
|
+
prettyPrint?: boolean;
|
|
49334
|
+
/** Project ID for this request. */
|
|
49335
|
+
project: string;
|
|
49336
|
+
/** 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. */
|
|
49337
|
+
quotaUser?: string;
|
|
49338
|
+
/** Name of the region for this request. */
|
|
49339
|
+
region: string;
|
|
49340
|
+
/** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
49341
|
+
requestId?: string;
|
|
49342
|
+
/** Name of the Router resource where Route Policy is defined. */
|
|
49343
|
+
router: string;
|
|
49344
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49345
|
+
upload_protocol?: string;
|
|
49346
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49347
|
+
uploadType?: string;
|
|
49348
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49349
|
+
userIp?: string;
|
|
49350
|
+
/** Request body */
|
|
49351
|
+
resource: RoutePolicy;
|
|
49352
|
+
}): Request<Operation>;
|
|
49353
|
+
patchRoutePolicy(
|
|
49354
|
+
request: {
|
|
49355
|
+
/** V1 error format. */
|
|
49356
|
+
'$.xgafv'?: string;
|
|
49357
|
+
/** OAuth access token. */
|
|
49358
|
+
access_token?: string;
|
|
49359
|
+
/** Data format for response. */
|
|
49360
|
+
alt?: string;
|
|
49361
|
+
/** JSONP */
|
|
49362
|
+
callback?: string;
|
|
49363
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49364
|
+
fields?: string;
|
|
49365
|
+
/** 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. */
|
|
49366
|
+
key?: string;
|
|
49367
|
+
/** OAuth 2.0 token for the current user. */
|
|
49368
|
+
oauth_token?: string;
|
|
49369
|
+
/** Returns response with indentations and line breaks. */
|
|
49370
|
+
prettyPrint?: boolean;
|
|
49371
|
+
/** Project ID for this request. */
|
|
49372
|
+
project: string;
|
|
49373
|
+
/** 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. */
|
|
49374
|
+
quotaUser?: string;
|
|
49375
|
+
/** Name of the region for this request. */
|
|
49376
|
+
region: string;
|
|
49377
|
+
/** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
49378
|
+
requestId?: string;
|
|
49379
|
+
/** Name of the Router resource where Route Policy is defined. */
|
|
49380
|
+
router: string;
|
|
49381
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49382
|
+
upload_protocol?: string;
|
|
49383
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49384
|
+
uploadType?: string;
|
|
49385
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49386
|
+
userIp?: string;
|
|
49387
|
+
},
|
|
49388
|
+
body: RoutePolicy
|
|
49389
|
+
): Request<Operation>;
|
|
49230
49390
|
/** Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. */
|
|
49231
49391
|
preview(request: {
|
|
49232
49392
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3760,6 +3760,16 @@ Patches the specified Router resource with the data included in the request. Thi
|
|
|
3760
3760
|
*/
|
|
3761
3761
|
await gapi.client.compute.routers.patch({ project: "project", region: "region", router: "router", });
|
|
3762
3762
|
|
|
3763
|
+
/*
|
|
3764
|
+
Patches Named Set
|
|
3765
|
+
*/
|
|
3766
|
+
await gapi.client.compute.routers.patchNamedSet({ project: "project", region: "region", router: "router", });
|
|
3767
|
+
|
|
3768
|
+
/*
|
|
3769
|
+
Patches Route Policy
|
|
3770
|
+
*/
|
|
3771
|
+
await gapi.client.compute.routers.patchRoutePolicy({ project: "project", region: "region", router: "router", });
|
|
3772
|
+
|
|
3763
3773
|
/*
|
|
3764
3774
|
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
|
|
3765
3775
|
*/
|