@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20240828 → 0.0.20240919

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 +23 -15
  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=v1beta1
12
- // Revision: 20240828
12
+ // Revision: 20240919
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -73,15 +73,15 @@ declare namespace gapi.client {
73
73
  updateTime?: string;
74
74
  }
75
75
  interface AuthzPolicy {
76
- /** Required. Can be one of ALLOW, DENY, CUSTOM. When the action is CUSTOM, customProvider must be specified. When the action is ALLOW, only requests matching the policy will be allowed. When the action is DENY, only requests matching the policy will be denied. When a request arrives, the policies are evaluated in the following order: 1. If there is a CUSTOM policy that matches the request, the CUSTOM policy is evaluated using the custom authorization providers and the request is denied if the provider rejects the request. 2. If there are any DENY policies that match the request, the request is denied. 3. If there are no ALLOW policies for the resource or if any of the ALLOW policies match the request, the request is allowed. 4. Else the request is denied by default if none of the configured AuthzPolicies with ALLOW action match the request. */
76
+ /** Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`, `customProvider` must be specified. When the action is `ALLOW`, only requests matching the policy will be allowed. When the action is `DENY`, only requests matching the policy will be denied. When a request arrives, the policies are evaluated in the following order: 1. If there is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the custom authorization providers and the request is denied if the provider rejects the request. 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request, the request is allowed. 4. Else the request is denied by default if none of the configured AuthzPolicies with `ALLOW` action match the request. */
77
77
  action?: string;
78
78
  /** Output only. The timestamp when the resource was created. */
79
79
  createTime?: string;
80
- /** Optional. Required if the action is CUSTOM. Allows delegating authorization decisions to Cloud IAP or to Service Extensions. One of cloudIap or authzExtension must be specified. */
80
+ /** Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified. */
81
81
  customProvider?: AuthzPolicyCustomProvider;
82
82
  /** Optional. A human-readable description of the resource. */
83
83
  description?: string;
84
- /** Optional. A list of authorization HTTP rules to match against the incoming request. A policy match occurs when at least one HTTP rule matches the request or when no HTTP rules are specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. */
84
+ /** Optional. A list of authorization HTTP rules to match against the incoming request. A policy match occurs when at least one HTTP rule matches the request or when no HTTP rules are specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited to 5 rules. */
85
85
  httpRules?: AuthzPolicyAuthzRule[];
86
86
  /** Optional. Set of labels associated with the `AuthzPolicy` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements). */
87
87
  labels?: {[P in string]: string};
@@ -103,13 +103,13 @@ declare namespace gapi.client {
103
103
  interface AuthzPolicyAuthzRuleFrom {
104
104
  /** Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified. */
105
105
  notSources?: AuthzPolicyAuthzRuleFromRequestSource[];
106
- /** Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 10 sources. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match. */
106
+ /** Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 5 sources. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match. */
107
107
  sources?: AuthzPolicyAuthzRuleFromRequestSource[];
108
108
  }
109
109
  interface AuthzPolicyAuthzRuleFromRequestSource {
110
- /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the Forwarding rule or Gateway. Each identity is a string whose value is matched against the URI SAN, or DNS SAN or the subject field in the client's certificate. The match can be exact, prefix, suffix or a substring match. One of exact, prefix, suffix or contains must be specified. Limited to 10 principals. */
110
+ /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the Forwarding rule or Gateway. Each identity is a string whose value is matched against the URI SAN, or DNS SAN or the subject field in the client's certificate. The match can be exact, prefix, suffix or a substring match. One of exact, prefix, suffix or contains must be specified. Limited to 5 principals. */
111
111
  principals?: AuthzPolicyAuthzRuleStringMatch[];
112
- /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 10 resources. */
112
+ /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
113
113
  resources?: AuthzPolicyAuthzRuleRequestResource[];
114
114
  }
115
115
  interface AuthzPolicyAuthzRuleHeaderMatch {
@@ -125,7 +125,7 @@ declare namespace gapi.client {
125
125
  tagValueIdSet?: AuthzPolicyAuthzRuleRequestResourceTagValueIdSet;
126
126
  }
127
127
  interface AuthzPolicyAuthzRuleRequestResourceTagValueIdSet {
128
- /** Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 10 matches. */
128
+ /** Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 matches. */
129
129
  ids?: string[];
130
130
  }
131
131
  interface AuthzPolicyAuthzRuleStringMatch {
@@ -143,21 +143,21 @@ declare namespace gapi.client {
143
143
  interface AuthzPolicyAuthzRuleTo {
144
144
  /** Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified. */
145
145
  notOperations?: AuthzPolicyAuthzRuleToRequestOperation[];
146
- /** Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 10 operations. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. */
146
+ /** Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 5 operations. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. */
147
147
  operations?: AuthzPolicyAuthzRuleToRequestOperation[];
148
148
  }
149
149
  interface AuthzPolicyAuthzRuleToRequestOperation {
150
150
  /** Optional. A list of headers to match against in http header. */
151
151
  headerSet?: AuthzPolicyAuthzRuleToRequestOperationHeaderSet;
152
- /** Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 matches. */
152
+ /** Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
153
153
  hosts?: AuthzPolicyAuthzRuleStringMatch[];
154
154
  /** Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. */
155
155
  methods?: string[];
156
- /** Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 matches. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */
156
+ /** Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */
157
157
  paths?: AuthzPolicyAuthzRuleStringMatch[];
158
158
  }
159
159
  interface AuthzPolicyAuthzRuleToRequestOperationHeaderSet {
160
- /** Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 matches. */
160
+ /** Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
161
161
  headers?: AuthzPolicyAuthzRuleHeaderMatch[];
162
162
  }
163
163
  interface AuthzPolicyCustomProvider {
@@ -172,7 +172,7 @@ declare namespace gapi.client {
172
172
  }
173
173
  interface AuthzPolicyCustomProviderCloudIap {}
174
174
  interface AuthzPolicyTarget {
175
- /** Required. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service). */
175
+ /** Required. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). */
176
176
  loadBalancingScheme?: string;
177
177
  /** Required. A list of references to the Forwarding Rules on which this policy will be applied. */
178
178
  resources?: string[];
@@ -206,6 +206,10 @@ declare namespace gapi.client {
206
206
  /** Required. Source address group to clone items from. */
207
207
  sourceAddressGroup?: string;
208
208
  }
209
+ interface CustomMirroringProfile {
210
+ /** Required. The MirroringEndpointGroup to which traffic associated with the SP should be mirrored. */
211
+ mirroringEndpointGroup?: string;
212
+ }
209
213
  interface Destination {
210
214
  /** Required. List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example "mydomain.*") or a suffix match (example "*.myorg.com") or a presence (any) match "*". */
211
215
  hosts?: string[];
@@ -660,6 +664,8 @@ declare namespace gapi.client {
660
664
  interface SecurityProfile {
661
665
  /** Output only. Resource creation timestamp. */
662
666
  createTime?: string;
667
+ /** The custom Packet Mirroring v2 configuration for the SecurityProfile. */
668
+ customMirroringProfile?: CustomMirroringProfile;
663
669
  /** Optional. An optional description of the profile. Max length 512 characters. */
664
670
  description?: string;
665
671
  /** Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
@@ -678,6 +684,8 @@ declare namespace gapi.client {
678
684
  interface SecurityProfileGroup {
679
685
  /** Output only. Resource creation timestamp. */
680
686
  createTime?: string;
687
+ /** Optional. Reference to a SecurityProfile with the CustomMirroring configuration. */
688
+ customMirroringProfile?: string;
681
689
  /** Optional. An optional description of the profile group. Max length 2048 characters. */
682
690
  description?: string;
683
691
  /** Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
@@ -3043,7 +3051,7 @@ declare namespace gapi.client {
3043
3051
  quotaUser?: string;
3044
3052
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
3045
3053
  requestId?: string;
3046
- /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
3054
+ /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
3047
3055
  updateMask?: string;
3048
3056
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3049
3057
  upload_protocol?: string;
@@ -3076,7 +3084,7 @@ declare namespace gapi.client {
3076
3084
  quotaUser?: string;
3077
3085
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
3078
3086
  requestId?: string;
3079
- /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
3087
+ /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
3080
3088
  updateMask?: string;
3081
3089
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3082
3090
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.0.20240828",
3
+ "version": "0.0.20240919",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",