google-apis-securitycenter_v1 0.79.0 → 0.81.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03fd6fbf3512c02446962eb29b9439bab7b877138020e545276411565f34cf63
4
- data.tar.gz: 848ef229ac778319b4dfbdb3333618ec7da97d8ca857b3fa404bf38e8dd0ef1b
3
+ metadata.gz: eab8937e38c356a515fff785f9751797d94107b3e0d90f9ef7d2f8c55536b2cf
4
+ data.tar.gz: f4c3bd798c390dd8ba2c8c3e785a0afa8ead9491ef24d00345a468a4f00d6ee1
5
5
  SHA512:
6
- metadata.gz: a58f1c0f5ec4456b65b7455722a7d1eee3cb6a34e606f25e3cbdf9b1a8ffde9c03af1809899b25c56cf8732535cf4b826e7cf9009e7f63a69e5460c8f699b9a6
7
- data.tar.gz: 91592db3a32d48b73e01fd7c0d83fac7534c4adf137c9079fcb711d0866f93d78991cf264c8038bc66c7942aeda105e43e755d162469a6529aa0f0d749af76f6
6
+ metadata.gz: 23830f4242dca69d37d4c7085565bc8a674307020e01a93d24355d9813712467610ee8ddc3e8cdfa56e8b55c8cbc499af4643795ff7b0957122e9d17891b0864
7
+ data.tar.gz: 6e36dec133e64484a8abda58275a91e923d26c5eaef72b459f83ae450606e8bf7315de3b6004699ca653022afa99c3c290fcfeb13a4bc13de933f2ffe927da34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.81.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240513
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.80.0 (2024-04-28)
9
+
10
+ * Regenerated from discovery document revision 20240422
11
+
3
12
  ### v0.79.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240415
@@ -351,7 +351,7 @@ module Google
351
351
  class Attack
352
352
  include Google::Apis::Core::Hashable
353
353
 
354
- # Type of attack, for example, SYN-flood’, NTP-udp’, or CHARGEN-udp’.
354
+ # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
355
355
  # Corresponds to the JSON property `classification`
356
356
  # @return [String]
357
357
  attr_accessor :classification
@@ -1085,7 +1085,7 @@ module Google
1085
1085
  attr_accessor :security_policy
1086
1086
 
1087
1087
  # Distinguish between volumetric & protocol DDoS attack and application layer
1088
- # attacks. For example, L3_4 for Layer 3 and Layer 4 DDoS attacks, or L_7
1088
+ # attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7"
1089
1089
  # for Layer 7 DDoS attacks.
1090
1090
  # Corresponds to the JSON property `threatVector`
1091
1091
  # @return [String]
@@ -3240,13 +3240,13 @@ module Google
3240
3240
  # @return [Google::Apis::SecuritycenterV1::ResourcePath]
3241
3241
  attr_accessor :resource_path
3242
3242
 
3243
- # A string representation of the resource path. For GCP, it has the format of:
3244
- # organizations/`organization_id`/folders/`folder_id`/folders/`folder_id`/
3245
- # projects/`project_id` where there can be any number of folders. For AWS, it
3246
- # has the format of: org/`organization_id`/ou/`organizational_unit_id`/ou/`
3247
- # organizational_unit_id`/account/`account_id` where there can be any number of
3248
- # organizational units. For Azure, it has the format of: mg/`management_group_id`
3249
- # /mg/`management_group_id`/subscription/`subscription_id`/rg/`
3243
+ # A string representation of the resource path. For Google Cloud, it has the
3244
+ # format of organizations/`organization_id`/folders/`folder_id`/folders/`
3245
+ # folder_id`/projects/`project_id` where there can be any number of folders. For
3246
+ # AWS, it has the format of org/`organization_id`/ou/`organizational_unit_id`/ou/
3247
+ # `organizational_unit_id`/account/`account_id` where there can be any number of
3248
+ # organizational units. For Azure, it has the format of mg/`management_group_id`/
3249
+ # mg/`management_group_id`/subscription/`subscription_id`/rg/`
3250
3250
  # resource_group_name` where there can be any number of management groups.
3251
3251
  # Corresponds to the JSON property `resourcePathString`
3252
3252
  # @return [String]
@@ -4070,7 +4070,7 @@ module Google
4070
4070
  class GoogleCloudSecuritycenterV2Attack
4071
4071
  include Google::Apis::Core::Hashable
4072
4072
 
4073
- # Type of attack, for example, SYN-flood’, NTP-udp’, or CHARGEN-udp’.
4073
+ # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
4074
4074
  # Corresponds to the JSON property `classification`
4075
4075
  # @return [String]
4076
4076
  attr_accessor :classification
@@ -4540,7 +4540,7 @@ module Google
4540
4540
  attr_accessor :security_policy
4541
4541
 
4542
4542
  # Distinguish between volumetric & protocol DDoS attack and application layer
4543
- # attacks. For example, L3_4 for Layer 3 and Layer 4 DDoS attacks, or L_7
4543
+ # attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7"
4544
4544
  # for Layer 7 DDoS attacks.
4545
4545
  # Corresponds to the JSON property `threatVector`
4546
4546
  # @return [String]
@@ -6708,13 +6708,13 @@ module Google
6708
6708
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourcePath]
6709
6709
  attr_accessor :resource_path
6710
6710
 
6711
- # A string representation of the resource path. For GCP, it has the format of:
6712
- # organizations/`organization_id`/folders/`folder_id`/folders/`folder_id`/
6713
- # projects/`project_id` where there can be any number of folders. For AWS, it
6714
- # has the format of: org/`organization_id`/ou/`organizational_unit_id`/ou/`
6715
- # organizational_unit_id`/account/`account_id` where there can be any number of
6716
- # organizational units. For Azure, it has the format of: mg/`management_group_id`
6717
- # /mg/`management_group_id`/subscription/`subscription_id`/rg/`
6711
+ # A string representation of the resource path. For Google Cloud, it has the
6712
+ # format of organizations/`organization_id`/folders/`folder_id`/folders/`
6713
+ # folder_id`/projects/`project_id` where there can be any number of folders. For
6714
+ # AWS, it has the format of org/`organization_id`/ou/`organizational_unit_id`/ou/
6715
+ # `organizational_unit_id`/account/`account_id` where there can be any number of
6716
+ # organizational units. For Azure, it has the format of mg/`management_group_id`/
6717
+ # mg/`management_group_id`/subscription/`subscription_id`/rg/`
6718
6718
  # resource_group_name` where there can be any number of management groups.
6719
6719
  # Corresponds to the JSON property `resourcePathString`
6720
6720
  # @return [String]
@@ -7029,9 +7029,9 @@ module Google
7029
7029
  attr_accessor :preview
7030
7030
  alias_method :preview?, :preview
7031
7031
 
7032
- # The type of Google Cloud Armor security policy for example, backend security
7033
- # policy’, edge security policy’, network edge security policy’, or always-on
7034
- # DDoS protection’.
7032
+ # The type of Google Cloud Armor security policy for example, 'backend security
7033
+ # policy', 'edge security policy', 'network edge security policy', or 'always-on
7034
+ # DDoS protection'.
7035
7035
  # Corresponds to the JSON property `type`
7036
7036
  # @return [String]
7037
7037
  attr_accessor :type
@@ -7524,9 +7524,7 @@ module Google
7524
7524
  # Required. Expression that defines what assets fields to use for grouping (
7525
7525
  # including `state_change`). The string value should follow SQL syntax: comma
7526
7526
  # separated list of fields. For example: "parent,resource_name". The following
7527
- # fields are supported: * resource_name * category * state * parent * severity
7528
- # The following fields are supported when compare_duration is set: *
7529
- # state_change
7527
+ # fields are supported when compare_duration is set: * state_change
7530
7528
  # Corresponds to the JSON property `groupBy`
7531
7529
  # @return [String]
7532
7530
  attr_accessor :group_by
@@ -9337,13 +9335,13 @@ module Google
9337
9335
  # @return [Google::Apis::SecuritycenterV1::ResourcePath]
9338
9336
  attr_accessor :resource_path
9339
9337
 
9340
- # A string representation of the resource path. For GCP, it has the format of:
9341
- # org/`organization_id`/folder/`folder_id`/folder/`folder_id`/project/`
9338
+ # A string representation of the resource path. For Google Cloud, it has the
9339
+ # format of org/`organization_id`/folder/`folder_id`/folder/`folder_id`/project/`
9342
9340
  # project_id` where there can be any number of folders. For AWS, it has the
9343
- # format of: org/`organization_id`/ou/`organizational_unit_id`/ou/`
9341
+ # format of org/`organization_id`/ou/`organizational_unit_id`/ou/`
9344
9342
  # organizational_unit_id`/account/`account_id` where there can be any number of
9345
- # organizational units. For Azure, it has the format of: mg/`management_group_id`
9346
- # /mg/`management_group_id`/subscription/`subscription_id`/rg/`
9343
+ # organizational units. For Azure, it has the format of mg/`management_group_id`/
9344
+ # mg/`management_group_id`/subscription/`subscription_id`/rg/`
9347
9345
  # resource_group_name` where there can be any number of management groups.
9348
9346
  # Corresponds to the JSON property `resourcePathString`
9349
9347
  # @return [String]
@@ -9671,9 +9669,9 @@ module Google
9671
9669
  attr_accessor :preview
9672
9670
  alias_method :preview?, :preview
9673
9671
 
9674
- # The type of Google Cloud Armor security policy for example, backend security
9675
- # policy’, edge security policy’, network edge security policy’, or always-on
9676
- # DDoS protection’.
9672
+ # The type of Google Cloud Armor security policy for example, 'backend security
9673
+ # policy', 'edge security policy', 'network edge security policy', or 'always-on
9674
+ # DDoS protection'.
9677
9675
  # Corresponds to the JSON property `type`
9678
9676
  # @return [String]
9679
9677
  attr_accessor :type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.79.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240415"
25
+ REVISION = "20240513"
26
26
  end
27
27
  end
28
28
  end
@@ -843,6 +843,47 @@ module Google
843
843
  execute_or_queue_command(command, &block)
844
844
  end
845
845
 
846
+ # Creates a mute config.
847
+ # @param [String] parent
848
+ # Required. Resource name of the new mute configs's parent. Its format is "
849
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
850
+ # project_id]".
851
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
852
+ # @param [String] mute_config_id
853
+ # Required. Unique identifier provided by the client within the parent scope. It
854
+ # must consist of only lowercase letters, numbers, and hyphens, must start with
855
+ # a letter, must end with either a letter or a number, and must be 63 characters
856
+ # or less.
857
+ # @param [String] fields
858
+ # Selector specifying which fields to include in a partial response.
859
+ # @param [String] quota_user
860
+ # Available to use for quota purposes for server-side applications. Can be any
861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
862
+ # @param [Google::Apis::RequestOptions] options
863
+ # Request-specific options
864
+ #
865
+ # @yield [result, err] Result & error if block supplied
866
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
867
+ # @yieldparam err [StandardError] error object if request failed
868
+ #
869
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
870
+ #
871
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
872
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
873
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
874
+ def create_folder_location_mute_config(parent, google_cloud_securitycenter_v1_mute_config_object = nil, mute_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
875
+ command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
876
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
877
+ command.request_object = google_cloud_securitycenter_v1_mute_config_object
878
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
879
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
880
+ command.params['parent'] = parent unless parent.nil?
881
+ command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
882
+ command.query['fields'] = fields unless fields.nil?
883
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
884
+ execute_or_queue_command(command, &block)
885
+ end
886
+
846
887
  # Deletes an existing mute config.
847
888
  # @param [String] name
848
889
  # Required. Name of the mute config to delete. Its format is organizations/`
@@ -913,6 +954,48 @@ module Google
913
954
  execute_or_queue_command(command, &block)
914
955
  end
915
956
 
957
+ # Lists mute configs.
958
+ # @param [String] parent
959
+ # Required. The parent, which owns the collection of mute configs. Its format is
960
+ # "organizations/[organization_id]", "folders/[folder_id]", "projects/[
961
+ # project_id]".
962
+ # @param [Fixnum] page_size
963
+ # The maximum number of configs to return. The service may return fewer than
964
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
965
+ # value is 1000; values above 1000 will be coerced to 1000.
966
+ # @param [String] page_token
967
+ # A page token, received from a previous `ListMuteConfigs` call. Provide this to
968
+ # retrieve the subsequent page. When paginating, all other parameters provided
969
+ # to `ListMuteConfigs` must match the call that provided the page token.
970
+ # @param [String] fields
971
+ # Selector specifying which fields to include in a partial response.
972
+ # @param [String] quota_user
973
+ # Available to use for quota purposes for server-side applications. Can be any
974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
975
+ # @param [Google::Apis::RequestOptions] options
976
+ # Request-specific options
977
+ #
978
+ # @yield [result, err] Result & error if block supplied
979
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
980
+ # @yieldparam err [StandardError] error object if request failed
981
+ #
982
+ # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
983
+ #
984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
987
+ def list_folder_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:get, 'v1/{+parent}', options)
989
+ command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
990
+ command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
991
+ command.params['parent'] = parent unless parent.nil?
992
+ command.query['pageSize'] = page_size unless page_size.nil?
993
+ command.query['pageToken'] = page_token unless page_token.nil?
994
+ command.query['fields'] = fields unless fields.nil?
995
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
996
+ execute_or_queue_command(command, &block)
997
+ end
998
+
916
999
  # Updates a mute config.
917
1000
  # @param [String] name
918
1001
  # This field will be ignored if provided on config creation. Format "
@@ -2989,6 +3072,47 @@ module Google
2989
3072
  execute_or_queue_command(command, &block)
2990
3073
  end
2991
3074
 
3075
+ # Creates a mute config.
3076
+ # @param [String] parent
3077
+ # Required. Resource name of the new mute configs's parent. Its format is "
3078
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
3079
+ # project_id]".
3080
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
3081
+ # @param [String] mute_config_id
3082
+ # Required. Unique identifier provided by the client within the parent scope. It
3083
+ # must consist of only lowercase letters, numbers, and hyphens, must start with
3084
+ # a letter, must end with either a letter or a number, and must be 63 characters
3085
+ # or less.
3086
+ # @param [String] fields
3087
+ # Selector specifying which fields to include in a partial response.
3088
+ # @param [String] quota_user
3089
+ # Available to use for quota purposes for server-side applications. Can be any
3090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3091
+ # @param [Google::Apis::RequestOptions] options
3092
+ # Request-specific options
3093
+ #
3094
+ # @yield [result, err] Result & error if block supplied
3095
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
3096
+ # @yieldparam err [StandardError] error object if request failed
3097
+ #
3098
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
3099
+ #
3100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3103
+ def create_organization_location_mute_config(parent, google_cloud_securitycenter_v1_mute_config_object = nil, mute_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3104
+ command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
3105
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
3106
+ command.request_object = google_cloud_securitycenter_v1_mute_config_object
3107
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
3108
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
3109
+ command.params['parent'] = parent unless parent.nil?
3110
+ command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
3111
+ command.query['fields'] = fields unless fields.nil?
3112
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3113
+ execute_or_queue_command(command, &block)
3114
+ end
3115
+
2992
3116
  # Deletes an existing mute config.
2993
3117
  # @param [String] name
2994
3118
  # Required. Name of the mute config to delete. Its format is organizations/`
@@ -3059,6 +3183,48 @@ module Google
3059
3183
  execute_or_queue_command(command, &block)
3060
3184
  end
3061
3185
 
3186
+ # Lists mute configs.
3187
+ # @param [String] parent
3188
+ # Required. The parent, which owns the collection of mute configs. Its format is
3189
+ # "organizations/[organization_id]", "folders/[folder_id]", "projects/[
3190
+ # project_id]".
3191
+ # @param [Fixnum] page_size
3192
+ # The maximum number of configs to return. The service may return fewer than
3193
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
3194
+ # value is 1000; values above 1000 will be coerced to 1000.
3195
+ # @param [String] page_token
3196
+ # A page token, received from a previous `ListMuteConfigs` call. Provide this to
3197
+ # retrieve the subsequent page. When paginating, all other parameters provided
3198
+ # to `ListMuteConfigs` must match the call that provided the page token.
3199
+ # @param [String] fields
3200
+ # Selector specifying which fields to include in a partial response.
3201
+ # @param [String] quota_user
3202
+ # Available to use for quota purposes for server-side applications. Can be any
3203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3204
+ # @param [Google::Apis::RequestOptions] options
3205
+ # Request-specific options
3206
+ #
3207
+ # @yield [result, err] Result & error if block supplied
3208
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
3209
+ # @yieldparam err [StandardError] error object if request failed
3210
+ #
3211
+ # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
3212
+ #
3213
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3214
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3215
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3216
+ def list_organization_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3217
+ command = make_simple_command(:get, 'v1/{+parent}', options)
3218
+ command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
3219
+ command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
3220
+ command.params['parent'] = parent unless parent.nil?
3221
+ command.query['pageSize'] = page_size unless page_size.nil?
3222
+ command.query['pageToken'] = page_token unless page_token.nil?
3223
+ command.query['fields'] = fields unless fields.nil?
3224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3225
+ execute_or_queue_command(command, &block)
3226
+ end
3227
+
3062
3228
  # Updates a mute config.
3063
3229
  # @param [String] name
3064
3230
  # This field will be ignored if provided on config creation. Format "
@@ -5910,6 +6076,47 @@ module Google
5910
6076
  execute_or_queue_command(command, &block)
5911
6077
  end
5912
6078
 
6079
+ # Creates a mute config.
6080
+ # @param [String] parent
6081
+ # Required. Resource name of the new mute configs's parent. Its format is "
6082
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
6083
+ # project_id]".
6084
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
6085
+ # @param [String] mute_config_id
6086
+ # Required. Unique identifier provided by the client within the parent scope. It
6087
+ # must consist of only lowercase letters, numbers, and hyphens, must start with
6088
+ # a letter, must end with either a letter or a number, and must be 63 characters
6089
+ # or less.
6090
+ # @param [String] fields
6091
+ # Selector specifying which fields to include in a partial response.
6092
+ # @param [String] quota_user
6093
+ # Available to use for quota purposes for server-side applications. Can be any
6094
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6095
+ # @param [Google::Apis::RequestOptions] options
6096
+ # Request-specific options
6097
+ #
6098
+ # @yield [result, err] Result & error if block supplied
6099
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
6100
+ # @yieldparam err [StandardError] error object if request failed
6101
+ #
6102
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
6103
+ #
6104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6107
+ def create_project_location_mute_config(parent, google_cloud_securitycenter_v1_mute_config_object = nil, mute_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6108
+ command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
6109
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
6110
+ command.request_object = google_cloud_securitycenter_v1_mute_config_object
6111
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
6112
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
6113
+ command.params['parent'] = parent unless parent.nil?
6114
+ command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
6115
+ command.query['fields'] = fields unless fields.nil?
6116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6117
+ execute_or_queue_command(command, &block)
6118
+ end
6119
+
5913
6120
  # Deletes an existing mute config.
5914
6121
  # @param [String] name
5915
6122
  # Required. Name of the mute config to delete. Its format is organizations/`
@@ -5980,6 +6187,48 @@ module Google
5980
6187
  execute_or_queue_command(command, &block)
5981
6188
  end
5982
6189
 
6190
+ # Lists mute configs.
6191
+ # @param [String] parent
6192
+ # Required. The parent, which owns the collection of mute configs. Its format is
6193
+ # "organizations/[organization_id]", "folders/[folder_id]", "projects/[
6194
+ # project_id]".
6195
+ # @param [Fixnum] page_size
6196
+ # The maximum number of configs to return. The service may return fewer than
6197
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
6198
+ # value is 1000; values above 1000 will be coerced to 1000.
6199
+ # @param [String] page_token
6200
+ # A page token, received from a previous `ListMuteConfigs` call. Provide this to
6201
+ # retrieve the subsequent page. When paginating, all other parameters provided
6202
+ # to `ListMuteConfigs` must match the call that provided the page token.
6203
+ # @param [String] fields
6204
+ # Selector specifying which fields to include in a partial response.
6205
+ # @param [String] quota_user
6206
+ # Available to use for quota purposes for server-side applications. Can be any
6207
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6208
+ # @param [Google::Apis::RequestOptions] options
6209
+ # Request-specific options
6210
+ #
6211
+ # @yield [result, err] Result & error if block supplied
6212
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
6213
+ # @yieldparam err [StandardError] error object if request failed
6214
+ #
6215
+ # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
6216
+ #
6217
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6218
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6219
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6220
+ def list_project_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6221
+ command = make_simple_command(:get, 'v1/{+parent}', options)
6222
+ command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
6223
+ command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
6224
+ command.params['parent'] = parent unless parent.nil?
6225
+ command.query['pageSize'] = page_size unless page_size.nil?
6226
+ command.query['pageToken'] = page_token unless page_token.nil?
6227
+ command.query['fields'] = fields unless fields.nil?
6228
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6229
+ execute_or_queue_command(command, &block)
6230
+ end
6231
+
5983
6232
  # Updates a mute config.
5984
6233
  # @param [String] name
5985
6234
  # This field will be ignored if provided on config creation. Format "
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.81.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.79.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.81.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []