google-apis-networksecurity_v1 0.33.0 → 0.55.0

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.
@@ -51,6 +51,92 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Gets information about a location.
55
+ # @param [String] name
56
+ # Resource name for the location.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Location] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::NetworksecurityV1::Location]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:get, 'v1/{+name}', options)
76
+ command.response_representation = Google::Apis::NetworksecurityV1::Location::Representation
77
+ command.response_class = Google::Apis::NetworksecurityV1::Location
78
+ command.params['name'] = name unless name.nil?
79
+ command.query['fields'] = fields unless fields.nil?
80
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ execute_or_queue_command(command, &block)
82
+ end
83
+
84
+ # Lists information about the supported locations for this service. This method
85
+ # lists locations based on the resource scope provided in the
86
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
87
+ # the method lists the public locations available to all projects. * **Project-
88
+ # specific locations**: If `name` follows the format `projects/`project``, the
89
+ # method lists locations visible to that specific project. This includes public,
90
+ # private, or other project-specific locations enabled for the project. For gRPC
91
+ # and client library implementations, the resource name is passed as the `name`
92
+ # field. For direct service calls, the resource name is incorporated into the
93
+ # request path based on the specific service implementation and version.
94
+ # @param [String] name
95
+ # The resource that owns the locations collection, if applicable.
96
+ # @param [Array<String>, String] extra_location_types
97
+ # Optional. Do not use this field unless explicitly documented otherwise. This
98
+ # is primarily for internal usage.
99
+ # @param [String] filter
100
+ # A filter to narrow down results to a preferred subset. The filtering language
101
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
102
+ # in [AIP-160](https://google.aip.dev/160).
103
+ # @param [Fixnum] page_size
104
+ # The maximum number of results to return. If not set, the service selects a
105
+ # default.
106
+ # @param [String] page_token
107
+ # A page token received from the `next_page_token` field in the response. Send
108
+ # that page token to receive the subsequent page.
109
+ # @param [String] fields
110
+ # Selector specifying which fields to include in a partial response.
111
+ # @param [String] quota_user
112
+ # Available to use for quota purposes for server-side applications. Can be any
113
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
114
+ # @param [Google::Apis::RequestOptions] options
115
+ # Request-specific options
116
+ #
117
+ # @yield [result, err] Result & error if block supplied
118
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListLocationsResponse] parsed result object
119
+ # @yieldparam err [StandardError] error object if request failed
120
+ #
121
+ # @return [Google::Apis::NetworksecurityV1::ListLocationsResponse]
122
+ #
123
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
124
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
125
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
126
+ def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
127
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
128
+ command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation
129
+ command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse
130
+ command.params['name'] = name unless name.nil?
131
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
132
+ command.query['filter'] = filter unless filter.nil?
133
+ command.query['pageSize'] = page_size unless page_size.nil?
134
+ command.query['pageToken'] = page_token unless page_token.nil?
135
+ command.query['fields'] = fields unless fields.nil?
136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
137
+ execute_or_queue_command(command, &block)
138
+ end
139
+
54
140
  # Adds items to an address group.
55
141
  # @param [String] address_group
56
142
  # Required. A name of the AddressGroup to add items to. Must be in the format `
@@ -414,7 +500,46 @@ module Google
414
500
  execute_or_queue_command(command, &block)
415
501
  end
416
502
 
417
- # Creates a new FirewallEndpoint in a given project and location.
503
+ # Returns permissions that a caller has on the specified resource. If the
504
+ # resource does not exist, this will return an empty set of permissions, not a `
505
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
506
+ # permission-aware UIs and command-line tools, not for authorization checking.
507
+ # This operation may "fail open" without warning.
508
+ # @param [String] resource
509
+ # REQUIRED: The resource for which the policy detail is being requested. See [
510
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
511
+ # appropriate value for this field.
512
+ # @param [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
513
+ # @param [String] fields
514
+ # Selector specifying which fields to include in a partial response.
515
+ # @param [String] quota_user
516
+ # Available to use for quota purposes for server-side applications. Can be any
517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
518
+ # @param [Google::Apis::RequestOptions] options
519
+ # Request-specific options
520
+ #
521
+ # @yield [result, err] Result & error if block supplied
522
+ # @yieldparam result [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
523
+ # @yieldparam err [StandardError] error object if request failed
524
+ #
525
+ # @return [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse]
526
+ #
527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
530
+ def test_organization_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
531
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
532
+ command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation
533
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
534
+ command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation
535
+ command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
536
+ command.params['resource'] = resource unless resource.nil?
537
+ command.query['fields'] = fields unless fields.nil?
538
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
539
+ execute_or_queue_command(command, &block)
540
+ end
541
+
542
+ # Creates a new FirewallEndpoint in a given organization and location.
418
543
  # @param [String] parent
419
544
  # Required. Value for parent.
420
545
  # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
@@ -464,7 +589,7 @@ module Google
464
589
  execute_or_queue_command(command, &block)
465
590
  end
466
591
 
467
- # Deletes a single Endpoint.
592
+ # Deletes a single org Endpoint.
468
593
  # @param [String] name
469
594
  # Required. Name of the resource
470
595
  # @param [String] request_id
@@ -506,7 +631,7 @@ module Google
506
631
  execute_or_queue_command(command, &block)
507
632
  end
508
633
 
509
- # Gets details of a single Endpoint.
634
+ # Gets details of a single org Endpoint.
510
635
  # @param [String] name
511
636
  # Required. Name of the resource
512
637
  # @param [String] fields
@@ -536,7 +661,7 @@ module Google
536
661
  execute_or_queue_command(command, &block)
537
662
  end
538
663
 
539
- # Lists FirewallEndpoints in a given project and location.
664
+ # Lists FirewallEndpoints in a given organization and location.
540
665
  # @param [String] parent
541
666
  # Required. Parent value for ListEndpointsRequest
542
667
  # @param [String] filter
@@ -579,9 +704,9 @@ module Google
579
704
  execute_or_queue_command(command, &block)
580
705
  end
581
706
 
582
- # Update a single Endpoint.
707
+ # Update a single org Endpoint.
583
708
  # @param [String] name
584
- # Immutable. Identifier. name of resource
709
+ # Immutable. Identifier. Name of resource.
585
710
  # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
586
711
  # @param [String] request_id
587
712
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -745,6 +870,14 @@ module Google
745
870
  # The standard list page size.
746
871
  # @param [String] page_token
747
872
  # The standard list page token.
873
+ # @param [Boolean] return_partial_success
874
+ # When set to `true`, operations that are reachable are returned as normal, and
875
+ # those that are unreachable are returned in the ListOperationsResponse.
876
+ # unreachable field. This can only be `true` when reading across collections.
877
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
878
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
879
+ # if set unless explicitly documented otherwise in service or product specific
880
+ # documentation.
748
881
  # @param [String] fields
749
882
  # Selector specifying which fields to include in a partial response.
750
883
  # @param [String] quota_user
@@ -762,7 +895,7 @@ module Google
762
895
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
896
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
897
  # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
898
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
766
899
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
767
900
  command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation
768
901
  command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse
@@ -770,6 +903,7 @@ module Google
770
903
  command.query['filter'] = filter unless filter.nil?
771
904
  command.query['pageSize'] = page_size unless page_size.nil?
772
905
  command.query['pageToken'] = page_token unless page_token.nil?
906
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
773
907
  command.query['fields'] = fields unless fields.nil?
774
908
  command.query['quotaUser'] = quota_user unless quota_user.nil?
775
909
  execute_or_queue_command(command, &block)
@@ -889,11 +1023,11 @@ module Google
889
1023
  # SecurityProfileGroups should be listed, specified in the format `projects|
890
1024
  # organizations/*/locations/`location``.
891
1025
  # @param [Fixnum] page_size
892
- # Maximum number of SecurityProfileGroups to return per call.
1026
+ # Optional. Maximum number of SecurityProfileGroups to return per call.
893
1027
  # @param [String] page_token
894
- # The value returned by the last `ListSecurityProfileGroupsResponse` Indicates
895
- # that this is a continuation of a prior `ListSecurityProfileGroups` call, and
896
- # that the system should return the next page of data.
1028
+ # Optional. The value returned by the last `ListSecurityProfileGroupsResponse`
1029
+ # Indicates that this is a continuation of a prior `ListSecurityProfileGroups`
1030
+ # call, and that the system should return the next page of data.
897
1031
  # @param [String] fields
898
1032
  # Selector specifying which fields to include in a partial response.
899
1033
  # @param [String] quota_user
@@ -1077,11 +1211,11 @@ module Google
1077
1211
  # SecurityProfiles should be listed, specified in the format `projects|
1078
1212
  # organizations/*/locations/`location``.
1079
1213
  # @param [Fixnum] page_size
1080
- # Maximum number of SecurityProfiles to return per call.
1214
+ # Optional. Maximum number of SecurityProfiles to return per call.
1081
1215
  # @param [String] page_token
1082
- # The value returned by the last `ListSecurityProfilesResponse` Indicates that
1083
- # this is a continuation of a prior `ListSecurityProfiles` call, and that the
1084
- # system should return the next page of data.
1216
+ # Optional. The value returned by the last `ListSecurityProfilesResponse`
1217
+ # Indicates that this is a continuation of a prior `ListSecurityProfiles` call,
1218
+ # and that the system should return the next page of data.
1085
1219
  # @param [String] fields
1086
1220
  # Selector specifying which fields to include in a partial response.
1087
1221
  # @param [String] quota_user
@@ -1182,9 +1316,21 @@ module Google
1182
1316
  execute_or_queue_command(command, &block)
1183
1317
  end
1184
1318
 
1185
- # Lists information about the supported locations for this service.
1319
+ # Lists information about the supported locations for this service. This method
1320
+ # lists locations based on the resource scope provided in the
1321
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
1322
+ # the method lists the public locations available to all projects. * **Project-
1323
+ # specific locations**: If `name` follows the format `projects/`project``, the
1324
+ # method lists locations visible to that specific project. This includes public,
1325
+ # private, or other project-specific locations enabled for the project. For gRPC
1326
+ # and client library implementations, the resource name is passed as the `name`
1327
+ # field. For direct service calls, the resource name is incorporated into the
1328
+ # request path based on the specific service implementation and version.
1186
1329
  # @param [String] name
1187
1330
  # The resource that owns the locations collection, if applicable.
1331
+ # @param [Array<String>, String] extra_location_types
1332
+ # Optional. Do not use this field unless explicitly documented otherwise. This
1333
+ # is primarily for internal usage.
1188
1334
  # @param [String] filter
1189
1335
  # A filter to narrow down results to a preferred subset. The filtering language
1190
1336
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -1212,11 +1358,12 @@ module Google
1212
1358
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1213
1359
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1214
1360
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1215
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1361
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1216
1362
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
1217
1363
  command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation
1218
1364
  command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse
1219
1365
  command.params['name'] = name unless name.nil?
1366
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
1220
1367
  command.query['filter'] = filter unless filter.nil?
1221
1368
  command.query['pageSize'] = page_size unless page_size.nil?
1222
1369
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -2353,6 +2500,196 @@ module Google
2353
2500
  execute_or_queue_command(command, &block)
2354
2501
  end
2355
2502
 
2503
+ # Creates a new BackendAuthenticationConfig in a given project and location.
2504
+ # @param [String] parent
2505
+ # Required. The parent resource of the BackendAuthenticationConfig. Must be in
2506
+ # the format `projects/*/locations/`location``.
2507
+ # @param [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] backend_authentication_config_object
2508
+ # @param [String] backend_authentication_config_id
2509
+ # Required. Short name of the BackendAuthenticationConfig resource to be created.
2510
+ # This value should be 1-63 characters long, containing only letters, numbers,
2511
+ # hyphens, and underscores, and should not start with a number. E.g. "backend-
2512
+ # auth-config".
2513
+ # @param [String] fields
2514
+ # Selector specifying which fields to include in a partial response.
2515
+ # @param [String] quota_user
2516
+ # Available to use for quota purposes for server-side applications. Can be any
2517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2518
+ # @param [Google::Apis::RequestOptions] options
2519
+ # Request-specific options
2520
+ #
2521
+ # @yield [result, err] Result & error if block supplied
2522
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
2523
+ # @yieldparam err [StandardError] error object if request failed
2524
+ #
2525
+ # @return [Google::Apis::NetworksecurityV1::Operation]
2526
+ #
2527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2530
+ def create_project_location_backend_authentication_config(parent, backend_authentication_config_object = nil, backend_authentication_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2531
+ command = make_simple_command(:post, 'v1/{+parent}/backendAuthenticationConfigs', options)
2532
+ command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
2533
+ command.request_object = backend_authentication_config_object
2534
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
2535
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
2536
+ command.params['parent'] = parent unless parent.nil?
2537
+ command.query['backendAuthenticationConfigId'] = backend_authentication_config_id unless backend_authentication_config_id.nil?
2538
+ command.query['fields'] = fields unless fields.nil?
2539
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2540
+ execute_or_queue_command(command, &block)
2541
+ end
2542
+
2543
+ # Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.
2544
+ # @param [String] name
2545
+ # Required. A name of the BackendAuthenticationConfig to delete. Must be in the
2546
+ # format `projects/*/locations/`location`/backendAuthenticationConfigs/*`.
2547
+ # @param [String] etag
2548
+ # Optional. Etag of the resource. If this is provided, it must match the server'
2549
+ # s etag.
2550
+ # @param [String] fields
2551
+ # Selector specifying which fields to include in a partial response.
2552
+ # @param [String] quota_user
2553
+ # Available to use for quota purposes for server-side applications. Can be any
2554
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2555
+ # @param [Google::Apis::RequestOptions] options
2556
+ # Request-specific options
2557
+ #
2558
+ # @yield [result, err] Result & error if block supplied
2559
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
2560
+ # @yieldparam err [StandardError] error object if request failed
2561
+ #
2562
+ # @return [Google::Apis::NetworksecurityV1::Operation]
2563
+ #
2564
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2565
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2566
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2567
+ def delete_project_location_backend_authentication_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
2568
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2569
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
2570
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
2571
+ command.params['name'] = name unless name.nil?
2572
+ command.query['etag'] = etag unless etag.nil?
2573
+ command.query['fields'] = fields unless fields.nil?
2574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2575
+ execute_or_queue_command(command, &block)
2576
+ end
2577
+
2578
+ # Gets details of a single BackendAuthenticationConfig to
2579
+ # BackendAuthenticationConfig.
2580
+ # @param [String] name
2581
+ # Required. A name of the BackendAuthenticationConfig to get. Must be in the
2582
+ # format `projects/*/locations/`location`/backendAuthenticationConfigs/*`.
2583
+ # @param [String] fields
2584
+ # Selector specifying which fields to include in a partial response.
2585
+ # @param [String] quota_user
2586
+ # Available to use for quota purposes for server-side applications. Can be any
2587
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2588
+ # @param [Google::Apis::RequestOptions] options
2589
+ # Request-specific options
2590
+ #
2591
+ # @yield [result, err] Result & error if block supplied
2592
+ # @yieldparam result [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] parsed result object
2593
+ # @yieldparam err [StandardError] error object if request failed
2594
+ #
2595
+ # @return [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig]
2596
+ #
2597
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2598
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2599
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2600
+ def get_project_location_backend_authentication_config(name, fields: nil, quota_user: nil, options: nil, &block)
2601
+ command = make_simple_command(:get, 'v1/{+name}', options)
2602
+ command.response_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
2603
+ command.response_class = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig
2604
+ command.params['name'] = name unless name.nil?
2605
+ command.query['fields'] = fields unless fields.nil?
2606
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2607
+ execute_or_queue_command(command, &block)
2608
+ end
2609
+
2610
+ # Lists BackendAuthenticationConfigs in a given project and location.
2611
+ # @param [String] parent
2612
+ # Required. The project and location from which the BackendAuthenticationConfigs
2613
+ # should be listed, specified in the format `projects/*/locations/`location``.
2614
+ # @param [Fixnum] page_size
2615
+ # Maximum number of BackendAuthenticationConfigs to return per call.
2616
+ # @param [String] page_token
2617
+ # The value returned by the last `ListBackendAuthenticationConfigsResponse`
2618
+ # Indicates that this is a continuation of a prior `
2619
+ # ListBackendAuthenticationConfigs` call, and that the system should return the
2620
+ # next page of data.
2621
+ # @param [String] fields
2622
+ # Selector specifying which fields to include in a partial response.
2623
+ # @param [String] quota_user
2624
+ # Available to use for quota purposes for server-side applications. Can be any
2625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2626
+ # @param [Google::Apis::RequestOptions] options
2627
+ # Request-specific options
2628
+ #
2629
+ # @yield [result, err] Result & error if block supplied
2630
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse] parsed result object
2631
+ # @yieldparam err [StandardError] error object if request failed
2632
+ #
2633
+ # @return [Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse]
2634
+ #
2635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2638
+ def list_project_location_backend_authentication_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2639
+ command = make_simple_command(:get, 'v1/{+parent}/backendAuthenticationConfigs', options)
2640
+ command.response_representation = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse::Representation
2641
+ command.response_class = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse
2642
+ command.params['parent'] = parent unless parent.nil?
2643
+ command.query['pageSize'] = page_size unless page_size.nil?
2644
+ command.query['pageToken'] = page_token unless page_token.nil?
2645
+ command.query['fields'] = fields unless fields.nil?
2646
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2647
+ execute_or_queue_command(command, &block)
2648
+ end
2649
+
2650
+ # Updates the parameters of a single BackendAuthenticationConfig to
2651
+ # BackendAuthenticationConfig.
2652
+ # @param [String] name
2653
+ # Required. Name of the BackendAuthenticationConfig resource. It matches the
2654
+ # pattern `projects/*/locations/`location`/backendAuthenticationConfigs/`
2655
+ # backend_authentication_config``
2656
+ # @param [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] backend_authentication_config_object
2657
+ # @param [String] update_mask
2658
+ # Optional. Field mask is used to specify the fields to be overwritten in the
2659
+ # BackendAuthenticationConfig resource by the update. The fields specified in
2660
+ # the update_mask are relative to the resource, not the full request. A field
2661
+ # will be overwritten if it is in the mask. If the user does not provide a mask
2662
+ # then all fields will be overwritten.
2663
+ # @param [String] fields
2664
+ # Selector specifying which fields to include in a partial response.
2665
+ # @param [String] quota_user
2666
+ # Available to use for quota purposes for server-side applications. Can be any
2667
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2668
+ # @param [Google::Apis::RequestOptions] options
2669
+ # Request-specific options
2670
+ #
2671
+ # @yield [result, err] Result & error if block supplied
2672
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
2673
+ # @yieldparam err [StandardError] error object if request failed
2674
+ #
2675
+ # @return [Google::Apis::NetworksecurityV1::Operation]
2676
+ #
2677
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2678
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2679
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2680
+ def patch_project_location_backend_authentication_config(name, backend_authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2681
+ command = make_simple_command(:patch, 'v1/{+name}', options)
2682
+ command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
2683
+ command.request_object = backend_authentication_config_object
2684
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
2685
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
2686
+ command.params['name'] = name unless name.nil?
2687
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2688
+ command.query['fields'] = fields unless fields.nil?
2689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2690
+ execute_or_queue_command(command, &block)
2691
+ end
2692
+
2356
2693
  # Creates a new ClientTlsPolicy in a given project and location.
2357
2694
  # @param [String] parent
2358
2695
  # Required. The parent resource of the ClientTlsPolicy. Must be in the format `
@@ -2541,7 +2878,7 @@ module Google
2541
2878
  # Updates the parameters of a single ClientTlsPolicy.
2542
2879
  # @param [String] name
2543
2880
  # Required. Name of the ClientTlsPolicy resource. It matches the pattern `
2544
- # projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy``
2881
+ # projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
2545
2882
  # @param [Google::Apis::NetworksecurityV1::ClientTlsPolicy] client_tls_policy_object
2546
2883
  # @param [String] update_mask
2547
2884
  # Optional. Field mask is used to specify the fields to be overwritten in the
@@ -2655,13 +2992,188 @@ module Google
2655
2992
  execute_or_queue_command(command, &block)
2656
2993
  end
2657
2994
 
2658
- # Creates a new FirewallEndpointAssociation in a given project and location.
2995
+ # Creates a new DnsThreatDetector in a given project and location.
2659
2996
  # @param [String] parent
2660
- # Required. Value for parent.
2661
- # @param [Google::Apis::NetworksecurityV1::FirewallEndpointAssociation] firewall_endpoint_association_object
2662
- # @param [String] firewall_endpoint_association_id
2663
- # Optional. Id of the requesting object. If auto-generating Id server-side,
2664
- # remove this field and firewall_endpoint_association_id from the
2997
+ # Required. The value for the parent of the DnsThreatDetector resource.
2998
+ # @param [Google::Apis::NetworksecurityV1::DnsThreatDetector] dns_threat_detector_object
2999
+ # @param [String] dns_threat_detector_id
3000
+ # Optional. The ID of the requesting DnsThreatDetector object. If this field is
3001
+ # not supplied, the service generates an identifier.
3002
+ # @param [String] fields
3003
+ # Selector specifying which fields to include in a partial response.
3004
+ # @param [String] quota_user
3005
+ # Available to use for quota purposes for server-side applications. Can be any
3006
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3007
+ # @param [Google::Apis::RequestOptions] options
3008
+ # Request-specific options
3009
+ #
3010
+ # @yield [result, err] Result & error if block supplied
3011
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
3012
+ # @yieldparam err [StandardError] error object if request failed
3013
+ #
3014
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
3015
+ #
3016
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3017
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3018
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3019
+ def create_project_location_dns_threat_detector(parent, dns_threat_detector_object = nil, dns_threat_detector_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3020
+ command = make_simple_command(:post, 'v1/{+parent}/dnsThreatDetectors', options)
3021
+ command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3022
+ command.request_object = dns_threat_detector_object
3023
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3024
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
3025
+ command.params['parent'] = parent unless parent.nil?
3026
+ command.query['dnsThreatDetectorId'] = dns_threat_detector_id unless dns_threat_detector_id.nil?
3027
+ command.query['fields'] = fields unless fields.nil?
3028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3029
+ execute_or_queue_command(command, &block)
3030
+ end
3031
+
3032
+ # Deletes a single DnsThreatDetector.
3033
+ # @param [String] name
3034
+ # Required. Name of the DnsThreatDetector resource.
3035
+ # @param [String] fields
3036
+ # Selector specifying which fields to include in a partial response.
3037
+ # @param [String] quota_user
3038
+ # Available to use for quota purposes for server-side applications. Can be any
3039
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3040
+ # @param [Google::Apis::RequestOptions] options
3041
+ # Request-specific options
3042
+ #
3043
+ # @yield [result, err] Result & error if block supplied
3044
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
3045
+ # @yieldparam err [StandardError] error object if request failed
3046
+ #
3047
+ # @return [Google::Apis::NetworksecurityV1::Empty]
3048
+ #
3049
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3050
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3051
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3052
+ def delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
3053
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3054
+ command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
3055
+ command.response_class = Google::Apis::NetworksecurityV1::Empty
3056
+ command.params['name'] = name unless name.nil?
3057
+ command.query['fields'] = fields unless fields.nil?
3058
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3059
+ execute_or_queue_command(command, &block)
3060
+ end
3061
+
3062
+ # Gets the details of a single DnsThreatDetector.
3063
+ # @param [String] name
3064
+ # Required. Name of the DnsThreatDetector resource.
3065
+ # @param [String] fields
3066
+ # Selector specifying which fields to include in a partial response.
3067
+ # @param [String] quota_user
3068
+ # Available to use for quota purposes for server-side applications. Can be any
3069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3070
+ # @param [Google::Apis::RequestOptions] options
3071
+ # Request-specific options
3072
+ #
3073
+ # @yield [result, err] Result & error if block supplied
3074
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
3075
+ # @yieldparam err [StandardError] error object if request failed
3076
+ #
3077
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
3078
+ #
3079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3082
+ def get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
3083
+ command = make_simple_command(:get, 'v1/{+name}', options)
3084
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3085
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
3086
+ command.params['name'] = name unless name.nil?
3087
+ command.query['fields'] = fields unless fields.nil?
3088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3089
+ execute_or_queue_command(command, &block)
3090
+ end
3091
+
3092
+ # Lists DnsThreatDetectors in a given project and location.
3093
+ # @param [String] parent
3094
+ # Required. The parent value for `ListDnsThreatDetectorsRequest`.
3095
+ # @param [Fixnum] page_size
3096
+ # Optional. The requested page size. The server may return fewer items than
3097
+ # requested. If unspecified, the server picks an appropriate default.
3098
+ # @param [String] page_token
3099
+ # Optional. A page token received from a previous `ListDnsThreatDetectorsRequest`
3100
+ # call. Provide this to retrieve the subsequent page.
3101
+ # @param [String] fields
3102
+ # Selector specifying which fields to include in a partial response.
3103
+ # @param [String] quota_user
3104
+ # Available to use for quota purposes for server-side applications. Can be any
3105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3106
+ # @param [Google::Apis::RequestOptions] options
3107
+ # Request-specific options
3108
+ #
3109
+ # @yield [result, err] Result & error if block supplied
3110
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse] parsed result object
3111
+ # @yieldparam err [StandardError] error object if request failed
3112
+ #
3113
+ # @return [Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse]
3114
+ #
3115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3118
+ def list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3119
+ command = make_simple_command(:get, 'v1/{+parent}/dnsThreatDetectors', options)
3120
+ command.response_representation = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse::Representation
3121
+ command.response_class = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse
3122
+ command.params['parent'] = parent unless parent.nil?
3123
+ command.query['pageSize'] = page_size unless page_size.nil?
3124
+ command.query['pageToken'] = page_token unless page_token.nil?
3125
+ command.query['fields'] = fields unless fields.nil?
3126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3127
+ execute_or_queue_command(command, &block)
3128
+ end
3129
+
3130
+ # Updates a single DnsThreatDetector.
3131
+ # @param [String] name
3132
+ # Immutable. Identifier. Name of the DnsThreatDetector resource.
3133
+ # @param [Google::Apis::NetworksecurityV1::DnsThreatDetector] dns_threat_detector_object
3134
+ # @param [String] update_mask
3135
+ # Optional. The field mask is used to specify the fields to be overwritten in
3136
+ # the DnsThreatDetector resource by the update. The fields specified in the
3137
+ # update_mask are relative to the resource, not the full request. A field will
3138
+ # be overwritten if it is in the mask. If the mask is not provided then all
3139
+ # fields present in the request will be overwritten.
3140
+ # @param [String] fields
3141
+ # Selector specifying which fields to include in a partial response.
3142
+ # @param [String] quota_user
3143
+ # Available to use for quota purposes for server-side applications. Can be any
3144
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3145
+ # @param [Google::Apis::RequestOptions] options
3146
+ # Request-specific options
3147
+ #
3148
+ # @yield [result, err] Result & error if block supplied
3149
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
3150
+ # @yieldparam err [StandardError] error object if request failed
3151
+ #
3152
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
3153
+ #
3154
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3155
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3156
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3157
+ def patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3158
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3159
+ command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3160
+ command.request_object = dns_threat_detector_object
3161
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3162
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
3163
+ command.params['name'] = name unless name.nil?
3164
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3165
+ command.query['fields'] = fields unless fields.nil?
3166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3167
+ execute_or_queue_command(command, &block)
3168
+ end
3169
+
3170
+ # Creates a new FirewallEndpointAssociation in a given project and location.
3171
+ # @param [String] parent
3172
+ # Required. Value for parent.
3173
+ # @param [Google::Apis::NetworksecurityV1::FirewallEndpointAssociation] firewall_endpoint_association_object
3174
+ # @param [String] firewall_endpoint_association_id
3175
+ # Optional. Id of the requesting object. If auto-generating Id server-side,
3176
+ # remove this field and firewall_endpoint_association_id from the
2665
3177
  # method_signature of Create RPC.
2666
3178
  # @param [String] request_id
2667
3179
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -2872,16 +3384,25 @@ module Google
2872
3384
  execute_or_queue_command(command, &block)
2873
3385
  end
2874
3386
 
2875
- # Creates a new GatewaySecurityPolicy in a given project and location.
3387
+ # Creates a new FirewallEndpoint in a given project and location.
2876
3388
  # @param [String] parent
2877
- # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
2878
- # format `projects/`project`/locations/`location``.
2879
- # @param [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] gateway_security_policy_object
2880
- # @param [String] gateway_security_policy_id
2881
- # Required. Short name of the GatewaySecurityPolicy resource to be created. This
2882
- # value should be 1-63 characters long, containing only letters, numbers,
2883
- # hyphens, and underscores, and should not start with a number. E.g. "
2884
- # gateway_security_policy1".
3389
+ # Required. Value for parent.
3390
+ # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
3391
+ # @param [String] firewall_endpoint_id
3392
+ # Required. Id of the requesting object. If auto-generating Id server-side,
3393
+ # remove this field and firewall_endpoint_id from the method_signature of Create
3394
+ # RPC.
3395
+ # @param [String] request_id
3396
+ # Optional. An optional request ID to identify requests. Specify a unique
3397
+ # request ID so that if you must retry your request, the server will know to
3398
+ # ignore the request if it has already been completed. The server will guarantee
3399
+ # that for at least 60 minutes since the first request. For example, consider a
3400
+ # situation where you make an initial request and the request times out. If you
3401
+ # make the request again with the same request ID, the server can check if
3402
+ # original operation with the same request ID was received, and if so, will
3403
+ # ignore the second request. This prevents clients from accidentally creating
3404
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3405
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2885
3406
  # @param [String] fields
2886
3407
  # Selector specifying which fields to include in a partial response.
2887
3408
  # @param [String] quota_user
@@ -2899,23 +3420,34 @@ module Google
2899
3420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2900
3421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2901
3422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2902
- def create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2903
- command = make_simple_command(:post, 'v1/{+parent}/gatewaySecurityPolicies', options)
2904
- command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation
2905
- command.request_object = gateway_security_policy_object
3423
+ def create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3424
+ command = make_simple_command(:post, 'v1/{+parent}/firewallEndpoints', options)
3425
+ command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3426
+ command.request_object = firewall_endpoint_object
2906
3427
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
2907
3428
  command.response_class = Google::Apis::NetworksecurityV1::Operation
2908
3429
  command.params['parent'] = parent unless parent.nil?
2909
- command.query['gatewaySecurityPolicyId'] = gateway_security_policy_id unless gateway_security_policy_id.nil?
3430
+ command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil?
3431
+ command.query['requestId'] = request_id unless request_id.nil?
2910
3432
  command.query['fields'] = fields unless fields.nil?
2911
3433
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2912
3434
  execute_or_queue_command(command, &block)
2913
3435
  end
2914
3436
 
2915
- # Deletes a single GatewaySecurityPolicy.
3437
+ # Deletes a single project Endpoint.
2916
3438
  # @param [String] name
2917
- # Required. A name of the GatewaySecurityPolicy to delete. Must be in the format
2918
- # `projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
3439
+ # Required. Name of the resource
3440
+ # @param [String] request_id
3441
+ # Optional. An optional request ID to identify requests. Specify a unique
3442
+ # request ID so that if you must retry your request, the server will know to
3443
+ # ignore the request if it has already been completed. The server will guarantee
3444
+ # that for at least 60 minutes after the first request. For example, consider a
3445
+ # situation where you make an initial request and the request times out. If you
3446
+ # make the request again with the same request ID, the server can check if
3447
+ # original operation with the same request ID was received, and if so, will
3448
+ # ignore the second request. This prevents clients from accidentally creating
3449
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3450
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2919
3451
  # @param [String] fields
2920
3452
  # Selector specifying which fields to include in a partial response.
2921
3453
  # @param [String] quota_user
@@ -2933,20 +3465,20 @@ module Google
2933
3465
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2934
3466
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2935
3467
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2936
- def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
3468
+ def delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2937
3469
  command = make_simple_command(:delete, 'v1/{+name}', options)
2938
3470
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
2939
3471
  command.response_class = Google::Apis::NetworksecurityV1::Operation
2940
3472
  command.params['name'] = name unless name.nil?
3473
+ command.query['requestId'] = request_id unless request_id.nil?
2941
3474
  command.query['fields'] = fields unless fields.nil?
2942
3475
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2943
3476
  execute_or_queue_command(command, &block)
2944
3477
  end
2945
3478
 
2946
- # Gets details of a single GatewaySecurityPolicy.
3479
+ # Gets details of a single project Endpoint.
2947
3480
  # @param [String] name
2948
- # Required. A name of the GatewaySecurityPolicy to get. Must be in the format `
2949
- # projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
3481
+ # Required. Name of the resource
2950
3482
  # @param [String] fields
2951
3483
  # Selector specifying which fields to include in a partial response.
2952
3484
  # @param [String] quota_user
@@ -2956,35 +3488,36 @@ module Google
2956
3488
  # Request-specific options
2957
3489
  #
2958
3490
  # @yield [result, err] Result & error if block supplied
2959
- # @yieldparam result [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] parsed result object
3491
+ # @yieldparam result [Google::Apis::NetworksecurityV1::FirewallEndpoint] parsed result object
2960
3492
  # @yieldparam err [StandardError] error object if request failed
2961
3493
  #
2962
- # @return [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy]
3494
+ # @return [Google::Apis::NetworksecurityV1::FirewallEndpoint]
2963
3495
  #
2964
3496
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2965
3497
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2966
3498
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2967
- def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
3499
+ def get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
2968
3500
  command = make_simple_command(:get, 'v1/{+name}', options)
2969
- command.response_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation
2970
- command.response_class = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy
3501
+ command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3502
+ command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpoint
2971
3503
  command.params['name'] = name unless name.nil?
2972
3504
  command.query['fields'] = fields unless fields.nil?
2973
3505
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2974
3506
  execute_or_queue_command(command, &block)
2975
3507
  end
2976
3508
 
2977
- # Lists GatewaySecurityPolicies in a given project and location.
3509
+ # Lists FirewallEndpoints in a given project and location.
2978
3510
  # @param [String] parent
2979
- # Required. The project and location from which the GatewaySecurityPolicies
2980
- # should be listed, specified in the format `projects/`project`/locations/`
2981
- # location``.
3511
+ # Required. Parent value for ListEndpointsRequest
3512
+ # @param [String] filter
3513
+ # Optional. Filtering results
3514
+ # @param [String] order_by
3515
+ # Hint for how to order the results
2982
3516
  # @param [Fixnum] page_size
2983
- # Maximum number of GatewaySecurityPolicies to return per call.
3517
+ # Optional. Requested page size. Server may return fewer items than requested.
3518
+ # If unspecified, server will pick an appropriate default.
2984
3519
  # @param [String] page_token
2985
- # The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates
2986
- # that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and
2987
- # that the system should return the next page of data.
3520
+ # A token identifying a page of results the server should return.
2988
3521
  # @param [String] fields
2989
3522
  # Selector specifying which fields to include in a partial response.
2990
3523
  # @param [String] quota_user
@@ -2994,19 +3527,21 @@ module Google
2994
3527
  # Request-specific options
2995
3528
  #
2996
3529
  # @yield [result, err] Result & error if block supplied
2997
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse] parsed result object
3530
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse] parsed result object
2998
3531
  # @yieldparam err [StandardError] error object if request failed
2999
3532
  #
3000
- # @return [Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse]
3533
+ # @return [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse]
3001
3534
  #
3002
3535
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3003
3536
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3004
3537
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3005
- def list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3006
- command = make_simple_command(:get, 'v1/{+parent}/gatewaySecurityPolicies', options)
3007
- command.response_representation = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse::Representation
3008
- command.response_class = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse
3538
+ def list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3539
+ command = make_simple_command(:get, 'v1/{+parent}/firewallEndpoints', options)
3540
+ command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse::Representation
3541
+ command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
3009
3542
  command.params['parent'] = parent unless parent.nil?
3543
+ command.query['filter'] = filter unless filter.nil?
3544
+ command.query['orderBy'] = order_by unless order_by.nil?
3010
3545
  command.query['pageSize'] = page_size unless page_size.nil?
3011
3546
  command.query['pageToken'] = page_token unless page_token.nil?
3012
3547
  command.query['fields'] = fields unless fields.nil?
@@ -3014,19 +3549,213 @@ module Google
3014
3549
  execute_or_queue_command(command, &block)
3015
3550
  end
3016
3551
 
3017
- # Updates the parameters of a single GatewaySecurityPolicy.
3552
+ # Update a single project Endpoint.
3018
3553
  # @param [String] name
3019
- # Required. Name of the resource. Name is of the form projects/`project`/
3020
- # locations/`location`/gatewaySecurityPolicies/`gateway_security_policy`
3021
- # gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-
3022
- # 9])?$).
3023
- # @param [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] gateway_security_policy_object
3554
+ # Immutable. Identifier. Name of resource.
3555
+ # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
3556
+ # @param [String] request_id
3557
+ # Optional. An optional request ID to identify requests. Specify a unique
3558
+ # request ID so that if you must retry your request, the server will know to
3559
+ # ignore the request if it has already been completed. The server will guarantee
3560
+ # that for at least 60 minutes since the first request. For example, consider a
3561
+ # situation where you make an initial request and the request times out. If you
3562
+ # make the request again with the same request ID, the server can check if
3563
+ # original operation with the same request ID was received, and if so, will
3564
+ # ignore the second request. This prevents clients from accidentally creating
3565
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3566
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3024
3567
  # @param [String] update_mask
3025
- # Optional. Field mask is used to specify the fields to be overwritten in the
3026
- # GatewaySecurityPolicy resource by the update. The fields specified in the
3027
- # update_mask are relative to the resource, not the full request. A field will
3028
- # be overwritten if it is in the mask. If the user does not provide a mask then
3029
- # all fields will be overwritten.
3568
+ # Required. Field mask is used to specify the fields to be overwritten in the
3569
+ # Endpoint resource by the update. The fields specified in the update_mask are
3570
+ # relative to the resource, not the full request. A field will be overwritten if
3571
+ # it is in the mask. If the user does not provide a mask then all fields will be
3572
+ # overwritten.
3573
+ # @param [String] fields
3574
+ # Selector specifying which fields to include in a partial response.
3575
+ # @param [String] quota_user
3576
+ # Available to use for quota purposes for server-side applications. Can be any
3577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3578
+ # @param [Google::Apis::RequestOptions] options
3579
+ # Request-specific options
3580
+ #
3581
+ # @yield [result, err] Result & error if block supplied
3582
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3583
+ # @yieldparam err [StandardError] error object if request failed
3584
+ #
3585
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3586
+ #
3587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3590
+ def patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3591
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3592
+ command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3593
+ command.request_object = firewall_endpoint_object
3594
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3595
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3596
+ command.params['name'] = name unless name.nil?
3597
+ command.query['requestId'] = request_id unless request_id.nil?
3598
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3599
+ command.query['fields'] = fields unless fields.nil?
3600
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3601
+ execute_or_queue_command(command, &block)
3602
+ end
3603
+
3604
+ # Creates a new GatewaySecurityPolicy in a given project and location.
3605
+ # @param [String] parent
3606
+ # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
3607
+ # format `projects/`project`/locations/`location``.
3608
+ # @param [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] gateway_security_policy_object
3609
+ # @param [String] gateway_security_policy_id
3610
+ # Required. Short name of the GatewaySecurityPolicy resource to be created. This
3611
+ # value should be 1-63 characters long, containing only letters, numbers,
3612
+ # hyphens, and underscores, and should not start with a number. E.g. "
3613
+ # gateway_security_policy1".
3614
+ # @param [String] fields
3615
+ # Selector specifying which fields to include in a partial response.
3616
+ # @param [String] quota_user
3617
+ # Available to use for quota purposes for server-side applications. Can be any
3618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3619
+ # @param [Google::Apis::RequestOptions] options
3620
+ # Request-specific options
3621
+ #
3622
+ # @yield [result, err] Result & error if block supplied
3623
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3624
+ # @yieldparam err [StandardError] error object if request failed
3625
+ #
3626
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3627
+ #
3628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3631
+ def create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3632
+ command = make_simple_command(:post, 'v1/{+parent}/gatewaySecurityPolicies', options)
3633
+ command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation
3634
+ command.request_object = gateway_security_policy_object
3635
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3636
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3637
+ command.params['parent'] = parent unless parent.nil?
3638
+ command.query['gatewaySecurityPolicyId'] = gateway_security_policy_id unless gateway_security_policy_id.nil?
3639
+ command.query['fields'] = fields unless fields.nil?
3640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3641
+ execute_or_queue_command(command, &block)
3642
+ end
3643
+
3644
+ # Deletes a single GatewaySecurityPolicy.
3645
+ # @param [String] name
3646
+ # Required. A name of the GatewaySecurityPolicy to delete. Must be in the format
3647
+ # `projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
3648
+ # @param [String] fields
3649
+ # Selector specifying which fields to include in a partial response.
3650
+ # @param [String] quota_user
3651
+ # Available to use for quota purposes for server-side applications. Can be any
3652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3653
+ # @param [Google::Apis::RequestOptions] options
3654
+ # Request-specific options
3655
+ #
3656
+ # @yield [result, err] Result & error if block supplied
3657
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3658
+ # @yieldparam err [StandardError] error object if request failed
3659
+ #
3660
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3661
+ #
3662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3665
+ def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
3666
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3667
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3668
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3669
+ command.params['name'] = name unless name.nil?
3670
+ command.query['fields'] = fields unless fields.nil?
3671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3672
+ execute_or_queue_command(command, &block)
3673
+ end
3674
+
3675
+ # Gets details of a single GatewaySecurityPolicy.
3676
+ # @param [String] name
3677
+ # Required. A name of the GatewaySecurityPolicy to get. Must be in the format `
3678
+ # projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
3679
+ # @param [String] fields
3680
+ # Selector specifying which fields to include in a partial response.
3681
+ # @param [String] quota_user
3682
+ # Available to use for quota purposes for server-side applications. Can be any
3683
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3684
+ # @param [Google::Apis::RequestOptions] options
3685
+ # Request-specific options
3686
+ #
3687
+ # @yield [result, err] Result & error if block supplied
3688
+ # @yieldparam result [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] parsed result object
3689
+ # @yieldparam err [StandardError] error object if request failed
3690
+ #
3691
+ # @return [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy]
3692
+ #
3693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3696
+ def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
3697
+ command = make_simple_command(:get, 'v1/{+name}', options)
3698
+ command.response_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation
3699
+ command.response_class = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy
3700
+ command.params['name'] = name unless name.nil?
3701
+ command.query['fields'] = fields unless fields.nil?
3702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3703
+ execute_or_queue_command(command, &block)
3704
+ end
3705
+
3706
+ # Lists GatewaySecurityPolicies in a given project and location.
3707
+ # @param [String] parent
3708
+ # Required. The project and location from which the GatewaySecurityPolicies
3709
+ # should be listed, specified in the format `projects/`project`/locations/`
3710
+ # location``.
3711
+ # @param [Fixnum] page_size
3712
+ # Maximum number of GatewaySecurityPolicies to return per call.
3713
+ # @param [String] page_token
3714
+ # The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates
3715
+ # that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and
3716
+ # that the system should return the next page of data.
3717
+ # @param [String] fields
3718
+ # Selector specifying which fields to include in a partial response.
3719
+ # @param [String] quota_user
3720
+ # Available to use for quota purposes for server-side applications. Can be any
3721
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3722
+ # @param [Google::Apis::RequestOptions] options
3723
+ # Request-specific options
3724
+ #
3725
+ # @yield [result, err] Result & error if block supplied
3726
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse] parsed result object
3727
+ # @yieldparam err [StandardError] error object if request failed
3728
+ #
3729
+ # @return [Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse]
3730
+ #
3731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3734
+ def list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3735
+ command = make_simple_command(:get, 'v1/{+parent}/gatewaySecurityPolicies', options)
3736
+ command.response_representation = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse::Representation
3737
+ command.response_class = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse
3738
+ command.params['parent'] = parent unless parent.nil?
3739
+ command.query['pageSize'] = page_size unless page_size.nil?
3740
+ command.query['pageToken'] = page_token unless page_token.nil?
3741
+ command.query['fields'] = fields unless fields.nil?
3742
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3743
+ execute_or_queue_command(command, &block)
3744
+ end
3745
+
3746
+ # Updates the parameters of a single GatewaySecurityPolicy.
3747
+ # @param [String] name
3748
+ # Required. Name of the resource. Name is of the form projects/`project`/
3749
+ # locations/`location`/gatewaySecurityPolicies/`gateway_security_policy`
3750
+ # gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-
3751
+ # 9])?$).
3752
+ # @param [Google::Apis::NetworksecurityV1::GatewaySecurityPolicy] gateway_security_policy_object
3753
+ # @param [String] update_mask
3754
+ # Optional. Field mask is used to specify the fields to be overwritten in the
3755
+ # GatewaySecurityPolicy resource by the update. The fields specified in the
3756
+ # update_mask are relative to the resource, not the full request. A field will
3757
+ # be overwritten if it is in the mask. If the user does not provide a mask then
3758
+ # all fields will be overwritten.
3030
3759
  # @param [String] fields
3031
3760
  # Selector specifying which fields to include in a partial response.
3032
3761
  # @param [String] quota_user
@@ -3249,8 +3978,8 @@ module Google
3249
3978
  # @param [String] parent
3250
3979
  # Required. The parent resource where this deployment group will be created.
3251
3980
  # Format: projects/`project`/locations/`location`
3252
- # @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
3253
- # @param [String] mirroring_deployment_group_id
3981
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] intercept_deployment_group_object
3982
+ # @param [String] intercept_deployment_group_id
3254
3983
  # Required. The ID to use for the new deployment group, which will become the
3255
3984
  # final component of the deployment group's resource name.
3256
3985
  # @param [String] request_id
@@ -3274,14 +4003,14 @@ module Google
3274
4003
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3275
4004
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3276
4005
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3277
- def create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3278
- command = make_simple_command(:post, 'v1/{+parent}/mirroringDeploymentGroups', options)
3279
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
3280
- command.request_object = mirroring_deployment_group_object
4006
+ def create_project_location_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4007
+ command = make_simple_command(:post, 'v1/{+parent}/interceptDeploymentGroups', options)
4008
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
4009
+ command.request_object = intercept_deployment_group_object
3281
4010
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3282
4011
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3283
4012
  command.params['parent'] = parent unless parent.nil?
3284
- command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil?
4013
+ command.query['interceptDeploymentGroupId'] = intercept_deployment_group_id unless intercept_deployment_group_id.nil?
3285
4014
  command.query['requestId'] = request_id unless request_id.nil?
3286
4015
  command.query['fields'] = fields unless fields.nil?
3287
4016
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3312,7 +4041,7 @@ module Google
3312
4041
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3313
4042
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3314
4043
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3315
- def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4044
+ def delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3316
4045
  command = make_simple_command(:delete, 'v1/{+name}', options)
3317
4046
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3318
4047
  command.response_class = Google::Apis::NetworksecurityV1::Operation
@@ -3326,8 +4055,8 @@ module Google
3326
4055
  # Gets a specific deployment group. See https://google.aip.dev/131.
3327
4056
  # @param [String] name
3328
4057
  # Required. The name of the deployment group to retrieve. Format: projects/`
3329
- # project`/locations/`location`/mirroringDeploymentGroups/`
3330
- # mirroring_deployment_group`
4058
+ # project`/locations/`location`/interceptDeploymentGroups/`
4059
+ # intercept_deployment_group`
3331
4060
  # @param [String] fields
3332
4061
  # Selector specifying which fields to include in a partial response.
3333
4062
  # @param [String] quota_user
@@ -3337,18 +4066,18 @@ module Google
3337
4066
  # Request-specific options
3338
4067
  #
3339
4068
  # @yield [result, err] Result & error if block supplied
3340
- # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] parsed result object
4069
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] parsed result object
3341
4070
  # @yieldparam err [StandardError] error object if request failed
3342
4071
  #
3343
- # @return [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup]
4072
+ # @return [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup]
3344
4073
  #
3345
4074
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3346
4075
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3347
4076
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3348
- def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
4077
+ def get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
3349
4078
  command = make_simple_command(:get, 'v1/{+name}', options)
3350
- command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
3351
- command.response_class = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup
4079
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
4080
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup
3352
4081
  command.params['name'] = name unless name.nil?
3353
4082
  command.query['fields'] = fields unless fields.nil?
3354
4083
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3373,9 +4102,9 @@ module Google
3373
4102
  # aip.dev/158 for more details.
3374
4103
  # @param [String] page_token
3375
4104
  # Optional. A page token, received from a previous `
3376
- # ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent
4105
+ # ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent
3377
4106
  # page. When paginating, all other parameters provided to `
3378
- # ListMirroringDeploymentGroups` must match the call that provided the page
4107
+ # ListInterceptDeploymentGroups` must match the call that provided the page
3379
4108
  # token. See https://google.aip.dev/158 for more details.
3380
4109
  # @param [String] fields
3381
4110
  # Selector specifying which fields to include in a partial response.
@@ -3386,18 +4115,18 @@ module Google
3386
4115
  # Request-specific options
3387
4116
  #
3388
4117
  # @yield [result, err] Result & error if block supplied
3389
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse] parsed result object
4118
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse] parsed result object
3390
4119
  # @yieldparam err [StandardError] error object if request failed
3391
4120
  #
3392
- # @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse]
4121
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse]
3393
4122
  #
3394
4123
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3395
4124
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3396
4125
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3397
- def list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3398
- command = make_simple_command(:get, 'v1/{+parent}/mirroringDeploymentGroups', options)
3399
- command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse::Representation
3400
- command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse
4126
+ def list_project_location_intercept_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4127
+ command = make_simple_command(:get, 'v1/{+parent}/interceptDeploymentGroups', options)
4128
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse::Representation
4129
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse
3401
4130
  command.params['parent'] = parent unless parent.nil?
3402
4131
  command.query['filter'] = filter unless filter.nil?
3403
4132
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -3411,16 +4140,16 @@ module Google
3411
4140
  # Updates a deployment group. See https://google.aip.dev/134.
3412
4141
  # @param [String] name
3413
4142
  # Immutable. Identifier. The resource name of this deployment group, for example:
3414
- # `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See
4143
+ # `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See
3415
4144
  # https://google.aip.dev/122 for more details.
3416
- # @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
4145
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] intercept_deployment_group_object
3417
4146
  # @param [String] request_id
3418
4147
  # Optional. A unique identifier for this request. Must be a UUID4. This request
3419
4148
  # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3420
4149
  # 155 for more details.
3421
4150
  # @param [String] update_mask
3422
4151
  # Optional. The list of fields to update. Fields are specified relative to the
3423
- # deployment group (e.g. `description`; *not* `mirroring_deployment_group.
4152
+ # deployment group (e.g. `description`; *not* `intercept_deployment_group.
3424
4153
  # description`). See https://google.aip.dev/161 for more details.
3425
4154
  # @param [String] fields
3426
4155
  # Selector specifying which fields to include in a partial response.
@@ -3439,10 +4168,10 @@ module Google
3439
4168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3440
4169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3441
4170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3442
- def patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4171
+ def patch_project_location_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3443
4172
  command = make_simple_command(:patch, 'v1/{+name}', options)
3444
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
3445
- command.request_object = mirroring_deployment_group_object
4173
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
4174
+ command.request_object = intercept_deployment_group_object
3446
4175
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3447
4176
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3448
4177
  command.params['name'] = name unless name.nil?
@@ -3458,8 +4187,8 @@ module Google
3458
4187
  # @param [String] parent
3459
4188
  # Required. The parent resource where this deployment will be created. Format:
3460
4189
  # projects/`project`/locations/`location`
3461
- # @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
3462
- # @param [String] mirroring_deployment_id
4190
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeployment] intercept_deployment_object
4191
+ # @param [String] intercept_deployment_id
3463
4192
  # Required. The ID to use for the new deployment, which will become the final
3464
4193
  # component of the deployment's resource name.
3465
4194
  # @param [String] request_id
@@ -3483,14 +4212,14 @@ module Google
3483
4212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3484
4213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3485
4214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3486
- def create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3487
- command = make_simple_command(:post, 'v1/{+parent}/mirroringDeployments', options)
3488
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
3489
- command.request_object = mirroring_deployment_object
4215
+ def create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4216
+ command = make_simple_command(:post, 'v1/{+parent}/interceptDeployments', options)
4217
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
4218
+ command.request_object = intercept_deployment_object
3490
4219
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3491
4220
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3492
4221
  command.params['parent'] = parent unless parent.nil?
3493
- command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil?
4222
+ command.query['interceptDeploymentId'] = intercept_deployment_id unless intercept_deployment_id.nil?
3494
4223
  command.query['requestId'] = request_id unless request_id.nil?
3495
4224
  command.query['fields'] = fields unless fields.nil?
3496
4225
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3521,7 +4250,7 @@ module Google
3521
4250
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3522
4251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3523
4252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3524
- def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4253
+ def delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3525
4254
  command = make_simple_command(:delete, 'v1/{+name}', options)
3526
4255
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3527
4256
  command.response_class = Google::Apis::NetworksecurityV1::Operation
@@ -3535,7 +4264,7 @@ module Google
3535
4264
  # Gets a specific deployment. See https://google.aip.dev/131.
3536
4265
  # @param [String] name
3537
4266
  # Required. The name of the deployment to retrieve. Format: projects/`project`/
3538
- # locations/`location`/mirroringDeployments/`mirroring_deployment`
4267
+ # locations/`location`/interceptDeployments/`intercept_deployment`
3539
4268
  # @param [String] fields
3540
4269
  # Selector specifying which fields to include in a partial response.
3541
4270
  # @param [String] quota_user
@@ -3545,18 +4274,18 @@ module Google
3545
4274
  # Request-specific options
3546
4275
  #
3547
4276
  # @yield [result, err] Result & error if block supplied
3548
- # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeployment] parsed result object
4277
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptDeployment] parsed result object
3549
4278
  # @yieldparam err [StandardError] error object if request failed
3550
4279
  #
3551
- # @return [Google::Apis::NetworksecurityV1::MirroringDeployment]
4280
+ # @return [Google::Apis::NetworksecurityV1::InterceptDeployment]
3552
4281
  #
3553
4282
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3554
4283
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3555
4284
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3556
- def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
4285
+ def get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
3557
4286
  command = make_simple_command(:get, 'v1/{+name}', options)
3558
- command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
3559
- command.response_class = Google::Apis::NetworksecurityV1::MirroringDeployment
4287
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
4288
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptDeployment
3560
4289
  command.params['name'] = name unless name.nil?
3561
4290
  command.query['fields'] = fields unless fields.nil?
3562
4291
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3580,9 +4309,9 @@ module Google
3580
4309
  # If unspecified, server will pick an appropriate default. See https://google.
3581
4310
  # aip.dev/158 for more details.
3582
4311
  # @param [String] page_token
3583
- # Optional. A page token, received from a previous `ListMirroringDeployments`
4312
+ # Optional. A page token, received from a previous `ListInterceptDeployments`
3584
4313
  # call. Provide this to retrieve the subsequent page. When paginating, all other
3585
- # parameters provided to `ListMirroringDeployments` must match the call that
4314
+ # parameters provided to `ListInterceptDeployments` must match the call that
3586
4315
  # provided the page token. See https://google.aip.dev/158 for more details.
3587
4316
  # @param [String] fields
3588
4317
  # Selector specifying which fields to include in a partial response.
@@ -3593,18 +4322,18 @@ module Google
3593
4322
  # Request-specific options
3594
4323
  #
3595
4324
  # @yield [result, err] Result & error if block supplied
3596
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse] parsed result object
4325
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse] parsed result object
3597
4326
  # @yieldparam err [StandardError] error object if request failed
3598
4327
  #
3599
- # @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse]
4328
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse]
3600
4329
  #
3601
4330
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3602
4331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3603
4332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3604
- def list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3605
- command = make_simple_command(:get, 'v1/{+parent}/mirroringDeployments', options)
3606
- command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse::Representation
3607
- command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse
4333
+ def list_project_location_intercept_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4334
+ command = make_simple_command(:get, 'v1/{+parent}/interceptDeployments', options)
4335
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse::Representation
4336
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse
3608
4337
  command.params['parent'] = parent unless parent.nil?
3609
4338
  command.query['filter'] = filter unless filter.nil?
3610
4339
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -3618,16 +4347,16 @@ module Google
3618
4347
  # Updates a deployment. See https://google.aip.dev/134.
3619
4348
  # @param [String] name
3620
4349
  # Immutable. Identifier. The resource name of this deployment, for example: `
3621
- # projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See
4350
+ # projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See
3622
4351
  # https://google.aip.dev/122 for more details.
3623
- # @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
4352
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeployment] intercept_deployment_object
3624
4353
  # @param [String] request_id
3625
4354
  # Optional. A unique identifier for this request. Must be a UUID4. This request
3626
4355
  # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3627
4356
  # 155 for more details.
3628
4357
  # @param [String] update_mask
3629
4358
  # Optional. The list of fields to update. Fields are specified relative to the
3630
- # deployment (e.g. `description`; *not* `mirroring_deployment.description`). See
4359
+ # deployment (e.g. `description`; *not* `intercept_deployment.description`). See
3631
4360
  # https://google.aip.dev/161 for more details.
3632
4361
  # @param [String] fields
3633
4362
  # Selector specifying which fields to include in a partial response.
@@ -3646,10 +4375,10 @@ module Google
3646
4375
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3647
4376
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3648
4377
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3649
- def patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4378
+ def patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3650
4379
  command = make_simple_command(:patch, 'v1/{+name}', options)
3651
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
3652
- command.request_object = mirroring_deployment_object
4380
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
4381
+ command.request_object = intercept_deployment_object
3653
4382
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3654
4383
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3655
4384
  command.params['name'] = name unless name.nil?
@@ -3665,8 +4394,8 @@ module Google
3665
4394
  # @param [String] parent
3666
4395
  # Required. The parent resource where this association will be created. Format:
3667
4396
  # projects/`project`/locations/`location`
3668
- # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
3669
- # @param [String] mirroring_endpoint_group_association_id
4397
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
4398
+ # @param [String] intercept_endpoint_group_association_id
3670
4399
  # Optional. The ID to use for the new association, which will become the final
3671
4400
  # component of the endpoint group's resource name. If not provided, the server
3672
4401
  # will generate a unique ID.
@@ -3691,14 +4420,14 @@ module Google
3691
4420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3692
4421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3693
4422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3694
- def create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3695
- command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
3696
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
3697
- command.request_object = mirroring_endpoint_group_association_object
4423
+ def create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4424
+ command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroupAssociations', options)
4425
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
4426
+ command.request_object = intercept_endpoint_group_association_object
3698
4427
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3699
4428
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3700
4429
  command.params['parent'] = parent unless parent.nil?
3701
- command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil?
4430
+ command.query['interceptEndpointGroupAssociationId'] = intercept_endpoint_group_association_id unless intercept_endpoint_group_association_id.nil?
3702
4431
  command.query['requestId'] = request_id unless request_id.nil?
3703
4432
  command.query['fields'] = fields unless fields.nil?
3704
4433
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3729,7 +4458,7 @@ module Google
3729
4458
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3730
4459
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3731
4460
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3732
- def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4461
+ def delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3733
4462
  command = make_simple_command(:delete, 'v1/{+name}', options)
3734
4463
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3735
4464
  command.response_class = Google::Apis::NetworksecurityV1::Operation
@@ -3743,8 +4472,8 @@ module Google
3743
4472
  # Gets a specific association. See https://google.aip.dev/131.
3744
4473
  # @param [String] name
3745
4474
  # Required. The name of the association to retrieve. Format: projects/`project`/
3746
- # locations/`location`/mirroringEndpointGroupAssociations/`
3747
- # mirroring_endpoint_group_association`
4475
+ # locations/`location`/interceptEndpointGroupAssociations/`
4476
+ # intercept_endpoint_group_association`
3748
4477
  # @param [String] fields
3749
4478
  # Selector specifying which fields to include in a partial response.
3750
4479
  # @param [String] quota_user
@@ -3754,18 +4483,18 @@ module Google
3754
4483
  # Request-specific options
3755
4484
  #
3756
4485
  # @yield [result, err] Result & error if block supplied
3757
- # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] parsed result object
4486
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] parsed result object
3758
4487
  # @yieldparam err [StandardError] error object if request failed
3759
4488
  #
3760
- # @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation]
4489
+ # @return [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation]
3761
4490
  #
3762
4491
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3763
4492
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3764
4493
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3765
- def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
4494
+ def get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
3766
4495
  command = make_simple_command(:get, 'v1/{+name}', options)
3767
- command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
3768
- command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation
4496
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
4497
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation
3769
4498
  command.params['name'] = name unless name.nil?
3770
4499
  command.query['fields'] = fields unless fields.nil?
3771
4500
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3789,9 +4518,9 @@ module Google
3789
4518
  # If unspecified, server will pick an appropriate default. See https://google.
3790
4519
  # aip.dev/158 for more details.
3791
4520
  # @param [String] page_token
3792
- # Optional. A page token, received from a previous `ListMirroringEndpointGroups`
4521
+ # Optional. A page token, received from a previous `ListInterceptEndpointGroups`
3793
4522
  # call. Provide this to retrieve the subsequent page. When paginating, all other
3794
- # parameters provided to `ListMirroringEndpointGroups` must match the call that
4523
+ # parameters provided to `ListInterceptEndpointGroups` must match the call that
3795
4524
  # provided the page token. See https://google.aip.dev/158 for more details.
3796
4525
  # @param [String] fields
3797
4526
  # Selector specifying which fields to include in a partial response.
@@ -3802,18 +4531,18 @@ module Google
3802
4531
  # Request-specific options
3803
4532
  #
3804
4533
  # @yield [result, err] Result & error if block supplied
3805
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse] parsed result object
4534
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse] parsed result object
3806
4535
  # @yieldparam err [StandardError] error object if request failed
3807
4536
  #
3808
- # @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse]
4537
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse]
3809
4538
  #
3810
4539
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3811
4540
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3812
4541
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3813
- def list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3814
- command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
3815
- command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse::Representation
3816
- command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse
4542
+ def list_project_location_intercept_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4543
+ command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroupAssociations', options)
4544
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse::Representation
4545
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse
3817
4546
  command.params['parent'] = parent unless parent.nil?
3818
4547
  command.query['filter'] = filter unless filter.nil?
3819
4548
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -3828,16 +4557,16 @@ module Google
3828
4557
  # @param [String] name
3829
4558
  # Immutable. Identifier. The resource name of this endpoint group association,
3830
4559
  # for example: `projects/123456789/locations/global/
3831
- # mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.
4560
+ # interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.
3832
4561
  # dev/122 for more details.
3833
- # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
4562
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
3834
4563
  # @param [String] request_id
3835
4564
  # Optional. A unique identifier for this request. Must be a UUID4. This request
3836
4565
  # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3837
4566
  # 155 for more details.
3838
4567
  # @param [String] update_mask
3839
4568
  # Optional. The list of fields to update. Fields are specified relative to the
3840
- # association (e.g. `description`; *not* `mirroring_endpoint_group_association.
4569
+ # association (e.g. `description`; *not* `intercept_endpoint_group_association.
3841
4570
  # description`). See https://google.aip.dev/161 for more details.
3842
4571
  # @param [String] fields
3843
4572
  # Selector specifying which fields to include in a partial response.
@@ -3856,10 +4585,10 @@ module Google
3856
4585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3857
4586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3858
4587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3859
- def patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4588
+ def patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3860
4589
  command = make_simple_command(:patch, 'v1/{+name}', options)
3861
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
3862
- command.request_object = mirroring_endpoint_group_association_object
4590
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
4591
+ command.request_object = intercept_endpoint_group_association_object
3863
4592
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3864
4593
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3865
4594
  command.params['name'] = name unless name.nil?
@@ -3875,8 +4604,8 @@ module Google
3875
4604
  # @param [String] parent
3876
4605
  # Required. The parent resource where this endpoint group will be created.
3877
4606
  # Format: projects/`project`/locations/`location`
3878
- # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
3879
- # @param [String] mirroring_endpoint_group_id
4607
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] intercept_endpoint_group_object
4608
+ # @param [String] intercept_endpoint_group_id
3880
4609
  # Required. The ID to use for the endpoint group, which will become the final
3881
4610
  # component of the endpoint group's resource name.
3882
4611
  # @param [String] request_id
@@ -3900,27 +4629,1559 @@ module Google
3900
4629
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3901
4630
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3902
4631
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3903
- def create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3904
- command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroups', options)
3905
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
3906
- command.request_object = mirroring_endpoint_group_object
4632
+ def create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4633
+ command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroups', options)
4634
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
4635
+ command.request_object = intercept_endpoint_group_object
4636
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4637
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4638
+ command.params['parent'] = parent unless parent.nil?
4639
+ command.query['interceptEndpointGroupId'] = intercept_endpoint_group_id unless intercept_endpoint_group_id.nil?
4640
+ command.query['requestId'] = request_id unless request_id.nil?
4641
+ command.query['fields'] = fields unless fields.nil?
4642
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4643
+ execute_or_queue_command(command, &block)
4644
+ end
4645
+
4646
+ # Deletes an endpoint group. See https://google.aip.dev/135.
4647
+ # @param [String] name
4648
+ # Required. The endpoint group to delete.
4649
+ # @param [String] request_id
4650
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4651
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4652
+ # 155 for more details.
4653
+ # @param [String] fields
4654
+ # Selector specifying which fields to include in a partial response.
4655
+ # @param [String] quota_user
4656
+ # Available to use for quota purposes for server-side applications. Can be any
4657
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4658
+ # @param [Google::Apis::RequestOptions] options
4659
+ # Request-specific options
4660
+ #
4661
+ # @yield [result, err] Result & error if block supplied
4662
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4663
+ # @yieldparam err [StandardError] error object if request failed
4664
+ #
4665
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4666
+ #
4667
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4668
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4669
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4670
+ def delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4671
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4672
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4673
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4674
+ command.params['name'] = name unless name.nil?
4675
+ command.query['requestId'] = request_id unless request_id.nil?
4676
+ command.query['fields'] = fields unless fields.nil?
4677
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4678
+ execute_or_queue_command(command, &block)
4679
+ end
4680
+
4681
+ # Gets a specific endpoint group. See https://google.aip.dev/131.
4682
+ # @param [String] name
4683
+ # Required. The name of the endpoint group to retrieve. Format: projects/`
4684
+ # project`/locations/`location`/interceptEndpointGroups/`
4685
+ # intercept_endpoint_group`
4686
+ # @param [String] fields
4687
+ # Selector specifying which fields to include in a partial response.
4688
+ # @param [String] quota_user
4689
+ # Available to use for quota purposes for server-side applications. Can be any
4690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4691
+ # @param [Google::Apis::RequestOptions] options
4692
+ # Request-specific options
4693
+ #
4694
+ # @yield [result, err] Result & error if block supplied
4695
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] parsed result object
4696
+ # @yieldparam err [StandardError] error object if request failed
4697
+ #
4698
+ # @return [Google::Apis::NetworksecurityV1::InterceptEndpointGroup]
4699
+ #
4700
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4701
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4702
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4703
+ def get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
4704
+ command = make_simple_command(:get, 'v1/{+name}', options)
4705
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
4706
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroup
4707
+ command.params['name'] = name unless name.nil?
4708
+ command.query['fields'] = fields unless fields.nil?
4709
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4710
+ execute_or_queue_command(command, &block)
4711
+ end
4712
+
4713
+ # Lists endpoint groups in a given project and location. See https://google.aip.
4714
+ # dev/132.
4715
+ # @param [String] parent
4716
+ # Required. The parent, which owns this collection of endpoint groups. Example: `
4717
+ # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
4718
+ # details.
4719
+ # @param [String] filter
4720
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
4721
+ # details.
4722
+ # @param [String] order_by
4723
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
4724
+ # details.
4725
+ # @param [Fixnum] page_size
4726
+ # Optional. Requested page size. Server may return fewer items than requested.
4727
+ # If unspecified, server will pick an appropriate default. See https://google.
4728
+ # aip.dev/158 for more details.
4729
+ # @param [String] page_token
4730
+ # Optional. A page token, received from a previous `ListInterceptEndpointGroups`
4731
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
4732
+ # parameters provided to `ListInterceptEndpointGroups` must match the call that
4733
+ # provided the page token. See https://google.aip.dev/158 for more details.
4734
+ # @param [String] fields
4735
+ # Selector specifying which fields to include in a partial response.
4736
+ # @param [String] quota_user
4737
+ # Available to use for quota purposes for server-side applications. Can be any
4738
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4739
+ # @param [Google::Apis::RequestOptions] options
4740
+ # Request-specific options
4741
+ #
4742
+ # @yield [result, err] Result & error if block supplied
4743
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse] parsed result object
4744
+ # @yieldparam err [StandardError] error object if request failed
4745
+ #
4746
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse]
4747
+ #
4748
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4749
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4750
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4751
+ def list_project_location_intercept_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4752
+ command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroups', options)
4753
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse::Representation
4754
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse
4755
+ command.params['parent'] = parent unless parent.nil?
4756
+ command.query['filter'] = filter unless filter.nil?
4757
+ command.query['orderBy'] = order_by unless order_by.nil?
4758
+ command.query['pageSize'] = page_size unless page_size.nil?
4759
+ command.query['pageToken'] = page_token unless page_token.nil?
4760
+ command.query['fields'] = fields unless fields.nil?
4761
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4762
+ execute_or_queue_command(command, &block)
4763
+ end
4764
+
4765
+ # Updates an endpoint group. See https://google.aip.dev/134.
4766
+ # @param [String] name
4767
+ # Immutable. Identifier. The resource name of this endpoint group, for example: `
4768
+ # projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https:/
4769
+ # /google.aip.dev/122 for more details.
4770
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] intercept_endpoint_group_object
4771
+ # @param [String] request_id
4772
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4773
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4774
+ # 155 for more details.
4775
+ # @param [String] update_mask
4776
+ # Optional. The list of fields to update. Fields are specified relative to the
4777
+ # endpoint group (e.g. `description`; *not* `intercept_endpoint_group.
4778
+ # description`). See https://google.aip.dev/161 for more details.
4779
+ # @param [String] fields
4780
+ # Selector specifying which fields to include in a partial response.
4781
+ # @param [String] quota_user
4782
+ # Available to use for quota purposes for server-side applications. Can be any
4783
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4784
+ # @param [Google::Apis::RequestOptions] options
4785
+ # Request-specific options
4786
+ #
4787
+ # @yield [result, err] Result & error if block supplied
4788
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4789
+ # @yieldparam err [StandardError] error object if request failed
4790
+ #
4791
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4792
+ #
4793
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4794
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4795
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4796
+ def patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4797
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4798
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
4799
+ command.request_object = intercept_endpoint_group_object
4800
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4801
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4802
+ command.params['name'] = name unless name.nil?
4803
+ command.query['requestId'] = request_id unless request_id.nil?
4804
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4805
+ command.query['fields'] = fields unless fields.nil?
4806
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4807
+ execute_or_queue_command(command, &block)
4808
+ end
4809
+
4810
+ # Creates a deployment group in a given project and location. See https://google.
4811
+ # aip.dev/133.
4812
+ # @param [String] parent
4813
+ # Required. The parent resource where this deployment group will be created.
4814
+ # Format: projects/`project`/locations/`location`
4815
+ # @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
4816
+ # @param [String] mirroring_deployment_group_id
4817
+ # Required. The ID to use for the new deployment group, which will become the
4818
+ # final component of the deployment group's resource name.
4819
+ # @param [String] request_id
4820
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4821
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4822
+ # 155 for more details.
4823
+ # @param [String] fields
4824
+ # Selector specifying which fields to include in a partial response.
4825
+ # @param [String] quota_user
4826
+ # Available to use for quota purposes for server-side applications. Can be any
4827
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4828
+ # @param [Google::Apis::RequestOptions] options
4829
+ # Request-specific options
4830
+ #
4831
+ # @yield [result, err] Result & error if block supplied
4832
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4833
+ # @yieldparam err [StandardError] error object if request failed
4834
+ #
4835
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4836
+ #
4837
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4838
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4839
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4840
+ def create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4841
+ command = make_simple_command(:post, 'v1/{+parent}/mirroringDeploymentGroups', options)
4842
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
4843
+ command.request_object = mirroring_deployment_group_object
4844
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4845
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4846
+ command.params['parent'] = parent unless parent.nil?
4847
+ command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil?
4848
+ command.query['requestId'] = request_id unless request_id.nil?
4849
+ command.query['fields'] = fields unless fields.nil?
4850
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4851
+ execute_or_queue_command(command, &block)
4852
+ end
4853
+
4854
+ # Deletes a deployment group. See https://google.aip.dev/135.
4855
+ # @param [String] name
4856
+ # Required. The deployment group to delete.
4857
+ # @param [String] request_id
4858
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4859
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4860
+ # 155 for more details.
4861
+ # @param [String] fields
4862
+ # Selector specifying which fields to include in a partial response.
4863
+ # @param [String] quota_user
4864
+ # Available to use for quota purposes for server-side applications. Can be any
4865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4866
+ # @param [Google::Apis::RequestOptions] options
4867
+ # Request-specific options
4868
+ #
4869
+ # @yield [result, err] Result & error if block supplied
4870
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4871
+ # @yieldparam err [StandardError] error object if request failed
4872
+ #
4873
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4874
+ #
4875
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4876
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4877
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4878
+ def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4879
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4880
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4881
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4882
+ command.params['name'] = name unless name.nil?
4883
+ command.query['requestId'] = request_id unless request_id.nil?
4884
+ command.query['fields'] = fields unless fields.nil?
4885
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4886
+ execute_or_queue_command(command, &block)
4887
+ end
4888
+
4889
+ # Gets a specific deployment group. See https://google.aip.dev/131.
4890
+ # @param [String] name
4891
+ # Required. The name of the deployment group to retrieve. Format: projects/`
4892
+ # project`/locations/`location`/mirroringDeploymentGroups/`
4893
+ # mirroring_deployment_group`
4894
+ # @param [String] fields
4895
+ # Selector specifying which fields to include in a partial response.
4896
+ # @param [String] quota_user
4897
+ # Available to use for quota purposes for server-side applications. Can be any
4898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4899
+ # @param [Google::Apis::RequestOptions] options
4900
+ # Request-specific options
4901
+ #
4902
+ # @yield [result, err] Result & error if block supplied
4903
+ # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] parsed result object
4904
+ # @yieldparam err [StandardError] error object if request failed
4905
+ #
4906
+ # @return [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup]
4907
+ #
4908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4911
+ def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
4912
+ command = make_simple_command(:get, 'v1/{+name}', options)
4913
+ command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
4914
+ command.response_class = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup
4915
+ command.params['name'] = name unless name.nil?
4916
+ command.query['fields'] = fields unless fields.nil?
4917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4918
+ execute_or_queue_command(command, &block)
4919
+ end
4920
+
4921
+ # Lists deployment groups in a given project and location. See https://google.
4922
+ # aip.dev/132.
4923
+ # @param [String] parent
4924
+ # Required. The parent, which owns this collection of deployment groups. Example:
4925
+ # `projects/123456789/locations/global`. See https://google.aip.dev/132 for
4926
+ # more details.
4927
+ # @param [String] filter
4928
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
4929
+ # details.
4930
+ # @param [String] order_by
4931
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
4932
+ # details.
4933
+ # @param [Fixnum] page_size
4934
+ # Optional. Requested page size. Server may return fewer items than requested.
4935
+ # If unspecified, server will pick an appropriate default. See https://google.
4936
+ # aip.dev/158 for more details.
4937
+ # @param [String] page_token
4938
+ # Optional. A page token, received from a previous `
4939
+ # ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent
4940
+ # page. When paginating, all other parameters provided to `
4941
+ # ListMirroringDeploymentGroups` must match the call that provided the page
4942
+ # token. See https://google.aip.dev/158 for more details.
4943
+ # @param [String] fields
4944
+ # Selector specifying which fields to include in a partial response.
4945
+ # @param [String] quota_user
4946
+ # Available to use for quota purposes for server-side applications. Can be any
4947
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4948
+ # @param [Google::Apis::RequestOptions] options
4949
+ # Request-specific options
4950
+ #
4951
+ # @yield [result, err] Result & error if block supplied
4952
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse] parsed result object
4953
+ # @yieldparam err [StandardError] error object if request failed
4954
+ #
4955
+ # @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse]
4956
+ #
4957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4960
+ def list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4961
+ command = make_simple_command(:get, 'v1/{+parent}/mirroringDeploymentGroups', options)
4962
+ command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse::Representation
4963
+ command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse
4964
+ command.params['parent'] = parent unless parent.nil?
4965
+ command.query['filter'] = filter unless filter.nil?
4966
+ command.query['orderBy'] = order_by unless order_by.nil?
4967
+ command.query['pageSize'] = page_size unless page_size.nil?
4968
+ command.query['pageToken'] = page_token unless page_token.nil?
4969
+ command.query['fields'] = fields unless fields.nil?
4970
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4971
+ execute_or_queue_command(command, &block)
4972
+ end
4973
+
4974
+ # Updates a deployment group. See https://google.aip.dev/134.
4975
+ # @param [String] name
4976
+ # Immutable. Identifier. The resource name of this deployment group, for example:
4977
+ # `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See
4978
+ # https://google.aip.dev/122 for more details.
4979
+ # @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
4980
+ # @param [String] request_id
4981
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4982
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4983
+ # 155 for more details.
4984
+ # @param [String] update_mask
4985
+ # Optional. The list of fields to update. Fields are specified relative to the
4986
+ # deployment group (e.g. `description`; *not* `mirroring_deployment_group.
4987
+ # description`). See https://google.aip.dev/161 for more details.
4988
+ # @param [String] fields
4989
+ # Selector specifying which fields to include in a partial response.
4990
+ # @param [String] quota_user
4991
+ # Available to use for quota purposes for server-side applications. Can be any
4992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4993
+ # @param [Google::Apis::RequestOptions] options
4994
+ # Request-specific options
4995
+ #
4996
+ # @yield [result, err] Result & error if block supplied
4997
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4998
+ # @yieldparam err [StandardError] error object if request failed
4999
+ #
5000
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5001
+ #
5002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5005
+ def patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5006
+ command = make_simple_command(:patch, 'v1/{+name}', options)
5007
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
5008
+ command.request_object = mirroring_deployment_group_object
5009
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5010
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5011
+ command.params['name'] = name unless name.nil?
5012
+ command.query['requestId'] = request_id unless request_id.nil?
5013
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5014
+ command.query['fields'] = fields unless fields.nil?
5015
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5016
+ execute_or_queue_command(command, &block)
5017
+ end
5018
+
5019
+ # Creates a deployment in a given project and location. See https://google.aip.
5020
+ # dev/133.
5021
+ # @param [String] parent
5022
+ # Required. The parent resource where this deployment will be created. Format:
5023
+ # projects/`project`/locations/`location`
5024
+ # @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
5025
+ # @param [String] mirroring_deployment_id
5026
+ # Required. The ID to use for the new deployment, which will become the final
5027
+ # component of the deployment's resource name.
5028
+ # @param [String] request_id
5029
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5030
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5031
+ # 155 for more details.
5032
+ # @param [String] fields
5033
+ # Selector specifying which fields to include in a partial response.
5034
+ # @param [String] quota_user
5035
+ # Available to use for quota purposes for server-side applications. Can be any
5036
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5037
+ # @param [Google::Apis::RequestOptions] options
5038
+ # Request-specific options
5039
+ #
5040
+ # @yield [result, err] Result & error if block supplied
5041
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5042
+ # @yieldparam err [StandardError] error object if request failed
5043
+ #
5044
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5045
+ #
5046
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5047
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5048
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5049
+ def create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5050
+ command = make_simple_command(:post, 'v1/{+parent}/mirroringDeployments', options)
5051
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
5052
+ command.request_object = mirroring_deployment_object
5053
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5054
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5055
+ command.params['parent'] = parent unless parent.nil?
5056
+ command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil?
5057
+ command.query['requestId'] = request_id unless request_id.nil?
5058
+ command.query['fields'] = fields unless fields.nil?
5059
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5060
+ execute_or_queue_command(command, &block)
5061
+ end
5062
+
5063
+ # Deletes a deployment. See https://google.aip.dev/135.
5064
+ # @param [String] name
5065
+ # Required. Name of the resource
5066
+ # @param [String] request_id
5067
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5068
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5069
+ # 155 for more details.
5070
+ # @param [String] fields
5071
+ # Selector specifying which fields to include in a partial response.
5072
+ # @param [String] quota_user
5073
+ # Available to use for quota purposes for server-side applications. Can be any
5074
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5075
+ # @param [Google::Apis::RequestOptions] options
5076
+ # Request-specific options
5077
+ #
5078
+ # @yield [result, err] Result & error if block supplied
5079
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5080
+ # @yieldparam err [StandardError] error object if request failed
5081
+ #
5082
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5083
+ #
5084
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5085
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5086
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5087
+ def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5088
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5089
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5090
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5091
+ command.params['name'] = name unless name.nil?
5092
+ command.query['requestId'] = request_id unless request_id.nil?
5093
+ command.query['fields'] = fields unless fields.nil?
5094
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5095
+ execute_or_queue_command(command, &block)
5096
+ end
5097
+
5098
+ # Gets a specific deployment. See https://google.aip.dev/131.
5099
+ # @param [String] name
5100
+ # Required. The name of the deployment to retrieve. Format: projects/`project`/
5101
+ # locations/`location`/mirroringDeployments/`mirroring_deployment`
5102
+ # @param [String] fields
5103
+ # Selector specifying which fields to include in a partial response.
5104
+ # @param [String] quota_user
5105
+ # Available to use for quota purposes for server-side applications. Can be any
5106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5107
+ # @param [Google::Apis::RequestOptions] options
5108
+ # Request-specific options
5109
+ #
5110
+ # @yield [result, err] Result & error if block supplied
5111
+ # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeployment] parsed result object
5112
+ # @yieldparam err [StandardError] error object if request failed
5113
+ #
5114
+ # @return [Google::Apis::NetworksecurityV1::MirroringDeployment]
5115
+ #
5116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5119
+ def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
5120
+ command = make_simple_command(:get, 'v1/{+name}', options)
5121
+ command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
5122
+ command.response_class = Google::Apis::NetworksecurityV1::MirroringDeployment
5123
+ command.params['name'] = name unless name.nil?
5124
+ command.query['fields'] = fields unless fields.nil?
5125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5126
+ execute_or_queue_command(command, &block)
5127
+ end
5128
+
5129
+ # Lists deployments in a given project and location. See https://google.aip.dev/
5130
+ # 132.
5131
+ # @param [String] parent
5132
+ # Required. The parent, which owns this collection of deployments. Example: `
5133
+ # projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132
5134
+ # for more details.
5135
+ # @param [String] filter
5136
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
5137
+ # details.
5138
+ # @param [String] order_by
5139
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
5140
+ # details.
5141
+ # @param [Fixnum] page_size
5142
+ # Optional. Requested page size. Server may return fewer items than requested.
5143
+ # If unspecified, server will pick an appropriate default. See https://google.
5144
+ # aip.dev/158 for more details.
5145
+ # @param [String] page_token
5146
+ # Optional. A page token, received from a previous `ListMirroringDeployments`
5147
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
5148
+ # parameters provided to `ListMirroringDeployments` must match the call that
5149
+ # provided the page token. See https://google.aip.dev/158 for more details.
5150
+ # @param [String] fields
5151
+ # Selector specifying which fields to include in a partial response.
5152
+ # @param [String] quota_user
5153
+ # Available to use for quota purposes for server-side applications. Can be any
5154
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5155
+ # @param [Google::Apis::RequestOptions] options
5156
+ # Request-specific options
5157
+ #
5158
+ # @yield [result, err] Result & error if block supplied
5159
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse] parsed result object
5160
+ # @yieldparam err [StandardError] error object if request failed
5161
+ #
5162
+ # @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse]
5163
+ #
5164
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5165
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5166
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5167
+ def list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5168
+ command = make_simple_command(:get, 'v1/{+parent}/mirroringDeployments', options)
5169
+ command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse::Representation
5170
+ command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse
5171
+ command.params['parent'] = parent unless parent.nil?
5172
+ command.query['filter'] = filter unless filter.nil?
5173
+ command.query['orderBy'] = order_by unless order_by.nil?
5174
+ command.query['pageSize'] = page_size unless page_size.nil?
5175
+ command.query['pageToken'] = page_token unless page_token.nil?
5176
+ command.query['fields'] = fields unless fields.nil?
5177
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5178
+ execute_or_queue_command(command, &block)
5179
+ end
5180
+
5181
+ # Updates a deployment. See https://google.aip.dev/134.
5182
+ # @param [String] name
5183
+ # Immutable. Identifier. The resource name of this deployment, for example: `
5184
+ # projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See
5185
+ # https://google.aip.dev/122 for more details.
5186
+ # @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
5187
+ # @param [String] request_id
5188
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5189
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5190
+ # 155 for more details.
5191
+ # @param [String] update_mask
5192
+ # Optional. The list of fields to update. Fields are specified relative to the
5193
+ # deployment (e.g. `description`; *not* `mirroring_deployment.description`). See
5194
+ # https://google.aip.dev/161 for more details.
5195
+ # @param [String] fields
5196
+ # Selector specifying which fields to include in a partial response.
5197
+ # @param [String] quota_user
5198
+ # Available to use for quota purposes for server-side applications. Can be any
5199
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5200
+ # @param [Google::Apis::RequestOptions] options
5201
+ # Request-specific options
5202
+ #
5203
+ # @yield [result, err] Result & error if block supplied
5204
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5205
+ # @yieldparam err [StandardError] error object if request failed
5206
+ #
5207
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5208
+ #
5209
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5210
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5211
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5212
+ def patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5213
+ command = make_simple_command(:patch, 'v1/{+name}', options)
5214
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
5215
+ command.request_object = mirroring_deployment_object
5216
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5217
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5218
+ command.params['name'] = name unless name.nil?
5219
+ command.query['requestId'] = request_id unless request_id.nil?
5220
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5221
+ command.query['fields'] = fields unless fields.nil?
5222
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5223
+ execute_or_queue_command(command, &block)
5224
+ end
5225
+
5226
+ # Creates an association in a given project and location. See https://google.aip.
5227
+ # dev/133.
5228
+ # @param [String] parent
5229
+ # Required. The parent resource where this association will be created. Format:
5230
+ # projects/`project`/locations/`location`
5231
+ # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
5232
+ # @param [String] mirroring_endpoint_group_association_id
5233
+ # Optional. The ID to use for the new association, which will become the final
5234
+ # component of the endpoint group's resource name. If not provided, the server
5235
+ # will generate a unique ID.
5236
+ # @param [String] request_id
5237
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5238
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5239
+ # 155 for more details.
5240
+ # @param [String] fields
5241
+ # Selector specifying which fields to include in a partial response.
5242
+ # @param [String] quota_user
5243
+ # Available to use for quota purposes for server-side applications. Can be any
5244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5245
+ # @param [Google::Apis::RequestOptions] options
5246
+ # Request-specific options
5247
+ #
5248
+ # @yield [result, err] Result & error if block supplied
5249
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5250
+ # @yieldparam err [StandardError] error object if request failed
5251
+ #
5252
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5253
+ #
5254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5257
+ def create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5258
+ command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
5259
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
5260
+ command.request_object = mirroring_endpoint_group_association_object
5261
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5262
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5263
+ command.params['parent'] = parent unless parent.nil?
5264
+ command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil?
5265
+ command.query['requestId'] = request_id unless request_id.nil?
5266
+ command.query['fields'] = fields unless fields.nil?
5267
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5268
+ execute_or_queue_command(command, &block)
5269
+ end
5270
+
5271
+ # Deletes an association. See https://google.aip.dev/135.
5272
+ # @param [String] name
5273
+ # Required. The association to delete.
5274
+ # @param [String] request_id
5275
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5276
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5277
+ # 155 for more details.
5278
+ # @param [String] fields
5279
+ # Selector specifying which fields to include in a partial response.
5280
+ # @param [String] quota_user
5281
+ # Available to use for quota purposes for server-side applications. Can be any
5282
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5283
+ # @param [Google::Apis::RequestOptions] options
5284
+ # Request-specific options
5285
+ #
5286
+ # @yield [result, err] Result & error if block supplied
5287
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5288
+ # @yieldparam err [StandardError] error object if request failed
5289
+ #
5290
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5291
+ #
5292
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5293
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5294
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5295
+ def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5296
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5297
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5298
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5299
+ command.params['name'] = name unless name.nil?
5300
+ command.query['requestId'] = request_id unless request_id.nil?
5301
+ command.query['fields'] = fields unless fields.nil?
5302
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5303
+ execute_or_queue_command(command, &block)
5304
+ end
5305
+
5306
+ # Gets a specific association. See https://google.aip.dev/131.
5307
+ # @param [String] name
5308
+ # Required. The name of the association to retrieve. Format: projects/`project`/
5309
+ # locations/`location`/mirroringEndpointGroupAssociations/`
5310
+ # mirroring_endpoint_group_association`
5311
+ # @param [String] fields
5312
+ # Selector specifying which fields to include in a partial response.
5313
+ # @param [String] quota_user
5314
+ # Available to use for quota purposes for server-side applications. Can be any
5315
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5316
+ # @param [Google::Apis::RequestOptions] options
5317
+ # Request-specific options
5318
+ #
5319
+ # @yield [result, err] Result & error if block supplied
5320
+ # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] parsed result object
5321
+ # @yieldparam err [StandardError] error object if request failed
5322
+ #
5323
+ # @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation]
5324
+ #
5325
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5326
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5327
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5328
+ def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
5329
+ command = make_simple_command(:get, 'v1/{+name}', options)
5330
+ command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
5331
+ command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation
5332
+ command.params['name'] = name unless name.nil?
5333
+ command.query['fields'] = fields unless fields.nil?
5334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5335
+ execute_or_queue_command(command, &block)
5336
+ end
5337
+
5338
+ # Lists associations in a given project and location. See https://google.aip.dev/
5339
+ # 132.
5340
+ # @param [String] parent
5341
+ # Required. The parent, which owns this collection of associations. Example: `
5342
+ # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
5343
+ # details.
5344
+ # @param [String] filter
5345
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
5346
+ # details.
5347
+ # @param [String] order_by
5348
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
5349
+ # details.
5350
+ # @param [Fixnum] page_size
5351
+ # Optional. Requested page size. Server may return fewer items than requested.
5352
+ # If unspecified, server will pick an appropriate default. See https://google.
5353
+ # aip.dev/158 for more details.
5354
+ # @param [String] page_token
5355
+ # Optional. A page token, received from a previous `ListMirroringEndpointGroups`
5356
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
5357
+ # parameters provided to `ListMirroringEndpointGroups` must match the call that
5358
+ # provided the page token. See https://google.aip.dev/158 for more details.
5359
+ # @param [String] fields
5360
+ # Selector specifying which fields to include in a partial response.
5361
+ # @param [String] quota_user
5362
+ # Available to use for quota purposes for server-side applications. Can be any
5363
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5364
+ # @param [Google::Apis::RequestOptions] options
5365
+ # Request-specific options
5366
+ #
5367
+ # @yield [result, err] Result & error if block supplied
5368
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse] parsed result object
5369
+ # @yieldparam err [StandardError] error object if request failed
5370
+ #
5371
+ # @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse]
5372
+ #
5373
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5374
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5375
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5376
+ def list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5377
+ command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
5378
+ command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse::Representation
5379
+ command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse
5380
+ command.params['parent'] = parent unless parent.nil?
5381
+ command.query['filter'] = filter unless filter.nil?
5382
+ command.query['orderBy'] = order_by unless order_by.nil?
5383
+ command.query['pageSize'] = page_size unless page_size.nil?
5384
+ command.query['pageToken'] = page_token unless page_token.nil?
5385
+ command.query['fields'] = fields unless fields.nil?
5386
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5387
+ execute_or_queue_command(command, &block)
5388
+ end
5389
+
5390
+ # Updates an association. See https://google.aip.dev/134.
5391
+ # @param [String] name
5392
+ # Immutable. Identifier. The resource name of this endpoint group association,
5393
+ # for example: `projects/123456789/locations/global/
5394
+ # mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.
5395
+ # dev/122 for more details.
5396
+ # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
5397
+ # @param [String] request_id
5398
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5399
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5400
+ # 155 for more details.
5401
+ # @param [String] update_mask
5402
+ # Optional. The list of fields to update. Fields are specified relative to the
5403
+ # association (e.g. `description`; *not* `mirroring_endpoint_group_association.
5404
+ # description`). See https://google.aip.dev/161 for more details.
5405
+ # @param [String] fields
5406
+ # Selector specifying which fields to include in a partial response.
5407
+ # @param [String] quota_user
5408
+ # Available to use for quota purposes for server-side applications. Can be any
5409
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5410
+ # @param [Google::Apis::RequestOptions] options
5411
+ # Request-specific options
5412
+ #
5413
+ # @yield [result, err] Result & error if block supplied
5414
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5415
+ # @yieldparam err [StandardError] error object if request failed
5416
+ #
5417
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5418
+ #
5419
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5420
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5421
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5422
+ def patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5423
+ command = make_simple_command(:patch, 'v1/{+name}', options)
5424
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
5425
+ command.request_object = mirroring_endpoint_group_association_object
5426
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5427
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5428
+ command.params['name'] = name unless name.nil?
5429
+ command.query['requestId'] = request_id unless request_id.nil?
5430
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5431
+ command.query['fields'] = fields unless fields.nil?
5432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5433
+ execute_or_queue_command(command, &block)
5434
+ end
5435
+
5436
+ # Creates an endpoint group in a given project and location. See https://google.
5437
+ # aip.dev/133.
5438
+ # @param [String] parent
5439
+ # Required. The parent resource where this endpoint group will be created.
5440
+ # Format: projects/`project`/locations/`location`
5441
+ # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
5442
+ # @param [String] mirroring_endpoint_group_id
5443
+ # Required. The ID to use for the endpoint group, which will become the final
5444
+ # component of the endpoint group's resource name.
5445
+ # @param [String] request_id
5446
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5447
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5448
+ # 155 for more details.
5449
+ # @param [String] fields
5450
+ # Selector specifying which fields to include in a partial response.
5451
+ # @param [String] quota_user
5452
+ # Available to use for quota purposes for server-side applications. Can be any
5453
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5454
+ # @param [Google::Apis::RequestOptions] options
5455
+ # Request-specific options
5456
+ #
5457
+ # @yield [result, err] Result & error if block supplied
5458
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5459
+ # @yieldparam err [StandardError] error object if request failed
5460
+ #
5461
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5462
+ #
5463
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5464
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5465
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5466
+ def create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5467
+ command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroups', options)
5468
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
5469
+ command.request_object = mirroring_endpoint_group_object
5470
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5471
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5472
+ command.params['parent'] = parent unless parent.nil?
5473
+ command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil?
5474
+ command.query['requestId'] = request_id unless request_id.nil?
5475
+ command.query['fields'] = fields unless fields.nil?
5476
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5477
+ execute_or_queue_command(command, &block)
5478
+ end
5479
+
5480
+ # Deletes an endpoint group. See https://google.aip.dev/135.
5481
+ # @param [String] name
5482
+ # Required. The endpoint group to delete.
5483
+ # @param [String] request_id
5484
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5485
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5486
+ # 155 for more details.
5487
+ # @param [String] fields
5488
+ # Selector specifying which fields to include in a partial response.
5489
+ # @param [String] quota_user
5490
+ # Available to use for quota purposes for server-side applications. Can be any
5491
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5492
+ # @param [Google::Apis::RequestOptions] options
5493
+ # Request-specific options
5494
+ #
5495
+ # @yield [result, err] Result & error if block supplied
5496
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5497
+ # @yieldparam err [StandardError] error object if request failed
5498
+ #
5499
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5500
+ #
5501
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5502
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5503
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5504
+ def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5505
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5506
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5507
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5508
+ command.params['name'] = name unless name.nil?
5509
+ command.query['requestId'] = request_id unless request_id.nil?
5510
+ command.query['fields'] = fields unless fields.nil?
5511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5512
+ execute_or_queue_command(command, &block)
5513
+ end
5514
+
5515
+ # Gets a specific endpoint group. See https://google.aip.dev/131.
5516
+ # @param [String] name
5517
+ # Required. The name of the endpoint group to retrieve. Format: projects/`
5518
+ # project`/locations/`location`/mirroringEndpointGroups/`
5519
+ # mirroring_endpoint_group`
5520
+ # @param [String] fields
5521
+ # Selector specifying which fields to include in a partial response.
5522
+ # @param [String] quota_user
5523
+ # Available to use for quota purposes for server-side applications. Can be any
5524
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5525
+ # @param [Google::Apis::RequestOptions] options
5526
+ # Request-specific options
5527
+ #
5528
+ # @yield [result, err] Result & error if block supplied
5529
+ # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] parsed result object
5530
+ # @yieldparam err [StandardError] error object if request failed
5531
+ #
5532
+ # @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroup]
5533
+ #
5534
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5535
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5536
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5537
+ def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
5538
+ command = make_simple_command(:get, 'v1/{+name}', options)
5539
+ command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
5540
+ command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroup
5541
+ command.params['name'] = name unless name.nil?
5542
+ command.query['fields'] = fields unless fields.nil?
5543
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5544
+ execute_or_queue_command(command, &block)
5545
+ end
5546
+
5547
+ # Lists endpoint groups in a given project and location. See https://google.aip.
5548
+ # dev/132.
5549
+ # @param [String] parent
5550
+ # Required. The parent, which owns this collection of endpoint groups. Example: `
5551
+ # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
5552
+ # details.
5553
+ # @param [String] filter
5554
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
5555
+ # details.
5556
+ # @param [String] order_by
5557
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
5558
+ # details.
5559
+ # @param [Fixnum] page_size
5560
+ # Optional. Requested page size. Server may return fewer items than requested.
5561
+ # If unspecified, server will pick an appropriate default. See https://google.
5562
+ # aip.dev/158 for more details.
5563
+ # @param [String] page_token
5564
+ # Optional. A page token, received from a previous `ListMirroringEndpointGroups`
5565
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
5566
+ # parameters provided to `ListMirroringEndpointGroups` must match the call that
5567
+ # provided the page token. See https://google.aip.dev/158 for more details.
5568
+ # @param [String] fields
5569
+ # Selector specifying which fields to include in a partial response.
5570
+ # @param [String] quota_user
5571
+ # Available to use for quota purposes for server-side applications. Can be any
5572
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5573
+ # @param [Google::Apis::RequestOptions] options
5574
+ # Request-specific options
5575
+ #
5576
+ # @yield [result, err] Result & error if block supplied
5577
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse] parsed result object
5578
+ # @yieldparam err [StandardError] error object if request failed
5579
+ #
5580
+ # @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse]
5581
+ #
5582
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5583
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5584
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5585
+ def list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5586
+ command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroups', options)
5587
+ command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse::Representation
5588
+ command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse
5589
+ command.params['parent'] = parent unless parent.nil?
5590
+ command.query['filter'] = filter unless filter.nil?
5591
+ command.query['orderBy'] = order_by unless order_by.nil?
5592
+ command.query['pageSize'] = page_size unless page_size.nil?
5593
+ command.query['pageToken'] = page_token unless page_token.nil?
5594
+ command.query['fields'] = fields unless fields.nil?
5595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5596
+ execute_or_queue_command(command, &block)
5597
+ end
5598
+
5599
+ # Updates an endpoint group. See https://google.aip.dev/134.
5600
+ # @param [String] name
5601
+ # Immutable. Identifier. The resource name of this endpoint group, for example: `
5602
+ # projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https:/
5603
+ # /google.aip.dev/122 for more details.
5604
+ # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
5605
+ # @param [String] request_id
5606
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
5607
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
5608
+ # 155 for more details.
5609
+ # @param [String] update_mask
5610
+ # Optional. The list of fields to update. Fields are specified relative to the
5611
+ # endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.
5612
+ # description`). See https://google.aip.dev/161 for more details.
5613
+ # @param [String] fields
5614
+ # Selector specifying which fields to include in a partial response.
5615
+ # @param [String] quota_user
5616
+ # Available to use for quota purposes for server-side applications. Can be any
5617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5618
+ # @param [Google::Apis::RequestOptions] options
5619
+ # Request-specific options
5620
+ #
5621
+ # @yield [result, err] Result & error if block supplied
5622
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5623
+ # @yieldparam err [StandardError] error object if request failed
5624
+ #
5625
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5626
+ #
5627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5630
+ def patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5631
+ command = make_simple_command(:patch, 'v1/{+name}', options)
5632
+ command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
5633
+ command.request_object = mirroring_endpoint_group_object
5634
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5635
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5636
+ command.params['name'] = name unless name.nil?
5637
+ command.query['requestId'] = request_id unless request_id.nil?
5638
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5639
+ command.query['fields'] = fields unless fields.nil?
5640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5641
+ execute_or_queue_command(command, &block)
5642
+ end
5643
+
5644
+ # Starts asynchronous cancellation on a long-running operation. The server makes
5645
+ # a best effort to cancel the operation, but success is not guaranteed. If the
5646
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
5647
+ # Clients can use Operations.GetOperation or other methods to check whether the
5648
+ # cancellation succeeded or whether the operation completed despite cancellation.
5649
+ # On successful cancellation, the operation is not deleted; instead, it becomes
5650
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
5651
+ # , corresponding to `Code.CANCELLED`.
5652
+ # @param [String] name
5653
+ # The name of the operation resource to be cancelled.
5654
+ # @param [Google::Apis::NetworksecurityV1::CancelOperationRequest] cancel_operation_request_object
5655
+ # @param [String] fields
5656
+ # Selector specifying which fields to include in a partial response.
5657
+ # @param [String] quota_user
5658
+ # Available to use for quota purposes for server-side applications. Can be any
5659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5660
+ # @param [Google::Apis::RequestOptions] options
5661
+ # Request-specific options
5662
+ #
5663
+ # @yield [result, err] Result & error if block supplied
5664
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
5665
+ # @yieldparam err [StandardError] error object if request failed
5666
+ #
5667
+ # @return [Google::Apis::NetworksecurityV1::Empty]
5668
+ #
5669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5672
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5673
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
5674
+ command.request_representation = Google::Apis::NetworksecurityV1::CancelOperationRequest::Representation
5675
+ command.request_object = cancel_operation_request_object
5676
+ command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
5677
+ command.response_class = Google::Apis::NetworksecurityV1::Empty
5678
+ command.params['name'] = name unless name.nil?
5679
+ command.query['fields'] = fields unless fields.nil?
5680
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5681
+ execute_or_queue_command(command, &block)
5682
+ end
5683
+
5684
+ # Deletes a long-running operation. This method indicates that the client is no
5685
+ # longer interested in the operation result. It does not cancel the operation.
5686
+ # If the server doesn't support this method, it returns `google.rpc.Code.
5687
+ # UNIMPLEMENTED`.
5688
+ # @param [String] name
5689
+ # The name of the operation resource to be deleted.
5690
+ # @param [String] fields
5691
+ # Selector specifying which fields to include in a partial response.
5692
+ # @param [String] quota_user
5693
+ # Available to use for quota purposes for server-side applications. Can be any
5694
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5695
+ # @param [Google::Apis::RequestOptions] options
5696
+ # Request-specific options
5697
+ #
5698
+ # @yield [result, err] Result & error if block supplied
5699
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
5700
+ # @yieldparam err [StandardError] error object if request failed
5701
+ #
5702
+ # @return [Google::Apis::NetworksecurityV1::Empty]
5703
+ #
5704
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5705
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5706
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5707
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5708
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5709
+ command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
5710
+ command.response_class = Google::Apis::NetworksecurityV1::Empty
5711
+ command.params['name'] = name unless name.nil?
5712
+ command.query['fields'] = fields unless fields.nil?
5713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5714
+ execute_or_queue_command(command, &block)
5715
+ end
5716
+
5717
+ # Gets the latest state of a long-running operation. Clients can use this method
5718
+ # to poll the operation result at intervals as recommended by the API service.
5719
+ # @param [String] name
5720
+ # The name of the operation resource.
5721
+ # @param [String] fields
5722
+ # Selector specifying which fields to include in a partial response.
5723
+ # @param [String] quota_user
5724
+ # Available to use for quota purposes for server-side applications. Can be any
5725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5726
+ # @param [Google::Apis::RequestOptions] options
5727
+ # Request-specific options
5728
+ #
5729
+ # @yield [result, err] Result & error if block supplied
5730
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5731
+ # @yieldparam err [StandardError] error object if request failed
5732
+ #
5733
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5734
+ #
5735
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5736
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5737
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5738
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5739
+ command = make_simple_command(:get, 'v1/{+name}', options)
5740
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5741
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5742
+ command.params['name'] = name unless name.nil?
5743
+ command.query['fields'] = fields unless fields.nil?
5744
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5745
+ execute_or_queue_command(command, &block)
5746
+ end
5747
+
5748
+ # Lists operations that match the specified filter in the request. If the server
5749
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
5750
+ # @param [String] name
5751
+ # The name of the operation's parent resource.
5752
+ # @param [String] filter
5753
+ # The standard list filter.
5754
+ # @param [Fixnum] page_size
5755
+ # The standard list page size.
5756
+ # @param [String] page_token
5757
+ # The standard list page token.
5758
+ # @param [Boolean] return_partial_success
5759
+ # When set to `true`, operations that are reachable are returned as normal, and
5760
+ # those that are unreachable are returned in the ListOperationsResponse.
5761
+ # unreachable field. This can only be `true` when reading across collections.
5762
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
5763
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
5764
+ # if set unless explicitly documented otherwise in service or product specific
5765
+ # documentation.
5766
+ # @param [String] fields
5767
+ # Selector specifying which fields to include in a partial response.
5768
+ # @param [String] quota_user
5769
+ # Available to use for quota purposes for server-side applications. Can be any
5770
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5771
+ # @param [Google::Apis::RequestOptions] options
5772
+ # Request-specific options
5773
+ #
5774
+ # @yield [result, err] Result & error if block supplied
5775
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListOperationsResponse] parsed result object
5776
+ # @yieldparam err [StandardError] error object if request failed
5777
+ #
5778
+ # @return [Google::Apis::NetworksecurityV1::ListOperationsResponse]
5779
+ #
5780
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5781
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5782
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5783
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
5784
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
5785
+ command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation
5786
+ command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse
5787
+ command.params['name'] = name unless name.nil?
5788
+ command.query['filter'] = filter unless filter.nil?
5789
+ command.query['pageSize'] = page_size unless page_size.nil?
5790
+ command.query['pageToken'] = page_token unless page_token.nil?
5791
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5792
+ command.query['fields'] = fields unless fields.nil?
5793
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5794
+ execute_or_queue_command(command, &block)
5795
+ end
5796
+
5797
+ # Creates a new SACAttachment in a given project and location.
5798
+ # @param [String] parent
5799
+ # Required. The parent, in the form `projects/`project`/locations/`location``.
5800
+ # @param [Google::Apis::NetworksecurityV1::SacAttachment] sac_attachment_object
5801
+ # @param [String] request_id
5802
+ # Optional. An optional request ID to identify requests. Specify a unique
5803
+ # request ID so that if you must retry your request, the server will know to
5804
+ # ignore the request if it has already been completed. The server will guarantee
5805
+ # that for at least 60 minutes since the first request. For example, consider a
5806
+ # situation where you make an initial request and the request times out. If you
5807
+ # make the request again with the same request ID, the server can check if
5808
+ # original operation with the same request ID was received, and if so, will
5809
+ # ignore the second request. This prevents clients from accidentally creating
5810
+ # duplicate commitments. The request ID must be a valid UUID with the exception
5811
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5812
+ # @param [String] sac_attachment_id
5813
+ # Required. ID of the created attachment. The ID must be 1-63 characters long,
5814
+ # and comply with RFC1035. Specifically, it must be 1-63 characters long and
5815
+ # match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
5816
+ # first character must be a lowercase letter, and all following characters must
5817
+ # be a dash, lowercase letter, or digit, except the last character, which cannot
5818
+ # be a dash.
5819
+ # @param [String] fields
5820
+ # Selector specifying which fields to include in a partial response.
5821
+ # @param [String] quota_user
5822
+ # Available to use for quota purposes for server-side applications. Can be any
5823
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5824
+ # @param [Google::Apis::RequestOptions] options
5825
+ # Request-specific options
5826
+ #
5827
+ # @yield [result, err] Result & error if block supplied
5828
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5829
+ # @yieldparam err [StandardError] error object if request failed
5830
+ #
5831
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5832
+ #
5833
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5834
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5835
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5836
+ def create_project_location_sac_attachment(parent, sac_attachment_object = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5837
+ command = make_simple_command(:post, 'v1/{+parent}/sacAttachments', options)
5838
+ command.request_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation
5839
+ command.request_object = sac_attachment_object
5840
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5841
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5842
+ command.params['parent'] = parent unless parent.nil?
5843
+ command.query['requestId'] = request_id unless request_id.nil?
5844
+ command.query['sacAttachmentId'] = sac_attachment_id unless sac_attachment_id.nil?
5845
+ command.query['fields'] = fields unless fields.nil?
5846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5847
+ execute_or_queue_command(command, &block)
5848
+ end
5849
+
5850
+ # Deletes the specified attachment.
5851
+ # @param [String] name
5852
+ # Required. Name of the resource, in the form `projects/`project`/locations/`
5853
+ # location`/sacAttachments/`sac_attachment``.
5854
+ # @param [String] request_id
5855
+ # Optional. An optional request ID to identify requests. Specify a unique
5856
+ # request ID so that if you must retry your request, the server will know to
5857
+ # ignore the request if it has already been completed. The server will guarantee
5858
+ # that for at least 60 minutes after the first request. For example, consider a
5859
+ # situation where you make an initial request and the request times out. If you
5860
+ # make the request again with the same request ID, the server can check if
5861
+ # original operation with the same request ID was received, and if so, will
5862
+ # ignore the second request. This prevents clients from accidentally creating
5863
+ # duplicate commitments. The request ID must be a valid UUID with the exception
5864
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5865
+ # @param [String] fields
5866
+ # Selector specifying which fields to include in a partial response.
5867
+ # @param [String] quota_user
5868
+ # Available to use for quota purposes for server-side applications. Can be any
5869
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5870
+ # @param [Google::Apis::RequestOptions] options
5871
+ # Request-specific options
5872
+ #
5873
+ # @yield [result, err] Result & error if block supplied
5874
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5875
+ # @yieldparam err [StandardError] error object if request failed
5876
+ #
5877
+ # @return [Google::Apis::NetworksecurityV1::Operation]
5878
+ #
5879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5882
+ def delete_project_location_sac_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5883
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5884
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
5885
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
5886
+ command.params['name'] = name unless name.nil?
5887
+ command.query['requestId'] = request_id unless request_id.nil?
5888
+ command.query['fields'] = fields unless fields.nil?
5889
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5890
+ execute_or_queue_command(command, &block)
5891
+ end
5892
+
5893
+ # Returns the specified attachment.
5894
+ # @param [String] name
5895
+ # Required. Name of the resource, in the form `projects/`project`/locations/`
5896
+ # location`/sacAttachments/`sac_attachment``.
5897
+ # @param [String] fields
5898
+ # Selector specifying which fields to include in a partial response.
5899
+ # @param [String] quota_user
5900
+ # Available to use for quota purposes for server-side applications. Can be any
5901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5902
+ # @param [Google::Apis::RequestOptions] options
5903
+ # Request-specific options
5904
+ #
5905
+ # @yield [result, err] Result & error if block supplied
5906
+ # @yieldparam result [Google::Apis::NetworksecurityV1::SacAttachment] parsed result object
5907
+ # @yieldparam err [StandardError] error object if request failed
5908
+ #
5909
+ # @return [Google::Apis::NetworksecurityV1::SacAttachment]
5910
+ #
5911
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5912
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5913
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5914
+ def get_project_location_sac_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
5915
+ command = make_simple_command(:get, 'v1/{+name}', options)
5916
+ command.response_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation
5917
+ command.response_class = Google::Apis::NetworksecurityV1::SacAttachment
5918
+ command.params['name'] = name unless name.nil?
5919
+ command.query['fields'] = fields unless fields.nil?
5920
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5921
+ execute_or_queue_command(command, &block)
5922
+ end
5923
+
5924
+ # Lists SACAttachments in a given project and location.
5925
+ # @param [String] parent
5926
+ # Required. The parent, in the form `projects/`project`/locations/`location``.
5927
+ # @param [String] filter
5928
+ # Optional. An expression that filters the list of results.
5929
+ # @param [String] order_by
5930
+ # Optional. Sort the results by a certain order.
5931
+ # @param [Fixnum] page_size
5932
+ # Optional. Requested page size. Server may return fewer items than requested.
5933
+ # If unspecified, server will pick an appropriate default.
5934
+ # @param [String] page_token
5935
+ # Optional. A token identifying a page of results the server should return.
5936
+ # @param [String] fields
5937
+ # Selector specifying which fields to include in a partial response.
5938
+ # @param [String] quota_user
5939
+ # Available to use for quota purposes for server-side applications. Can be any
5940
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5941
+ # @param [Google::Apis::RequestOptions] options
5942
+ # Request-specific options
5943
+ #
5944
+ # @yield [result, err] Result & error if block supplied
5945
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse] parsed result object
5946
+ # @yieldparam err [StandardError] error object if request failed
5947
+ #
5948
+ # @return [Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse]
5949
+ #
5950
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5951
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5952
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5953
+ def list_project_location_sac_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5954
+ command = make_simple_command(:get, 'v1/{+parent}/sacAttachments', options)
5955
+ command.response_representation = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse::Representation
5956
+ command.response_class = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse
5957
+ command.params['parent'] = parent unless parent.nil?
5958
+ command.query['filter'] = filter unless filter.nil?
5959
+ command.query['orderBy'] = order_by unless order_by.nil?
5960
+ command.query['pageSize'] = page_size unless page_size.nil?
5961
+ command.query['pageToken'] = page_token unless page_token.nil?
5962
+ command.query['fields'] = fields unless fields.nil?
5963
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5964
+ execute_or_queue_command(command, &block)
5965
+ end
5966
+
5967
+ # Creates a new SACRealm in a given project.
5968
+ # @param [String] parent
5969
+ # Required. The parent, in the form `projects/`project`/locations/global`.
5970
+ # @param [Google::Apis::NetworksecurityV1::SacRealm] sac_realm_object
5971
+ # @param [String] request_id
5972
+ # Optional. An optional request ID to identify requests. Specify a unique
5973
+ # request ID so that if you must retry your request, the server will know to
5974
+ # ignore the request if it has already been completed. The server will guarantee
5975
+ # that for at least 60 minutes since the first request. For example, consider a
5976
+ # situation where you make an initial request and the request times out. If you
5977
+ # make the request again with the same request ID, the server can check if
5978
+ # original operation with the same request ID was received, and if so, will
5979
+ # ignore the second request. This prevents clients from accidentally creating
5980
+ # duplicate commitments. The request ID must be a valid UUID with the exception
5981
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5982
+ # @param [String] sac_realm_id
5983
+ # Required. ID of the created realm. The ID must be 1-63 characters long, and
5984
+ # comply with RFC1035. Specifically, it must be 1-63 characters long and match
5985
+ # the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
5986
+ # character must be a lowercase letter, and all following characters must be a
5987
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
5988
+ # dash.
5989
+ # @param [String] fields
5990
+ # Selector specifying which fields to include in a partial response.
5991
+ # @param [String] quota_user
5992
+ # Available to use for quota purposes for server-side applications. Can be any
5993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5994
+ # @param [Google::Apis::RequestOptions] options
5995
+ # Request-specific options
5996
+ #
5997
+ # @yield [result, err] Result & error if block supplied
5998
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
5999
+ # @yieldparam err [StandardError] error object if request failed
6000
+ #
6001
+ # @return [Google::Apis::NetworksecurityV1::Operation]
6002
+ #
6003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6006
+ def create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6007
+ command = make_simple_command(:post, 'v1/{+parent}/sacRealms', options)
6008
+ command.request_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation
6009
+ command.request_object = sac_realm_object
6010
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
6011
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
6012
+ command.params['parent'] = parent unless parent.nil?
6013
+ command.query['requestId'] = request_id unless request_id.nil?
6014
+ command.query['sacRealmId'] = sac_realm_id unless sac_realm_id.nil?
6015
+ command.query['fields'] = fields unless fields.nil?
6016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6017
+ execute_or_queue_command(command, &block)
6018
+ end
6019
+
6020
+ # Deletes the specified realm.
6021
+ # @param [String] name
6022
+ # Required. Name of the resource, in the form `projects/`project`/locations/
6023
+ # global/sacRealms/`sacRealm``.
6024
+ # @param [String] request_id
6025
+ # Optional. An optional request ID to identify requests. Specify a unique
6026
+ # request ID so that if you must retry your request, the server will know to
6027
+ # ignore the request if it has already been completed. The server will guarantee
6028
+ # that for at least 60 minutes after the first request. For example, consider a
6029
+ # situation where you make an initial request and the request times out. If you
6030
+ # make the request again with the same request ID, the server can check if
6031
+ # original operation with the same request ID was received, and if so, will
6032
+ # ignore the second request. This prevents clients from accidentally creating
6033
+ # duplicate commitments. The request ID must be a valid UUID with the exception
6034
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6035
+ # @param [String] fields
6036
+ # Selector specifying which fields to include in a partial response.
6037
+ # @param [String] quota_user
6038
+ # Available to use for quota purposes for server-side applications. Can be any
6039
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6040
+ # @param [Google::Apis::RequestOptions] options
6041
+ # Request-specific options
6042
+ #
6043
+ # @yield [result, err] Result & error if block supplied
6044
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
6045
+ # @yieldparam err [StandardError] error object if request failed
6046
+ #
6047
+ # @return [Google::Apis::NetworksecurityV1::Operation]
6048
+ #
6049
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6050
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6051
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6052
+ def delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6053
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6054
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
6055
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
6056
+ command.params['name'] = name unless name.nil?
6057
+ command.query['requestId'] = request_id unless request_id.nil?
6058
+ command.query['fields'] = fields unless fields.nil?
6059
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6060
+ execute_or_queue_command(command, &block)
6061
+ end
6062
+
6063
+ # Returns the specified realm.
6064
+ # @param [String] name
6065
+ # Required. Name of the resource, in the form `projects/`project`/locations/
6066
+ # global/sacRealms/`sacRealm``.
6067
+ # @param [String] fields
6068
+ # Selector specifying which fields to include in a partial response.
6069
+ # @param [String] quota_user
6070
+ # Available to use for quota purposes for server-side applications. Can be any
6071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6072
+ # @param [Google::Apis::RequestOptions] options
6073
+ # Request-specific options
6074
+ #
6075
+ # @yield [result, err] Result & error if block supplied
6076
+ # @yieldparam result [Google::Apis::NetworksecurityV1::SacRealm] parsed result object
6077
+ # @yieldparam err [StandardError] error object if request failed
6078
+ #
6079
+ # @return [Google::Apis::NetworksecurityV1::SacRealm]
6080
+ #
6081
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6082
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6083
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6084
+ def get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil, &block)
6085
+ command = make_simple_command(:get, 'v1/{+name}', options)
6086
+ command.response_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation
6087
+ command.response_class = Google::Apis::NetworksecurityV1::SacRealm
6088
+ command.params['name'] = name unless name.nil?
6089
+ command.query['fields'] = fields unless fields.nil?
6090
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6091
+ execute_or_queue_command(command, &block)
6092
+ end
6093
+
6094
+ # Lists SACRealms in a given project.
6095
+ # @param [String] parent
6096
+ # Required. The parent, in the form `projects/`project`/locations/global`.
6097
+ # @param [String] filter
6098
+ # Optional. An expression that filters the list of results.
6099
+ # @param [String] order_by
6100
+ # Optional. Sort the results by a certain order.
6101
+ # @param [Fixnum] page_size
6102
+ # Optional. Requested page size. Server may return fewer items than requested.
6103
+ # If unspecified, server will pick an appropriate default.
6104
+ # @param [String] page_token
6105
+ # Optional. A token identifying a page of results the server should return.
6106
+ # @param [String] fields
6107
+ # Selector specifying which fields to include in a partial response.
6108
+ # @param [String] quota_user
6109
+ # Available to use for quota purposes for server-side applications. Can be any
6110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6111
+ # @param [Google::Apis::RequestOptions] options
6112
+ # Request-specific options
6113
+ #
6114
+ # @yield [result, err] Result & error if block supplied
6115
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListSacRealmsResponse] parsed result object
6116
+ # @yieldparam err [StandardError] error object if request failed
6117
+ #
6118
+ # @return [Google::Apis::NetworksecurityV1::ListSacRealmsResponse]
6119
+ #
6120
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6121
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6122
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6123
+ def list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6124
+ command = make_simple_command(:get, 'v1/{+parent}/sacRealms', options)
6125
+ command.response_representation = Google::Apis::NetworksecurityV1::ListSacRealmsResponse::Representation
6126
+ command.response_class = Google::Apis::NetworksecurityV1::ListSacRealmsResponse
6127
+ command.params['parent'] = parent unless parent.nil?
6128
+ command.query['filter'] = filter unless filter.nil?
6129
+ command.query['orderBy'] = order_by unless order_by.nil?
6130
+ command.query['pageSize'] = page_size unless page_size.nil?
6131
+ command.query['pageToken'] = page_token unless page_token.nil?
6132
+ command.query['fields'] = fields unless fields.nil?
6133
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6134
+ execute_or_queue_command(command, &block)
6135
+ end
6136
+
6137
+ # Creates a new SecurityProfileGroup in a given project and location.
6138
+ # @param [String] parent
6139
+ # Required. The parent resource of the SecurityProfileGroup. Must be in the
6140
+ # format `projects|organizations/*/locations/`location``.
6141
+ # @param [Google::Apis::NetworksecurityV1::SecurityProfileGroup] security_profile_group_object
6142
+ # @param [String] security_profile_group_id
6143
+ # Required. Short name of the SecurityProfileGroup resource to be created. This
6144
+ # value should be 1-63 characters long, containing only letters, numbers,
6145
+ # hyphens, and underscores, and should not start with a number. E.g. "
6146
+ # security_profile_group1".
6147
+ # @param [String] fields
6148
+ # Selector specifying which fields to include in a partial response.
6149
+ # @param [String] quota_user
6150
+ # Available to use for quota purposes for server-side applications. Can be any
6151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6152
+ # @param [Google::Apis::RequestOptions] options
6153
+ # Request-specific options
6154
+ #
6155
+ # @yield [result, err] Result & error if block supplied
6156
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
6157
+ # @yieldparam err [StandardError] error object if request failed
6158
+ #
6159
+ # @return [Google::Apis::NetworksecurityV1::Operation]
6160
+ #
6161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6164
+ def create_project_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6165
+ command = make_simple_command(:post, 'v1/{+parent}/securityProfileGroups', options)
6166
+ command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation
6167
+ command.request_object = security_profile_group_object
3907
6168
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3908
6169
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3909
6170
  command.params['parent'] = parent unless parent.nil?
3910
- command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil?
3911
- command.query['requestId'] = request_id unless request_id.nil?
6171
+ command.query['securityProfileGroupId'] = security_profile_group_id unless security_profile_group_id.nil?
3912
6172
  command.query['fields'] = fields unless fields.nil?
3913
6173
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3914
6174
  execute_or_queue_command(command, &block)
3915
6175
  end
3916
6176
 
3917
- # Deletes an endpoint group. See https://google.aip.dev/135.
6177
+ # Deletes a single SecurityProfileGroup.
3918
6178
  # @param [String] name
3919
- # Required. The endpoint group to delete.
3920
- # @param [String] request_id
3921
- # Optional. A unique identifier for this request. Must be a UUID4. This request
3922
- # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3923
- # 155 for more details.
6179
+ # Required. A name of the SecurityProfileGroup to delete. Must be in the format `
6180
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
6181
+ # security_profile_group``.
6182
+ # @param [String] etag
6183
+ # Optional. If client provided etag is out of date, delete will return
6184
+ # FAILED_PRECONDITION error.
3924
6185
  # @param [String] fields
3925
6186
  # Selector specifying which fields to include in a partial response.
3926
6187
  # @param [String] quota_user
@@ -3938,22 +6199,22 @@ module Google
3938
6199
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3939
6200
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3940
6201
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3941
- def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6202
+ def delete_project_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
3942
6203
  command = make_simple_command(:delete, 'v1/{+name}', options)
3943
6204
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3944
6205
  command.response_class = Google::Apis::NetworksecurityV1::Operation
3945
6206
  command.params['name'] = name unless name.nil?
3946
- command.query['requestId'] = request_id unless request_id.nil?
6207
+ command.query['etag'] = etag unless etag.nil?
3947
6208
  command.query['fields'] = fields unless fields.nil?
3948
6209
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3949
6210
  execute_or_queue_command(command, &block)
3950
6211
  end
3951
6212
 
3952
- # Gets a specific endpoint group. See https://google.aip.dev/131.
6213
+ # Gets details of a single SecurityProfileGroup.
3953
6214
  # @param [String] name
3954
- # Required. The name of the endpoint group to retrieve. Format: projects/`
3955
- # project`/locations/`location`/mirroringEndpointGroups/`
3956
- # mirroring_endpoint_group`
6215
+ # Required. A name of the SecurityProfileGroup to get. Must be in the format `
6216
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
6217
+ # security_profile_group``.
3957
6218
  # @param [String] fields
3958
6219
  # Selector specifying which fields to include in a partial response.
3959
6220
  # @param [String] quota_user
@@ -3963,45 +6224,35 @@ module Google
3963
6224
  # Request-specific options
3964
6225
  #
3965
6226
  # @yield [result, err] Result & error if block supplied
3966
- # @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] parsed result object
6227
+ # @yieldparam result [Google::Apis::NetworksecurityV1::SecurityProfileGroup] parsed result object
3967
6228
  # @yieldparam err [StandardError] error object if request failed
3968
6229
  #
3969
- # @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroup]
6230
+ # @return [Google::Apis::NetworksecurityV1::SecurityProfileGroup]
3970
6231
  #
3971
6232
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3972
6233
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3973
6234
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3974
- def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
6235
+ def get_project_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block)
3975
6236
  command = make_simple_command(:get, 'v1/{+name}', options)
3976
- command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
3977
- command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroup
6237
+ command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation
6238
+ command.response_class = Google::Apis::NetworksecurityV1::SecurityProfileGroup
3978
6239
  command.params['name'] = name unless name.nil?
3979
6240
  command.query['fields'] = fields unless fields.nil?
3980
6241
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3981
6242
  execute_or_queue_command(command, &block)
3982
6243
  end
3983
6244
 
3984
- # Lists endpoint groups in a given project and location. See https://google.aip.
3985
- # dev/132.
6245
+ # Lists SecurityProfileGroups in a given project and location.
3986
6246
  # @param [String] parent
3987
- # Required. The parent, which owns this collection of endpoint groups. Example: `
3988
- # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
3989
- # details.
3990
- # @param [String] filter
3991
- # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
3992
- # details.
3993
- # @param [String] order_by
3994
- # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
3995
- # details.
6247
+ # Required. The project or organization and location from which the
6248
+ # SecurityProfileGroups should be listed, specified in the format `projects|
6249
+ # organizations/*/locations/`location``.
3996
6250
  # @param [Fixnum] page_size
3997
- # Optional. Requested page size. Server may return fewer items than requested.
3998
- # If unspecified, server will pick an appropriate default. See https://google.
3999
- # aip.dev/158 for more details.
6251
+ # Optional. Maximum number of SecurityProfileGroups to return per call.
4000
6252
  # @param [String] page_token
4001
- # Optional. A page token, received from a previous `ListMirroringEndpointGroups`
4002
- # call. Provide this to retrieve the subsequent page. When paginating, all other
4003
- # parameters provided to `ListMirroringEndpointGroups` must match the call that
4004
- # provided the page token. See https://google.aip.dev/158 for more details.
6253
+ # Optional. The value returned by the last `ListSecurityProfileGroupsResponse`
6254
+ # Indicates that this is a continuation of a prior `ListSecurityProfileGroups`
6255
+ # call, and that the system should return the next page of data.
4005
6256
  # @param [String] fields
4006
6257
  # Selector specifying which fields to include in a partial response.
4007
6258
  # @param [String] quota_user
@@ -4011,21 +6262,19 @@ module Google
4011
6262
  # Request-specific options
4012
6263
  #
4013
6264
  # @yield [result, err] Result & error if block supplied
4014
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse] parsed result object
6265
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse] parsed result object
4015
6266
  # @yieldparam err [StandardError] error object if request failed
4016
6267
  #
4017
- # @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse]
6268
+ # @return [Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse]
4018
6269
  #
4019
6270
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4020
6271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4021
6272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4022
- def list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4023
- command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroups', options)
4024
- command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse::Representation
4025
- command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse
6273
+ def list_project_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6274
+ command = make_simple_command(:get, 'v1/{+parent}/securityProfileGroups', options)
6275
+ command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse::Representation
6276
+ command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse
4026
6277
  command.params['parent'] = parent unless parent.nil?
4027
- command.query['filter'] = filter unless filter.nil?
4028
- command.query['orderBy'] = order_by unless order_by.nil?
4029
6278
  command.query['pageSize'] = page_size unless page_size.nil?
4030
6279
  command.query['pageToken'] = page_token unless page_token.nil?
4031
6280
  command.query['fields'] = fields unless fields.nil?
@@ -4033,20 +6282,17 @@ module Google
4033
6282
  execute_or_queue_command(command, &block)
4034
6283
  end
4035
6284
 
4036
- # Updates an endpoint group. See https://google.aip.dev/134.
6285
+ # Updates the parameters of a single SecurityProfileGroup.
4037
6286
  # @param [String] name
4038
- # Immutable. Identifier. The resource name of this endpoint group, for example: `
4039
- # projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https:/
4040
- # /google.aip.dev/122 for more details.
4041
- # @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
4042
- # @param [String] request_id
4043
- # Optional. A unique identifier for this request. Must be a UUID4. This request
4044
- # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4045
- # 155 for more details.
6287
+ # Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches
6288
+ # pattern `projects|organizations/*/locations/`location`/securityProfileGroups/`
6289
+ # security_profile_group``.
6290
+ # @param [Google::Apis::NetworksecurityV1::SecurityProfileGroup] security_profile_group_object
4046
6291
  # @param [String] update_mask
4047
- # Optional. The list of fields to update. Fields are specified relative to the
4048
- # endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.
4049
- # description`). See https://google.aip.dev/161 for more details.
6292
+ # Required. Field mask is used to specify the fields to be overwritten in the
6293
+ # SecurityProfileGroup resource by the update. The fields specified in the
6294
+ # update_mask are relative to the resource, not the full request. A field will
6295
+ # be overwritten if it is in the mask.
4050
6296
  # @param [String] fields
4051
6297
  # Selector specifying which fields to include in a partial response.
4052
6298
  # @param [String] quota_user
@@ -4064,31 +6310,28 @@ module Google
4064
6310
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4065
6311
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4066
6312
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4067
- def patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
6313
+ def patch_project_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4068
6314
  command = make_simple_command(:patch, 'v1/{+name}', options)
4069
- command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
4070
- command.request_object = mirroring_endpoint_group_object
6315
+ command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation
6316
+ command.request_object = security_profile_group_object
4071
6317
  command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4072
6318
  command.response_class = Google::Apis::NetworksecurityV1::Operation
4073
6319
  command.params['name'] = name unless name.nil?
4074
- command.query['requestId'] = request_id unless request_id.nil?
4075
6320
  command.query['updateMask'] = update_mask unless update_mask.nil?
4076
6321
  command.query['fields'] = fields unless fields.nil?
4077
6322
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4078
6323
  execute_or_queue_command(command, &block)
4079
6324
  end
4080
6325
 
4081
- # Starts asynchronous cancellation on a long-running operation. The server makes
4082
- # a best effort to cancel the operation, but success is not guaranteed. If the
4083
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4084
- # Clients can use Operations.GetOperation or other methods to check whether the
4085
- # cancellation succeeded or whether the operation completed despite cancellation.
4086
- # On successful cancellation, the operation is not deleted; instead, it becomes
4087
- # an operation with an Operation.error value with a google.rpc.Status.code of `1`
4088
- # , corresponding to `Code.CANCELLED`.
4089
- # @param [String] name
4090
- # The name of the operation resource to be cancelled.
4091
- # @param [Google::Apis::NetworksecurityV1::CancelOperationRequest] cancel_operation_request_object
6326
+ # Creates a new SecurityProfile in a given project and location.
6327
+ # @param [String] parent
6328
+ # Required. The parent resource of the SecurityProfile. Must be in the format `
6329
+ # projects|organizations/*/locations/`location``.
6330
+ # @param [Google::Apis::NetworksecurityV1::SecurityProfile] security_profile_object
6331
+ # @param [String] security_profile_id
6332
+ # Required. Short name of the SecurityProfile resource to be created. This value
6333
+ # should be 1-63 characters long, containing only letters, numbers, hyphens, and
6334
+ # underscores, and should not start with a number. E.g. "security_profile1".
4092
6335
  # @param [String] fields
4093
6336
  # Selector specifying which fields to include in a partial response.
4094
6337
  # @param [String] quota_user
@@ -4098,32 +6341,35 @@ module Google
4098
6341
  # Request-specific options
4099
6342
  #
4100
6343
  # @yield [result, err] Result & error if block supplied
4101
- # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
6344
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4102
6345
  # @yieldparam err [StandardError] error object if request failed
4103
6346
  #
4104
- # @return [Google::Apis::NetworksecurityV1::Empty]
6347
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4105
6348
  #
4106
6349
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4107
6350
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4108
6351
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4109
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4110
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
4111
- command.request_representation = Google::Apis::NetworksecurityV1::CancelOperationRequest::Representation
4112
- command.request_object = cancel_operation_request_object
4113
- command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
4114
- command.response_class = Google::Apis::NetworksecurityV1::Empty
4115
- command.params['name'] = name unless name.nil?
6352
+ def create_project_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6353
+ command = make_simple_command(:post, 'v1/{+parent}/securityProfiles', options)
6354
+ command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation
6355
+ command.request_object = security_profile_object
6356
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
6357
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
6358
+ command.params['parent'] = parent unless parent.nil?
6359
+ command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil?
4116
6360
  command.query['fields'] = fields unless fields.nil?
4117
6361
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4118
6362
  execute_or_queue_command(command, &block)
4119
6363
  end
4120
6364
 
4121
- # Deletes a long-running operation. This method indicates that the client is no
4122
- # longer interested in the operation result. It does not cancel the operation.
4123
- # If the server doesn't support this method, it returns `google.rpc.Code.
4124
- # UNIMPLEMENTED`.
6365
+ # Deletes a single SecurityProfile.
4125
6366
  # @param [String] name
4126
- # The name of the operation resource to be deleted.
6367
+ # Required. A name of the SecurityProfile to delete. Must be in the format `
6368
+ # projects|organizations/*/locations/`location`/securityProfiles/`
6369
+ # security_profile_id``.
6370
+ # @param [String] etag
6371
+ # Optional. If client provided etag is out of date, delete will return
6372
+ # FAILED_PRECONDITION error.
4127
6373
  # @param [String] fields
4128
6374
  # Selector specifying which fields to include in a partial response.
4129
6375
  # @param [String] quota_user
@@ -4133,28 +6379,30 @@ module Google
4133
6379
  # Request-specific options
4134
6380
  #
4135
6381
  # @yield [result, err] Result & error if block supplied
4136
- # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
6382
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4137
6383
  # @yieldparam err [StandardError] error object if request failed
4138
6384
  #
4139
- # @return [Google::Apis::NetworksecurityV1::Empty]
6385
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4140
6386
  #
4141
6387
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4142
6388
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4143
6389
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4144
- def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6390
+ def delete_project_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
4145
6391
  command = make_simple_command(:delete, 'v1/{+name}', options)
4146
- command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
4147
- command.response_class = Google::Apis::NetworksecurityV1::Empty
6392
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
6393
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4148
6394
  command.params['name'] = name unless name.nil?
6395
+ command.query['etag'] = etag unless etag.nil?
4149
6396
  command.query['fields'] = fields unless fields.nil?
4150
6397
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4151
6398
  execute_or_queue_command(command, &block)
4152
6399
  end
4153
6400
 
4154
- # Gets the latest state of a long-running operation. Clients can use this method
4155
- # to poll the operation result at intervals as recommended by the API service.
6401
+ # Gets details of a single SecurityProfile.
4156
6402
  # @param [String] name
4157
- # The name of the operation resource.
6403
+ # Required. A name of the SecurityProfile to get. Must be in the format `
6404
+ # projects|organizations/*/locations/`location`/securityProfiles/`
6405
+ # security_profile_id``.
4158
6406
  # @param [String] fields
4159
6407
  # Selector specifying which fields to include in a partial response.
4160
6408
  # @param [String] quota_user
@@ -4164,34 +6412,35 @@ module Google
4164
6412
  # Request-specific options
4165
6413
  #
4166
6414
  # @yield [result, err] Result & error if block supplied
4167
- # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
6415
+ # @yieldparam result [Google::Apis::NetworksecurityV1::SecurityProfile] parsed result object
4168
6416
  # @yieldparam err [StandardError] error object if request failed
4169
6417
  #
4170
- # @return [Google::Apis::NetworksecurityV1::Operation]
6418
+ # @return [Google::Apis::NetworksecurityV1::SecurityProfile]
4171
6419
  #
4172
6420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4173
6421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4174
6422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4175
- def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6423
+ def get_project_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block)
4176
6424
  command = make_simple_command(:get, 'v1/{+name}', options)
4177
- command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4178
- command.response_class = Google::Apis::NetworksecurityV1::Operation
6425
+ command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation
6426
+ command.response_class = Google::Apis::NetworksecurityV1::SecurityProfile
4179
6427
  command.params['name'] = name unless name.nil?
4180
6428
  command.query['fields'] = fields unless fields.nil?
4181
6429
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4182
6430
  execute_or_queue_command(command, &block)
4183
6431
  end
4184
6432
 
4185
- # Lists operations that match the specified filter in the request. If the server
4186
- # doesn't support this method, it returns `UNIMPLEMENTED`.
4187
- # @param [String] name
4188
- # The name of the operation's parent resource.
4189
- # @param [String] filter
4190
- # The standard list filter.
6433
+ # Lists SecurityProfiles in a given project and location.
6434
+ # @param [String] parent
6435
+ # Required. The project or organization and location from which the
6436
+ # SecurityProfiles should be listed, specified in the format `projects|
6437
+ # organizations/*/locations/`location``.
4191
6438
  # @param [Fixnum] page_size
4192
- # The standard list page size.
6439
+ # Optional. Maximum number of SecurityProfiles to return per call.
4193
6440
  # @param [String] page_token
4194
- # The standard list page token.
6441
+ # Optional. The value returned by the last `ListSecurityProfilesResponse`
6442
+ # Indicates that this is a continuation of a prior `ListSecurityProfiles` call,
6443
+ # and that the system should return the next page of data.
4195
6444
  # @param [String] fields
4196
6445
  # Selector specifying which fields to include in a partial response.
4197
6446
  # @param [String] quota_user
@@ -4201,20 +6450,19 @@ module Google
4201
6450
  # Request-specific options
4202
6451
  #
4203
6452
  # @yield [result, err] Result & error if block supplied
4204
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListOperationsResponse] parsed result object
6453
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse] parsed result object
4205
6454
  # @yieldparam err [StandardError] error object if request failed
4206
6455
  #
4207
- # @return [Google::Apis::NetworksecurityV1::ListOperationsResponse]
6456
+ # @return [Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse]
4208
6457
  #
4209
6458
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4210
6459
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4211
6460
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4212
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4213
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
4214
- command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation
4215
- command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse
4216
- command.params['name'] = name unless name.nil?
4217
- command.query['filter'] = filter unless filter.nil?
6461
+ def list_project_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6462
+ command = make_simple_command(:get, 'v1/{+parent}/securityProfiles', options)
6463
+ command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse::Representation
6464
+ command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse
6465
+ command.params['parent'] = parent unless parent.nil?
4218
6466
  command.query['pageSize'] = page_size unless page_size.nil?
4219
6467
  command.query['pageToken'] = page_token unless page_token.nil?
4220
6468
  command.query['fields'] = fields unless fields.nil?
@@ -4222,6 +6470,47 @@ module Google
4222
6470
  execute_or_queue_command(command, &block)
4223
6471
  end
4224
6472
 
6473
+ # Updates the parameters of a single SecurityProfile.
6474
+ # @param [String] name
6475
+ # Immutable. Identifier. Name of the SecurityProfile resource. It matches
6476
+ # pattern `projects|organizations/*/locations/`location`/securityProfiles/`
6477
+ # security_profile``.
6478
+ # @param [Google::Apis::NetworksecurityV1::SecurityProfile] security_profile_object
6479
+ # @param [String] update_mask
6480
+ # Required. Field mask is used to specify the fields to be overwritten in the
6481
+ # SecurityProfile resource by the update. The fields specified in the
6482
+ # update_mask are relative to the resource, not the full request. A field will
6483
+ # be overwritten if it is in the mask.
6484
+ # @param [String] fields
6485
+ # Selector specifying which fields to include in a partial response.
6486
+ # @param [String] quota_user
6487
+ # Available to use for quota purposes for server-side applications. Can be any
6488
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6489
+ # @param [Google::Apis::RequestOptions] options
6490
+ # Request-specific options
6491
+ #
6492
+ # @yield [result, err] Result & error if block supplied
6493
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
6494
+ # @yieldparam err [StandardError] error object if request failed
6495
+ #
6496
+ # @return [Google::Apis::NetworksecurityV1::Operation]
6497
+ #
6498
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6499
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6500
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6501
+ def patch_project_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
6502
+ command = make_simple_command(:patch, 'v1/{+name}', options)
6503
+ command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation
6504
+ command.request_object = security_profile_object
6505
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
6506
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
6507
+ command.params['name'] = name unless name.nil?
6508
+ command.query['updateMask'] = update_mask unless update_mask.nil?
6509
+ command.query['fields'] = fields unless fields.nil?
6510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6511
+ execute_or_queue_command(command, &block)
6512
+ end
6513
+
4225
6514
  # Creates a new ServerTlsPolicy in a given project and location.
4226
6515
  # @param [String] parent
4227
6516
  # Required. The parent resource of the ServerTlsPolicy. Must be in the format `
@@ -4378,6 +6667,12 @@ module Google
4378
6667
  # The value returned by the last `ListServerTlsPoliciesResponse` Indicates that
4379
6668
  # this is a continuation of a prior `ListServerTlsPolicies` call, and that the
4380
6669
  # system should return the next page of data.
6670
+ # @param [Boolean] return_partial_success
6671
+ # Optional. Setting this field to `true` will opt the request into returning the
6672
+ # resources that are reachable, and into including the names of those that were
6673
+ # unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can
6674
+ # only be `true` when reading across collections e.g. when `parent` is set to `"
6675
+ # projects/example/locations/-"`.
4381
6676
  # @param [String] fields
4382
6677
  # Selector specifying which fields to include in a partial response.
4383
6678
  # @param [String] quota_user
@@ -4395,13 +6690,14 @@ module Google
4395
6690
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4396
6691
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4397
6692
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4398
- def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6693
+ def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
4399
6694
  command = make_simple_command(:get, 'v1/{+parent}/serverTlsPolicies', options)
4400
6695
  command.response_representation = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse::Representation
4401
6696
  command.response_class = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
4402
6697
  command.params['parent'] = parent unless parent.nil?
4403
6698
  command.query['pageSize'] = page_size unless page_size.nil?
4404
6699
  command.query['pageToken'] = page_token unless page_token.nil?
6700
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4405
6701
  command.query['fields'] = fields unless fields.nil?
4406
6702
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4407
6703
  execute_or_queue_command(command, &block)