@maxim_mazurok/gapi.client.compute-alpha 0.0.20240305 → 0.0.20240324
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 +597 -8
- package/package.json +1 -1
- package/readme.md +50 -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: 20240324
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -815,6 +815,10 @@ declare namespace gapi.client {
|
|
|
815
815
|
edgeSecurityPolicy?: string;
|
|
816
816
|
/** If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. */
|
|
817
817
|
enableCDN?: boolean;
|
|
818
|
+
/** Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
|
|
819
|
+
externalManagedMigrationState?: string;
|
|
820
|
+
/** Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the classic Application Load Balancer. */
|
|
821
|
+
externalManagedMigrationTestingPercentage?: number;
|
|
818
822
|
/** Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). */
|
|
819
823
|
failoverPolicy?: BackendServiceFailoverPolicy;
|
|
820
824
|
/** 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 BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. */
|
|
@@ -1953,7 +1957,7 @@ declare namespace gapi.client {
|
|
|
1953
1957
|
interface ErrorInfo {
|
|
1954
1958
|
/** The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". */
|
|
1955
1959
|
domain?: string;
|
|
1956
|
-
/** Additional structured details about this error. Keys
|
|
1960
|
+
/** Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. */
|
|
1957
1961
|
metadatas?: {[P in string]: string};
|
|
1958
1962
|
/** The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. */
|
|
1959
1963
|
reason?: string;
|
|
@@ -2178,6 +2182,8 @@ declare namespace gapi.client {
|
|
|
2178
2182
|
kind?: string;
|
|
2179
2183
|
/** Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy. */
|
|
2180
2184
|
name?: string;
|
|
2185
|
+
/** A list of packet mirroring rules that belong to this policy. */
|
|
2186
|
+
packetMirroringRules?: FirewallPolicyRule[];
|
|
2181
2187
|
/** [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. */
|
|
2182
2188
|
parent?: string;
|
|
2183
2189
|
/** [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
@@ -2328,6 +2334,10 @@ declare namespace gapi.client {
|
|
|
2328
2334
|
creationTimestamp?: string;
|
|
2329
2335
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
2330
2336
|
description?: string;
|
|
2337
|
+
/** Specifies the canary migration state for the backend buckets attached to this forwarding rule. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic to backend buckets attached to this forwarding rule by percentage using externalManagedBackendBucketMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
|
|
2338
|
+
externalManagedBackendBucketMigrationState?: string;
|
|
2339
|
+
/** Determines the fraction of requests to backend buckets that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. This value is only used if the loadBalancingScheme is set to EXTERNAL (when using the Classic ALB). */
|
|
2340
|
+
externalManagedBackendBucketMigrationTestingPercentage?: number;
|
|
2331
2341
|
/** 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 ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. */
|
|
2332
2342
|
fingerprint?: string;
|
|
2333
2343
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
@@ -3899,7 +3909,7 @@ declare namespace gapi.client {
|
|
|
3899
3909
|
};
|
|
3900
3910
|
}
|
|
3901
3911
|
interface InstanceGroupManagerParams {
|
|
3902
|
-
/** Resource manager tags to
|
|
3912
|
+
/** Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456. For more information, see Manage tags for resources. */
|
|
3903
3913
|
resourceManagerTags?: {[P in string]: string};
|
|
3904
3914
|
}
|
|
3905
3915
|
interface InstanceGroupManagerResizeRequest {
|
|
@@ -4162,7 +4172,7 @@ declare namespace gapi.client {
|
|
|
4162
4172
|
hasStatefulConfig?: boolean;
|
|
4163
4173
|
/** [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config. */
|
|
4164
4174
|
isStateful?: boolean;
|
|
4165
|
-
/** [Output Only] Status of per-instance configurations on the
|
|
4175
|
+
/** [Output Only] Status of per-instance configurations on the instances. */
|
|
4166
4176
|
perInstanceConfigs?: InstanceGroupManagerStatusStatefulPerInstanceConfigs;
|
|
4167
4177
|
}
|
|
4168
4178
|
interface InstanceGroupManagerStatusStatefulPerInstanceConfigs {
|
|
@@ -4460,7 +4470,7 @@ declare namespace gapi.client {
|
|
|
4460
4470
|
rules?: FirewallPolicyRule[];
|
|
4461
4471
|
/** [Output Only] The short name of the firewall policy. */
|
|
4462
4472
|
shortName?: string;
|
|
4463
|
-
/** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. */
|
|
4473
|
+
/** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. */
|
|
4464
4474
|
type?: string;
|
|
4465
4475
|
}
|
|
4466
4476
|
interface InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy {
|
|
@@ -6464,6 +6474,93 @@ declare namespace gapi.client {
|
|
|
6464
6474
|
externalIpEgressBandwidthTier?: string;
|
|
6465
6475
|
totalEgressBandwidthTier?: string;
|
|
6466
6476
|
}
|
|
6477
|
+
interface NetworkPlacement {
|
|
6478
|
+
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
6479
|
+
creationTimestamp?: string;
|
|
6480
|
+
/** [Output Only] An optional description of this resource. */
|
|
6481
|
+
description?: string;
|
|
6482
|
+
/** [Output Only] Features supported by the network. */
|
|
6483
|
+
features?: NetworkPlacementNetworkFeatures;
|
|
6484
|
+
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
6485
|
+
id?: string;
|
|
6486
|
+
/** [Output Only] Type of the resource. Always compute#networkPlacement for network placements. */
|
|
6487
|
+
kind?: string;
|
|
6488
|
+
/** [Output Only] Name of the resource. */
|
|
6489
|
+
name?: string;
|
|
6490
|
+
/** [Output Only] Server-defined URL for the resource. */
|
|
6491
|
+
selfLink?: string;
|
|
6492
|
+
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
6493
|
+
selfLinkWithId?: string;
|
|
6494
|
+
/** [Output Only] Zone to which the network is restricted. */
|
|
6495
|
+
zone?: string;
|
|
6496
|
+
}
|
|
6497
|
+
interface NetworkPlacementNetworkFeatures {
|
|
6498
|
+
/** Specifies whether auto mode subnet creation is allowed. */
|
|
6499
|
+
allowAutoModeSubnet?: string;
|
|
6500
|
+
/** Specifies whether cloud NAT creation is allowed. */
|
|
6501
|
+
allowCloudNat?: string;
|
|
6502
|
+
/** Specifies whether cloud router creation is allowed. */
|
|
6503
|
+
allowCloudRouter?: string;
|
|
6504
|
+
/** Specifies which subnetwork purposes are supported. */
|
|
6505
|
+
allowedSubnetPurposes?: string[];
|
|
6506
|
+
/** Specifies which subnetwork stack types are supported. */
|
|
6507
|
+
allowedSubnetStackTypes?: string[];
|
|
6508
|
+
/** Specifies whether Cloud Interconnect creation is allowed. */
|
|
6509
|
+
allowInterconnect?: string;
|
|
6510
|
+
/** Specifies whether cloud load balancing is allowed. */
|
|
6511
|
+
allowLoadBalancing?: string;
|
|
6512
|
+
/** Specifies whether multi-nic in the same network is allowed. */
|
|
6513
|
+
allowMultiNicInSameNetwork?: string;
|
|
6514
|
+
/** Specifies whether Packet Mirroring 1.0 is supported. */
|
|
6515
|
+
allowPacketMirroring?: string;
|
|
6516
|
+
/** Specifies whether private Google access is allowed. */
|
|
6517
|
+
allowPrivateGoogleAccess?: string;
|
|
6518
|
+
/** Specifies whether PSC creation is allowed. */
|
|
6519
|
+
allowPsc?: string;
|
|
6520
|
+
/** Specifies whether unicast within the same network is allowed. */
|
|
6521
|
+
allowSameNetworkUnicast?: string;
|
|
6522
|
+
/** Specifies whether static route creation is allowed. */
|
|
6523
|
+
allowStaticRoutes?: string;
|
|
6524
|
+
/** Specifies whether VPC peering is allowed. */
|
|
6525
|
+
allowVpcPeering?: string;
|
|
6526
|
+
/** Specifies whether VPN creation is allowed. */
|
|
6527
|
+
allowVpn?: string;
|
|
6528
|
+
/** If set, limits the interface types that the network supports. If empty, all interface types are supported. */
|
|
6529
|
+
interfaceTypes?: string[];
|
|
6530
|
+
/** Specifies which type of multicast is supported. */
|
|
6531
|
+
multicast?: string;
|
|
6532
|
+
/** Specifies which type of unicast is supported. */
|
|
6533
|
+
unicast?: string;
|
|
6534
|
+
}
|
|
6535
|
+
interface NetworkPlacementsListResponse {
|
|
6536
|
+
etag?: string;
|
|
6537
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
6538
|
+
id?: string;
|
|
6539
|
+
/** A list of NetworkPlacement resources. */
|
|
6540
|
+
items?: NetworkPlacement[];
|
|
6541
|
+
/** [Output Only] Type of resource. Always compute#networkPlacementList for network placements. */
|
|
6542
|
+
kind?: string;
|
|
6543
|
+
/** [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
|
|
6544
|
+
nextPageToken?: string;
|
|
6545
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
6546
|
+
selfLink?: string;
|
|
6547
|
+
/** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
|
|
6548
|
+
unreachables?: string[];
|
|
6549
|
+
/** [Output Only] Informational warning message. */
|
|
6550
|
+
warning?: {
|
|
6551
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
6552
|
+
code?: string;
|
|
6553
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
6554
|
+
data?: Array<{
|
|
6555
|
+
/** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
|
|
6556
|
+
key?: string;
|
|
6557
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
6558
|
+
value?: string;
|
|
6559
|
+
}>;
|
|
6560
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
6561
|
+
message?: string;
|
|
6562
|
+
};
|
|
6563
|
+
}
|
|
6467
6564
|
interface NetworkRoutingConfig {
|
|
6468
6565
|
/** Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm. */
|
|
6469
6566
|
bgpAlwaysCompareMed?: boolean;
|
|
@@ -8173,8 +8270,6 @@ declare namespace gapi.client {
|
|
|
8173
8270
|
interface RegionInstanceGroupManagersDeleteInstancesRequest {
|
|
8174
8271
|
/** The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */
|
|
8175
8272
|
instances?: string[];
|
|
8176
|
-
/** Skip instances which cannot be deleted (instances not belonging to this managed group, already being deleted or being abandoned). If `false`, fail whole flow, if such instance is passed. DEPRECATED: Use skip_instances_on_validation_error instead. */
|
|
8177
|
-
skipInapplicableInstances?: boolean;
|
|
8178
8273
|
/** Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. */
|
|
8179
8274
|
skipInstancesOnValidationError?: boolean;
|
|
8180
8275
|
}
|
|
@@ -9990,7 +10085,7 @@ declare namespace gapi.client {
|
|
|
9990
10085
|
natSubnets?: string[];
|
|
9991
10086
|
/** The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment. */
|
|
9992
10087
|
producerForwardingRule?: string;
|
|
9993
|
-
/** The number of consumer
|
|
10088
|
+
/** The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. */
|
|
9994
10089
|
propagatedConnectionLimit?: number;
|
|
9995
10090
|
/** [Output Only] An 128-bit global unique ID of the PSC service attachment. */
|
|
9996
10091
|
pscServiceAttachmentId?: Uint128;
|
|
@@ -16607,6 +16702,72 @@ declare namespace gapi.client {
|
|
|
16607
16702
|
},
|
|
16608
16703
|
body: FirewallPolicyAssociation
|
|
16609
16704
|
): Request<Operation>;
|
|
16705
|
+
/** Inserts a packet mirroring rule into a firewall policy. */
|
|
16706
|
+
addPacketMirroringRule(request: {
|
|
16707
|
+
/** V1 error format. */
|
|
16708
|
+
'$.xgafv'?: string;
|
|
16709
|
+
/** OAuth access token. */
|
|
16710
|
+
access_token?: string;
|
|
16711
|
+
/** Data format for response. */
|
|
16712
|
+
alt?: string;
|
|
16713
|
+
/** JSONP */
|
|
16714
|
+
callback?: string;
|
|
16715
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16716
|
+
fields?: string;
|
|
16717
|
+
/** Name of the firewall policy to update. */
|
|
16718
|
+
firewallPolicy: string;
|
|
16719
|
+
/** 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. */
|
|
16720
|
+
key?: string;
|
|
16721
|
+
/** OAuth 2.0 token for the current user. */
|
|
16722
|
+
oauth_token?: string;
|
|
16723
|
+
/** Returns response with indentations and line breaks. */
|
|
16724
|
+
prettyPrint?: boolean;
|
|
16725
|
+
/** 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. */
|
|
16726
|
+
quotaUser?: string;
|
|
16727
|
+
/** 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). */
|
|
16728
|
+
requestId?: string;
|
|
16729
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16730
|
+
upload_protocol?: string;
|
|
16731
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16732
|
+
uploadType?: string;
|
|
16733
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
16734
|
+
userIp?: string;
|
|
16735
|
+
/** Request body */
|
|
16736
|
+
resource: FirewallPolicyRule;
|
|
16737
|
+
}): Request<Operation>;
|
|
16738
|
+
addPacketMirroringRule(
|
|
16739
|
+
request: {
|
|
16740
|
+
/** V1 error format. */
|
|
16741
|
+
'$.xgafv'?: string;
|
|
16742
|
+
/** OAuth access token. */
|
|
16743
|
+
access_token?: string;
|
|
16744
|
+
/** Data format for response. */
|
|
16745
|
+
alt?: string;
|
|
16746
|
+
/** JSONP */
|
|
16747
|
+
callback?: string;
|
|
16748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16749
|
+
fields?: string;
|
|
16750
|
+
/** Name of the firewall policy to update. */
|
|
16751
|
+
firewallPolicy: string;
|
|
16752
|
+
/** 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. */
|
|
16753
|
+
key?: string;
|
|
16754
|
+
/** OAuth 2.0 token for the current user. */
|
|
16755
|
+
oauth_token?: string;
|
|
16756
|
+
/** Returns response with indentations and line breaks. */
|
|
16757
|
+
prettyPrint?: boolean;
|
|
16758
|
+
/** 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. */
|
|
16759
|
+
quotaUser?: string;
|
|
16760
|
+
/** 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). */
|
|
16761
|
+
requestId?: string;
|
|
16762
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16763
|
+
upload_protocol?: string;
|
|
16764
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16765
|
+
uploadType?: string;
|
|
16766
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
16767
|
+
userIp?: string;
|
|
16768
|
+
},
|
|
16769
|
+
body: FirewallPolicyRule
|
|
16770
|
+
): Request<Operation>;
|
|
16610
16771
|
/** Inserts a rule into a firewall policy. */
|
|
16611
16772
|
addRule(request: {
|
|
16612
16773
|
/** V1 error format. */
|
|
@@ -16828,6 +16989,37 @@ declare namespace gapi.client {
|
|
|
16828
16989
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
16829
16990
|
userIp?: string;
|
|
16830
16991
|
}): Request<Policy>;
|
|
16992
|
+
/** Gets a packet mirroring rule of the specified priority. */
|
|
16993
|
+
getPacketMirroringRule(request?: {
|
|
16994
|
+
/** V1 error format. */
|
|
16995
|
+
'$.xgafv'?: string;
|
|
16996
|
+
/** OAuth access token. */
|
|
16997
|
+
access_token?: string;
|
|
16998
|
+
/** Data format for response. */
|
|
16999
|
+
alt?: string;
|
|
17000
|
+
/** JSONP */
|
|
17001
|
+
callback?: string;
|
|
17002
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17003
|
+
fields?: string;
|
|
17004
|
+
/** Name of the firewall policy to which the queried rule belongs. */
|
|
17005
|
+
firewallPolicy: string;
|
|
17006
|
+
/** 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. */
|
|
17007
|
+
key?: string;
|
|
17008
|
+
/** OAuth 2.0 token for the current user. */
|
|
17009
|
+
oauth_token?: string;
|
|
17010
|
+
/** Returns response with indentations and line breaks. */
|
|
17011
|
+
prettyPrint?: boolean;
|
|
17012
|
+
/** The priority of the rule to get from the firewall policy. */
|
|
17013
|
+
priority?: number;
|
|
17014
|
+
/** 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. */
|
|
17015
|
+
quotaUser?: string;
|
|
17016
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17017
|
+
upload_protocol?: string;
|
|
17018
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17019
|
+
uploadType?: string;
|
|
17020
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17021
|
+
userIp?: string;
|
|
17022
|
+
}): Request<FirewallPolicyRule>;
|
|
16831
17023
|
/** Gets a rule of the specified priority. */
|
|
16832
17024
|
getRule(request?: {
|
|
16833
17025
|
/** V1 error format. */
|
|
@@ -17092,6 +17284,76 @@ declare namespace gapi.client {
|
|
|
17092
17284
|
},
|
|
17093
17285
|
body: FirewallPolicy
|
|
17094
17286
|
): Request<Operation>;
|
|
17287
|
+
/** Patches a packet mirroring rule of the specified priority. */
|
|
17288
|
+
patchPacketMirroringRule(request: {
|
|
17289
|
+
/** V1 error format. */
|
|
17290
|
+
'$.xgafv'?: string;
|
|
17291
|
+
/** OAuth access token. */
|
|
17292
|
+
access_token?: string;
|
|
17293
|
+
/** Data format for response. */
|
|
17294
|
+
alt?: string;
|
|
17295
|
+
/** JSONP */
|
|
17296
|
+
callback?: string;
|
|
17297
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17298
|
+
fields?: string;
|
|
17299
|
+
/** Name of the firewall policy to update. */
|
|
17300
|
+
firewallPolicy: string;
|
|
17301
|
+
/** 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. */
|
|
17302
|
+
key?: string;
|
|
17303
|
+
/** OAuth 2.0 token for the current user. */
|
|
17304
|
+
oauth_token?: string;
|
|
17305
|
+
/** Returns response with indentations and line breaks. */
|
|
17306
|
+
prettyPrint?: boolean;
|
|
17307
|
+
/** The priority of the rule to patch. */
|
|
17308
|
+
priority?: number;
|
|
17309
|
+
/** 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. */
|
|
17310
|
+
quotaUser?: string;
|
|
17311
|
+
/** 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). */
|
|
17312
|
+
requestId?: string;
|
|
17313
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17314
|
+
upload_protocol?: string;
|
|
17315
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17316
|
+
uploadType?: string;
|
|
17317
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17318
|
+
userIp?: string;
|
|
17319
|
+
/** Request body */
|
|
17320
|
+
resource: FirewallPolicyRule;
|
|
17321
|
+
}): Request<Operation>;
|
|
17322
|
+
patchPacketMirroringRule(
|
|
17323
|
+
request: {
|
|
17324
|
+
/** V1 error format. */
|
|
17325
|
+
'$.xgafv'?: string;
|
|
17326
|
+
/** OAuth access token. */
|
|
17327
|
+
access_token?: string;
|
|
17328
|
+
/** Data format for response. */
|
|
17329
|
+
alt?: string;
|
|
17330
|
+
/** JSONP */
|
|
17331
|
+
callback?: string;
|
|
17332
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17333
|
+
fields?: string;
|
|
17334
|
+
/** Name of the firewall policy to update. */
|
|
17335
|
+
firewallPolicy: string;
|
|
17336
|
+
/** 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. */
|
|
17337
|
+
key?: string;
|
|
17338
|
+
/** OAuth 2.0 token for the current user. */
|
|
17339
|
+
oauth_token?: string;
|
|
17340
|
+
/** Returns response with indentations and line breaks. */
|
|
17341
|
+
prettyPrint?: boolean;
|
|
17342
|
+
/** The priority of the rule to patch. */
|
|
17343
|
+
priority?: number;
|
|
17344
|
+
/** 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. */
|
|
17345
|
+
quotaUser?: string;
|
|
17346
|
+
/** 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). */
|
|
17347
|
+
requestId?: string;
|
|
17348
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17349
|
+
upload_protocol?: string;
|
|
17350
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17351
|
+
uploadType?: string;
|
|
17352
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17353
|
+
userIp?: string;
|
|
17354
|
+
},
|
|
17355
|
+
body: FirewallPolicyRule
|
|
17356
|
+
): Request<Operation>;
|
|
17095
17357
|
/** Patches a rule of the specified priority. */
|
|
17096
17358
|
patchRule(request: {
|
|
17097
17359
|
/** V1 error format. */
|
|
@@ -17195,6 +17457,39 @@ declare namespace gapi.client {
|
|
|
17195
17457
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17196
17458
|
userIp?: string;
|
|
17197
17459
|
}): Request<Operation>;
|
|
17460
|
+
/** Deletes a packet mirroring rule of the specified priority. */
|
|
17461
|
+
removePacketMirroringRule(request?: {
|
|
17462
|
+
/** V1 error format. */
|
|
17463
|
+
'$.xgafv'?: string;
|
|
17464
|
+
/** OAuth access token. */
|
|
17465
|
+
access_token?: string;
|
|
17466
|
+
/** Data format for response. */
|
|
17467
|
+
alt?: string;
|
|
17468
|
+
/** JSONP */
|
|
17469
|
+
callback?: string;
|
|
17470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17471
|
+
fields?: string;
|
|
17472
|
+
/** Name of the firewall policy to update. */
|
|
17473
|
+
firewallPolicy: string;
|
|
17474
|
+
/** 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. */
|
|
17475
|
+
key?: string;
|
|
17476
|
+
/** OAuth 2.0 token for the current user. */
|
|
17477
|
+
oauth_token?: string;
|
|
17478
|
+
/** Returns response with indentations and line breaks. */
|
|
17479
|
+
prettyPrint?: boolean;
|
|
17480
|
+
/** The priority of the rule to remove from the firewall policy. */
|
|
17481
|
+
priority?: number;
|
|
17482
|
+
/** 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. */
|
|
17483
|
+
quotaUser?: string;
|
|
17484
|
+
/** 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). */
|
|
17485
|
+
requestId?: string;
|
|
17486
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17487
|
+
upload_protocol?: string;
|
|
17488
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17489
|
+
uploadType?: string;
|
|
17490
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17491
|
+
userIp?: string;
|
|
17492
|
+
}): Request<Operation>;
|
|
17198
17493
|
/** Deletes a rule of the specified priority. */
|
|
17199
17494
|
removeRule(request?: {
|
|
17200
17495
|
/** V1 error format. */
|
|
@@ -31196,6 +31491,84 @@ declare namespace gapi.client {
|
|
|
31196
31491
|
},
|
|
31197
31492
|
body: FirewallPolicyAssociation
|
|
31198
31493
|
): Request<Operation>;
|
|
31494
|
+
/** Inserts a packet mirroring rule into a firewall policy. */
|
|
31495
|
+
addPacketMirroringRule(request: {
|
|
31496
|
+
/** V1 error format. */
|
|
31497
|
+
'$.xgafv'?: string;
|
|
31498
|
+
/** OAuth access token. */
|
|
31499
|
+
access_token?: string;
|
|
31500
|
+
/** Data format for response. */
|
|
31501
|
+
alt?: string;
|
|
31502
|
+
/** JSONP */
|
|
31503
|
+
callback?: string;
|
|
31504
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31505
|
+
fields?: string;
|
|
31506
|
+
/** Name of the firewall policy to update. */
|
|
31507
|
+
firewallPolicy: string;
|
|
31508
|
+
/** 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. */
|
|
31509
|
+
key?: string;
|
|
31510
|
+
/** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
|
|
31511
|
+
maxPriority?: number;
|
|
31512
|
+
/** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
|
|
31513
|
+
minPriority?: number;
|
|
31514
|
+
/** OAuth 2.0 token for the current user. */
|
|
31515
|
+
oauth_token?: string;
|
|
31516
|
+
/** Returns response with indentations and line breaks. */
|
|
31517
|
+
prettyPrint?: boolean;
|
|
31518
|
+
/** Project ID for this request. */
|
|
31519
|
+
project: string;
|
|
31520
|
+
/** 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. */
|
|
31521
|
+
quotaUser?: string;
|
|
31522
|
+
/** 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). */
|
|
31523
|
+
requestId?: string;
|
|
31524
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31525
|
+
upload_protocol?: string;
|
|
31526
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31527
|
+
uploadType?: string;
|
|
31528
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31529
|
+
userIp?: string;
|
|
31530
|
+
/** Request body */
|
|
31531
|
+
resource: FirewallPolicyRule;
|
|
31532
|
+
}): Request<Operation>;
|
|
31533
|
+
addPacketMirroringRule(
|
|
31534
|
+
request: {
|
|
31535
|
+
/** V1 error format. */
|
|
31536
|
+
'$.xgafv'?: string;
|
|
31537
|
+
/** OAuth access token. */
|
|
31538
|
+
access_token?: string;
|
|
31539
|
+
/** Data format for response. */
|
|
31540
|
+
alt?: string;
|
|
31541
|
+
/** JSONP */
|
|
31542
|
+
callback?: string;
|
|
31543
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31544
|
+
fields?: string;
|
|
31545
|
+
/** Name of the firewall policy to update. */
|
|
31546
|
+
firewallPolicy: string;
|
|
31547
|
+
/** 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. */
|
|
31548
|
+
key?: string;
|
|
31549
|
+
/** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
|
|
31550
|
+
maxPriority?: number;
|
|
31551
|
+
/** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
|
|
31552
|
+
minPriority?: number;
|
|
31553
|
+
/** OAuth 2.0 token for the current user. */
|
|
31554
|
+
oauth_token?: string;
|
|
31555
|
+
/** Returns response with indentations and line breaks. */
|
|
31556
|
+
prettyPrint?: boolean;
|
|
31557
|
+
/** Project ID for this request. */
|
|
31558
|
+
project: string;
|
|
31559
|
+
/** 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. */
|
|
31560
|
+
quotaUser?: string;
|
|
31561
|
+
/** 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). */
|
|
31562
|
+
requestId?: string;
|
|
31563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31564
|
+
upload_protocol?: string;
|
|
31565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31566
|
+
uploadType?: string;
|
|
31567
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31568
|
+
userIp?: string;
|
|
31569
|
+
},
|
|
31570
|
+
body: FirewallPolicyRule
|
|
31571
|
+
): Request<Operation>;
|
|
31199
31572
|
/** Inserts a rule into a firewall policy. */
|
|
31200
31573
|
addRule(request: {
|
|
31201
31574
|
/** V1 error format. */
|
|
@@ -31439,6 +31812,39 @@ declare namespace gapi.client {
|
|
|
31439
31812
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31440
31813
|
userIp?: string;
|
|
31441
31814
|
}): Request<Policy>;
|
|
31815
|
+
/** Gets a packet mirroring rule of the specified priority. */
|
|
31816
|
+
getPacketMirroringRule(request?: {
|
|
31817
|
+
/** V1 error format. */
|
|
31818
|
+
'$.xgafv'?: string;
|
|
31819
|
+
/** OAuth access token. */
|
|
31820
|
+
access_token?: string;
|
|
31821
|
+
/** Data format for response. */
|
|
31822
|
+
alt?: string;
|
|
31823
|
+
/** JSONP */
|
|
31824
|
+
callback?: string;
|
|
31825
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31826
|
+
fields?: string;
|
|
31827
|
+
/** Name of the firewall policy to which the queried rule belongs. */
|
|
31828
|
+
firewallPolicy: string;
|
|
31829
|
+
/** 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. */
|
|
31830
|
+
key?: string;
|
|
31831
|
+
/** OAuth 2.0 token for the current user. */
|
|
31832
|
+
oauth_token?: string;
|
|
31833
|
+
/** Returns response with indentations and line breaks. */
|
|
31834
|
+
prettyPrint?: boolean;
|
|
31835
|
+
/** The priority of the rule to get from the firewall policy. */
|
|
31836
|
+
priority?: number;
|
|
31837
|
+
/** Project ID for this request. */
|
|
31838
|
+
project: string;
|
|
31839
|
+
/** 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. */
|
|
31840
|
+
quotaUser?: string;
|
|
31841
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31842
|
+
upload_protocol?: string;
|
|
31843
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31844
|
+
uploadType?: string;
|
|
31845
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31846
|
+
userIp?: string;
|
|
31847
|
+
}): Request<FirewallPolicyRule>;
|
|
31442
31848
|
/** Gets a rule of the specified priority. */
|
|
31443
31849
|
getRule(request?: {
|
|
31444
31850
|
/** V1 error format. */
|
|
@@ -31717,6 +32123,80 @@ declare namespace gapi.client {
|
|
|
31717
32123
|
},
|
|
31718
32124
|
body: FirewallPolicyAssociation
|
|
31719
32125
|
): Request<Operation>;
|
|
32126
|
+
/** Patches a packet mirroring rule of the specified priority. */
|
|
32127
|
+
patchPacketMirroringRule(request: {
|
|
32128
|
+
/** V1 error format. */
|
|
32129
|
+
'$.xgafv'?: string;
|
|
32130
|
+
/** OAuth access token. */
|
|
32131
|
+
access_token?: string;
|
|
32132
|
+
/** Data format for response. */
|
|
32133
|
+
alt?: string;
|
|
32134
|
+
/** JSONP */
|
|
32135
|
+
callback?: string;
|
|
32136
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32137
|
+
fields?: string;
|
|
32138
|
+
/** Name of the firewall policy to update. */
|
|
32139
|
+
firewallPolicy: string;
|
|
32140
|
+
/** 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. */
|
|
32141
|
+
key?: string;
|
|
32142
|
+
/** OAuth 2.0 token for the current user. */
|
|
32143
|
+
oauth_token?: string;
|
|
32144
|
+
/** Returns response with indentations and line breaks. */
|
|
32145
|
+
prettyPrint?: boolean;
|
|
32146
|
+
/** The priority of the rule to patch. */
|
|
32147
|
+
priority?: number;
|
|
32148
|
+
/** Project ID for this request. */
|
|
32149
|
+
project: string;
|
|
32150
|
+
/** 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. */
|
|
32151
|
+
quotaUser?: string;
|
|
32152
|
+
/** 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). */
|
|
32153
|
+
requestId?: string;
|
|
32154
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32155
|
+
upload_protocol?: string;
|
|
32156
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32157
|
+
uploadType?: string;
|
|
32158
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32159
|
+
userIp?: string;
|
|
32160
|
+
/** Request body */
|
|
32161
|
+
resource: FirewallPolicyRule;
|
|
32162
|
+
}): Request<Operation>;
|
|
32163
|
+
patchPacketMirroringRule(
|
|
32164
|
+
request: {
|
|
32165
|
+
/** V1 error format. */
|
|
32166
|
+
'$.xgafv'?: string;
|
|
32167
|
+
/** OAuth access token. */
|
|
32168
|
+
access_token?: string;
|
|
32169
|
+
/** Data format for response. */
|
|
32170
|
+
alt?: string;
|
|
32171
|
+
/** JSONP */
|
|
32172
|
+
callback?: string;
|
|
32173
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32174
|
+
fields?: string;
|
|
32175
|
+
/** Name of the firewall policy to update. */
|
|
32176
|
+
firewallPolicy: string;
|
|
32177
|
+
/** 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. */
|
|
32178
|
+
key?: string;
|
|
32179
|
+
/** OAuth 2.0 token for the current user. */
|
|
32180
|
+
oauth_token?: string;
|
|
32181
|
+
/** Returns response with indentations and line breaks. */
|
|
32182
|
+
prettyPrint?: boolean;
|
|
32183
|
+
/** The priority of the rule to patch. */
|
|
32184
|
+
priority?: number;
|
|
32185
|
+
/** Project ID for this request. */
|
|
32186
|
+
project: string;
|
|
32187
|
+
/** 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. */
|
|
32188
|
+
quotaUser?: string;
|
|
32189
|
+
/** 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). */
|
|
32190
|
+
requestId?: string;
|
|
32191
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32192
|
+
upload_protocol?: string;
|
|
32193
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32194
|
+
uploadType?: string;
|
|
32195
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32196
|
+
userIp?: string;
|
|
32197
|
+
},
|
|
32198
|
+
body: FirewallPolicyRule
|
|
32199
|
+
): Request<Operation>;
|
|
31720
32200
|
/** Patches a rule of the specified priority. */
|
|
31721
32201
|
patchRule(request: {
|
|
31722
32202
|
/** V1 error format. */
|
|
@@ -31826,6 +32306,41 @@ declare namespace gapi.client {
|
|
|
31826
32306
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31827
32307
|
userIp?: string;
|
|
31828
32308
|
}): Request<Operation>;
|
|
32309
|
+
/** Deletes a packet mirroring rule of the specified priority. */
|
|
32310
|
+
removePacketMirroringRule(request?: {
|
|
32311
|
+
/** V1 error format. */
|
|
32312
|
+
'$.xgafv'?: string;
|
|
32313
|
+
/** OAuth access token. */
|
|
32314
|
+
access_token?: string;
|
|
32315
|
+
/** Data format for response. */
|
|
32316
|
+
alt?: string;
|
|
32317
|
+
/** JSONP */
|
|
32318
|
+
callback?: string;
|
|
32319
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32320
|
+
fields?: string;
|
|
32321
|
+
/** Name of the firewall policy to update. */
|
|
32322
|
+
firewallPolicy: string;
|
|
32323
|
+
/** 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. */
|
|
32324
|
+
key?: string;
|
|
32325
|
+
/** OAuth 2.0 token for the current user. */
|
|
32326
|
+
oauth_token?: string;
|
|
32327
|
+
/** Returns response with indentations and line breaks. */
|
|
32328
|
+
prettyPrint?: boolean;
|
|
32329
|
+
/** The priority of the rule to remove from the firewall policy. */
|
|
32330
|
+
priority?: number;
|
|
32331
|
+
/** Project ID for this request. */
|
|
32332
|
+
project: string;
|
|
32333
|
+
/** 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. */
|
|
32334
|
+
quotaUser?: string;
|
|
32335
|
+
/** 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). */
|
|
32336
|
+
requestId?: string;
|
|
32337
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32338
|
+
upload_protocol?: string;
|
|
32339
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32340
|
+
uploadType?: string;
|
|
32341
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32342
|
+
userIp?: string;
|
|
32343
|
+
}): Request<Operation>;
|
|
31829
32344
|
/** Deletes a rule of the specified priority. */
|
|
31830
32345
|
removeRule(request?: {
|
|
31831
32346
|
/** V1 error format. */
|
|
@@ -31930,6 +32445,78 @@ declare namespace gapi.client {
|
|
|
31930
32445
|
body: TestPermissionsRequest
|
|
31931
32446
|
): Request<TestPermissionsResponse>;
|
|
31932
32447
|
}
|
|
32448
|
+
interface NetworkPlacementsResource {
|
|
32449
|
+
/** Returns the specified network placement. */
|
|
32450
|
+
get(request?: {
|
|
32451
|
+
/** V1 error format. */
|
|
32452
|
+
'$.xgafv'?: string;
|
|
32453
|
+
/** OAuth access token. */
|
|
32454
|
+
access_token?: string;
|
|
32455
|
+
/** Data format for response. */
|
|
32456
|
+
alt?: string;
|
|
32457
|
+
/** JSONP */
|
|
32458
|
+
callback?: string;
|
|
32459
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32460
|
+
fields?: string;
|
|
32461
|
+
/** 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. */
|
|
32462
|
+
key?: string;
|
|
32463
|
+
/** Name of the network placement to return. */
|
|
32464
|
+
networkPlacement: string;
|
|
32465
|
+
/** OAuth 2.0 token for the current user. */
|
|
32466
|
+
oauth_token?: string;
|
|
32467
|
+
/** Returns response with indentations and line breaks. */
|
|
32468
|
+
prettyPrint?: boolean;
|
|
32469
|
+
/** Project ID for this request. */
|
|
32470
|
+
project: string;
|
|
32471
|
+
/** 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. */
|
|
32472
|
+
quotaUser?: string;
|
|
32473
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32474
|
+
upload_protocol?: string;
|
|
32475
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32476
|
+
uploadType?: string;
|
|
32477
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32478
|
+
userIp?: string;
|
|
32479
|
+
}): Request<NetworkPlacement>;
|
|
32480
|
+
/** Retrieves a list of network placements available to the specified project. */
|
|
32481
|
+
list(request?: {
|
|
32482
|
+
/** V1 error format. */
|
|
32483
|
+
'$.xgafv'?: string;
|
|
32484
|
+
/** OAuth access token. */
|
|
32485
|
+
access_token?: string;
|
|
32486
|
+
/** Data format for response. */
|
|
32487
|
+
alt?: string;
|
|
32488
|
+
/** JSONP */
|
|
32489
|
+
callback?: string;
|
|
32490
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32491
|
+
fields?: string;
|
|
32492
|
+
/** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want 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 Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only 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 separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (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 with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double 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 must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
|
|
32493
|
+
filter?: string;
|
|
32494
|
+
/** 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. */
|
|
32495
|
+
key?: string;
|
|
32496
|
+
/** 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 be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
|
|
32497
|
+
maxResults?: number;
|
|
32498
|
+
/** OAuth 2.0 token for the current user. */
|
|
32499
|
+
oauth_token?: string;
|
|
32500
|
+
/** 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 on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result 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. */
|
|
32501
|
+
orderBy?: string;
|
|
32502
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
32503
|
+
pageToken?: string;
|
|
32504
|
+
/** Returns response with indentations and line breaks. */
|
|
32505
|
+
prettyPrint?: boolean;
|
|
32506
|
+
/** Project ID for this request. */
|
|
32507
|
+
project: string;
|
|
32508
|
+
/** 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. */
|
|
32509
|
+
quotaUser?: string;
|
|
32510
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
|
|
32511
|
+
returnPartialSuccess?: boolean;
|
|
32512
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32513
|
+
upload_protocol?: string;
|
|
32514
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32515
|
+
uploadType?: string;
|
|
32516
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32517
|
+
userIp?: string;
|
|
32518
|
+
}): Request<NetworkPlacementsListResponse>;
|
|
32519
|
+
}
|
|
31933
32520
|
interface NetworksResource {
|
|
31934
32521
|
/** Adds a peering to the specified network. */
|
|
31935
32522
|
addPeering(request: {
|
|
@@ -57818,6 +58405,8 @@ declare namespace gapi.client {
|
|
|
57818
58405
|
|
|
57819
58406
|
const networkFirewallPolicies: NetworkFirewallPoliciesResource;
|
|
57820
58407
|
|
|
58408
|
+
const networkPlacements: NetworkPlacementsResource;
|
|
58409
|
+
|
|
57821
58410
|
const networks: NetworksResource;
|
|
57822
58411
|
|
|
57823
58412
|
const nodeGroups: NodeGroupsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -470,6 +470,11 @@ Inserts an association for the specified firewall policy.
|
|
|
470
470
|
*/
|
|
471
471
|
await gapi.client.compute.firewallPolicies.addAssociation({ firewallPolicy: "firewallPolicy", });
|
|
472
472
|
|
|
473
|
+
/*
|
|
474
|
+
Inserts a packet mirroring rule into a firewall policy.
|
|
475
|
+
*/
|
|
476
|
+
await gapi.client.compute.firewallPolicies.addPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
|
|
477
|
+
|
|
473
478
|
/*
|
|
474
479
|
Inserts a rule into a firewall policy.
|
|
475
480
|
*/
|
|
@@ -500,6 +505,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
|
|
|
500
505
|
*/
|
|
501
506
|
await gapi.client.compute.firewallPolicies.getIamPolicy({ resource: "resource", });
|
|
502
507
|
|
|
508
|
+
/*
|
|
509
|
+
Gets a packet mirroring rule of the specified priority.
|
|
510
|
+
*/
|
|
511
|
+
await gapi.client.compute.firewallPolicies.getPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
|
|
512
|
+
|
|
503
513
|
/*
|
|
504
514
|
Gets a rule of the specified priority.
|
|
505
515
|
*/
|
|
@@ -530,6 +540,11 @@ Patches the specified policy with the data included in the request.
|
|
|
530
540
|
*/
|
|
531
541
|
await gapi.client.compute.firewallPolicies.patch({ firewallPolicy: "firewallPolicy", });
|
|
532
542
|
|
|
543
|
+
/*
|
|
544
|
+
Patches a packet mirroring rule of the specified priority.
|
|
545
|
+
*/
|
|
546
|
+
await gapi.client.compute.firewallPolicies.patchPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
|
|
547
|
+
|
|
533
548
|
/*
|
|
534
549
|
Patches a rule of the specified priority.
|
|
535
550
|
*/
|
|
@@ -540,6 +555,11 @@ Removes an association for the specified firewall policy.
|
|
|
540
555
|
*/
|
|
541
556
|
await gapi.client.compute.firewallPolicies.removeAssociation({ firewallPolicy: "firewallPolicy", });
|
|
542
557
|
|
|
558
|
+
/*
|
|
559
|
+
Deletes a packet mirroring rule of the specified priority.
|
|
560
|
+
*/
|
|
561
|
+
await gapi.client.compute.firewallPolicies.removePacketMirroringRule({ firewallPolicy: "firewallPolicy", });
|
|
562
|
+
|
|
543
563
|
/*
|
|
544
564
|
Deletes a rule of the specified priority.
|
|
545
565
|
*/
|
|
@@ -1965,6 +1985,11 @@ Inserts an association for the specified firewall policy.
|
|
|
1965
1985
|
*/
|
|
1966
1986
|
await gapi.client.compute.networkFirewallPolicies.addAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
1967
1987
|
|
|
1988
|
+
/*
|
|
1989
|
+
Inserts a packet mirroring rule into a firewall policy.
|
|
1990
|
+
*/
|
|
1991
|
+
await gapi.client.compute.networkFirewallPolicies.addPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
1992
|
+
|
|
1968
1993
|
/*
|
|
1969
1994
|
Inserts a rule into a firewall policy.
|
|
1970
1995
|
*/
|
|
@@ -1995,6 +2020,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
|
|
|
1995
2020
|
*/
|
|
1996
2021
|
await gapi.client.compute.networkFirewallPolicies.getIamPolicy({ project: "project", resource: "resource", });
|
|
1997
2022
|
|
|
2023
|
+
/*
|
|
2024
|
+
Gets a packet mirroring rule of the specified priority.
|
|
2025
|
+
*/
|
|
2026
|
+
await gapi.client.compute.networkFirewallPolicies.getPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2027
|
+
|
|
1998
2028
|
/*
|
|
1999
2029
|
Gets a rule of the specified priority.
|
|
2000
2030
|
*/
|
|
@@ -2020,6 +2050,11 @@ Updates an association for the specified network firewall policy.
|
|
|
2020
2050
|
*/
|
|
2021
2051
|
await gapi.client.compute.networkFirewallPolicies.patchAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2022
2052
|
|
|
2053
|
+
/*
|
|
2054
|
+
Patches a packet mirroring rule of the specified priority.
|
|
2055
|
+
*/
|
|
2056
|
+
await gapi.client.compute.networkFirewallPolicies.patchPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2057
|
+
|
|
2023
2058
|
/*
|
|
2024
2059
|
Patches a rule of the specified priority.
|
|
2025
2060
|
*/
|
|
@@ -2030,6 +2065,11 @@ Removes an association for the specified firewall policy.
|
|
|
2030
2065
|
*/
|
|
2031
2066
|
await gapi.client.compute.networkFirewallPolicies.removeAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2032
2067
|
|
|
2068
|
+
/*
|
|
2069
|
+
Deletes a packet mirroring rule of the specified priority.
|
|
2070
|
+
*/
|
|
2071
|
+
await gapi.client.compute.networkFirewallPolicies.removePacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2072
|
+
|
|
2033
2073
|
/*
|
|
2034
2074
|
Deletes a rule of the specified priority.
|
|
2035
2075
|
*/
|
|
@@ -2045,6 +2085,16 @@ Returns permissions that a caller has on the specified resource.
|
|
|
2045
2085
|
*/
|
|
2046
2086
|
await gapi.client.compute.networkFirewallPolicies.testIamPermissions({ project: "project", resource: "resource", });
|
|
2047
2087
|
|
|
2088
|
+
/*
|
|
2089
|
+
Returns the specified network placement.
|
|
2090
|
+
*/
|
|
2091
|
+
await gapi.client.compute.networkPlacements.get({ networkPlacement: "networkPlacement", project: "project", });
|
|
2092
|
+
|
|
2093
|
+
/*
|
|
2094
|
+
Retrieves a list of network placements available to the specified project.
|
|
2095
|
+
*/
|
|
2096
|
+
await gapi.client.compute.networkPlacements.list({ project: "project", });
|
|
2097
|
+
|
|
2048
2098
|
/*
|
|
2049
2099
|
Adds a peering to the specified network.
|
|
2050
2100
|
*/
|