@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20250528 → 0.0.20250604

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 +223 -2
  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: 20250528
12
+ // Revision: 20250604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -88,6 +88,8 @@ declare namespace gapi.client {
88
88
  versionId?: string;
89
89
  }
90
90
  interface CloudRunRevisionEndpoint {
91
+ /** Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service} */
92
+ serviceUri?: string;
91
93
  /** A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} */
92
94
  uri?: string;
93
95
  }
@@ -347,10 +349,12 @@ declare namespace gapi.client {
347
349
  networkUri?: string;
348
350
  /** URI of the PSC network attachment the NIC is attached to (if relevant). */
349
351
  pscNetworkAttachmentUri?: string;
350
- /** Indicates whether the Compute Engine instance is running. */
352
+ /** Indicates whether the Compute Engine instance is running. Deprecated: use the `status` field instead. */
351
353
  running?: boolean;
352
354
  /** Service account authorized for the instance. */
353
355
  serviceAccount?: string;
356
+ /** The status of the instance. */
357
+ status?: string;
354
358
  /** URI of a Compute Engine instance. */
355
359
  uri?: string;
356
360
  }
@@ -861,6 +865,221 @@ declare namespace gapi.client {
861
865
  /** URI of a VPN tunnel. */
862
866
  uri?: string;
863
867
  }
868
+ interface OperationsResource {
869
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
870
+ cancel(request: {
871
+ /** V1 error format. */
872
+ '$.xgafv'?: string;
873
+ /** OAuth access token. */
874
+ access_token?: string;
875
+ /** Data format for response. */
876
+ alt?: string;
877
+ /** JSONP */
878
+ callback?: string;
879
+ /** Selector specifying which fields to include in a partial response. */
880
+ fields?: string;
881
+ /** 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. */
882
+ key?: string;
883
+ /** The name of the operation resource to be cancelled. */
884
+ name: string;
885
+ /** OAuth 2.0 token for the current user. */
886
+ oauth_token?: string;
887
+ /** Returns response with indentations and line breaks. */
888
+ prettyPrint?: boolean;
889
+ /** 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. */
890
+ quotaUser?: string;
891
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
892
+ upload_protocol?: string;
893
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
894
+ uploadType?: string;
895
+ /** Request body */
896
+ resource: CancelOperationRequest;
897
+ }): Request<{}>;
898
+ cancel(
899
+ request: {
900
+ /** V1 error format. */
901
+ '$.xgafv'?: string;
902
+ /** OAuth access token. */
903
+ access_token?: string;
904
+ /** Data format for response. */
905
+ alt?: string;
906
+ /** JSONP */
907
+ callback?: string;
908
+ /** Selector specifying which fields to include in a partial response. */
909
+ fields?: string;
910
+ /** 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. */
911
+ key?: string;
912
+ /** The name of the operation resource to be cancelled. */
913
+ name: string;
914
+ /** OAuth 2.0 token for the current user. */
915
+ oauth_token?: string;
916
+ /** Returns response with indentations and line breaks. */
917
+ prettyPrint?: boolean;
918
+ /** 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. */
919
+ quotaUser?: string;
920
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
921
+ upload_protocol?: string;
922
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
923
+ uploadType?: string;
924
+ },
925
+ body: CancelOperationRequest,
926
+ ): Request<{}>;
927
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
928
+ delete(request?: {
929
+ /** V1 error format. */
930
+ '$.xgafv'?: string;
931
+ /** OAuth access token. */
932
+ access_token?: string;
933
+ /** Data format for response. */
934
+ alt?: string;
935
+ /** JSONP */
936
+ callback?: string;
937
+ /** Selector specifying which fields to include in a partial response. */
938
+ fields?: string;
939
+ /** 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. */
940
+ key?: string;
941
+ /** The name of the operation resource to be deleted. */
942
+ name: string;
943
+ /** OAuth 2.0 token for the current user. */
944
+ oauth_token?: string;
945
+ /** Returns response with indentations and line breaks. */
946
+ prettyPrint?: boolean;
947
+ /** 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. */
948
+ quotaUser?: string;
949
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
950
+ upload_protocol?: string;
951
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
952
+ uploadType?: string;
953
+ }): Request<{}>;
954
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
955
+ get(request?: {
956
+ /** V1 error format. */
957
+ '$.xgafv'?: string;
958
+ /** OAuth access token. */
959
+ access_token?: string;
960
+ /** Data format for response. */
961
+ alt?: string;
962
+ /** JSONP */
963
+ callback?: string;
964
+ /** Selector specifying which fields to include in a partial response. */
965
+ fields?: string;
966
+ /** 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. */
967
+ key?: string;
968
+ /** The name of the operation resource. */
969
+ name: string;
970
+ /** OAuth 2.0 token for the current user. */
971
+ oauth_token?: string;
972
+ /** Returns response with indentations and line breaks. */
973
+ prettyPrint?: boolean;
974
+ /** 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. */
975
+ quotaUser?: string;
976
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
977
+ upload_protocol?: string;
978
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
979
+ uploadType?: string;
980
+ }): Request<Operation>;
981
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
982
+ list(request?: {
983
+ /** V1 error format. */
984
+ '$.xgafv'?: string;
985
+ /** OAuth access token. */
986
+ access_token?: string;
987
+ /** Data format for response. */
988
+ alt?: string;
989
+ /** JSONP */
990
+ callback?: string;
991
+ /** Selector specifying which fields to include in a partial response. */
992
+ fields?: string;
993
+ /** The standard list filter. */
994
+ filter?: string;
995
+ /** 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. */
996
+ key?: string;
997
+ /** The name of the operation's parent resource. */
998
+ name: string;
999
+ /** OAuth 2.0 token for the current user. */
1000
+ oauth_token?: string;
1001
+ /** The standard list page size. */
1002
+ pageSize?: number;
1003
+ /** The standard list page token. */
1004
+ pageToken?: string;
1005
+ /** Returns response with indentations and line breaks. */
1006
+ prettyPrint?: boolean;
1007
+ /** 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. */
1008
+ quotaUser?: string;
1009
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1010
+ upload_protocol?: string;
1011
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1012
+ uploadType?: string;
1013
+ }): Request<ListOperationsResponse>;
1014
+ }
1015
+ interface LocationsResource {
1016
+ /** Gets information about a location. */
1017
+ get(request?: {
1018
+ /** V1 error format. */
1019
+ '$.xgafv'?: string;
1020
+ /** OAuth access token. */
1021
+ access_token?: string;
1022
+ /** Data format for response. */
1023
+ alt?: string;
1024
+ /** JSONP */
1025
+ callback?: string;
1026
+ /** Selector specifying which fields to include in a partial response. */
1027
+ fields?: string;
1028
+ /** 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. */
1029
+ key?: string;
1030
+ /** Resource name for the location. */
1031
+ name: string;
1032
+ /** OAuth 2.0 token for the current user. */
1033
+ oauth_token?: string;
1034
+ /** Returns response with indentations and line breaks. */
1035
+ prettyPrint?: boolean;
1036
+ /** 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. */
1037
+ quotaUser?: string;
1038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1039
+ upload_protocol?: string;
1040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1041
+ uploadType?: string;
1042
+ }): Request<Location>;
1043
+ /** Lists information about the supported locations for this service. */
1044
+ list(request?: {
1045
+ /** V1 error format. */
1046
+ '$.xgafv'?: string;
1047
+ /** OAuth access token. */
1048
+ access_token?: string;
1049
+ /** Data format for response. */
1050
+ alt?: string;
1051
+ /** JSONP */
1052
+ callback?: string;
1053
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
1054
+ extraLocationTypes?: string | string[];
1055
+ /** Selector specifying which fields to include in a partial response. */
1056
+ fields?: string;
1057
+ /** 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). */
1058
+ filter?: string;
1059
+ /** 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. */
1060
+ key?: string;
1061
+ /** The resource that owns the locations collection, if applicable. */
1062
+ name: string;
1063
+ /** OAuth 2.0 token for the current user. */
1064
+ oauth_token?: string;
1065
+ /** The maximum number of results to return. If not set, the service selects a default. */
1066
+ pageSize?: number;
1067
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1068
+ pageToken?: string;
1069
+ /** Returns response with indentations and line breaks. */
1070
+ prettyPrint?: boolean;
1071
+ /** 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. */
1072
+ quotaUser?: string;
1073
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1074
+ upload_protocol?: string;
1075
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1076
+ uploadType?: string;
1077
+ }): Request<ListLocationsResponse>;
1078
+ operations: OperationsResource;
1079
+ }
1080
+ interface OrganizationsResource {
1081
+ locations: LocationsResource;
1082
+ }
864
1083
  interface ConnectivityTestsResource {
865
1084
  /** Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation. */
866
1085
  create(request: {
@@ -1659,6 +1878,8 @@ declare namespace gapi.client {
1659
1878
  locations: LocationsResource;
1660
1879
  }
1661
1880
 
1881
+ const organizations: OrganizationsResource;
1882
+
1662
1883
  const projects: ProjectsResource;
1663
1884
  }
1664
1885
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networkmanagement-v1",
3
- "version": "0.0.20250528",
3
+ "version": "0.0.20250604",
4
4
  "description": "TypeScript typings for Network Management API v1",
5
5
  "repository": {
6
6
  "type": "git",