google-apis-networksecurity_v1beta1 0.64.0 → 0.66.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +612 -5
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +258 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +367 -0
- metadata +3 -3
|
@@ -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::NetworksecurityV1beta1::Location] parsed result object
|
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
+
#
|
|
69
|
+
# @return [Google::Apis::NetworksecurityV1beta1::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, 'v1beta1/{+name}', options)
|
|
76
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Location::Representation
|
|
77
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListLocationsResponse] parsed result object
|
|
119
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
120
|
+
#
|
|
121
|
+
# @return [Google::Apis::NetworksecurityV1beta1::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, 'v1beta1/{+name}/locations', options)
|
|
128
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListLocationsResponse::Representation
|
|
129
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::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,6 +500,45 @@ module Google
|
|
|
414
500
|
execute_or_queue_command(command, &block)
|
|
415
501
|
end
|
|
416
502
|
|
|
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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
523
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
524
|
+
#
|
|
525
|
+
# @return [Google::Apis::NetworksecurityV1beta1::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, 'v1beta1/{+resource}:testIamPermissions', options)
|
|
532
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
|
533
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
|
534
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
535
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::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
|
+
|
|
417
542
|
# Creates a new FirewallEndpoint in a given organization and location.
|
|
418
543
|
# @param [String] parent
|
|
419
544
|
# Required. Value for parent.
|
|
@@ -631,6 +756,127 @@ module Google
|
|
|
631
756
|
execute_or_queue_command(command, &block)
|
|
632
757
|
end
|
|
633
758
|
|
|
759
|
+
# Create WildfireVerdictChangeRequest in a given Firewall Endpoint in an
|
|
760
|
+
# organization and location.
|
|
761
|
+
# @param [String] parent
|
|
762
|
+
# Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The
|
|
763
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
764
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
765
|
+
# firewall_endpoint`
|
|
766
|
+
# @param [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] wildfire_verdict_change_request_object
|
|
767
|
+
# @param [String] fields
|
|
768
|
+
# Selector specifying which fields to include in a partial response.
|
|
769
|
+
# @param [String] quota_user
|
|
770
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
771
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
772
|
+
# @param [Google::Apis::RequestOptions] options
|
|
773
|
+
# Request-specific options
|
|
774
|
+
#
|
|
775
|
+
# @yield [result, err] Result & error if block supplied
|
|
776
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] parsed result object
|
|
777
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
778
|
+
#
|
|
779
|
+
# @return [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest]
|
|
780
|
+
#
|
|
781
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
782
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
783
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
784
|
+
def create_organization_location_firewall_endpoint_wildfire_verdict_change_request(parent, wildfire_verdict_change_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
785
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
786
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
787
|
+
command.request_object = wildfire_verdict_change_request_object
|
|
788
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
789
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest
|
|
790
|
+
command.params['parent'] = parent unless parent.nil?
|
|
791
|
+
command.query['fields'] = fields unless fields.nil?
|
|
792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
793
|
+
execute_or_queue_command(command, &block)
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# Get WildfireVerdictChangeRequest in a given Firewall Endpoint in an
|
|
797
|
+
# organization and location.
|
|
798
|
+
# @param [String] name
|
|
799
|
+
# Required. Name of the WildfireVerdictChangeRequest to retrieve. Format:
|
|
800
|
+
# organizations|projects/`project_or_organization`/locations/`location`/
|
|
801
|
+
# firewallEndpoints/`firewall_endpoint`/wildfireVerdictChangeRequests/`
|
|
802
|
+
# wildfire_verdict_change_request_id` Where `wildfire_verdict_change_request_id`
|
|
803
|
+
# is the ID in the format: ^[0-9a-fA-F]`8`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-
|
|
804
|
+
# fA-F]`4`-[0-9a-fA-F]`12`$
|
|
805
|
+
# @param [String] fields
|
|
806
|
+
# Selector specifying which fields to include in a partial response.
|
|
807
|
+
# @param [String] quota_user
|
|
808
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
809
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
810
|
+
# @param [Google::Apis::RequestOptions] options
|
|
811
|
+
# Request-specific options
|
|
812
|
+
#
|
|
813
|
+
# @yield [result, err] Result & error if block supplied
|
|
814
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] parsed result object
|
|
815
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
816
|
+
#
|
|
817
|
+
# @return [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest]
|
|
818
|
+
#
|
|
819
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
820
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
821
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
822
|
+
def get_organization_location_firewall_endpoint_wildfire_verdict_change_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
823
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
824
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
825
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest
|
|
826
|
+
command.params['name'] = name unless name.nil?
|
|
827
|
+
command.query['fields'] = fields unless fields.nil?
|
|
828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
829
|
+
execute_or_queue_command(command, &block)
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in an
|
|
833
|
+
# organization and location.
|
|
834
|
+
# @param [String] parent
|
|
835
|
+
# Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The
|
|
836
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
837
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
838
|
+
# firewall_endpoint`
|
|
839
|
+
# @param [String] filter
|
|
840
|
+
# Optional. Filter expression to filter the results. See AIP-160 for filtering
|
|
841
|
+
# syntax. Supported fields are: - `sha256` (string, equality only, e.g. `sha256 =
|
|
842
|
+
# "..."`) - `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `
|
|
843
|
+
# create_time` (timestamp, comparisons, e.g. `create_time > "2026-01-01T00:00:
|
|
844
|
+
# 00Z"`)
|
|
845
|
+
# @param [Fixnum] page_size
|
|
846
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
847
|
+
# If unspecified, server will pick an appropriate default.
|
|
848
|
+
# @param [String] page_token
|
|
849
|
+
# Optional. A token identifying a page of results the server should return.
|
|
850
|
+
# @param [String] fields
|
|
851
|
+
# Selector specifying which fields to include in a partial response.
|
|
852
|
+
# @param [String] quota_user
|
|
853
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
854
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
855
|
+
# @param [Google::Apis::RequestOptions] options
|
|
856
|
+
# Request-specific options
|
|
857
|
+
#
|
|
858
|
+
# @yield [result, err] Result & error if block supplied
|
|
859
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse] parsed result object
|
|
860
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
861
|
+
#
|
|
862
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse]
|
|
863
|
+
#
|
|
864
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
865
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
866
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
867
|
+
def list_organization_location_firewall_endpoint_wildfire_verdict_change_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
868
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
869
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse::Representation
|
|
870
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse
|
|
871
|
+
command.params['parent'] = parent unless parent.nil?
|
|
872
|
+
command.query['filter'] = filter unless filter.nil?
|
|
873
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
874
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
875
|
+
command.query['fields'] = fields unless fields.nil?
|
|
876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
877
|
+
execute_or_queue_command(command, &block)
|
|
878
|
+
end
|
|
879
|
+
|
|
634
880
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
635
881
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
636
882
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -3476,6 +3722,127 @@ module Google
|
|
|
3476
3722
|
execute_or_queue_command(command, &block)
|
|
3477
3723
|
end
|
|
3478
3724
|
|
|
3725
|
+
# Create WildfireVerdictChangeRequest in a given Firewall Endpoint in a project
|
|
3726
|
+
# and location.
|
|
3727
|
+
# @param [String] parent
|
|
3728
|
+
# Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The
|
|
3729
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
3730
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
3731
|
+
# firewall_endpoint`
|
|
3732
|
+
# @param [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] wildfire_verdict_change_request_object
|
|
3733
|
+
# @param [String] fields
|
|
3734
|
+
# Selector specifying which fields to include in a partial response.
|
|
3735
|
+
# @param [String] quota_user
|
|
3736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3738
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3739
|
+
# Request-specific options
|
|
3740
|
+
#
|
|
3741
|
+
# @yield [result, err] Result & error if block supplied
|
|
3742
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] parsed result object
|
|
3743
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3744
|
+
#
|
|
3745
|
+
# @return [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest]
|
|
3746
|
+
#
|
|
3747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3750
|
+
def create_project_location_firewall_endpoint_wildfire_verdict_change_request(parent, wildfire_verdict_change_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3751
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
3752
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
3753
|
+
command.request_object = wildfire_verdict_change_request_object
|
|
3754
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
3755
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest
|
|
3756
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3757
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3758
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3759
|
+
execute_or_queue_command(command, &block)
|
|
3760
|
+
end
|
|
3761
|
+
|
|
3762
|
+
# Get WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and
|
|
3763
|
+
# location.
|
|
3764
|
+
# @param [String] name
|
|
3765
|
+
# Required. Name of the WildfireVerdictChangeRequest to retrieve. Format:
|
|
3766
|
+
# organizations|projects/`project_or_organization`/locations/`location`/
|
|
3767
|
+
# firewallEndpoints/`firewall_endpoint`/wildfireVerdictChangeRequests/`
|
|
3768
|
+
# wildfire_verdict_change_request_id` Where `wildfire_verdict_change_request_id`
|
|
3769
|
+
# is the ID in the format: ^[0-9a-fA-F]`8`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-
|
|
3770
|
+
# fA-F]`4`-[0-9a-fA-F]`12`$
|
|
3771
|
+
# @param [String] fields
|
|
3772
|
+
# Selector specifying which fields to include in a partial response.
|
|
3773
|
+
# @param [String] quota_user
|
|
3774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3776
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3777
|
+
# Request-specific options
|
|
3778
|
+
#
|
|
3779
|
+
# @yield [result, err] Result & error if block supplied
|
|
3780
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest] parsed result object
|
|
3781
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3782
|
+
#
|
|
3783
|
+
# @return [Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest]
|
|
3784
|
+
#
|
|
3785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3788
|
+
def get_project_location_firewall_endpoint_wildfire_verdict_change_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3789
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
3790
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest::Representation
|
|
3791
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::WildfireVerdictChangeRequest
|
|
3792
|
+
command.params['name'] = name unless name.nil?
|
|
3793
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3795
|
+
execute_or_queue_command(command, &block)
|
|
3796
|
+
end
|
|
3797
|
+
|
|
3798
|
+
# Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in a project
|
|
3799
|
+
# and location.
|
|
3800
|
+
# @param [String] parent
|
|
3801
|
+
# Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The
|
|
3802
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
3803
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
3804
|
+
# firewall_endpoint`
|
|
3805
|
+
# @param [String] filter
|
|
3806
|
+
# Optional. Filter expression to filter the results. See AIP-160 for filtering
|
|
3807
|
+
# syntax. Supported fields are: - `sha256` (string, equality only, e.g. `sha256 =
|
|
3808
|
+
# "..."`) - `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `
|
|
3809
|
+
# create_time` (timestamp, comparisons, e.g. `create_time > "2026-01-01T00:00:
|
|
3810
|
+
# 00Z"`)
|
|
3811
|
+
# @param [Fixnum] page_size
|
|
3812
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
3813
|
+
# If unspecified, server will pick an appropriate default.
|
|
3814
|
+
# @param [String] page_token
|
|
3815
|
+
# Optional. A token identifying a page of results the server should return.
|
|
3816
|
+
# @param [String] fields
|
|
3817
|
+
# Selector specifying which fields to include in a partial response.
|
|
3818
|
+
# @param [String] quota_user
|
|
3819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3821
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3822
|
+
# Request-specific options
|
|
3823
|
+
#
|
|
3824
|
+
# @yield [result, err] Result & error if block supplied
|
|
3825
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse] parsed result object
|
|
3826
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3827
|
+
#
|
|
3828
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse]
|
|
3829
|
+
#
|
|
3830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3833
|
+
def list_project_location_firewall_endpoint_wildfire_verdict_change_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3834
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
3835
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse::Representation
|
|
3836
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListWildfireVerdictChangeRequestsResponse
|
|
3837
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3838
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3839
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3840
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3841
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3843
|
+
execute_or_queue_command(command, &block)
|
|
3844
|
+
end
|
|
3845
|
+
|
|
3479
3846
|
# Creates a new GatewaySecurityPolicy in a given project and location.
|
|
3480
3847
|
# @param [String] parent
|
|
3481
3848
|
# Required. The parent resource of the GatewaySecurityPolicy. Must be in the
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networksecurity_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.66.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.66.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|