@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20250312 → 0.0.20250409

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +34 -14
  2. 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://networkmanagement.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250312
12
+ // Revision: 20250409
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -116,13 +116,13 @@ declare namespace gapi.client {
116
116
  uri?: string;
117
117
  }
118
118
  interface ConnectivityTest {
119
- /** Whether the test should skip firewall checking. If not provided, we assume false. */
119
+ /** Whether the analysis should skip firewall checking. Default value is false. */
120
120
  bypassFirewallChecks?: boolean;
121
121
  /** Output only. The time the test was created. */
122
122
  createTime?: string;
123
123
  /** The user-supplied description of the Connectivity Test. Maximum of 512 characters. */
124
124
  description?: string;
125
- /** Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test. */
125
+ /** Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, URI of a supported endpoint, project ID, or VPC network to identify the destination location. Reachability analysis proceeds even if the destination location is ambiguous. However, the test result might include endpoints or use a destination that you don't intend to test. */
126
126
  destination?: Endpoint;
127
127
  /** Output only. The display name of a Connectivity Test. */
128
128
  displayName?: string;
@@ -142,7 +142,7 @@ declare namespace gapi.client {
142
142
  returnReachabilityDetails?: ReachabilityDetails;
143
143
  /** Whether run analysis for the return path from destination to source. Default value is false. */
144
144
  roundTrip?: boolean;
145
- /** Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test. */
145
+ /** Required. Source specification of the Connectivity Test. You can use a combination of source IP address, URI of a supported endpoint, project ID, or VPC network to identify the source location. Reachability analysis might proceed even if the source location is ambiguous. However, the test result might include endpoints or use a source that you don't intend to test. */
146
146
  source?: Endpoint;
147
147
  /** Output only. The time the test's configuration was updated. */
148
148
  updateTime?: string;
@@ -189,15 +189,15 @@ declare namespace gapi.client {
189
189
  }
190
190
  interface Empty {}
191
191
  interface Endpoint {
192
- /** An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). */
192
+ /** An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint. */
193
193
  appEngineVersion?: AppEngineVersionEndpoint;
194
- /** A [Cloud Function](https://cloud.google.com/functions). */
194
+ /** A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint. */
195
195
  cloudFunction?: CloudFunctionEndpoint;
196
- /** A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) */
196
+ /** A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint. */
197
197
  cloudRunRevision?: CloudRunRevisionEndpoint;
198
198
  /** A [Cloud SQL](https://cloud.google.com/sql) instance URI. */
199
199
  cloudSqlInstance?: string;
200
- /** A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id} */
200
+ /** A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id} */
201
201
  forwardingRule?: string;
202
202
  /** Output only. Specifies the type of the target of the forwarding rule. */
203
203
  forwardingRuleTarget?: string;
@@ -213,17 +213,17 @@ declare namespace gapi.client {
213
213
  loadBalancerId?: string;
214
214
  /** Output only. Type of the load balancer the forwarding rule points to. */
215
215
  loadBalancerType?: string;
216
- /** A Compute Engine network URI. */
216
+ /** A VPC network URI. */
217
217
  network?: string;
218
218
  /** Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. */
219
219
  networkType?: string;
220
220
  /** The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP. */
221
221
  port?: number;
222
- /** Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project. */
222
+ /** Project ID where the endpoint is located. The project ID can be derived from the URI if you provide a endpoint or network URI. The following are two cases where you may need to provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project. */
223
223
  projectId?: string;
224
- /** A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. */
224
+ /** A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint. */
225
225
  redisCluster?: string;
226
- /** A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. */
226
+ /** A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint. */
227
227
  redisInstance?: string;
228
228
  }
229
229
  interface EndpointInfo {
@@ -525,12 +525,16 @@ declare namespace gapi.client {
525
525
  interface ProbingDetails {
526
526
  /** The reason probing was aborted. */
527
527
  abortCause?: string;
528
- /** The EdgeLocation from which a packet destined for/originating from the internet will egress/ingress the Google network. This will only be populated for a connectivity test which has an internet destination/source address. The absence of this field *must not* be used as an indication that the destination/source is part of the Google network. */
528
+ /** The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network. */
529
529
  destinationEgressLocation?: EdgeLocation;
530
+ /** Probing results for all edge devices. */
531
+ edgeResponses?: SingleEdgeResponse[];
530
532
  /** The source and destination endpoints derived from the test input and used for active probing. */
531
533
  endpointInfo?: EndpointInfo;
532
534
  /** Details about an internal failure or the cancellation of active probing. */
533
535
  error?: Status;
536
+ /** Whether all relevant edge devices were probed. */
537
+ probedAllDevices?: boolean;
534
538
  /** Latency as measured by active probing in one direction: from the source to the destination endpoint. */
535
539
  probingLatency?: LatencyDistribution;
536
540
  /** The overall result of active probing. */
@@ -669,6 +673,20 @@ declare namespace gapi.client {
669
673
  /** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
670
674
  updateMask?: string;
671
675
  }
676
+ interface SingleEdgeResponse {
677
+ /** The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network. */
678
+ destinationEgressLocation?: EdgeLocation;
679
+ /** Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01. */
680
+ destinationRouter?: string;
681
+ /** Latency as measured by active probing in one direction: from the source to the destination endpoint. */
682
+ probingLatency?: LatencyDistribution;
683
+ /** The overall result of active probing for this egress device. */
684
+ result?: string;
685
+ /** Number of probes sent. */
686
+ sentProbeCount?: number;
687
+ /** Number of probes that reached the destination. */
688
+ successfulProbeCount?: number;
689
+ }
672
690
  interface Status {
673
691
  /** The status code, which should be an enum value of google.rpc.Code. */
674
692
  code?: number;
@@ -794,7 +812,7 @@ declare namespace gapi.client {
794
812
  metadataFields?: string[];
795
813
  /** Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */
796
814
  name?: string;
797
- /** Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. */
815
+ /** Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config. */
798
816
  state?: string;
799
817
  /** Output only. A diagnostic bit - describes the state of the configured target resource for diagnostic purposes. */
800
818
  targetResourceState?: string;
@@ -1603,6 +1621,8 @@ declare namespace gapi.client {
1603
1621
  alt?: string;
1604
1622
  /** JSONP */
1605
1623
  callback?: string;
1624
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
1625
+ extraLocationTypes?: string | string[];
1606
1626
  /** Selector specifying which fields to include in a partial response. */
1607
1627
  fields?: string;
1608
1628
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networkmanagement-v1",
3
- "version": "0.0.20250312",
3
+ "version": "0.0.20250409",
4
4
  "description": "TypeScript typings for Network Management API v1",
5
5
  "repository": {
6
6
  "type": "git",