@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20240221 → 0.0.20240229

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 +1030 -18
  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: 20240221
12
+ // Revision: 20240229
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -120,6 +120,56 @@ declare namespace gapi.client {
120
120
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
121
121
  title?: string;
122
122
  }
123
+ interface FirewallEndpoint {
124
+ /** Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}. */
125
+ associatedNetworks?: string[];
126
+ /** Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured. */
127
+ associations?: FirewallEndpointAssociationReference[];
128
+ /** Required. Project to bill on endpoint uptime usage. */
129
+ billingProjectId?: string;
130
+ /** Output only. Create time stamp */
131
+ createTime?: string;
132
+ /** Optional. Description of the firewall endpoint. Max length 2048 characters. */
133
+ description?: string;
134
+ /** Optional. Labels as key value pairs */
135
+ labels?: {[P in string]: string};
136
+ /** Immutable. Identifier. name of resource */
137
+ name?: string;
138
+ /** Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128. */
139
+ reconciling?: boolean;
140
+ /** Output only. Current state of the endpoint. */
141
+ state?: string;
142
+ /** Output only. Update time stamp */
143
+ updateTime?: string;
144
+ }
145
+ interface FirewallEndpointAssociation {
146
+ /** Output only. Create time stamp */
147
+ createTime?: string;
148
+ /** Optional. Whether the association is disabled. True indicates that traffic won't be intercepted */
149
+ disabled?: boolean;
150
+ /** Required. The URL of the FirewallEndpoint that is being associated. */
151
+ firewallEndpoint?: string;
152
+ /** Optional. Labels as key value pairs */
153
+ labels?: {[P in string]: string};
154
+ /** Immutable. Identifier. name of resource */
155
+ name?: string;
156
+ /** Required. The URL of the network that is being associated. */
157
+ network?: string;
158
+ /** Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128. */
159
+ reconciling?: boolean;
160
+ /** Output only. Current state of the association. */
161
+ state?: string;
162
+ /** Optional. The URL of the TlsInspectionPolicy that is being associated. */
163
+ tlsInspectionPolicy?: string;
164
+ /** Output only. Update time stamp */
165
+ updateTime?: string;
166
+ }
167
+ interface FirewallEndpointAssociationReference {
168
+ /** Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id} */
169
+ name?: string;
170
+ /** Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}. */
171
+ network?: string;
172
+ }
123
173
  interface GatewaySecurityPolicy {
124
174
  /** Output only. The timestamp when the resource was created. */
125
175
  createTime?: string;
@@ -246,6 +296,22 @@ declare namespace gapi.client {
246
296
  /** If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. */
247
297
  nextPageToken?: string;
248
298
  }
299
+ interface ListFirewallEndpointAssociationsResponse {
300
+ /** The list of Association */
301
+ firewallEndpointAssociations?: FirewallEndpointAssociation[];
302
+ /** A token identifying a page of results the server should return. */
303
+ nextPageToken?: string;
304
+ /** Locations that could not be reached. */
305
+ unreachable?: string[];
306
+ }
307
+ interface ListFirewallEndpointsResponse {
308
+ /** The list of Endpoint */
309
+ firewallEndpoints?: FirewallEndpoint[];
310
+ /** A token identifying a page of results the server should return. */
311
+ nextPageToken?: string;
312
+ /** Locations that could not be reached. */
313
+ unreachable?: string[];
314
+ }
249
315
  interface ListGatewaySecurityPoliciesResponse {
250
316
  /** List of GatewaySecurityPolicies resources. */
251
317
  gatewaySecurityPolicies?: GatewaySecurityPolicy[];
@@ -274,6 +340,18 @@ declare namespace gapi.client {
274
340
  /** A list of operations that matches the specified filter in the request. */
275
341
  operations?: Operation[];
276
342
  }
343
+ interface ListSecurityProfileGroupsResponse {
344
+ /** If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. */
345
+ nextPageToken?: string;
346
+ /** List of SecurityProfileGroups resources. */
347
+ securityProfileGroups?: SecurityProfileGroup[];
348
+ }
349
+ interface ListSecurityProfilesResponse {
350
+ /** If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. */
351
+ nextPageToken?: string;
352
+ /** List of SecurityProfile resources. */
353
+ securityProfiles?: SecurityProfile[];
354
+ }
277
355
  interface ListServerTlsPoliciesResponse {
278
356
  /** If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. */
279
357
  nextPageToken?: string;
@@ -356,6 +434,40 @@ declare namespace gapi.client {
356
434
  /** Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source. */
357
435
  sources?: Source[];
358
436
  }
437
+ interface SecurityProfile {
438
+ /** Output only. Resource creation timestamp. */
439
+ createTime?: string;
440
+ /** Optional. An optional description of the profile. Max length 512 characters. */
441
+ description?: string;
442
+ /** 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. */
443
+ etag?: string;
444
+ /** Optional. Labels as key value pairs. */
445
+ labels?: {[P in string]: string};
446
+ /** Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfiles/{security_profile}`. */
447
+ name?: string;
448
+ /** The threat prevention configuration for the SecurityProfile. */
449
+ threatPreventionProfile?: ThreatPreventionProfile;
450
+ /** Immutable. The single ProfileType that the SecurityProfile resource configures. */
451
+ type?: string;
452
+ /** Output only. Last resource update timestamp. */
453
+ updateTime?: string;
454
+ }
455
+ interface SecurityProfileGroup {
456
+ /** Output only. Resource creation timestamp. */
457
+ createTime?: string;
458
+ /** Optional. An optional description of the profile group. Max length 2048 characters. */
459
+ description?: string;
460
+ /** 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. */
461
+ etag?: string;
462
+ /** Optional. Labels as key value pairs. */
463
+ labels?: {[P in string]: string};
464
+ /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
465
+ name?: string;
466
+ /** Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup. */
467
+ threatPreventionProfile?: string;
468
+ /** Output only. Last resource update timestamp. */
469
+ updateTime?: string;
470
+ }
359
471
  interface ServerTlsPolicy {
360
472
  /** This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. */
361
473
  allowOpen?: boolean;
@@ -374,6 +486,12 @@ declare namespace gapi.client {
374
486
  /** Output only. The timestamp when the resource was updated. */
375
487
  updateTime?: string;
376
488
  }
489
+ interface SeverityOverride {
490
+ /** Required. Threat action override. */
491
+ action?: string;
492
+ /** Required. Severity level to match. */
493
+ severity?: string;
494
+ }
377
495
  interface Source {
378
496
  /** Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted. */
379
497
  ipBlocks?: string[];
@@ -388,6 +506,20 @@ declare namespace gapi.client {
388
506
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
389
507
  message?: string;
390
508
  }
509
+ interface ThreatOverride {
510
+ /** Required. Threat action override. For some threat types, only a subset of actions applies. */
511
+ action?: string;
512
+ /** Required. Vendor-specific ID of a threat to override. */
513
+ threatId?: string;
514
+ /** Output only. Type of the threat (read only). */
515
+ type?: string;
516
+ }
517
+ interface ThreatPreventionProfile {
518
+ /** Optional. Configuration for overriding threats actions by severity match. */
519
+ severityOverrides?: SeverityOverride[];
520
+ /** Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied. */
521
+ threatOverrides?: ThreatOverride[];
522
+ }
391
523
  interface TlsInspectionPolicy {
392
524
  /** Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". */
393
525
  caPool?: string;
@@ -854,6 +986,231 @@ declare namespace gapi.client {
854
986
  body: RemoveAddressGroupItemsRequest
855
987
  ): Request<Operation>;
856
988
  }
989
+ interface FirewallEndpointsResource {
990
+ /** Creates a new FirewallEndpoint in a given project and location. */
991
+ create(request: {
992
+ /** V1 error format. */
993
+ '$.xgafv'?: string;
994
+ /** OAuth access token. */
995
+ access_token?: string;
996
+ /** Data format for response. */
997
+ alt?: string;
998
+ /** JSONP */
999
+ callback?: string;
1000
+ /** Selector specifying which fields to include in a partial response. */
1001
+ fields?: string;
1002
+ /** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. */
1003
+ firewallEndpointId?: string;
1004
+ /** 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. */
1005
+ key?: string;
1006
+ /** OAuth 2.0 token for the current user. */
1007
+ oauth_token?: string;
1008
+ /** Required. Value for parent. */
1009
+ parent: string;
1010
+ /** Returns response with indentations and line breaks. */
1011
+ prettyPrint?: boolean;
1012
+ /** 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. */
1013
+ quotaUser?: string;
1014
+ /** 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). */
1015
+ requestId?: string;
1016
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1017
+ upload_protocol?: string;
1018
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1019
+ uploadType?: string;
1020
+ /** Request body */
1021
+ resource: FirewallEndpoint;
1022
+ }): Request<Operation>;
1023
+ create(
1024
+ request: {
1025
+ /** V1 error format. */
1026
+ '$.xgafv'?: string;
1027
+ /** OAuth access token. */
1028
+ access_token?: string;
1029
+ /** Data format for response. */
1030
+ alt?: string;
1031
+ /** JSONP */
1032
+ callback?: string;
1033
+ /** Selector specifying which fields to include in a partial response. */
1034
+ fields?: string;
1035
+ /** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. */
1036
+ firewallEndpointId?: string;
1037
+ /** 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. */
1038
+ key?: string;
1039
+ /** OAuth 2.0 token for the current user. */
1040
+ oauth_token?: string;
1041
+ /** Required. Value for parent. */
1042
+ parent: string;
1043
+ /** Returns response with indentations and line breaks. */
1044
+ prettyPrint?: boolean;
1045
+ /** 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. */
1046
+ quotaUser?: string;
1047
+ /** 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). */
1048
+ requestId?: string;
1049
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1050
+ upload_protocol?: string;
1051
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1052
+ uploadType?: string;
1053
+ },
1054
+ body: FirewallEndpoint
1055
+ ): Request<Operation>;
1056
+ /** Deletes a single Endpoint. */
1057
+ delete(request?: {
1058
+ /** V1 error format. */
1059
+ '$.xgafv'?: string;
1060
+ /** OAuth access token. */
1061
+ access_token?: string;
1062
+ /** Data format for response. */
1063
+ alt?: string;
1064
+ /** JSONP */
1065
+ callback?: string;
1066
+ /** Selector specifying which fields to include in a partial response. */
1067
+ fields?: string;
1068
+ /** 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. */
1069
+ key?: string;
1070
+ /** Required. Name of the resource */
1071
+ name: string;
1072
+ /** OAuth 2.0 token for the current user. */
1073
+ oauth_token?: string;
1074
+ /** Returns response with indentations and line breaks. */
1075
+ prettyPrint?: boolean;
1076
+ /** 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. */
1077
+ quotaUser?: string;
1078
+ /** 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 after 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). */
1079
+ requestId?: string;
1080
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1081
+ upload_protocol?: string;
1082
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1083
+ uploadType?: string;
1084
+ }): Request<Operation>;
1085
+ /** Gets details of a single Endpoint. */
1086
+ get(request?: {
1087
+ /** V1 error format. */
1088
+ '$.xgafv'?: string;
1089
+ /** OAuth access token. */
1090
+ access_token?: string;
1091
+ /** Data format for response. */
1092
+ alt?: string;
1093
+ /** JSONP */
1094
+ callback?: string;
1095
+ /** Selector specifying which fields to include in a partial response. */
1096
+ fields?: string;
1097
+ /** 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. */
1098
+ key?: string;
1099
+ /** Required. Name of the resource */
1100
+ name: string;
1101
+ /** OAuth 2.0 token for the current user. */
1102
+ oauth_token?: string;
1103
+ /** Returns response with indentations and line breaks. */
1104
+ prettyPrint?: boolean;
1105
+ /** 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. */
1106
+ quotaUser?: string;
1107
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1108
+ upload_protocol?: string;
1109
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1110
+ uploadType?: string;
1111
+ }): Request<FirewallEndpoint>;
1112
+ /** Lists FirewallEndpoints in a given project and location. */
1113
+ list(request?: {
1114
+ /** V1 error format. */
1115
+ '$.xgafv'?: string;
1116
+ /** OAuth access token. */
1117
+ access_token?: string;
1118
+ /** Data format for response. */
1119
+ alt?: string;
1120
+ /** JSONP */
1121
+ callback?: string;
1122
+ /** Selector specifying which fields to include in a partial response. */
1123
+ fields?: string;
1124
+ /** Optional. Filtering results */
1125
+ filter?: string;
1126
+ /** 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. */
1127
+ key?: string;
1128
+ /** OAuth 2.0 token for the current user. */
1129
+ oauth_token?: string;
1130
+ /** Hint for how to order the results */
1131
+ orderBy?: string;
1132
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
1133
+ pageSize?: number;
1134
+ /** A token identifying a page of results the server should return. */
1135
+ pageToken?: string;
1136
+ /** Required. Parent value for ListEndpointsRequest */
1137
+ parent: string;
1138
+ /** Returns response with indentations and line breaks. */
1139
+ prettyPrint?: boolean;
1140
+ /** 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. */
1141
+ quotaUser?: string;
1142
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1143
+ upload_protocol?: string;
1144
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1145
+ uploadType?: string;
1146
+ }): Request<ListFirewallEndpointsResponse>;
1147
+ /** Update a single Endpoint. */
1148
+ patch(request: {
1149
+ /** V1 error format. */
1150
+ '$.xgafv'?: string;
1151
+ /** OAuth access token. */
1152
+ access_token?: string;
1153
+ /** Data format for response. */
1154
+ alt?: string;
1155
+ /** JSONP */
1156
+ callback?: string;
1157
+ /** Selector specifying which fields to include in a partial response. */
1158
+ fields?: string;
1159
+ /** 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. */
1160
+ key?: string;
1161
+ /** Immutable. Identifier. name of resource */
1162
+ name: string;
1163
+ /** OAuth 2.0 token for the current user. */
1164
+ oauth_token?: string;
1165
+ /** Returns response with indentations and line breaks. */
1166
+ prettyPrint?: boolean;
1167
+ /** 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. */
1168
+ quotaUser?: string;
1169
+ /** 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). */
1170
+ requestId?: string;
1171
+ /** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
1172
+ updateMask?: string;
1173
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1174
+ upload_protocol?: string;
1175
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1176
+ uploadType?: string;
1177
+ /** Request body */
1178
+ resource: FirewallEndpoint;
1179
+ }): Request<Operation>;
1180
+ patch(
1181
+ request: {
1182
+ /** V1 error format. */
1183
+ '$.xgafv'?: string;
1184
+ /** OAuth access token. */
1185
+ access_token?: string;
1186
+ /** Data format for response. */
1187
+ alt?: string;
1188
+ /** JSONP */
1189
+ callback?: string;
1190
+ /** Selector specifying which fields to include in a partial response. */
1191
+ fields?: string;
1192
+ /** 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. */
1193
+ key?: string;
1194
+ /** Immutable. Identifier. name of resource */
1195
+ name: string;
1196
+ /** OAuth 2.0 token for the current user. */
1197
+ oauth_token?: string;
1198
+ /** Returns response with indentations and line breaks. */
1199
+ prettyPrint?: boolean;
1200
+ /** 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. */
1201
+ quotaUser?: string;
1202
+ /** 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). */
1203
+ requestId?: string;
1204
+ /** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
1205
+ updateMask?: string;
1206
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1207
+ upload_protocol?: string;
1208
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1209
+ uploadType?: string;
1210
+ },
1211
+ body: FirewallEndpoint
1212
+ ): Request<Operation>;
1213
+ }
857
1214
  interface OperationsResource {
858
1215
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
859
1216
  cancel(request: {
@@ -927,7 +1284,400 @@ declare namespace gapi.client {
927
1284
  fields?: string;
928
1285
  /** 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. */
929
1286
  key?: string;
930
- /** The name of the operation resource to be deleted. */
1287
+ /** The name of the operation resource to be deleted. */
1288
+ name: string;
1289
+ /** OAuth 2.0 token for the current user. */
1290
+ oauth_token?: string;
1291
+ /** Returns response with indentations and line breaks. */
1292
+ prettyPrint?: boolean;
1293
+ /** 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. */
1294
+ quotaUser?: string;
1295
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1296
+ upload_protocol?: string;
1297
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1298
+ uploadType?: string;
1299
+ }): Request<{}>;
1300
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1301
+ get(request?: {
1302
+ /** V1 error format. */
1303
+ '$.xgafv'?: string;
1304
+ /** OAuth access token. */
1305
+ access_token?: string;
1306
+ /** Data format for response. */
1307
+ alt?: string;
1308
+ /** JSONP */
1309
+ callback?: string;
1310
+ /** Selector specifying which fields to include in a partial response. */
1311
+ fields?: string;
1312
+ /** 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. */
1313
+ key?: string;
1314
+ /** The name of the operation resource. */
1315
+ name: string;
1316
+ /** OAuth 2.0 token for the current user. */
1317
+ oauth_token?: string;
1318
+ /** Returns response with indentations and line breaks. */
1319
+ prettyPrint?: boolean;
1320
+ /** 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. */
1321
+ quotaUser?: string;
1322
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1323
+ upload_protocol?: string;
1324
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1325
+ uploadType?: string;
1326
+ }): Request<Operation>;
1327
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1328
+ list(request?: {
1329
+ /** V1 error format. */
1330
+ '$.xgafv'?: string;
1331
+ /** OAuth access token. */
1332
+ access_token?: string;
1333
+ /** Data format for response. */
1334
+ alt?: string;
1335
+ /** JSONP */
1336
+ callback?: string;
1337
+ /** Selector specifying which fields to include in a partial response. */
1338
+ fields?: string;
1339
+ /** The standard list filter. */
1340
+ filter?: string;
1341
+ /** 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. */
1342
+ key?: string;
1343
+ /** The name of the operation's parent resource. */
1344
+ name: string;
1345
+ /** OAuth 2.0 token for the current user. */
1346
+ oauth_token?: string;
1347
+ /** The standard list page size. */
1348
+ pageSize?: number;
1349
+ /** The standard list page token. */
1350
+ pageToken?: string;
1351
+ /** Returns response with indentations and line breaks. */
1352
+ prettyPrint?: boolean;
1353
+ /** 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. */
1354
+ quotaUser?: string;
1355
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1356
+ upload_protocol?: string;
1357
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1358
+ uploadType?: string;
1359
+ }): Request<ListOperationsResponse>;
1360
+ }
1361
+ interface SecurityProfileGroupsResource {
1362
+ /** Creates a new SecurityProfileGroup in a given organization and location. */
1363
+ create(request: {
1364
+ /** V1 error format. */
1365
+ '$.xgafv'?: string;
1366
+ /** OAuth access token. */
1367
+ access_token?: string;
1368
+ /** Data format for response. */
1369
+ alt?: string;
1370
+ /** JSONP */
1371
+ callback?: string;
1372
+ /** Selector specifying which fields to include in a partial response. */
1373
+ fields?: string;
1374
+ /** 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. */
1375
+ key?: string;
1376
+ /** OAuth 2.0 token for the current user. */
1377
+ oauth_token?: string;
1378
+ /** Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/*‍/locations/{location}`. */
1379
+ parent: string;
1380
+ /** Returns response with indentations and line breaks. */
1381
+ prettyPrint?: boolean;
1382
+ /** 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. */
1383
+ quotaUser?: string;
1384
+ /** Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". */
1385
+ securityProfileGroupId?: string;
1386
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1387
+ upload_protocol?: string;
1388
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1389
+ uploadType?: string;
1390
+ /** Request body */
1391
+ resource: SecurityProfileGroup;
1392
+ }): Request<Operation>;
1393
+ create(
1394
+ request: {
1395
+ /** V1 error format. */
1396
+ '$.xgafv'?: string;
1397
+ /** OAuth access token. */
1398
+ access_token?: string;
1399
+ /** Data format for response. */
1400
+ alt?: string;
1401
+ /** JSONP */
1402
+ callback?: string;
1403
+ /** Selector specifying which fields to include in a partial response. */
1404
+ fields?: string;
1405
+ /** 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. */
1406
+ key?: string;
1407
+ /** OAuth 2.0 token for the current user. */
1408
+ oauth_token?: string;
1409
+ /** Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/*‍/locations/{location}`. */
1410
+ parent: string;
1411
+ /** Returns response with indentations and line breaks. */
1412
+ prettyPrint?: boolean;
1413
+ /** 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. */
1414
+ quotaUser?: string;
1415
+ /** Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". */
1416
+ securityProfileGroupId?: string;
1417
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1418
+ upload_protocol?: string;
1419
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1420
+ uploadType?: string;
1421
+ },
1422
+ body: SecurityProfileGroup
1423
+ ): Request<Operation>;
1424
+ /** Deletes a single SecurityProfileGroup. */
1425
+ delete(request?: {
1426
+ /** V1 error format. */
1427
+ '$.xgafv'?: string;
1428
+ /** OAuth access token. */
1429
+ access_token?: string;
1430
+ /** Data format for response. */
1431
+ alt?: string;
1432
+ /** JSONP */
1433
+ callback?: string;
1434
+ /** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. */
1435
+ etag?: string;
1436
+ /** Selector specifying which fields to include in a partial response. */
1437
+ fields?: string;
1438
+ /** 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. */
1439
+ key?: string;
1440
+ /** Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
1441
+ name: string;
1442
+ /** OAuth 2.0 token for the current user. */
1443
+ oauth_token?: string;
1444
+ /** Returns response with indentations and line breaks. */
1445
+ prettyPrint?: boolean;
1446
+ /** 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. */
1447
+ quotaUser?: string;
1448
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1449
+ upload_protocol?: string;
1450
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1451
+ uploadType?: string;
1452
+ }): Request<Operation>;
1453
+ /** Gets details of a single SecurityProfileGroup. */
1454
+ get(request?: {
1455
+ /** V1 error format. */
1456
+ '$.xgafv'?: string;
1457
+ /** OAuth access token. */
1458
+ access_token?: string;
1459
+ /** Data format for response. */
1460
+ alt?: string;
1461
+ /** JSONP */
1462
+ callback?: string;
1463
+ /** Selector specifying which fields to include in a partial response. */
1464
+ fields?: string;
1465
+ /** 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. */
1466
+ key?: string;
1467
+ /** Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
1468
+ name: string;
1469
+ /** OAuth 2.0 token for the current user. */
1470
+ oauth_token?: string;
1471
+ /** Returns response with indentations and line breaks. */
1472
+ prettyPrint?: boolean;
1473
+ /** 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. */
1474
+ quotaUser?: string;
1475
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1476
+ upload_protocol?: string;
1477
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1478
+ uploadType?: string;
1479
+ }): Request<SecurityProfileGroup>;
1480
+ /** Lists SecurityProfileGroups in a given organization and location. */
1481
+ list(request?: {
1482
+ /** V1 error format. */
1483
+ '$.xgafv'?: string;
1484
+ /** OAuth access token. */
1485
+ access_token?: string;
1486
+ /** Data format for response. */
1487
+ alt?: string;
1488
+ /** JSONP */
1489
+ callback?: string;
1490
+ /** Selector specifying which fields to include in a partial response. */
1491
+ fields?: string;
1492
+ /** 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. */
1493
+ key?: string;
1494
+ /** OAuth 2.0 token for the current user. */
1495
+ oauth_token?: string;
1496
+ /** Maximum number of SecurityProfileGroups to return per call. */
1497
+ pageSize?: number;
1498
+ /** The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. */
1499
+ pageToken?: string;
1500
+ /** Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/*‍/locations/{location}`. */
1501
+ parent: string;
1502
+ /** Returns response with indentations and line breaks. */
1503
+ prettyPrint?: boolean;
1504
+ /** 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. */
1505
+ quotaUser?: string;
1506
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1507
+ upload_protocol?: string;
1508
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1509
+ uploadType?: string;
1510
+ }): Request<ListSecurityProfileGroupsResponse>;
1511
+ /** Updates the parameters of a single SecurityProfileGroup. */
1512
+ patch(request: {
1513
+ /** V1 error format. */
1514
+ '$.xgafv'?: string;
1515
+ /** OAuth access token. */
1516
+ access_token?: string;
1517
+ /** Data format for response. */
1518
+ alt?: string;
1519
+ /** JSONP */
1520
+ callback?: string;
1521
+ /** Selector specifying which fields to include in a partial response. */
1522
+ fields?: string;
1523
+ /** 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. */
1524
+ key?: string;
1525
+ /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
1526
+ name: string;
1527
+ /** OAuth 2.0 token for the current user. */
1528
+ oauth_token?: string;
1529
+ /** Returns response with indentations and line breaks. */
1530
+ prettyPrint?: boolean;
1531
+ /** 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. */
1532
+ quotaUser?: string;
1533
+ /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1534
+ updateMask?: string;
1535
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1536
+ upload_protocol?: string;
1537
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1538
+ uploadType?: string;
1539
+ /** Request body */
1540
+ resource: SecurityProfileGroup;
1541
+ }): Request<Operation>;
1542
+ patch(
1543
+ request: {
1544
+ /** V1 error format. */
1545
+ '$.xgafv'?: string;
1546
+ /** OAuth access token. */
1547
+ access_token?: string;
1548
+ /** Data format for response. */
1549
+ alt?: string;
1550
+ /** JSONP */
1551
+ callback?: string;
1552
+ /** Selector specifying which fields to include in a partial response. */
1553
+ fields?: string;
1554
+ /** 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. */
1555
+ key?: string;
1556
+ /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfileGroups/{security_profile_group}`. */
1557
+ name: string;
1558
+ /** OAuth 2.0 token for the current user. */
1559
+ oauth_token?: string;
1560
+ /** Returns response with indentations and line breaks. */
1561
+ prettyPrint?: boolean;
1562
+ /** 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. */
1563
+ quotaUser?: string;
1564
+ /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1565
+ updateMask?: string;
1566
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1567
+ upload_protocol?: string;
1568
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1569
+ uploadType?: string;
1570
+ },
1571
+ body: SecurityProfileGroup
1572
+ ): Request<Operation>;
1573
+ }
1574
+ interface SecurityProfilesResource {
1575
+ /** Creates a new SecurityProfile in a given organization and location. */
1576
+ create(request: {
1577
+ /** V1 error format. */
1578
+ '$.xgafv'?: string;
1579
+ /** OAuth access token. */
1580
+ access_token?: string;
1581
+ /** Data format for response. */
1582
+ alt?: string;
1583
+ /** JSONP */
1584
+ callback?: string;
1585
+ /** Selector specifying which fields to include in a partial response. */
1586
+ fields?: string;
1587
+ /** 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. */
1588
+ key?: string;
1589
+ /** OAuth 2.0 token for the current user. */
1590
+ oauth_token?: string;
1591
+ /** Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/*‍/locations/{location}`. */
1592
+ parent: string;
1593
+ /** Returns response with indentations and line breaks. */
1594
+ prettyPrint?: boolean;
1595
+ /** 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. */
1596
+ quotaUser?: string;
1597
+ /** Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". */
1598
+ securityProfileId?: string;
1599
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1600
+ upload_protocol?: string;
1601
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1602
+ uploadType?: string;
1603
+ /** Request body */
1604
+ resource: SecurityProfile;
1605
+ }): Request<Operation>;
1606
+ create(
1607
+ request: {
1608
+ /** V1 error format. */
1609
+ '$.xgafv'?: string;
1610
+ /** OAuth access token. */
1611
+ access_token?: string;
1612
+ /** Data format for response. */
1613
+ alt?: string;
1614
+ /** JSONP */
1615
+ callback?: string;
1616
+ /** Selector specifying which fields to include in a partial response. */
1617
+ fields?: string;
1618
+ /** 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. */
1619
+ key?: string;
1620
+ /** OAuth 2.0 token for the current user. */
1621
+ oauth_token?: string;
1622
+ /** Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/*‍/locations/{location}`. */
1623
+ parent: string;
1624
+ /** Returns response with indentations and line breaks. */
1625
+ prettyPrint?: boolean;
1626
+ /** 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. */
1627
+ quotaUser?: string;
1628
+ /** Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". */
1629
+ securityProfileId?: string;
1630
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1631
+ upload_protocol?: string;
1632
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1633
+ uploadType?: string;
1634
+ },
1635
+ body: SecurityProfile
1636
+ ): Request<Operation>;
1637
+ /** Deletes a single SecurityProfile. */
1638
+ delete(request?: {
1639
+ /** V1 error format. */
1640
+ '$.xgafv'?: string;
1641
+ /** OAuth access token. */
1642
+ access_token?: string;
1643
+ /** Data format for response. */
1644
+ alt?: string;
1645
+ /** JSONP */
1646
+ callback?: string;
1647
+ /** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. */
1648
+ etag?: string;
1649
+ /** Selector specifying which fields to include in a partial response. */
1650
+ fields?: string;
1651
+ /** 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. */
1652
+ key?: string;
1653
+ /** Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/*‍/locations/{location}/securityProfiles/{security_profile_id}`. */
1654
+ name: string;
1655
+ /** OAuth 2.0 token for the current user. */
1656
+ oauth_token?: string;
1657
+ /** Returns response with indentations and line breaks. */
1658
+ prettyPrint?: boolean;
1659
+ /** 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. */
1660
+ quotaUser?: string;
1661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1662
+ upload_protocol?: string;
1663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1664
+ uploadType?: string;
1665
+ }): Request<Operation>;
1666
+ /** Gets details of a single SecurityProfile. */
1667
+ get(request?: {
1668
+ /** V1 error format. */
1669
+ '$.xgafv'?: string;
1670
+ /** OAuth access token. */
1671
+ access_token?: string;
1672
+ /** Data format for response. */
1673
+ alt?: string;
1674
+ /** JSONP */
1675
+ callback?: string;
1676
+ /** Selector specifying which fields to include in a partial response. */
1677
+ fields?: string;
1678
+ /** 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. */
1679
+ key?: string;
1680
+ /** Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/*‍/locations/{location}/securityProfiles/{security_profile_id}`. */
931
1681
  name: string;
932
1682
  /** OAuth 2.0 token for the current user. */
933
1683
  oauth_token?: string;
@@ -939,9 +1689,9 @@ declare namespace gapi.client {
939
1689
  upload_protocol?: string;
940
1690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
941
1691
  uploadType?: string;
942
- }): Request<{}>;
943
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
944
- get(request?: {
1692
+ }): Request<SecurityProfile>;
1693
+ /** Lists SecurityProfiles in a given organization and location. */
1694
+ list(request?: {
945
1695
  /** V1 error format. */
946
1696
  '$.xgafv'?: string;
947
1697
  /** OAuth access token. */
@@ -954,10 +1704,14 @@ declare namespace gapi.client {
954
1704
  fields?: string;
955
1705
  /** 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. */
956
1706
  key?: string;
957
- /** The name of the operation resource. */
958
- name: string;
959
1707
  /** OAuth 2.0 token for the current user. */
960
1708
  oauth_token?: string;
1709
+ /** Maximum number of SecurityProfiles to return per call. */
1710
+ pageSize?: number;
1711
+ /** The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. */
1712
+ pageToken?: string;
1713
+ /** Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/*‍/locations/{location}`. */
1714
+ parent: string;
961
1715
  /** Returns response with indentations and line breaks. */
962
1716
  prettyPrint?: boolean;
963
1717
  /** 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. */
@@ -966,9 +1720,9 @@ declare namespace gapi.client {
966
1720
  upload_protocol?: string;
967
1721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
968
1722
  uploadType?: string;
969
- }): Request<Operation>;
970
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
971
- list(request?: {
1723
+ }): Request<ListSecurityProfilesResponse>;
1724
+ /** Updates the parameters of a single SecurityProfile. */
1725
+ patch(request: {
972
1726
  /** V1 error format. */
973
1727
  '$.xgafv'?: string;
974
1728
  /** OAuth access token. */
@@ -979,31 +1733,63 @@ declare namespace gapi.client {
979
1733
  callback?: string;
980
1734
  /** Selector specifying which fields to include in a partial response. */
981
1735
  fields?: string;
982
- /** The standard list filter. */
983
- filter?: string;
984
1736
  /** 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. */
985
1737
  key?: string;
986
- /** The name of the operation's parent resource. */
1738
+ /** Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfiles/{security_profile}`. */
987
1739
  name: string;
988
1740
  /** OAuth 2.0 token for the current user. */
989
1741
  oauth_token?: string;
990
- /** The standard list page size. */
991
- pageSize?: number;
992
- /** The standard list page token. */
993
- pageToken?: string;
994
1742
  /** Returns response with indentations and line breaks. */
995
1743
  prettyPrint?: boolean;
996
1744
  /** 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. */
997
1745
  quotaUser?: string;
1746
+ /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1747
+ updateMask?: string;
998
1748
  /** Upload protocol for media (e.g. "raw", "multipart"). */
999
1749
  upload_protocol?: string;
1000
1750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1001
1751
  uploadType?: string;
1002
- }): Request<ListOperationsResponse>;
1752
+ /** Request body */
1753
+ resource: SecurityProfile;
1754
+ }): Request<Operation>;
1755
+ patch(
1756
+ request: {
1757
+ /** V1 error format. */
1758
+ '$.xgafv'?: string;
1759
+ /** OAuth access token. */
1760
+ access_token?: string;
1761
+ /** Data format for response. */
1762
+ alt?: string;
1763
+ /** JSONP */
1764
+ callback?: string;
1765
+ /** Selector specifying which fields to include in a partial response. */
1766
+ fields?: string;
1767
+ /** 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. */
1768
+ key?: string;
1769
+ /** Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*‍/locations/{location}/securityProfiles/{security_profile}`. */
1770
+ name: string;
1771
+ /** OAuth 2.0 token for the current user. */
1772
+ oauth_token?: string;
1773
+ /** Returns response with indentations and line breaks. */
1774
+ prettyPrint?: boolean;
1775
+ /** 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. */
1776
+ quotaUser?: string;
1777
+ /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1778
+ updateMask?: string;
1779
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1780
+ upload_protocol?: string;
1781
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1782
+ uploadType?: string;
1783
+ },
1784
+ body: SecurityProfile
1785
+ ): Request<Operation>;
1003
1786
  }
1004
1787
  interface LocationsResource {
1005
1788
  addressGroups: AddressGroupsResource;
1789
+ firewallEndpoints: FirewallEndpointsResource;
1006
1790
  operations: OperationsResource;
1791
+ securityProfileGroups: SecurityProfileGroupsResource;
1792
+ securityProfiles: SecurityProfilesResource;
1007
1793
  }
1008
1794
  interface OrganizationsResource {
1009
1795
  locations: LocationsResource;
@@ -2123,6 +2909,231 @@ declare namespace gapi.client {
2123
2909
  body: GoogleIamV1TestIamPermissionsRequest
2124
2910
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
2125
2911
  }
2912
+ interface FirewallEndpointAssociationsResource {
2913
+ /** Creates a new FirewallEndpointAssociation in a given project and location. */
2914
+ create(request: {
2915
+ /** V1 error format. */
2916
+ '$.xgafv'?: string;
2917
+ /** OAuth access token. */
2918
+ access_token?: string;
2919
+ /** Data format for response. */
2920
+ alt?: string;
2921
+ /** JSONP */
2922
+ callback?: string;
2923
+ /** Selector specifying which fields to include in a partial response. */
2924
+ fields?: string;
2925
+ /** Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. */
2926
+ firewallEndpointAssociationId?: string;
2927
+ /** 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. */
2928
+ key?: string;
2929
+ /** OAuth 2.0 token for the current user. */
2930
+ oauth_token?: string;
2931
+ /** Required. Value for parent. */
2932
+ parent: string;
2933
+ /** Returns response with indentations and line breaks. */
2934
+ prettyPrint?: boolean;
2935
+ /** 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. */
2936
+ quotaUser?: string;
2937
+ /** 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). */
2938
+ requestId?: string;
2939
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2940
+ upload_protocol?: string;
2941
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2942
+ uploadType?: string;
2943
+ /** Request body */
2944
+ resource: FirewallEndpointAssociation;
2945
+ }): Request<Operation>;
2946
+ create(
2947
+ request: {
2948
+ /** V1 error format. */
2949
+ '$.xgafv'?: string;
2950
+ /** OAuth access token. */
2951
+ access_token?: string;
2952
+ /** Data format for response. */
2953
+ alt?: string;
2954
+ /** JSONP */
2955
+ callback?: string;
2956
+ /** Selector specifying which fields to include in a partial response. */
2957
+ fields?: string;
2958
+ /** Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. */
2959
+ firewallEndpointAssociationId?: string;
2960
+ /** 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. */
2961
+ key?: string;
2962
+ /** OAuth 2.0 token for the current user. */
2963
+ oauth_token?: string;
2964
+ /** Required. Value for parent. */
2965
+ parent: string;
2966
+ /** Returns response with indentations and line breaks. */
2967
+ prettyPrint?: boolean;
2968
+ /** 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. */
2969
+ quotaUser?: string;
2970
+ /** 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). */
2971
+ requestId?: string;
2972
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2973
+ upload_protocol?: string;
2974
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2975
+ uploadType?: string;
2976
+ },
2977
+ body: FirewallEndpointAssociation
2978
+ ): Request<Operation>;
2979
+ /** Deletes a single FirewallEndpointAssociation. */
2980
+ delete(request?: {
2981
+ /** V1 error format. */
2982
+ '$.xgafv'?: string;
2983
+ /** OAuth access token. */
2984
+ access_token?: string;
2985
+ /** Data format for response. */
2986
+ alt?: string;
2987
+ /** JSONP */
2988
+ callback?: string;
2989
+ /** Selector specifying which fields to include in a partial response. */
2990
+ fields?: string;
2991
+ /** 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. */
2992
+ key?: string;
2993
+ /** Required. Name of the resource */
2994
+ name: 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
+ /** 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 after 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). */
3002
+ requestId?: 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
+ }): Request<Operation>;
3008
+ /** Gets details of a single FirewallEndpointAssociation. */
3009
+ get(request?: {
3010
+ /** V1 error format. */
3011
+ '$.xgafv'?: string;
3012
+ /** OAuth access token. */
3013
+ access_token?: string;
3014
+ /** Data format for response. */
3015
+ alt?: string;
3016
+ /** JSONP */
3017
+ callback?: string;
3018
+ /** Selector specifying which fields to include in a partial response. */
3019
+ fields?: string;
3020
+ /** 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. */
3021
+ key?: string;
3022
+ /** Required. Name of the resource */
3023
+ name: string;
3024
+ /** OAuth 2.0 token for the current user. */
3025
+ oauth_token?: string;
3026
+ /** Returns response with indentations and line breaks. */
3027
+ prettyPrint?: boolean;
3028
+ /** 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. */
3029
+ quotaUser?: string;
3030
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3031
+ upload_protocol?: string;
3032
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3033
+ uploadType?: string;
3034
+ }): Request<FirewallEndpointAssociation>;
3035
+ /** Lists Associations in a given project and location. */
3036
+ list(request?: {
3037
+ /** V1 error format. */
3038
+ '$.xgafv'?: string;
3039
+ /** OAuth access token. */
3040
+ access_token?: string;
3041
+ /** Data format for response. */
3042
+ alt?: string;
3043
+ /** JSONP */
3044
+ callback?: string;
3045
+ /** Selector specifying which fields to include in a partial response. */
3046
+ fields?: string;
3047
+ /** Optional. Filtering results */
3048
+ filter?: string;
3049
+ /** 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. */
3050
+ key?: string;
3051
+ /** OAuth 2.0 token for the current user. */
3052
+ oauth_token?: string;
3053
+ /** Hint for how to order the results */
3054
+ orderBy?: string;
3055
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
3056
+ pageSize?: number;
3057
+ /** A token identifying a page of results the server should return. */
3058
+ pageToken?: string;
3059
+ /** Required. Parent value for ListAssociationsRequest */
3060
+ parent: string;
3061
+ /** Returns response with indentations and line breaks. */
3062
+ prettyPrint?: boolean;
3063
+ /** 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. */
3064
+ quotaUser?: string;
3065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3066
+ upload_protocol?: string;
3067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3068
+ uploadType?: string;
3069
+ }): Request<ListFirewallEndpointAssociationsResponse>;
3070
+ /** Update a single FirewallEndpointAssociation. */
3071
+ patch(request: {
3072
+ /** V1 error format. */
3073
+ '$.xgafv'?: string;
3074
+ /** OAuth access token. */
3075
+ access_token?: string;
3076
+ /** Data format for response. */
3077
+ alt?: string;
3078
+ /** JSONP */
3079
+ callback?: string;
3080
+ /** Selector specifying which fields to include in a partial response. */
3081
+ fields?: string;
3082
+ /** 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. */
3083
+ key?: string;
3084
+ /** Immutable. Identifier. name of resource */
3085
+ name: string;
3086
+ /** OAuth 2.0 token for the current user. */
3087
+ oauth_token?: string;
3088
+ /** Returns response with indentations and line breaks. */
3089
+ prettyPrint?: boolean;
3090
+ /** 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. */
3091
+ quotaUser?: string;
3092
+ /** 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). */
3093
+ requestId?: string;
3094
+ /** Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
3095
+ updateMask?: string;
3096
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3097
+ upload_protocol?: string;
3098
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3099
+ uploadType?: string;
3100
+ /** Request body */
3101
+ resource: FirewallEndpointAssociation;
3102
+ }): Request<Operation>;
3103
+ patch(
3104
+ request: {
3105
+ /** V1 error format. */
3106
+ '$.xgafv'?: string;
3107
+ /** OAuth access token. */
3108
+ access_token?: string;
3109
+ /** Data format for response. */
3110
+ alt?: string;
3111
+ /** JSONP */
3112
+ callback?: string;
3113
+ /** Selector specifying which fields to include in a partial response. */
3114
+ fields?: string;
3115
+ /** 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. */
3116
+ key?: string;
3117
+ /** Immutable. Identifier. name of resource */
3118
+ name: string;
3119
+ /** OAuth 2.0 token for the current user. */
3120
+ oauth_token?: string;
3121
+ /** Returns response with indentations and line breaks. */
3122
+ prettyPrint?: boolean;
3123
+ /** 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. */
3124
+ quotaUser?: string;
3125
+ /** 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). */
3126
+ requestId?: string;
3127
+ /** Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
3128
+ updateMask?: string;
3129
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3130
+ upload_protocol?: string;
3131
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3132
+ uploadType?: string;
3133
+ },
3134
+ body: FirewallEndpointAssociation
3135
+ ): Request<Operation>;
3136
+ }
2126
3137
  interface RulesResource {
2127
3138
  /** Creates a new GatewaySecurityPolicy in a given project and location. */
2128
3139
  create(request: {
@@ -3481,6 +4492,7 @@ declare namespace gapi.client {
3481
4492
  addressGroups: AddressGroupsResource;
3482
4493
  authorizationPolicies: AuthorizationPoliciesResource;
3483
4494
  clientTlsPolicies: ClientTlsPoliciesResource;
4495
+ firewallEndpointAssociations: FirewallEndpointAssociationsResource;
3484
4496
  gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
3485
4497
  operations: OperationsResource;
3486
4498
  serverTlsPolicies: ServerTlsPoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20240221",
3
+ "version": "0.0.20240229",
4
4
  "description": "TypeScript typings for Network Security API v1",
5
5
  "repository": {
6
6
  "type": "git",