@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20240722 → 0.0.20240803

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 +96 -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=v1
12
- // Revision: 20240722
12
+ // Revision: 20240803
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -47,6 +47,8 @@ declare namespace gapi.client {
47
47
  labels?: {[P in string]: string};
48
48
  /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
49
49
  name?: string;
50
+ /** Optional. List of supported purposes of the Address Group. */
51
+ purpose?: string[];
50
52
  /** Output only. Server-defined fully-qualified URL for this resource. */
51
53
  selfLink?: string;
52
54
  /** Required. The type of the Address Group. Possible values are "IPv4" or "IPV6". */
@@ -463,7 +465,7 @@ declare namespace gapi.client {
463
465
  labels?: {[P in string]: string};
464
466
  /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
465
467
  name?: string;
466
- /** Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup. */
468
+ /** Optional. Reference to a SecurityProfile with the ThreatPrevention configuration. */
467
469
  threatPreventionProfile?: string;
468
470
  /** Output only. Last resource update timestamp. */
469
471
  updateTime?: string;
@@ -2609,6 +2611,97 @@ declare namespace gapi.client {
2609
2611
  body: GoogleIamV1TestIamPermissionsRequest
2610
2612
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
2611
2613
  }
2614
+ interface AuthzPoliciesResource {
2615
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2616
+ getIamPolicy(request?: {
2617
+ /** V1 error format. */
2618
+ '$.xgafv'?: string;
2619
+ /** OAuth access token. */
2620
+ access_token?: string;
2621
+ /** Data format for response. */
2622
+ alt?: string;
2623
+ /** JSONP */
2624
+ callback?: string;
2625
+ /** Selector specifying which fields to include in a partial response. */
2626
+ fields?: string;
2627
+ /** 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. */
2628
+ key?: string;
2629
+ /** OAuth 2.0 token for the current user. */
2630
+ oauth_token?: string;
2631
+ /** 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). */
2632
+ 'options.requestedPolicyVersion'?: number;
2633
+ /** Returns response with indentations and line breaks. */
2634
+ prettyPrint?: boolean;
2635
+ /** 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. */
2636
+ quotaUser?: string;
2637
+ /** 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. */
2638
+ resource: string;
2639
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2640
+ upload_protocol?: string;
2641
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2642
+ uploadType?: string;
2643
+ }): Request<GoogleIamV1Policy>;
2644
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2645
+ setIamPolicy(
2646
+ request: {
2647
+ /** V1 error format. */
2648
+ '$.xgafv'?: string;
2649
+ /** OAuth access token. */
2650
+ access_token?: string;
2651
+ /** Data format for response. */
2652
+ alt?: string;
2653
+ /** JSONP */
2654
+ callback?: string;
2655
+ /** Selector specifying which fields to include in a partial response. */
2656
+ fields?: string;
2657
+ /** 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. */
2658
+ key?: string;
2659
+ /** OAuth 2.0 token for the current user. */
2660
+ oauth_token?: string;
2661
+ /** Returns response with indentations and line breaks. */
2662
+ prettyPrint?: boolean;
2663
+ /** 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. */
2664
+ quotaUser?: string;
2665
+ /** 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. */
2666
+ resource: string;
2667
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2668
+ upload_protocol?: string;
2669
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2670
+ uploadType?: string;
2671
+ },
2672
+ body: GoogleIamV1SetIamPolicyRequest
2673
+ ): Request<GoogleIamV1Policy>;
2674
+ /** 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. */
2675
+ testIamPermissions(
2676
+ request: {
2677
+ /** V1 error format. */
2678
+ '$.xgafv'?: string;
2679
+ /** OAuth access token. */
2680
+ access_token?: string;
2681
+ /** Data format for response. */
2682
+ alt?: string;
2683
+ /** JSONP */
2684
+ callback?: string;
2685
+ /** Selector specifying which fields to include in a partial response. */
2686
+ fields?: string;
2687
+ /** 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. */
2688
+ key?: string;
2689
+ /** OAuth 2.0 token for the current user. */
2690
+ oauth_token?: string;
2691
+ /** Returns response with indentations and line breaks. */
2692
+ prettyPrint?: boolean;
2693
+ /** 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. */
2694
+ quotaUser?: string;
2695
+ /** 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. */
2696
+ resource: string;
2697
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2698
+ upload_protocol?: string;
2699
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2700
+ uploadType?: string;
2701
+ },
2702
+ body: GoogleIamV1TestIamPermissionsRequest
2703
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
2704
+ }
2612
2705
  interface ClientTlsPoliciesResource {
2613
2706
  /** Creates a new ClientTlsPolicy in a given project and location. */
2614
2707
  create(request: {
@@ -4491,6 +4584,7 @@ declare namespace gapi.client {
4491
4584
  }): Request<ListLocationsResponse>;
4492
4585
  addressGroups: AddressGroupsResource;
4493
4586
  authorizationPolicies: AuthorizationPoliciesResource;
4587
+ authzPolicies: AuthzPoliciesResource;
4494
4588
  clientTlsPolicies: ClientTlsPoliciesResource;
4495
4589
  firewallEndpointAssociations: FirewallEndpointAssociationsResource;
4496
4590
  gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20240722",
3
+ "version": "0.0.20240803",
4
4
  "description": "TypeScript typings for Network Security API v1",
5
5
  "repository": {
6
6
  "type": "git",