@maxim_mazurok/gapi.client.compute-alpha 0.0.20241231 → 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 +48 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250107
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3926,7 +3926,7 @@ declare namespace gapi.client {
|
|
|
3926
3926
|
kind?: string;
|
|
3927
3927
|
/** The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. */
|
|
3928
3928
|
name?: string;
|
|
3929
|
-
/** 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. */
|
|
3930
3930
|
namedPorts?: NamedPort[];
|
|
3931
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). */
|
|
3932
3932
|
network?: string;
|
|
@@ -5323,6 +5323,8 @@ declare namespace gapi.client {
|
|
|
5323
5323
|
ipsecInternalAddresses?: string[];
|
|
5324
5324
|
/** [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments. */
|
|
5325
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;
|
|
5326
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. */
|
|
5327
5329
|
labelFingerprint?: string;
|
|
5328
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. */
|
|
@@ -5515,6 +5517,38 @@ declare namespace gapi.client {
|
|
|
5515
5517
|
/** Summarizes the status of the group. */
|
|
5516
5518
|
groupStatus?: string;
|
|
5517
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
|
+
}
|
|
5518
5552
|
interface InterconnectAttachmentList {
|
|
5519
5553
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
5520
5554
|
id?: string;
|
|
@@ -6914,13 +6948,13 @@ declare namespace gapi.client {
|
|
|
6914
6948
|
};
|
|
6915
6949
|
}
|
|
6916
6950
|
interface NetworkEndpoint {
|
|
6917
|
-
/**
|
|
6951
|
+
/** Optional metadata defined as annotations on the network endpoint. */
|
|
6918
6952
|
annotations?: {[P in string]: string};
|
|
6919
|
-
/** 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. */
|
|
6920
6954
|
clientDestinationPort?: number;
|
|
6921
6955
|
/** Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */
|
|
6922
6956
|
fqdn?: string;
|
|
6923
|
-
/** 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. */
|
|
6924
6958
|
instance?: string;
|
|
6925
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. */
|
|
6926
6960
|
ipAddress?: string;
|
|
@@ -6932,17 +6966,17 @@ declare namespace gapi.client {
|
|
|
6932
6966
|
zone?: string;
|
|
6933
6967
|
}
|
|
6934
6968
|
interface NetworkEndpointGroup {
|
|
6935
|
-
/** Metadata defined as annotations on the network endpoint group. */
|
|
6969
|
+
/** Optional. Metadata defined as annotations on the network endpoint group. */
|
|
6936
6970
|
annotations?: {[P in string]: string};
|
|
6937
|
-
/** 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. */
|
|
6938
6972
|
appEngine?: NetworkEndpointGroupAppEngine;
|
|
6939
|
-
/** 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. */
|
|
6940
6974
|
cloudFunction?: NetworkEndpointGroupCloudFunction;
|
|
6941
|
-
/** 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. */
|
|
6942
6976
|
cloudRun?: NetworkEndpointGroupCloudRun;
|
|
6943
6977
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
6944
6978
|
creationTimestamp?: string;
|
|
6945
|
-
/** 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. */
|
|
6946
6980
|
defaultPort?: number;
|
|
6947
6981
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
6948
6982
|
description?: string;
|
|
@@ -6958,8 +6992,9 @@ declare namespace gapi.client {
|
|
|
6958
6992
|
network?: string;
|
|
6959
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. */
|
|
6960
6994
|
networkEndpointType?: string;
|
|
6995
|
+
/** Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT. */
|
|
6961
6996
|
pscData?: NetworkEndpointGroupPscData;
|
|
6962
|
-
/** 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. */
|
|
6963
6998
|
pscTargetService?: string;
|
|
6964
6999
|
/** [Output Only] The URL of the region where the network endpoint group is located. */
|
|
6965
7000
|
region?: string;
|
|
@@ -7144,9 +7179,9 @@ declare namespace gapi.client {
|
|
|
7144
7179
|
};
|
|
7145
7180
|
}
|
|
7146
7181
|
interface NetworkEndpointWithHealthStatus {
|
|
7147
|
-
/** [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. */
|
|
7148
7183
|
healths?: HealthStatusForNetworkEndpoint[];
|
|
7149
|
-
/** [Output only] The network endpoint
|
|
7184
|
+
/** [Output only] The network endpoint. */
|
|
7150
7185
|
networkEndpoint?: NetworkEndpoint;
|
|
7151
7186
|
}
|
|
7152
7187
|
interface NetworkFirewallPolicyAggregatedList {
|