@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20250514 → 0.0.20250604

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 +56 -48
  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: 20250514
12
+ // Revision: 20250604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -113,6 +113,8 @@ 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. */
117
+ ipBlocks?: AuthzPolicyAuthzRuleIpBlock[];
116
118
  /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
117
119
  resources?: AuthzPolicyAuthzRuleRequestResource[];
118
120
  }
@@ -122,6 +124,12 @@ declare namespace gapi.client {
122
124
  /** Optional. Specifies how the header match will be performed. */
123
125
  value?: AuthzPolicyAuthzRuleStringMatch;
124
126
  }
127
+ interface AuthzPolicyAuthzRuleIpBlock {
128
+ /** Required. The length of the address range. */
129
+ length?: number;
130
+ /** Required. The address prefix. */
131
+ prefix?: string;
132
+ }
125
133
  interface AuthzPolicyAuthzRuleRequestResource {
126
134
  /** Optional. An IAM service account to match against the source service account of the VM sending the request. */
127
135
  iamServiceAccount?: AuthzPolicyAuthzRuleStringMatch;
@@ -680,7 +688,7 @@ declare namespace gapi.client {
680
688
  interface ListSACAttachmentsResponse {
681
689
  /** A token identifying a page of results the server should return. */
682
690
  nextPageToken?: string;
683
- /** The list of SACAttachments */
691
+ /** The list of SACAttachments. */
684
692
  sacAttachments?: SACAttachment[];
685
693
  /** Locations that could not be reached. */
686
694
  unreachable?: string[];
@@ -688,7 +696,7 @@ declare namespace gapi.client {
688
696
  interface ListSACRealmsResponse {
689
697
  /** A token identifying a page of results the server should return. */
690
698
  nextPageToken?: string;
691
- /** The list of SACRealms */
699
+ /** The list of SACRealms. */
692
700
  sacRealms?: SACRealm[];
693
701
  /** Locations that could not be reached. */
694
702
  unreachable?: string[];
@@ -914,63 +922,63 @@ declare namespace gapi.client {
914
922
  sources?: Source[];
915
923
  }
916
924
  interface SACAttachment {
917
- /** Optional. ISO-3166 alpha 2 country code used for localization. Only used for Symantec's API today, and is optional even for gateways connected to Symantec, since Symantec applies a default if we don't specify it. Not case-sensitive, since it will be upper-cased when sending to Symantec API. */
925
+ /** Optional. Case-insensitive ISO-3166 alpha-2 country code used for localization. Only valid for Symantec attachments. */
918
926
  country?: string;
919
- /** Output only. [Output only] Timestamp when the attachment was created. */
927
+ /** Output only. Timestamp when the attachment was created. */
920
928
  createTime?: string;
921
929
  /** Optional. Optional list of labels applied to the resource. */
922
930
  labels?: {[P in string]: string};
923
931
  /** Identifier. Resource name, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`. */
924
932
  name?: string;
925
- /** Required. Name of the NCC Gateway which connects to the attachment. ID or full URI can be specified. Full URI is stored either way,in the form `projects/{project}/locations/{location}/spokes/{ncc_gateway}`. */
933
+ /** Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number}/locations/{location}/spokes/{ncc_gateway}`. */
926
934
  nccGateway?: string;
927
- /** Required. Name of the SAC Realm which owns the attachment. The input can be either an ID for a full name. The output will always be the full name using project number instead of project ID. The format is `projects/{project_number}/locations/{location}/sacRealms/{sac_realm}`. */
935
+ /** Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number}/locations/{location}/sacRealms/{sac_realm}`. */
928
936
  sacRealm?: string;
929
- /** Output only. [Output only] State of the attachment. */
937
+ /** Output only. State of the attachment. */
930
938
  state?: string;
931
- /** Optional. Required iff the associated realm is of type SYMANTEC_CLOUD_SWG. */
939
+ /** Optional. Configuration required for Symantec attachments. */
932
940
  symantecOptions?: SACAttachmentSACAttachmentSymantecOptions;
933
- /** Optional. tzinfo identifier used for localization. Only used for Symantec's API today, and is optional even for gateways connected to Symantec, since Symantec applies a default if we don't specify it. Case sensitive. */
941
+ /** Optional. Case-sensitive tzinfo identifier used for localization. Only valid for Symantec attachments. */
934
942
  timeZone?: string;
935
- /** Output only. [Output only] Timestamp when the attachment was last updated. */
943
+ /** Output only. Timestamp when the attachment was last updated. */
936
944
  updateTime?: string;
937
945
  }
938
946
  interface SACAttachmentSACAttachmentSymantecOptions {
939
- /** Immutable. Name to be used for when creating a Location on the customer's behalf in Symantec's Location API. Required iff sac_realm uses SYMANTEC_CLOUD_SWG. Not to be confused with GCP locations. */
947
+ /** Immutable. Name to be used when creating a location on the customer's behalf in Symantec's Location API. Not to be confused with GCP locations. */
940
948
  symantecLocationName?: string;
941
- /** Immutable. Symantec data center identifier that this Attachment will connect to. Required iff sac_realm uses SYMANTEC_CLOUD_SWG. */
949
+ /** Immutable. Symantec data center identifier that this attachment will connect to. */
942
950
  symantecSite?: string;
943
951
  }
944
952
  interface SACRealm {
945
- /** Output only. [Output only] Create time stamp */
953
+ /** Output only. Timestamp when the realm was created. */
946
954
  createTime?: string;
947
- /** Optional. Labels as key value pairs */
955
+ /** Optional. Optional list of labels applied to the resource. */
948
956
  labels?: {[P in string]: string};
949
- /** Identifier. Resource name. It matches the pattern `projects/{project}/locations/{location}/sacRealms/{sacRealm}` */
957
+ /** Identifier. Resource name, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`. */
950
958
  name?: string;
951
- /** Output only. [Output only] Key to be shared with SSE service provider to establish global handshake */
959
+ /** Output only. Key to be shared with SSE service provider during pairing. */
952
960
  pairingKey?: SACRealmPairingKey;
953
- /** Immutable. SSE service provider */
961
+ /** Immutable. SSE service provider associated with the realm. */
954
962
  securityService?: string;
955
- /** Output only. [Output only] State of the realm */
963
+ /** Output only. State of the realm. */
956
964
  state?: string;
957
- /** Optional. Required only if using SYMANTEC_CLOUD_SWG. */
965
+ /** Optional. Configuration required for Symantec realms. */
958
966
  symantecOptions?: SACRealmSACRealmSymantecOptions;
959
- /** Output only. [Output only] Update time stamp */
967
+ /** Output only. Timestamp when the realm was last updated. */
960
968
  updateTime?: string;
961
969
  }
962
970
  interface SACRealmPairingKey {
963
- /** Output only. Timestamp in UTC of when this resource is considered expired. */
971
+ /** Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation. */
964
972
  expireTime?: string;
965
- /** Output only. The name of the key. It expires 7 days after creation. */
973
+ /** Output only. Key value. */
966
974
  key?: string;
967
975
  }
968
976
  interface SACRealmSACRealmSymantecOptions {
969
- /** Output only. Symantec site IDs that the user can choose to connect to. */
977
+ /** Output only. Symantec site IDs which the user can choose to connect to. */
970
978
  availableSymantecSites?: string[];
971
- /** Optional. A secret ID or secret name can be specified, but it will be parsed and stored as secret URI in the format of "projects/{PROJECT_NUMBER}/secrets/my-secret". */
979
+ /** Optional. API Key used to call Symantec APIs on the user's behalf. Required if using Symantec Cloud SWG. P4SA account needs permissions granted to read this secret. A secret ID, secret name, or secret URI can be specified, but it will be parsed and stored as a secret URI in the form `projects/{project_number}/secrets/my-secret`. */
972
980
  secretPath?: string;
973
- /** Output only. [Output only] Connection status to Symantec API. */
981
+ /** Output only. Connection status to Symantec API. */
974
982
  symantecConnectionState?: string;
975
983
  }
976
984
  interface SecurityProfile {
@@ -6603,7 +6611,7 @@ declare namespace gapi.client {
6603
6611
  key?: string;
6604
6612
  /** OAuth 2.0 token for the current user. */
6605
6613
  oauth_token?: string;
6606
- /** Required. Value for parent. */
6614
+ /** Required. The parent, in the form `projects/{project}/locations/{location}`. */
6607
6615
  parent: string;
6608
6616
  /** Returns response with indentations and line breaks. */
6609
6617
  prettyPrint?: boolean;
@@ -6611,7 +6619,7 @@ declare namespace gapi.client {
6611
6619
  quotaUser?: string;
6612
6620
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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). */
6613
6621
  requestId?: string;
6614
- /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and sac_attachment_id from the method_signature of Create RPC */
6622
+ /** Required. ID of the created attachment. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
6615
6623
  sacAttachmentId?: string;
6616
6624
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6617
6625
  upload_protocol?: string;
@@ -6636,7 +6644,7 @@ declare namespace gapi.client {
6636
6644
  key?: string;
6637
6645
  /** OAuth 2.0 token for the current user. */
6638
6646
  oauth_token?: string;
6639
- /** Required. Value for parent. */
6647
+ /** Required. The parent, in the form `projects/{project}/locations/{location}`. */
6640
6648
  parent: string;
6641
6649
  /** Returns response with indentations and line breaks. */
6642
6650
  prettyPrint?: boolean;
@@ -6644,7 +6652,7 @@ declare namespace gapi.client {
6644
6652
  quotaUser?: string;
6645
6653
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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). */
6646
6654
  requestId?: string;
6647
- /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and sac_attachment_id from the method_signature of Create RPC */
6655
+ /** Required. ID of the created attachment. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
6648
6656
  sacAttachmentId?: string;
6649
6657
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6650
6658
  upload_protocol?: string;
@@ -6653,7 +6661,7 @@ declare namespace gapi.client {
6653
6661
  },
6654
6662
  body: SACAttachment,
6655
6663
  ): Request<Operation>;
6656
- /** Deletes a single SACAttachment. */
6664
+ /** Deletes the specified attachment. */
6657
6665
  delete(request?: {
6658
6666
  /** V1 error format. */
6659
6667
  '$.xgafv'?: string;
@@ -6667,7 +6675,7 @@ declare namespace gapi.client {
6667
6675
  fields?: string;
6668
6676
  /** 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. */
6669
6677
  key?: string;
6670
- /** Required. Name of the resource */
6678
+ /** Required. Name of the resource, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`. */
6671
6679
  name: string;
6672
6680
  /** OAuth 2.0 token for the current user. */
6673
6681
  oauth_token?: string;
@@ -6682,7 +6690,7 @@ declare namespace gapi.client {
6682
6690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6683
6691
  uploadType?: string;
6684
6692
  }): Request<Operation>;
6685
- /** Gets details of a single SACAttachment. */
6693
+ /** Returns the specified attachment. */
6686
6694
  get(request?: {
6687
6695
  /** V1 error format. */
6688
6696
  '$.xgafv'?: string;
@@ -6696,7 +6704,7 @@ declare namespace gapi.client {
6696
6704
  fields?: string;
6697
6705
  /** 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. */
6698
6706
  key?: string;
6699
- /** Required. Name of the resource */
6707
+ /** Required. Name of the resource, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`. */
6700
6708
  name: string;
6701
6709
  /** OAuth 2.0 token for the current user. */
6702
6710
  oauth_token?: string;
@@ -6721,19 +6729,19 @@ declare namespace gapi.client {
6721
6729
  callback?: string;
6722
6730
  /** Selector specifying which fields to include in a partial response. */
6723
6731
  fields?: string;
6724
- /** Optional. Filtering results */
6732
+ /** Optional. An expression that filters the list of results. */
6725
6733
  filter?: string;
6726
6734
  /** 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. */
6727
6735
  key?: string;
6728
6736
  /** OAuth 2.0 token for the current user. */
6729
6737
  oauth_token?: string;
6730
- /** Optional. Hint for how to order the results */
6738
+ /** Optional. Sort the results by a certain order. */
6731
6739
  orderBy?: string;
6732
6740
  /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
6733
6741
  pageSize?: number;
6734
6742
  /** Optional. A token identifying a page of results the server should return. */
6735
6743
  pageToken?: string;
6736
- /** Required. Parent value for ListSACAttachmentsRequest */
6744
+ /** Required. The parent, in the form `projects/{project}/locations/{location}`. */
6737
6745
  parent: string;
6738
6746
  /** Returns response with indentations and line breaks. */
6739
6747
  prettyPrint?: boolean;
@@ -6762,7 +6770,7 @@ declare namespace gapi.client {
6762
6770
  key?: string;
6763
6771
  /** OAuth 2.0 token for the current user. */
6764
6772
  oauth_token?: string;
6765
- /** Required. Value for parent. */
6773
+ /** Required. The parent, in the form `projects/{project}/locations/global`. */
6766
6774
  parent: string;
6767
6775
  /** Returns response with indentations and line breaks. */
6768
6776
  prettyPrint?: boolean;
@@ -6770,7 +6778,7 @@ declare namespace gapi.client {
6770
6778
  quotaUser?: string;
6771
6779
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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). */
6772
6780
  requestId?: string;
6773
- /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and sac_realm_id from the method_signature of Create RPC */
6781
+ /** Required. ID of the created realm. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
6774
6782
  sacRealmId?: string;
6775
6783
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6776
6784
  upload_protocol?: string;
@@ -6795,7 +6803,7 @@ declare namespace gapi.client {
6795
6803
  key?: string;
6796
6804
  /** OAuth 2.0 token for the current user. */
6797
6805
  oauth_token?: string;
6798
- /** Required. Value for parent. */
6806
+ /** Required. The parent, in the form `projects/{project}/locations/global`. */
6799
6807
  parent: string;
6800
6808
  /** Returns response with indentations and line breaks. */
6801
6809
  prettyPrint?: boolean;
@@ -6803,7 +6811,7 @@ declare namespace gapi.client {
6803
6811
  quotaUser?: string;
6804
6812
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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). */
6805
6813
  requestId?: string;
6806
- /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and sac_realm_id from the method_signature of Create RPC */
6814
+ /** Required. ID of the created realm. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
6807
6815
  sacRealmId?: string;
6808
6816
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6809
6817
  upload_protocol?: string;
@@ -6812,7 +6820,7 @@ declare namespace gapi.client {
6812
6820
  },
6813
6821
  body: SACRealm,
6814
6822
  ): Request<Operation>;
6815
- /** Deletes a single SACRealm. */
6823
+ /** Deletes the specified realm. */
6816
6824
  delete(request?: {
6817
6825
  /** V1 error format. */
6818
6826
  '$.xgafv'?: string;
@@ -6826,7 +6834,7 @@ declare namespace gapi.client {
6826
6834
  fields?: string;
6827
6835
  /** 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. */
6828
6836
  key?: string;
6829
- /** Required. Name of the resource */
6837
+ /** Required. Name of the resource, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`. */
6830
6838
  name: string;
6831
6839
  /** OAuth 2.0 token for the current user. */
6832
6840
  oauth_token?: string;
@@ -6841,7 +6849,7 @@ declare namespace gapi.client {
6841
6849
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6842
6850
  uploadType?: string;
6843
6851
  }): Request<Operation>;
6844
- /** Gets details of a single SACRealm. */
6852
+ /** Returns the specified realm. */
6845
6853
  get(request?: {
6846
6854
  /** V1 error format. */
6847
6855
  '$.xgafv'?: string;
@@ -6855,7 +6863,7 @@ declare namespace gapi.client {
6855
6863
  fields?: string;
6856
6864
  /** 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. */
6857
6865
  key?: string;
6858
- /** Required. Name of the resource */
6866
+ /** Required. Name of the resource, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`. */
6859
6867
  name: string;
6860
6868
  /** OAuth 2.0 token for the current user. */
6861
6869
  oauth_token?: string;
@@ -6880,19 +6888,19 @@ declare namespace gapi.client {
6880
6888
  callback?: string;
6881
6889
  /** Selector specifying which fields to include in a partial response. */
6882
6890
  fields?: string;
6883
- /** Optional. Filtering results */
6891
+ /** Optional. An expression that filters the list of results. */
6884
6892
  filter?: string;
6885
6893
  /** 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. */
6886
6894
  key?: string;
6887
6895
  /** OAuth 2.0 token for the current user. */
6888
6896
  oauth_token?: string;
6889
- /** Optional. Hint for how to order the results */
6897
+ /** Optional. Sort the results by a certain order. */
6890
6898
  orderBy?: string;
6891
6899
  /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
6892
6900
  pageSize?: number;
6893
6901
  /** Optional. A token identifying a page of results the server should return. */
6894
6902
  pageToken?: string;
6895
- /** Required. Parent value for ListSACRealmsRequest */
6903
+ /** Required. The parent, in the form `projects/{project}/locations/global`. */
6896
6904
  parent: string;
6897
6905
  /** Returns response with indentations and line breaks. */
6898
6906
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.0.20250514",
3
+ "version": "0.0.20250604",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",