@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20240722 → 0.0.20240812

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 +91 -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://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20240722
12
+ // Revision: 20240812
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -578,7 +578,7 @@ declare namespace gapi.client {
578
578
  labels?: {[P in string]: string};
579
579
  /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
580
580
  name?: string;
581
- /** Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup. */
581
+ /** Optional. Reference to a SecurityProfile with the ThreatPrevention configuration. */
582
582
  threatPreventionProfile?: string;
583
583
  /** Output only. Last resource update timestamp. */
584
584
  updateTime?: string;
@@ -2847,6 +2847,35 @@ declare namespace gapi.client {
2847
2847
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2848
2848
  uploadType?: string;
2849
2849
  }): Request<AuthzPolicy>;
2850
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2851
+ getIamPolicy(request?: {
2852
+ /** V1 error format. */
2853
+ '$.xgafv'?: string;
2854
+ /** OAuth access token. */
2855
+ access_token?: string;
2856
+ /** Data format for response. */
2857
+ alt?: string;
2858
+ /** JSONP */
2859
+ callback?: string;
2860
+ /** Selector specifying which fields to include in a partial response. */
2861
+ fields?: string;
2862
+ /** 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. */
2863
+ key?: string;
2864
+ /** OAuth 2.0 token for the current user. */
2865
+ oauth_token?: string;
2866
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
2867
+ 'options.requestedPolicyVersion'?: number;
2868
+ /** Returns response with indentations and line breaks. */
2869
+ prettyPrint?: boolean;
2870
+ /** 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. */
2871
+ quotaUser?: string;
2872
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2873
+ resource: string;
2874
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2875
+ upload_protocol?: string;
2876
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2877
+ uploadType?: string;
2878
+ }): Request<GoogleIamV1Policy>;
2850
2879
  /** Lists AuthzPolicies in a given project and location. */
2851
2880
  list(request?: {
2852
2881
  /** V1 error format. */
@@ -2948,6 +2977,66 @@ declare namespace gapi.client {
2948
2977
  },
2949
2978
  body: AuthzPolicy
2950
2979
  ): Request<Operation>;
2980
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2981
+ setIamPolicy(
2982
+ request: {
2983
+ /** V1 error format. */
2984
+ '$.xgafv'?: string;
2985
+ /** OAuth access token. */
2986
+ access_token?: string;
2987
+ /** Data format for response. */
2988
+ alt?: string;
2989
+ /** JSONP */
2990
+ callback?: string;
2991
+ /** Selector specifying which fields to include in a partial response. */
2992
+ fields?: string;
2993
+ /** 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. */
2994
+ key?: string;
2995
+ /** OAuth 2.0 token for the current user. */
2996
+ oauth_token?: string;
2997
+ /** Returns response with indentations and line breaks. */
2998
+ prettyPrint?: boolean;
2999
+ /** 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. */
3000
+ quotaUser?: string;
3001
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
3002
+ resource: string;
3003
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3004
+ upload_protocol?: string;
3005
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3006
+ uploadType?: string;
3007
+ },
3008
+ body: GoogleIamV1SetIamPolicyRequest
3009
+ ): Request<GoogleIamV1Policy>;
3010
+ /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
3011
+ testIamPermissions(
3012
+ request: {
3013
+ /** V1 error format. */
3014
+ '$.xgafv'?: string;
3015
+ /** OAuth access token. */
3016
+ access_token?: string;
3017
+ /** Data format for response. */
3018
+ alt?: string;
3019
+ /** JSONP */
3020
+ callback?: string;
3021
+ /** Selector specifying which fields to include in a partial response. */
3022
+ fields?: string;
3023
+ /** 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. */
3024
+ key?: string;
3025
+ /** OAuth 2.0 token for the current user. */
3026
+ oauth_token?: string;
3027
+ /** Returns response with indentations and line breaks. */
3028
+ prettyPrint?: boolean;
3029
+ /** 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. */
3030
+ quotaUser?: string;
3031
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
3032
+ resource: string;
3033
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3034
+ upload_protocol?: string;
3035
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3036
+ uploadType?: string;
3037
+ },
3038
+ body: GoogleIamV1TestIamPermissionsRequest
3039
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
2951
3040
  }
2952
3041
  interface ClientTlsPoliciesResource {
2953
3042
  /** Creates a new ClientTlsPolicy in a given project and location. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.0.20240722",
3
+ "version": "0.0.20240812",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",