@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20250608 → 0.0.20250714

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 +13 -5
  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://networksecurity.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250608
12
+ // Revision: 20250714
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -113,8 +113,10 @@ declare namespace gapi.client {
113
113
  sources?: AuthzPolicyAuthzRuleFromRequestSource[];
114
114
  }
115
115
  interface AuthzPolicyAuthzRuleFromRequestSource {
116
- /** Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5 ip_blocks. */
116
+ /** Optional. A list of IP addresses or IP address ranges to match against the source IP address of the request. Limited to 5 ip_blocks. */
117
117
  ipBlocks?: AuthzPolicyAuthzRuleIpBlock[];
118
+ /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the client certificate has been successfully validated by mTLS. Each identity is a string whose value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's certificate. A match happens when any principal matches with the rule. Limited to 5 principals. */
119
+ principals?: AuthzPolicyAuthzRulePrincipal[];
118
120
  /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
119
121
  resources?: AuthzPolicyAuthzRuleRequestResource[];
120
122
  }
@@ -130,6 +132,12 @@ declare namespace gapi.client {
130
132
  /** Required. The address prefix. */
131
133
  prefix?: string;
132
134
  }
135
+ interface AuthzPolicyAuthzRulePrincipal {
136
+ /** Required. A non-empty string whose value is matched against the principal value based on the principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors. */
137
+ principal?: AuthzPolicyAuthzRuleStringMatch;
138
+ /** Optional. An enum to decide what principal value the principal rule will match against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN. */
139
+ principalSelector?: string;
140
+ }
133
141
  interface AuthzPolicyAuthzRuleRequestResource {
134
142
  /** Optional. An IAM service account to match against the source service account of the VM sending the request. */
135
143
  iamServiceAccount?: AuthzPolicyAuthzRuleStringMatch;
@@ -223,7 +231,7 @@ declare namespace gapi.client {
223
231
  description?: string;
224
232
  /** Optional. Set of label tags associated with the resource. */
225
233
  labels?: {[P in string]: string};
226
- /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
234
+ /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
227
235
  name?: string;
228
236
  /** Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate. */
229
237
  serverValidationCa?: ValidationCA[];
@@ -3814,7 +3822,7 @@ declare namespace gapi.client {
3814
3822
  fields?: string;
3815
3823
  /** 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. */
3816
3824
  key?: string;
3817
- /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
3825
+ /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
3818
3826
  name: string;
3819
3827
  /** OAuth 2.0 token for the current user. */
3820
3828
  oauth_token?: string;
@@ -3845,7 +3853,7 @@ declare namespace gapi.client {
3845
3853
  fields?: string;
3846
3854
  /** 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. */
3847
3855
  key?: string;
3848
- /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
3856
+ /** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
3849
3857
  name: string;
3850
3858
  /** OAuth 2.0 token for the current user. */
3851
3859
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20250608",
3
+ "version": "0.0.20250714",
4
4
  "description": "TypeScript typings for Network Security API v1",
5
5
  "repository": {
6
6
  "type": "git",