@maxim_mazurok/gapi.client.networkconnectivity-v1 0.2.20260701 → 0.2.20260720
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 +196 -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://networkconnectivity.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260720
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -382,7 +382,7 @@ declare namespace gapi.client {
|
|
|
382
382
|
domain?: string;
|
|
383
383
|
/** 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. */
|
|
384
384
|
metadata?: {[P in string]: string};
|
|
385
|
-
/** The reason
|
|
385
|
+
/** The reason for 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. */
|
|
386
386
|
reason?: string;
|
|
387
387
|
}
|
|
388
388
|
interface GoogleRpcStatus {
|
|
@@ -682,6 +682,14 @@ declare namespace gapi.client {
|
|
|
682
682
|
/** Locations that could not be reached. */
|
|
683
683
|
unreachable?: string[];
|
|
684
684
|
}
|
|
685
|
+
interface ListPscAuthorizationPoliciesResponse {
|
|
686
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. */
|
|
687
|
+
nextPageToken?: string;
|
|
688
|
+
/** The list of PscAuthorizationPolicies. */
|
|
689
|
+
pscAuthorizationPolicies?: PscAuthorizationPolicy[];
|
|
690
|
+
/** Unordered list. Locations that could not be reached. */
|
|
691
|
+
unreachable?: string[];
|
|
692
|
+
}
|
|
685
693
|
interface ListRegionalEndpointsResponse {
|
|
686
694
|
/** The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result. */
|
|
687
695
|
nextPageToken?: string;
|
|
@@ -915,6 +923,30 @@ declare namespace gapi.client {
|
|
|
915
923
|
/** The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}. */
|
|
916
924
|
serviceAttachmentUri?: string;
|
|
917
925
|
}
|
|
926
|
+
interface PscAuthorizationPolicy {
|
|
927
|
+
/** Required. The authorization mode. */
|
|
928
|
+
authorizationMode?:
|
|
929
|
+
| 'AUTHORIZATION_MODE_UNSPECIFIED'
|
|
930
|
+
| 'AUTHORIZATION_MODE_TRANSITIVE_TO_SERVICE_ATTACHMENT';
|
|
931
|
+
/** Required. List of authorized consumer resources allowed to connect. Supported values are: 1. Project resource name (e.g., `projects/{project_id}`) 2. Wildcard `"*"` (grants global ingress authorization to the target). */
|
|
932
|
+
authorizedClientResources?: string[];
|
|
933
|
+
/** Output only. The time when the PscAuthorizationPolicy was created. */
|
|
934
|
+
createTime?: string;
|
|
935
|
+
/** Optional. A description of this resource. */
|
|
936
|
+
description?: string;
|
|
937
|
+
/** Output only. The etag of the PscAuthorizationPolicy. */
|
|
938
|
+
etag?: string;
|
|
939
|
+
/** Optional. User-defined labels. */
|
|
940
|
+
labels?: {[P in string]: string};
|
|
941
|
+
/** Identifier. The name of the PscAuthorizationPolicy. Format: projects/{project}/locations/{location}/pscAuthorizationPolicies/{psc_authorization_policy} */
|
|
942
|
+
name?: string;
|
|
943
|
+
/** Required. The full absolute URI of the targeted resource governed by this policy. For example, for an AgentRegistry resource, the format is: `//agentregistry.googleapis.com/projects/{project}/locations/{location}` */
|
|
944
|
+
targetResourceUri?: string;
|
|
945
|
+
/** Output only. The unique identifier of the PscAuthorizationPolicy. */
|
|
946
|
+
uid?: string;
|
|
947
|
+
/** Output only. The time when the PscAuthorizationPolicy was updated. */
|
|
948
|
+
updateTime?: string;
|
|
949
|
+
}
|
|
918
950
|
interface PscConfig {
|
|
919
951
|
/** Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of 'projects', 'folders', or 'organizations' and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/' or 'folders/' or 'organizations/' Eg. [projects/my-project-id, projects/567, folders/891, organizations/123] */
|
|
920
952
|
allowedGoogleProducersResourceHierarchyLevel?: string[];
|
|
@@ -3872,6 +3904,167 @@ declare namespace gapi.client {
|
|
|
3872
3904
|
uploadType?: string;
|
|
3873
3905
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
3874
3906
|
}
|
|
3907
|
+
interface PscAuthorizationPoliciesResource {
|
|
3908
|
+
/** Creates a new PscAuthorizationPolicy in a given project and location. */
|
|
3909
|
+
create(request: {
|
|
3910
|
+
/** V1 error format. */
|
|
3911
|
+
'$.xgafv'?: '1' | '2';
|
|
3912
|
+
/** OAuth access token. */
|
|
3913
|
+
access_token?: string;
|
|
3914
|
+
/** Data format for response. */
|
|
3915
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3916
|
+
/** JSONP */
|
|
3917
|
+
callback?: string;
|
|
3918
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3919
|
+
fields?: string;
|
|
3920
|
+
/** 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. */
|
|
3921
|
+
key?: string;
|
|
3922
|
+
/** OAuth 2.0 token for the current user. */
|
|
3923
|
+
oauth_token?: string;
|
|
3924
|
+
/** Required. The parent resource's name of the PscAuthorizationPolicy. */
|
|
3925
|
+
parent: string;
|
|
3926
|
+
/** Returns response with indentations and line breaks. */
|
|
3927
|
+
prettyPrint?: boolean;
|
|
3928
|
+
/** Required. Resource ID of the PscAuthorizationPolicy. */
|
|
3929
|
+
pscAuthorizationPolicyId?: string;
|
|
3930
|
+
/** 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. */
|
|
3931
|
+
quotaUser?: string;
|
|
3932
|
+
/** Optional. An optional request ID to identify requests. */
|
|
3933
|
+
requestId?: string;
|
|
3934
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3935
|
+
upload_protocol?: string;
|
|
3936
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3937
|
+
uploadType?: string;
|
|
3938
|
+
/** Request body */
|
|
3939
|
+
resource: PscAuthorizationPolicy;
|
|
3940
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3941
|
+
create(
|
|
3942
|
+
request: {
|
|
3943
|
+
/** V1 error format. */
|
|
3944
|
+
'$.xgafv'?: '1' | '2';
|
|
3945
|
+
/** OAuth access token. */
|
|
3946
|
+
access_token?: string;
|
|
3947
|
+
/** Data format for response. */
|
|
3948
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3949
|
+
/** JSONP */
|
|
3950
|
+
callback?: string;
|
|
3951
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3952
|
+
fields?: string;
|
|
3953
|
+
/** 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. */
|
|
3954
|
+
key?: string;
|
|
3955
|
+
/** OAuth 2.0 token for the current user. */
|
|
3956
|
+
oauth_token?: string;
|
|
3957
|
+
/** Required. The parent resource's name of the PscAuthorizationPolicy. */
|
|
3958
|
+
parent: string;
|
|
3959
|
+
/** Returns response with indentations and line breaks. */
|
|
3960
|
+
prettyPrint?: boolean;
|
|
3961
|
+
/** Required. Resource ID of the PscAuthorizationPolicy. */
|
|
3962
|
+
pscAuthorizationPolicyId?: string;
|
|
3963
|
+
/** 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. */
|
|
3964
|
+
quotaUser?: string;
|
|
3965
|
+
/** Optional. An optional request ID to identify requests. */
|
|
3966
|
+
requestId?: string;
|
|
3967
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3968
|
+
upload_protocol?: string;
|
|
3969
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3970
|
+
uploadType?: string;
|
|
3971
|
+
},
|
|
3972
|
+
body: PscAuthorizationPolicy,
|
|
3973
|
+
): Request<GoogleLongrunningOperation>;
|
|
3974
|
+
/** Deletes a single PscAuthorizationPolicy. */
|
|
3975
|
+
delete(request?: {
|
|
3976
|
+
/** V1 error format. */
|
|
3977
|
+
'$.xgafv'?: '1' | '2';
|
|
3978
|
+
/** OAuth access token. */
|
|
3979
|
+
access_token?: string;
|
|
3980
|
+
/** Data format for response. */
|
|
3981
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3982
|
+
/** JSONP */
|
|
3983
|
+
callback?: string;
|
|
3984
|
+
/** Optional. The etag of the PscAuthorizationPolicy to delete. */
|
|
3985
|
+
etag?: string;
|
|
3986
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3987
|
+
fields?: string;
|
|
3988
|
+
/** 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. */
|
|
3989
|
+
key?: string;
|
|
3990
|
+
/** Required. The name of the PscAuthorizationPolicy to delete. */
|
|
3991
|
+
name: string;
|
|
3992
|
+
/** OAuth 2.0 token for the current user. */
|
|
3993
|
+
oauth_token?: string;
|
|
3994
|
+
/** Returns response with indentations and line breaks. */
|
|
3995
|
+
prettyPrint?: boolean;
|
|
3996
|
+
/** 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. */
|
|
3997
|
+
quotaUser?: string;
|
|
3998
|
+
/** Optional. An optional request ID to identify requests. */
|
|
3999
|
+
requestId?: string;
|
|
4000
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4001
|
+
upload_protocol?: string;
|
|
4002
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4003
|
+
uploadType?: string;
|
|
4004
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4005
|
+
/** Gets details of a single PscAuthorizationPolicy. */
|
|
4006
|
+
get(request?: {
|
|
4007
|
+
/** V1 error format. */
|
|
4008
|
+
'$.xgafv'?: '1' | '2';
|
|
4009
|
+
/** OAuth access token. */
|
|
4010
|
+
access_token?: string;
|
|
4011
|
+
/** Data format for response. */
|
|
4012
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4013
|
+
/** JSONP */
|
|
4014
|
+
callback?: string;
|
|
4015
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4016
|
+
fields?: string;
|
|
4017
|
+
/** 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. */
|
|
4018
|
+
key?: string;
|
|
4019
|
+
/** Required. Name of the PscAuthorizationPolicy to get. */
|
|
4020
|
+
name: string;
|
|
4021
|
+
/** OAuth 2.0 token for the current user. */
|
|
4022
|
+
oauth_token?: string;
|
|
4023
|
+
/** Returns response with indentations and line breaks. */
|
|
4024
|
+
prettyPrint?: boolean;
|
|
4025
|
+
/** 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. */
|
|
4026
|
+
quotaUser?: string;
|
|
4027
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4028
|
+
upload_protocol?: string;
|
|
4029
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4030
|
+
uploadType?: string;
|
|
4031
|
+
}): Request<PscAuthorizationPolicy>;
|
|
4032
|
+
/** Lists PscAuthorizationPolicies in a given project and location. */
|
|
4033
|
+
list(request?: {
|
|
4034
|
+
/** V1 error format. */
|
|
4035
|
+
'$.xgafv'?: '1' | '2';
|
|
4036
|
+
/** OAuth access token. */
|
|
4037
|
+
access_token?: string;
|
|
4038
|
+
/** Data format for response. */
|
|
4039
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4040
|
+
/** JSONP */
|
|
4041
|
+
callback?: string;
|
|
4042
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4043
|
+
fields?: string;
|
|
4044
|
+
/** Optional. Filter expression to restrict the results. */
|
|
4045
|
+
filter?: string;
|
|
4046
|
+
/** 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. */
|
|
4047
|
+
key?: string;
|
|
4048
|
+
/** OAuth 2.0 token for the current user. */
|
|
4049
|
+
oauth_token?: string;
|
|
4050
|
+
/** Optional. Sort order of the results. */
|
|
4051
|
+
orderBy?: string;
|
|
4052
|
+
/** Optional. The maximum number of PscAuthorizationPolicies to return in a single page. The service may return fewer than this value. If unspecified, at most 50 PscAuthorizationPolicies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
4053
|
+
pageSize?: number;
|
|
4054
|
+
/** Optional. A page token, received from a previous `ListPscAuthorizationPolicies` call. */
|
|
4055
|
+
pageToken?: string;
|
|
4056
|
+
/** Required. The parent resource's name. */
|
|
4057
|
+
parent: string;
|
|
4058
|
+
/** Returns response with indentations and line breaks. */
|
|
4059
|
+
prettyPrint?: boolean;
|
|
4060
|
+
/** 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. */
|
|
4061
|
+
quotaUser?: string;
|
|
4062
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4063
|
+
upload_protocol?: string;
|
|
4064
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4065
|
+
uploadType?: string;
|
|
4066
|
+
}): Request<ListPscAuthorizationPoliciesResponse>;
|
|
4067
|
+
}
|
|
3875
4068
|
interface RegionalEndpointsResource {
|
|
3876
4069
|
/** Creates a new RegionalEndpoint in a given project and location. */
|
|
3877
4070
|
create(request: {
|
|
@@ -5789,6 +5982,7 @@ declare namespace gapi.client {
|
|
|
5789
5982
|
multicloudDataTransferConfigs: MulticloudDataTransferConfigsResource;
|
|
5790
5983
|
multicloudDataTransferSupportedServices: MulticloudDataTransferSupportedServicesResource;
|
|
5791
5984
|
operations: OperationsResource;
|
|
5985
|
+
pscAuthorizationPolicies: PscAuthorizationPoliciesResource;
|
|
5792
5986
|
regionalEndpoints: RegionalEndpointsResource;
|
|
5793
5987
|
remoteTransportProfiles: RemoteTransportProfilesResource;
|
|
5794
5988
|
serviceClasses: ServiceClassesResource;
|