@maxim_mazurok/gapi.client.compute-alpha 0.0.20241202 → 0.0.20250107
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 +408 -23
- package/package.json +1 -1
- package/readme.md +20 -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: 20250107
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -141,7 +141,7 @@ declare namespace gapi.client {
|
|
|
141
141
|
publicDnsName?: string;
|
|
142
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
|
+
/** The resource URL for the security policy associated with this access config. */
|
|
145
145
|
securityPolicy?: string;
|
|
146
146
|
/** Specifies whether a public DNS 'A' record should be created for the external IP address of this access configuration. */
|
|
147
147
|
setPublicDns?: boolean;
|
|
@@ -451,7 +451,7 @@ declare namespace gapi.client {
|
|
|
451
451
|
sourceImageEncryptionKey?: CustomerEncryptionKey;
|
|
452
452
|
/** The source instant-snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set. */
|
|
453
453
|
sourceInstantSnapshot?: string;
|
|
454
|
-
/** The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. */
|
|
454
|
+
/** The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image instead when you create VMs using the bulk insert method. */
|
|
455
455
|
sourceSnapshot?: string;
|
|
456
456
|
/** The customer-supplied encryption key of the source snapshot. */
|
|
457
457
|
sourceSnapshotEncryptionKey?: CustomerEncryptionKey;
|
|
@@ -1389,6 +1389,18 @@ declare namespace gapi.client {
|
|
|
1389
1389
|
/** Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. */
|
|
1390
1390
|
queryStringWhitelist?: string[];
|
|
1391
1391
|
}
|
|
1392
|
+
interface CalendarModeAdviceRequest {
|
|
1393
|
+
/** Specification of resources to create in the future. The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. Currently only one value is allowed in this map. */
|
|
1394
|
+
futureResourcesSpecs?: {[P in string]: FutureResourcesSpec};
|
|
1395
|
+
}
|
|
1396
|
+
interface CalendarModeAdviceResponse {
|
|
1397
|
+
/** Recommendations where, how and when to create the requested resources in order to maximize their obtainability and minimize cost. */
|
|
1398
|
+
recommendations?: CalendarModeRecommendation[];
|
|
1399
|
+
}
|
|
1400
|
+
interface CalendarModeRecommendation {
|
|
1401
|
+
/** Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request. */
|
|
1402
|
+
recommendationsPerSpec?: {[P in string]: FutureResourcesRecommendation};
|
|
1403
|
+
}
|
|
1392
1404
|
interface CallCredentials {
|
|
1393
1405
|
/** The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: - GCE_VM: The local GCE VM service account credentials are used to access the SDS server. - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server. */
|
|
1394
1406
|
callCredentialType?: string;
|
|
@@ -2103,7 +2115,7 @@ declare namespace gapi.client {
|
|
|
2103
2115
|
interface ErrorInfo {
|
|
2104
2116
|
/** 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". */
|
|
2105
2117
|
domain?: string;
|
|
2106
|
-
/** Additional structured details about this error. Keys must match
|
|
2118
|
+
/** Additional structured details about this error. Keys must match a regular expression of `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. */
|
|
2107
2119
|
metadatas?: {[P in string]: string};
|
|
2108
2120
|
/** 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. */
|
|
2109
2121
|
reason?: string;
|
|
@@ -2311,6 +2323,24 @@ declare namespace gapi.client {
|
|
|
2311
2323
|
/** [Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations. */
|
|
2312
2324
|
kind?: string;
|
|
2313
2325
|
}
|
|
2326
|
+
interface FirewallPoliciesScopedList {
|
|
2327
|
+
/** A list of firewall policies contained in this scope. */
|
|
2328
|
+
firewallPolicies?: FirewallPolicy[];
|
|
2329
|
+
/** Informational warning which replaces the list of firewall policies when the list is empty. */
|
|
2330
|
+
warning?: {
|
|
2331
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
2332
|
+
code?: string;
|
|
2333
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
2334
|
+
data?: Array<{
|
|
2335
|
+
/** [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). */
|
|
2336
|
+
key?: string;
|
|
2337
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
2338
|
+
value?: string;
|
|
2339
|
+
}>;
|
|
2340
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
2341
|
+
message?: string;
|
|
2342
|
+
};
|
|
2343
|
+
}
|
|
2314
2344
|
interface FirewallPolicy {
|
|
2315
2345
|
/** A list of associations that belong to this firewall policy. */
|
|
2316
2346
|
associations?: FirewallPolicyAssociation[];
|
|
@@ -2469,6 +2499,14 @@ declare namespace gapi.client {
|
|
|
2469
2499
|
/** Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. */
|
|
2470
2500
|
percent?: number;
|
|
2471
2501
|
}
|
|
2502
|
+
interface FlexibleTimeRange {
|
|
2503
|
+
endTimeNotEarlierThan?: string;
|
|
2504
|
+
endTimeNotLaterThan?: string;
|
|
2505
|
+
maxDuration?: string;
|
|
2506
|
+
minDuration?: string;
|
|
2507
|
+
startTimeNotEarlierThan?: string;
|
|
2508
|
+
startTimeNotLaterThan?: string;
|
|
2509
|
+
}
|
|
2472
2510
|
interface ForwardingRule {
|
|
2473
2511
|
/** If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created. */
|
|
2474
2512
|
allowGlobalAccess?: boolean;
|
|
@@ -2682,7 +2720,7 @@ declare namespace gapi.client {
|
|
|
2682
2720
|
zone?: string;
|
|
2683
2721
|
}
|
|
2684
2722
|
interface FutureReservationCommitmentInfo {
|
|
2685
|
-
/** name of the commitment where capacity is being delivered to.
|
|
2723
|
+
/** name of the commitment where capacity is being delivered to. */
|
|
2686
2724
|
commitmentName?: string;
|
|
2687
2725
|
/** Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. */
|
|
2688
2726
|
commitmentPlan?: string;
|
|
@@ -2827,6 +2865,70 @@ declare namespace gapi.client {
|
|
|
2827
2865
|
/** Start time of the Future Reservation. The start_time is an RFC3339 string. */
|
|
2828
2866
|
startTime?: string;
|
|
2829
2867
|
}
|
|
2868
|
+
interface FutureResourcesRecommendation {
|
|
2869
|
+
endTime?: string;
|
|
2870
|
+
/** The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details. */
|
|
2871
|
+
location?: string;
|
|
2872
|
+
/** List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status. */
|
|
2873
|
+
otherLocations?: {
|
|
2874
|
+
[P in string]: FutureResourcesRecommendationOtherLocation;
|
|
2875
|
+
};
|
|
2876
|
+
/** Unique id of the recommendation, a UUID string generated by the API. */
|
|
2877
|
+
recommendationId?: string;
|
|
2878
|
+
/** Type of recommendation. Currently only FUTURE_RESERVATION is supported. */
|
|
2879
|
+
recommendationType?: string;
|
|
2880
|
+
startTime?: string;
|
|
2881
|
+
}
|
|
2882
|
+
interface FutureResourcesRecommendationOtherLocation {
|
|
2883
|
+
/** Details (human readable) describing the situation. For example, if status is CONDITION_NOT_MET, then details contain information about the parameters of the time window that did not meet the required conditions. */
|
|
2884
|
+
details?: string;
|
|
2885
|
+
/** Status of recommendation in this location. */
|
|
2886
|
+
status?: string;
|
|
2887
|
+
}
|
|
2888
|
+
interface FutureResourcesSpec {
|
|
2889
|
+
/** Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. */
|
|
2890
|
+
deploymentType?: string;
|
|
2891
|
+
/** Optional location policy allowing to exclude some zone(s) in which the resources must not be created. */
|
|
2892
|
+
locationPolicy?: FutureResourcesSpecLocationPolicy;
|
|
2893
|
+
/** Specification of the reserved resources. */
|
|
2894
|
+
targetResources?: FutureResourcesSpecTargetResources;
|
|
2895
|
+
/** Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use. */
|
|
2896
|
+
timeRangeSpec?: FlexibleTimeRange;
|
|
2897
|
+
}
|
|
2898
|
+
interface FutureResourcesSpecAggregateResources {
|
|
2899
|
+
/** Size of the request, in accelerator (chip) count. */
|
|
2900
|
+
acceleratorCount?: string;
|
|
2901
|
+
/** The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. */
|
|
2902
|
+
vmFamily?: string;
|
|
2903
|
+
/** Workload type. Use for TPU reservations. */
|
|
2904
|
+
workloadType?: string;
|
|
2905
|
+
}
|
|
2906
|
+
interface FutureResourcesSpecLocalSsdPartition {
|
|
2907
|
+
/** Disk interface. Defaults to SCSI. */
|
|
2908
|
+
diskInterface?: string;
|
|
2909
|
+
/** The size of the disk in GB. */
|
|
2910
|
+
diskSizeGb?: string;
|
|
2911
|
+
}
|
|
2912
|
+
interface FutureResourcesSpecLocationPolicy {
|
|
2913
|
+
/** Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed. */
|
|
2914
|
+
locations?: {[P in string]: FutureResourcesSpecLocationPolicyLocation};
|
|
2915
|
+
}
|
|
2916
|
+
interface FutureResourcesSpecLocationPolicyLocation {
|
|
2917
|
+
/** Preference for this location. */
|
|
2918
|
+
preference?: string;
|
|
2919
|
+
}
|
|
2920
|
+
interface FutureResourcesSpecSpecificSKUResources {
|
|
2921
|
+
/** Size of the request, in instance count. */
|
|
2922
|
+
instanceCount?: string;
|
|
2923
|
+
/** Local SSD partitions. You do not have to include SSD partitions that are built in the machine type. */
|
|
2924
|
+
localSsdPartitions?: FutureResourcesSpecLocalSsdPartition[];
|
|
2925
|
+
/** The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations. */
|
|
2926
|
+
machineType?: string;
|
|
2927
|
+
}
|
|
2928
|
+
interface FutureResourcesSpecTargetResources {
|
|
2929
|
+
aggregateResources?: FutureResourcesSpecAggregateResources;
|
|
2930
|
+
specificSkuResources?: FutureResourcesSpecSpecificSKUResources;
|
|
2931
|
+
}
|
|
2830
2932
|
interface GetAsyncReplicationStatusResponse {
|
|
2831
2933
|
asyncReplicationStatus?: AsyncReplicationStatus;
|
|
2832
2934
|
/** end_interface: MixerGetResponseWithEtagBuilder */
|
|
@@ -3824,7 +3926,7 @@ declare namespace gapi.client {
|
|
|
3824
3926
|
kind?: string;
|
|
3825
3927
|
/** The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. */
|
|
3826
3928
|
name?: string;
|
|
3827
|
-
/** Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group. */
|
|
3929
|
+
/** Optional. Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group. */
|
|
3828
3930
|
namedPorts?: NamedPort[];
|
|
3829
3931
|
/** [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). */
|
|
3830
3932
|
network?: string;
|
|
@@ -5173,11 +5275,19 @@ declare namespace gapi.client {
|
|
|
5173
5275
|
adminEnabled?: boolean;
|
|
5174
5276
|
/** [Output Only] URL of the AttachmentGroup that includes this Attachment. */
|
|
5175
5277
|
attachmentGroup?: string;
|
|
5176
|
-
/** Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s */
|
|
5278
|
+
/** Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s */
|
|
5177
5279
|
bandwidth?: string;
|
|
5280
|
+
/** Single IPv4 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ip_address and candidate_customer_router_ip_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ip_address and candidate_customer_router_ip_address must be the same. - Max prefix length is 31. */
|
|
5281
|
+
candidateCloudRouterIpAddress?: string;
|
|
5282
|
+
/** Single IPv6 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address must be the same. - Max prefix length is 126. */
|
|
5283
|
+
candidateCloudRouterIpv6Address?: string;
|
|
5284
|
+
/** Single IPv4 address + prefix length to be configured on the customer router interface for this interconnect attachment. */
|
|
5285
|
+
candidateCustomerRouterIpAddress?: string;
|
|
5286
|
+
/** Single IPv6 address + prefix length to be configured on the customer router interface for this interconnect attachment. */
|
|
5287
|
+
candidateCustomerRouterIpv6Address?: string;
|
|
5178
5288
|
/** This field is not available. */
|
|
5179
5289
|
candidateIpv6Subnets?: string[];
|
|
5180
|
-
/** Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space. */
|
|
5290
|
+
/** Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space. */
|
|
5181
5291
|
candidateSubnets?: string[];
|
|
5182
5292
|
/** [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. */
|
|
5183
5293
|
cloudRouterIpAddress?: string;
|
|
@@ -5199,7 +5309,7 @@ declare namespace gapi.client {
|
|
|
5199
5309
|
dataplaneVersion?: number;
|
|
5200
5310
|
/** An optional description of this resource. */
|
|
5201
5311
|
description?: string;
|
|
5202
|
-
/** Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. */
|
|
5312
|
+
/** Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. */
|
|
5203
5313
|
edgeAvailabilityDomain?: string;
|
|
5204
5314
|
/** Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. */
|
|
5205
5315
|
encryption?: string;
|
|
@@ -5213,6 +5323,8 @@ declare namespace gapi.client {
|
|
|
5213
5323
|
ipsecInternalAddresses?: string[];
|
|
5214
5324
|
/** [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments. */
|
|
5215
5325
|
kind?: string;
|
|
5326
|
+
/** L2 Interconnect Attachment related config. This field is required if the type is L2_DEDICATED. The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad) within L2 packets are mapped to the destination appliances IP addresses. The packet is then encapsulated with the appliance IP address and sent to the edge appliance. */
|
|
5327
|
+
l2Forwarding?: InterconnectAttachmentL2Forwarding;
|
|
5216
5328
|
/** A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment. */
|
|
5217
5329
|
labelFingerprint?: string;
|
|
5218
5330
|
/** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
|
|
@@ -5249,7 +5361,7 @@ declare namespace gapi.client {
|
|
|
5249
5361
|
stackType?: string;
|
|
5250
5362
|
/** [Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. */
|
|
5251
5363
|
state?: string;
|
|
5252
|
-
/** Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. */
|
|
5364
|
+
/** Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. */
|
|
5253
5365
|
subnetLength?: number;
|
|
5254
5366
|
/** The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. */
|
|
5255
5367
|
type?: string;
|
|
@@ -5337,6 +5449,8 @@ declare namespace gapi.client {
|
|
|
5337
5449
|
explanation?: string;
|
|
5338
5450
|
/** [Output Only] Metros used to explain this blocker in more detail. These are three-letter lowercase strings like "iad". This will be set for some blockers (like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does not apply to others. */
|
|
5339
5451
|
metros?: string[];
|
|
5452
|
+
/** [Output Only] Regions used to explain this blocker in more detail. These are region names formatted like "us-central1". This will be set for some blockers (like INCOMPATIBLE_REGIONS) but does not apply to others. */
|
|
5453
|
+
regions?: string[];
|
|
5340
5454
|
/** [Output Only] Zones used to explain this blocker in more detail. Format is "zone1" and/or "zone2". This will be set for some blockers (like MISSING_ZONE) but does not apply to others. */
|
|
5341
5455
|
zones?: string[];
|
|
5342
5456
|
}
|
|
@@ -5367,6 +5481,10 @@ declare namespace gapi.client {
|
|
|
5367
5481
|
/** [Output Only] The name of a zone, either "zone1" or "zone2". */
|
|
5368
5482
|
zone?: string;
|
|
5369
5483
|
}
|
|
5484
|
+
interface InterconnectAttachmentGroupsGetOperationalStatusResponse {
|
|
5485
|
+
etag?: string;
|
|
5486
|
+
result?: InterconnectAttachmentGroupsOperationalStatus;
|
|
5487
|
+
}
|
|
5370
5488
|
interface InterconnectAttachmentGroupsListResponse {
|
|
5371
5489
|
etag?: string;
|
|
5372
5490
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -5395,6 +5513,42 @@ declare namespace gapi.client {
|
|
|
5395
5513
|
message?: string;
|
|
5396
5514
|
};
|
|
5397
5515
|
}
|
|
5516
|
+
interface InterconnectAttachmentGroupsOperationalStatus {
|
|
5517
|
+
/** Summarizes the status of the group. */
|
|
5518
|
+
groupStatus?: string;
|
|
5519
|
+
}
|
|
5520
|
+
interface InterconnectAttachmentL2Forwarding {
|
|
5521
|
+
/** Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used. Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected. The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100. */
|
|
5522
|
+
applianceMappings?: {
|
|
5523
|
+
[P in string]: InterconnectAttachmentL2ForwardingApplianceMapping;
|
|
5524
|
+
};
|
|
5525
|
+
/** Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found. Unset field (null-value) indicates the unmatched packet should be dropped. */
|
|
5526
|
+
defaultApplianceIpAddress?: string;
|
|
5527
|
+
/** Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments. */
|
|
5528
|
+
geneveHeader?: InterconnectAttachmentL2ForwardingGeneveHeader;
|
|
5529
|
+
/** Required. Resource URL of the network to which this attachment belongs. */
|
|
5530
|
+
network?: string;
|
|
5531
|
+
/** Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment. */
|
|
5532
|
+
tunnelEndpointIpAddress?: string;
|
|
5533
|
+
}
|
|
5534
|
+
interface InterconnectAttachmentL2ForwardingApplianceMapping {
|
|
5535
|
+
/** Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag. Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used. */
|
|
5536
|
+
applianceIpAddress?: string;
|
|
5537
|
+
/** Optional. Used to match against the inner VLAN when the packet contains two VLAN tags. A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used. */
|
|
5538
|
+
innerVlanToApplianceMappings?: InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping[];
|
|
5539
|
+
/** Optional. The name of this appliance mapping rule. */
|
|
5540
|
+
name?: string;
|
|
5541
|
+
}
|
|
5542
|
+
interface InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping {
|
|
5543
|
+
/** Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags. */
|
|
5544
|
+
innerApplianceIpAddress?: string;
|
|
5545
|
+
/** Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected. The inner VLAN tags must have an ethertype value of 0x8100. */
|
|
5546
|
+
innerVlanTags?: string[];
|
|
5547
|
+
}
|
|
5548
|
+
interface InterconnectAttachmentL2ForwardingGeneveHeader {
|
|
5549
|
+
/** Optional. VNI is a 24-bit unique virtual network identifier, from 0 to 16,777,215. */
|
|
5550
|
+
vni?: number;
|
|
5551
|
+
}
|
|
5398
5552
|
interface InterconnectAttachmentList {
|
|
5399
5553
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
5400
5554
|
id?: string;
|
|
@@ -5583,6 +5737,10 @@ declare namespace gapi.client {
|
|
|
5583
5737
|
/** [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility. */
|
|
5584
5738
|
zone?: string;
|
|
5585
5739
|
}
|
|
5740
|
+
interface InterconnectGroupsGetOperationalStatusResponse {
|
|
5741
|
+
etag?: string;
|
|
5742
|
+
result?: InterconnectGroupsOperationalStatus;
|
|
5743
|
+
}
|
|
5586
5744
|
interface InterconnectGroupsListResponse {
|
|
5587
5745
|
etag?: string;
|
|
5588
5746
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -5611,6 +5769,27 @@ declare namespace gapi.client {
|
|
|
5611
5769
|
message?: string;
|
|
5612
5770
|
};
|
|
5613
5771
|
}
|
|
5772
|
+
interface InterconnectGroupsOperationalStatus {
|
|
5773
|
+
/** The configuration analysis, as returned by Get. */
|
|
5774
|
+
configured?: InterconnectGroupConfigured;
|
|
5775
|
+
/** Summarizes the status of the group. */
|
|
5776
|
+
groupStatus?: string;
|
|
5777
|
+
/** The intent of the resource, as returned by Get. */
|
|
5778
|
+
intent?: InterconnectGroupIntent;
|
|
5779
|
+
interconnectStatuses?: InterconnectGroupsOperationalStatusInterconnectStatus[];
|
|
5780
|
+
/** The operational state of the group, including only active Interconnects. */
|
|
5781
|
+
operational?: InterconnectGroupConfigured;
|
|
5782
|
+
}
|
|
5783
|
+
interface InterconnectGroupsOperationalStatusInterconnectStatus {
|
|
5784
|
+
/** Whether the Interconnect is enabled. */
|
|
5785
|
+
adminEnabled?: boolean;
|
|
5786
|
+
/** The diagnostics of the Interconnect, as returned by the existing get-diagnostics method. */
|
|
5787
|
+
diagnostics?: InterconnectDiagnostics;
|
|
5788
|
+
/** The URL of the Interconnect being described. */
|
|
5789
|
+
interconnect?: string;
|
|
5790
|
+
/** Whether this interconnect is participating in the redundant configuration. */
|
|
5791
|
+
isActive?: string;
|
|
5792
|
+
}
|
|
5614
5793
|
interface InterconnectList {
|
|
5615
5794
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
5616
5795
|
id?: string;
|
|
@@ -6769,13 +6948,13 @@ declare namespace gapi.client {
|
|
|
6769
6948
|
};
|
|
6770
6949
|
}
|
|
6771
6950
|
interface NetworkEndpoint {
|
|
6772
|
-
/**
|
|
6951
|
+
/** Optional metadata defined as annotations on the network endpoint. */
|
|
6773
6952
|
annotations?: {[P in string]: string};
|
|
6774
|
-
/** Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */
|
|
6953
|
+
/** Represents the port number to which PSC consumer sends packets. Optional. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */
|
|
6775
6954
|
clientDestinationPort?: number;
|
|
6776
6955
|
/** Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */
|
|
6777
6956
|
fqdn?: string;
|
|
6778
|
-
/** The name or a URL of VM instance of this network endpoint.
|
|
6957
|
+
/** The name or a URL of VM instance of this network endpoint. Optional, the field presence depends on the network endpoint type. The field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance. */
|
|
6779
6958
|
instance?: string;
|
|
6780
6959
|
/** Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. This field is redundant and need not be set for network endpoints of type GCE_VM_IP. If set, it must be set to the primary internal IP address of the attached VM instance that matches the subnetwork of the NEG. The primary internal IP address from any NIC of a multi-NIC VM instance can be added to a NEG as long as it matches the NEG subnetwork. */
|
|
6781
6960
|
ipAddress?: string;
|
|
@@ -6787,17 +6966,17 @@ declare namespace gapi.client {
|
|
|
6787
6966
|
zone?: string;
|
|
6788
6967
|
}
|
|
6789
6968
|
interface NetworkEndpointGroup {
|
|
6790
|
-
/** Metadata defined as annotations on the network endpoint group. */
|
|
6969
|
+
/** Optional. Metadata defined as annotations on the network endpoint group. */
|
|
6791
6970
|
annotations?: {[P in string]: string};
|
|
6792
|
-
/** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6971
|
+
/** Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6793
6972
|
appEngine?: NetworkEndpointGroupAppEngine;
|
|
6794
|
-
/** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6973
|
+
/** Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6795
6974
|
cloudFunction?: NetworkEndpointGroupCloudFunction;
|
|
6796
|
-
/** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6975
|
+
/** Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
|
|
6797
6976
|
cloudRun?: NetworkEndpointGroupCloudRun;
|
|
6798
6977
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
6799
6978
|
creationTimestamp?: string;
|
|
6800
|
-
/** The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. */
|
|
6979
|
+
/** The default port used if the port number is not specified in the network endpoint. Optional. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. */
|
|
6801
6980
|
defaultPort?: number;
|
|
6802
6981
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
6803
6982
|
description?: string;
|
|
@@ -6813,8 +6992,9 @@ declare namespace gapi.client {
|
|
|
6813
6992
|
network?: string;
|
|
6814
6993
|
/** Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP. */
|
|
6815
6994
|
networkEndpointType?: string;
|
|
6995
|
+
/** Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT. */
|
|
6816
6996
|
pscData?: NetworkEndpointGroupPscData;
|
|
6817
|
-
/** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com */
|
|
6997
|
+
/** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com. Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT. */
|
|
6818
6998
|
pscTargetService?: string;
|
|
6819
6999
|
/** [Output Only] The URL of the region where the network endpoint group is located. */
|
|
6820
7000
|
region?: string;
|
|
@@ -6999,11 +7179,39 @@ declare namespace gapi.client {
|
|
|
6999
7179
|
};
|
|
7000
7180
|
}
|
|
7001
7181
|
interface NetworkEndpointWithHealthStatus {
|
|
7002
|
-
/** [Output only] The health status of network endpoint
|
|
7182
|
+
/** [Output only] The health status of network endpoint. Optional. Displayed only if the network endpoint has centralized health checking configured. */
|
|
7003
7183
|
healths?: HealthStatusForNetworkEndpoint[];
|
|
7004
|
-
/** [Output only] The network endpoint
|
|
7184
|
+
/** [Output only] The network endpoint. */
|
|
7005
7185
|
networkEndpoint?: NetworkEndpoint;
|
|
7006
7186
|
}
|
|
7187
|
+
interface NetworkFirewallPolicyAggregatedList {
|
|
7188
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
7189
|
+
id?: string;
|
|
7190
|
+
/** A list of FirewallPoliciesScopedList resources. */
|
|
7191
|
+
items?: {[P in string]: FirewallPoliciesScopedList};
|
|
7192
|
+
/** [Output Only] Type of resource. Always compute#networkFirewallPoliciesAggregatedList for lists of network firewall policies. */
|
|
7193
|
+
kind?: string;
|
|
7194
|
+
/** [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. */
|
|
7195
|
+
nextPageToken?: string;
|
|
7196
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
7197
|
+
selfLink?: string;
|
|
7198
|
+
/** [Output Only] Unreachable resources. */
|
|
7199
|
+
unreachables?: string[];
|
|
7200
|
+
/** [Output Only] Informational warning message. */
|
|
7201
|
+
warning?: {
|
|
7202
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
7203
|
+
code?: string;
|
|
7204
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
7205
|
+
data?: Array<{
|
|
7206
|
+
/** [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). */
|
|
7207
|
+
key?: string;
|
|
7208
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
7209
|
+
value?: string;
|
|
7210
|
+
}>;
|
|
7211
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
7212
|
+
message?: string;
|
|
7213
|
+
};
|
|
7214
|
+
}
|
|
7007
7215
|
interface NetworkInterface {
|
|
7008
7216
|
/** An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. */
|
|
7009
7217
|
accessConfigs?: AccessConfig[];
|
|
@@ -9476,6 +9684,8 @@ declare namespace gapi.client {
|
|
|
9476
9684
|
availabilityDomainCount?: number;
|
|
9477
9685
|
/** Specifies network collocation */
|
|
9478
9686
|
collocation?: string;
|
|
9687
|
+
/** Specifies the shape of the GPU slice, in slice based GPU families eg. A4X. */
|
|
9688
|
+
gpuTopology?: string;
|
|
9479
9689
|
/** Specifies the number of max logical switches. */
|
|
9480
9690
|
maxDistance?: number;
|
|
9481
9691
|
/** Scope specifies the availability domain to which the VMs should be spread. */
|
|
@@ -12382,7 +12592,7 @@ declare namespace gapi.client {
|
|
|
12382
12592
|
selfLinkWithId?: string;
|
|
12383
12593
|
/** Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. */
|
|
12384
12594
|
serverTlsPolicy?: string;
|
|
12385
|
-
/** URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates
|
|
12595
|
+
/** URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API namespace. Using Certificate Manager Certificates in this field is not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates or up to 100 Certificate Manager Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. */
|
|
12386
12596
|
sslCertificates?: string[];
|
|
12387
12597
|
/** URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured. */
|
|
12388
12598
|
sslPolicy?: string;
|
|
@@ -13236,7 +13446,7 @@ declare namespace gapi.client {
|
|
|
13236
13446
|
/** [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. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results. */
|
|
13237
13447
|
nextPageToken?: string;
|
|
13238
13448
|
/** [Output Only] Informational warning messages for failures encountered from scopes. */
|
|
13239
|
-
|
|
13449
|
+
scopedWarnings?: SubnetworksScopedWarning[];
|
|
13240
13450
|
/** [Output Only] Server-defined URL for this resource. */
|
|
13241
13451
|
selfLink?: string;
|
|
13242
13452
|
/** [Output Only] Unreachable resources. */
|
|
@@ -14322,6 +14532,74 @@ declare namespace gapi.client {
|
|
|
14322
14532
|
body: TestPermissionsRequest
|
|
14323
14533
|
): Request<TestPermissionsResponse>;
|
|
14324
14534
|
}
|
|
14535
|
+
interface AdviceResource {
|
|
14536
|
+
/** Advise how, where and when to create the requested amount of instances with specified accelerators, within the specified time and location limits. The method recommends creating future reservations for the requested resources. */
|
|
14537
|
+
calendarMode(request: {
|
|
14538
|
+
/** V1 error format. */
|
|
14539
|
+
'$.xgafv'?: string;
|
|
14540
|
+
/** OAuth access token. */
|
|
14541
|
+
access_token?: string;
|
|
14542
|
+
/** Data format for response. */
|
|
14543
|
+
alt?: string;
|
|
14544
|
+
/** JSONP */
|
|
14545
|
+
callback?: string;
|
|
14546
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14547
|
+
fields?: string;
|
|
14548
|
+
/** 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. */
|
|
14549
|
+
key?: string;
|
|
14550
|
+
/** OAuth 2.0 token for the current user. */
|
|
14551
|
+
oauth_token?: string;
|
|
14552
|
+
/** Returns response with indentations and line breaks. */
|
|
14553
|
+
prettyPrint?: boolean;
|
|
14554
|
+
/** Project ID for this request. */
|
|
14555
|
+
project: string;
|
|
14556
|
+
/** 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. */
|
|
14557
|
+
quotaUser?: string;
|
|
14558
|
+
/** Name of the region for this request. */
|
|
14559
|
+
region: string;
|
|
14560
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14561
|
+
upload_protocol?: string;
|
|
14562
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14563
|
+
uploadType?: string;
|
|
14564
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
14565
|
+
userIp?: string;
|
|
14566
|
+
/** Request body */
|
|
14567
|
+
resource: CalendarModeAdviceRequest;
|
|
14568
|
+
}): Request<CalendarModeAdviceResponse>;
|
|
14569
|
+
calendarMode(
|
|
14570
|
+
request: {
|
|
14571
|
+
/** V1 error format. */
|
|
14572
|
+
'$.xgafv'?: string;
|
|
14573
|
+
/** OAuth access token. */
|
|
14574
|
+
access_token?: string;
|
|
14575
|
+
/** Data format for response. */
|
|
14576
|
+
alt?: string;
|
|
14577
|
+
/** JSONP */
|
|
14578
|
+
callback?: string;
|
|
14579
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14580
|
+
fields?: string;
|
|
14581
|
+
/** 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. */
|
|
14582
|
+
key?: string;
|
|
14583
|
+
/** OAuth 2.0 token for the current user. */
|
|
14584
|
+
oauth_token?: string;
|
|
14585
|
+
/** Returns response with indentations and line breaks. */
|
|
14586
|
+
prettyPrint?: boolean;
|
|
14587
|
+
/** Project ID for this request. */
|
|
14588
|
+
project: string;
|
|
14589
|
+
/** 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. */
|
|
14590
|
+
quotaUser?: string;
|
|
14591
|
+
/** Name of the region for this request. */
|
|
14592
|
+
region: string;
|
|
14593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14594
|
+
upload_protocol?: string;
|
|
14595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14596
|
+
uploadType?: string;
|
|
14597
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
14598
|
+
userIp?: string;
|
|
14599
|
+
},
|
|
14600
|
+
body: CalendarModeAdviceRequest
|
|
14601
|
+
): Request<CalendarModeAdviceResponse>;
|
|
14602
|
+
}
|
|
14325
14603
|
interface AutoscalersResource {
|
|
14326
14604
|
/** Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
|
|
14327
14605
|
aggregatedList(request?: {
|
|
@@ -30194,6 +30472,37 @@ declare namespace gapi.client {
|
|
|
30194
30472
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
30195
30473
|
userIp?: string;
|
|
30196
30474
|
}): Request<Policy>;
|
|
30475
|
+
/** Returns the InterconnectAttachmentStatuses for the specified InterconnectAttachmentGroup resource. */
|
|
30476
|
+
getOperationalStatus(request?: {
|
|
30477
|
+
/** V1 error format. */
|
|
30478
|
+
'$.xgafv'?: string;
|
|
30479
|
+
/** OAuth access token. */
|
|
30480
|
+
access_token?: string;
|
|
30481
|
+
/** Data format for response. */
|
|
30482
|
+
alt?: string;
|
|
30483
|
+
/** JSONP */
|
|
30484
|
+
callback?: string;
|
|
30485
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30486
|
+
fields?: string;
|
|
30487
|
+
/** Name of the interconnectAttachmentGroup resource to query. */
|
|
30488
|
+
interconnectAttachmentGroup: string;
|
|
30489
|
+
/** 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. */
|
|
30490
|
+
key?: string;
|
|
30491
|
+
/** OAuth 2.0 token for the current user. */
|
|
30492
|
+
oauth_token?: string;
|
|
30493
|
+
/** Returns response with indentations and line breaks. */
|
|
30494
|
+
prettyPrint?: boolean;
|
|
30495
|
+
/** Project ID for this request. */
|
|
30496
|
+
project: string;
|
|
30497
|
+
/** 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. */
|
|
30498
|
+
quotaUser?: string;
|
|
30499
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30500
|
+
upload_protocol?: string;
|
|
30501
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30502
|
+
uploadType?: string;
|
|
30503
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
30504
|
+
userIp?: string;
|
|
30505
|
+
}): Request<InterconnectAttachmentGroupsGetOperationalStatusResponse>;
|
|
30197
30506
|
/** Creates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request. */
|
|
30198
30507
|
insert(request: {
|
|
30199
30508
|
/** V1 error format. */
|
|
@@ -30987,6 +31296,37 @@ declare namespace gapi.client {
|
|
|
30987
31296
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
30988
31297
|
userIp?: string;
|
|
30989
31298
|
}): Request<Policy>;
|
|
31299
|
+
/** Returns the interconnectStatuses for the specified InterconnectGroup. */
|
|
31300
|
+
getOperationalStatus(request?: {
|
|
31301
|
+
/** V1 error format. */
|
|
31302
|
+
'$.xgafv'?: string;
|
|
31303
|
+
/** OAuth access token. */
|
|
31304
|
+
access_token?: string;
|
|
31305
|
+
/** Data format for response. */
|
|
31306
|
+
alt?: string;
|
|
31307
|
+
/** JSONP */
|
|
31308
|
+
callback?: string;
|
|
31309
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31310
|
+
fields?: string;
|
|
31311
|
+
/** Name of the interconnectGroup resource to query. */
|
|
31312
|
+
interconnectGroup: string;
|
|
31313
|
+
/** 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. */
|
|
31314
|
+
key?: string;
|
|
31315
|
+
/** OAuth 2.0 token for the current user. */
|
|
31316
|
+
oauth_token?: string;
|
|
31317
|
+
/** Returns response with indentations and line breaks. */
|
|
31318
|
+
prettyPrint?: boolean;
|
|
31319
|
+
/** Project ID for this request. */
|
|
31320
|
+
project: string;
|
|
31321
|
+
/** 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. */
|
|
31322
|
+
quotaUser?: string;
|
|
31323
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31324
|
+
upload_protocol?: string;
|
|
31325
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31326
|
+
uploadType?: string;
|
|
31327
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
31328
|
+
userIp?: string;
|
|
31329
|
+
}): Request<InterconnectGroupsGetOperationalStatusResponse>;
|
|
30990
31330
|
/** Creates a InterconnectGroup in the specified project in the given scope using the parameters that are included in the request. */
|
|
30991
31331
|
insert(request: {
|
|
30992
31332
|
/** V1 error format. */
|
|
@@ -34165,6 +34505,49 @@ declare namespace gapi.client {
|
|
|
34165
34505
|
},
|
|
34166
34506
|
body: FirewallPolicyRule
|
|
34167
34507
|
): Request<Operation>;
|
|
34508
|
+
/** Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
|
|
34509
|
+
aggregatedList(request?: {
|
|
34510
|
+
/** V1 error format. */
|
|
34511
|
+
'$.xgafv'?: string;
|
|
34512
|
+
/** OAuth access token. */
|
|
34513
|
+
access_token?: string;
|
|
34514
|
+
/** Data format for response. */
|
|
34515
|
+
alt?: string;
|
|
34516
|
+
/** JSONP */
|
|
34517
|
+
callback?: string;
|
|
34518
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34519
|
+
fields?: string;
|
|
34520
|
+
/** 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. */
|
|
34521
|
+
filter?: string;
|
|
34522
|
+
/** Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. */
|
|
34523
|
+
includeAllScopes?: boolean;
|
|
34524
|
+
/** 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. */
|
|
34525
|
+
key?: string;
|
|
34526
|
+
/** 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`) */
|
|
34527
|
+
maxResults?: number;
|
|
34528
|
+
/** OAuth 2.0 token for the current user. */
|
|
34529
|
+
oauth_token?: string;
|
|
34530
|
+
/** 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. */
|
|
34531
|
+
orderBy?: string;
|
|
34532
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
34533
|
+
pageToken?: string;
|
|
34534
|
+
/** Returns response with indentations and line breaks. */
|
|
34535
|
+
prettyPrint?: boolean;
|
|
34536
|
+
/** Project ID for this request. */
|
|
34537
|
+
project: string;
|
|
34538
|
+
/** 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. */
|
|
34539
|
+
quotaUser?: string;
|
|
34540
|
+
/** 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. */
|
|
34541
|
+
returnPartialSuccess?: boolean;
|
|
34542
|
+
/** The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. */
|
|
34543
|
+
serviceProjectNumber?: string;
|
|
34544
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34545
|
+
upload_protocol?: string;
|
|
34546
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34547
|
+
uploadType?: string;
|
|
34548
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
34549
|
+
userIp?: string;
|
|
34550
|
+
}): Request<NetworkFirewallPolicyAggregatedList>;
|
|
34168
34551
|
/** Copies rules to the specified firewall policy. */
|
|
34169
34552
|
cloneRules(request?: {
|
|
34170
34553
|
/** V1 error format. */
|
|
@@ -62366,6 +62749,8 @@ declare namespace gapi.client {
|
|
|
62366
62749
|
|
|
62367
62750
|
const addresses: AddressesResource;
|
|
62368
62751
|
|
|
62752
|
+
const advice: AdviceResource;
|
|
62753
|
+
|
|
62369
62754
|
const autoscalers: AutoscalersResource;
|
|
62370
62755
|
|
|
62371
62756
|
const backendBuckets: BackendBucketsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -140,6 +140,11 @@ Returns permissions that a caller has on the specified resource.
|
|
|
140
140
|
*/
|
|
141
141
|
await gapi.client.compute.addresses.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
142
142
|
|
|
143
|
+
/*
|
|
144
|
+
Advise how, where and when to create the requested amount of instances with specified accelerators, within the specified time and location limits. The method recommends creating future reservations for the requested resources.
|
|
145
|
+
*/
|
|
146
|
+
await gapi.client.compute.advice.calendarMode({ project: "project", region: "region", });
|
|
147
|
+
|
|
143
148
|
/*
|
|
144
149
|
Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
|
145
150
|
*/
|
|
@@ -1725,6 +1730,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
|
|
|
1725
1730
|
*/
|
|
1726
1731
|
await gapi.client.compute.interconnectAttachmentGroups.getIamPolicy({ project: "project", resource: "resource", });
|
|
1727
1732
|
|
|
1733
|
+
/*
|
|
1734
|
+
Returns the InterconnectAttachmentStatuses for the specified InterconnectAttachmentGroup resource.
|
|
1735
|
+
*/
|
|
1736
|
+
await gapi.client.compute.interconnectAttachmentGroups.getOperationalStatus({ interconnectAttachmentGroup: "interconnectAttachmentGroup", project: "project", });
|
|
1737
|
+
|
|
1728
1738
|
/*
|
|
1729
1739
|
Creates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request.
|
|
1730
1740
|
*/
|
|
@@ -1815,6 +1825,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
|
|
|
1815
1825
|
*/
|
|
1816
1826
|
await gapi.client.compute.interconnectGroups.getIamPolicy({ project: "project", resource: "resource", });
|
|
1817
1827
|
|
|
1828
|
+
/*
|
|
1829
|
+
Returns the interconnectStatuses for the specified InterconnectGroup.
|
|
1830
|
+
*/
|
|
1831
|
+
await gapi.client.compute.interconnectGroups.getOperationalStatus({ interconnectGroup: "interconnectGroup", project: "project", });
|
|
1832
|
+
|
|
1818
1833
|
/*
|
|
1819
1834
|
Creates a InterconnectGroup in the specified project in the given scope using the parameters that are included in the request.
|
|
1820
1835
|
*/
|
|
@@ -2165,6 +2180,11 @@ Inserts a rule into a firewall policy.
|
|
|
2165
2180
|
*/
|
|
2166
2181
|
await gapi.client.compute.networkFirewallPolicies.addRule({ firewallPolicy: "firewallPolicy", project: "project", });
|
|
2167
2182
|
|
|
2183
|
+
/*
|
|
2184
|
+
Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
|
2185
|
+
*/
|
|
2186
|
+
await gapi.client.compute.networkFirewallPolicies.aggregatedList({ project: "project", });
|
|
2187
|
+
|
|
2168
2188
|
/*
|
|
2169
2189
|
Copies rules to the specified firewall policy.
|
|
2170
2190
|
*/
|