google-apis-securitycenter_v1 0.80.0 → 0.82.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97a9f535169b930edf057597803ef41d3ee1705e756d401325f8011036a138ea
|
4
|
+
data.tar.gz: 203f0dd551607c3550d6ad806f8897040dbc10f605ac9e5e23afde44be49fb11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c199b8c689d6f29c1155e5b5460f8a8c0d0424a2ba144cb37b748c2362dd75d02152bfa8fd8e4dc492e77d195cdb04a9737d960b5e484229ac2d91c0fd03b7
|
7
|
+
data.tar.gz: da31833a3f37488e4fe1b7d7aef41d7f127d325b19e9ed6724baa2039f4f769c84b4b8226d8aa686b89cceceda770e497a2b09098a295822bd44b9c64f51dafc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.82.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240520
|
6
|
+
|
7
|
+
### v0.81.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240513
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.80.0 (2024-04-28)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240422
|
@@ -1446,8 +1446,8 @@ module Google
|
|
1446
1446
|
# @return [String]
|
1447
1447
|
attr_accessor :parent
|
1448
1448
|
|
1449
|
-
# A resource value
|
1450
|
-
# to resource values. Used in Attack path simulations.
|
1449
|
+
# A resource value configuration (RVC) is a mapping configuration of user's
|
1450
|
+
# resources to resource values. Used in Attack path simulations.
|
1451
1451
|
# Corresponds to the JSON property `resourceValueConfig`
|
1452
1452
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig]
|
1453
1453
|
attr_accessor :resource_value_config
|
@@ -3306,8 +3306,8 @@ module Google
|
|
3306
3306
|
end
|
3307
3307
|
end
|
3308
3308
|
|
3309
|
-
# A resource value
|
3310
|
-
# to resource values. Used in Attack path simulations.
|
3309
|
+
# A resource value configuration (RVC) is a mapping configuration of user's
|
3310
|
+
# resources to resource values. Used in Attack path simulations.
|
3311
3311
|
class GoogleCloudSecuritycenterV1ResourceValueConfig
|
3312
3312
|
include Google::Apis::Core::Hashable
|
3313
3313
|
|
@@ -3316,22 +3316,22 @@ module Google
|
|
3316
3316
|
# @return [String]
|
3317
3317
|
attr_accessor :cloud_provider
|
3318
3318
|
|
3319
|
-
# Output only. Timestamp this resource value
|
3319
|
+
# Output only. Timestamp this resource value configuration was created.
|
3320
3320
|
# Corresponds to the JSON property `createTime`
|
3321
3321
|
# @return [String]
|
3322
3322
|
attr_accessor :create_time
|
3323
3323
|
|
3324
|
-
# Description of the resource value
|
3324
|
+
# Description of the resource value configuration.
|
3325
3325
|
# Corresponds to the JSON property `description`
|
3326
3326
|
# @return [String]
|
3327
3327
|
attr_accessor :description
|
3328
3328
|
|
3329
|
-
# Name for the resource value
|
3329
|
+
# Name for the resource value configuration
|
3330
3330
|
# Corresponds to the JSON property `name`
|
3331
3331
|
# @return [String]
|
3332
3332
|
attr_accessor :name
|
3333
3333
|
|
3334
|
-
# List of resource labels to search for, evaluated with AND.
|
3334
|
+
# List of resource labels to search for, evaluated with AND. For example, "
|
3335
3335
|
# resource_labels_selector": `"key": "value", "env": "prod"` will match
|
3336
3336
|
# resources with labels "key": "value" AND "env": "prod" https://cloud.google.
|
3337
3337
|
# com/resource-manager/docs/creating-managing-labels
|
@@ -3340,9 +3340,9 @@ module Google
|
|
3340
3340
|
attr_accessor :resource_labels_selector
|
3341
3341
|
|
3342
3342
|
# Apply resource_value only to resources that match resource_type. resource_type
|
3343
|
-
# will be checked with
|
3344
|
-
# Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
|
3345
|
-
# googleapis.com/Bucket" resources.
|
3343
|
+
# will be checked with AND of other resources. For example, "storage.googleapis.
|
3344
|
+
# com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
|
3345
|
+
# storage.googleapis.com/Bucket" resources.
|
3346
3346
|
# Corresponds to the JSON property `resourceType`
|
3347
3347
|
# @return [String]
|
3348
3348
|
attr_accessor :resource_type
|
@@ -3352,9 +3352,9 @@ module Google
|
|
3352
3352
|
# @return [String]
|
3353
3353
|
attr_accessor :resource_value
|
3354
3354
|
|
3355
|
-
# Project or folder to scope this
|
3356
|
-
# apply this
|
3357
|
-
# with
|
3355
|
+
# Project or folder to scope this configuration to. For example, "project/456"
|
3356
|
+
# would apply this configuration only to resources in "project/456" scope will
|
3357
|
+
# be checked with AND of other resources.
|
3358
3358
|
# Corresponds to the JSON property `scope`
|
3359
3359
|
# @return [String]
|
3360
3360
|
attr_accessor :scope
|
@@ -3367,13 +3367,13 @@ module Google
|
|
3367
3367
|
attr_accessor :sensitive_data_protection_mapping
|
3368
3368
|
|
3369
3369
|
# Required. Tag values combined with AND to check against. Values in the form "
|
3370
|
-
# tagValues/123"
|
3370
|
+
# tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ]
|
3371
3371
|
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
3372
3372
|
# Corresponds to the JSON property `tagValues`
|
3373
3373
|
# @return [Array<String>]
|
3374
3374
|
attr_accessor :tag_values
|
3375
3375
|
|
3376
|
-
# Output only. Timestamp this resource value
|
3376
|
+
# Output only. Timestamp this resource value configuration was last updated.
|
3377
3377
|
# Corresponds to the JSON property `updateTime`
|
3378
3378
|
# @return [String]
|
3379
3379
|
attr_accessor :update_time
|
@@ -6802,8 +6802,8 @@ module Google
|
|
6802
6802
|
end
|
6803
6803
|
end
|
6804
6804
|
|
6805
|
-
# A resource value
|
6806
|
-
# to resource values. Used in Attack path simulations.
|
6805
|
+
# A resource value configuration (RVC) is a mapping configuration of user's
|
6806
|
+
# resources to resource values. Used in Attack path simulations.
|
6807
6807
|
class GoogleCloudSecuritycenterV2ResourceValueConfig
|
6808
6808
|
include Google::Apis::Core::Hashable
|
6809
6809
|
|
@@ -6812,22 +6812,22 @@ module Google
|
|
6812
6812
|
# @return [String]
|
6813
6813
|
attr_accessor :cloud_provider
|
6814
6814
|
|
6815
|
-
# Output only. Timestamp this resource value
|
6815
|
+
# Output only. Timestamp this resource value configuration was created.
|
6816
6816
|
# Corresponds to the JSON property `createTime`
|
6817
6817
|
# @return [String]
|
6818
6818
|
attr_accessor :create_time
|
6819
6819
|
|
6820
|
-
# Description of the resource value
|
6820
|
+
# Description of the resource value configuration.
|
6821
6821
|
# Corresponds to the JSON property `description`
|
6822
6822
|
# @return [String]
|
6823
6823
|
attr_accessor :description
|
6824
6824
|
|
6825
|
-
# Name for the resource value
|
6825
|
+
# Name for the resource value configuration
|
6826
6826
|
# Corresponds to the JSON property `name`
|
6827
6827
|
# @return [String]
|
6828
6828
|
attr_accessor :name
|
6829
6829
|
|
6830
|
-
# List of resource labels to search for, evaluated with AND.
|
6830
|
+
# List of resource labels to search for, evaluated with AND. For example, "
|
6831
6831
|
# resource_labels_selector": `"key": "value", "env": "prod"` will match
|
6832
6832
|
# resources with labels "key": "value" AND "env": "prod" https://cloud.google.
|
6833
6833
|
# com/resource-manager/docs/creating-managing-labels
|
@@ -6836,9 +6836,9 @@ module Google
|
|
6836
6836
|
attr_accessor :resource_labels_selector
|
6837
6837
|
|
6838
6838
|
# Apply resource_value only to resources that match resource_type. resource_type
|
6839
|
-
# will be checked with
|
6840
|
-
# Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
|
6841
|
-
# googleapis.com/Bucket" resources.
|
6839
|
+
# will be checked with AND of other resources. For example, "storage.googleapis.
|
6840
|
+
# com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
|
6841
|
+
# storage.googleapis.com/Bucket" resources.
|
6842
6842
|
# Corresponds to the JSON property `resourceType`
|
6843
6843
|
# @return [String]
|
6844
6844
|
attr_accessor :resource_type
|
@@ -6849,9 +6849,9 @@ module Google
|
|
6849
6849
|
# @return [String]
|
6850
6850
|
attr_accessor :resource_value
|
6851
6851
|
|
6852
|
-
# Project or folder to scope this
|
6853
|
-
# apply this
|
6854
|
-
# with
|
6852
|
+
# Project or folder to scope this configuration to. For example, "project/456"
|
6853
|
+
# would apply this configuration only to resources in "project/456" scope will
|
6854
|
+
# be checked with AND of other resources.
|
6855
6855
|
# Corresponds to the JSON property `scope`
|
6856
6856
|
# @return [String]
|
6857
6857
|
attr_accessor :scope
|
@@ -6864,13 +6864,13 @@ module Google
|
|
6864
6864
|
attr_accessor :sensitive_data_protection_mapping
|
6865
6865
|
|
6866
6866
|
# Required. Tag values combined with AND to check against. Values in the form "
|
6867
|
-
# tagValues/123"
|
6867
|
+
# tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ]
|
6868
6868
|
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
6869
6869
|
# Corresponds to the JSON property `tagValues`
|
6870
6870
|
# @return [Array<String>]
|
6871
6871
|
attr_accessor :tag_values
|
6872
6872
|
|
6873
|
-
# Output only. Timestamp this resource value
|
6873
|
+
# Output only. Timestamp this resource value configuration was last updated.
|
6874
6874
|
# Corresponds to the JSON property `updateTime`
|
6875
6875
|
# @return [String]
|
6876
6876
|
attr_accessor :update_time
|
@@ -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
|
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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.82.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240520"
|
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 "
|
@@ -3766,7 +3932,7 @@ module Google
|
|
3766
3932
|
|
3767
3933
|
# Updates an existing ResourceValueConfigs with new rules.
|
3768
3934
|
# @param [String] name
|
3769
|
-
# Name for the resource value
|
3935
|
+
# Name for the resource value configuration
|
3770
3936
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig] google_cloud_securitycenter_v1_resource_value_config_object
|
3771
3937
|
# @param [String] update_mask
|
3772
3938
|
# The list of fields to be updated. If empty all mutable fields will be updated.
|
@@ -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.
|
4
|
+
version: 0.82.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-
|
11
|
+
date: 2024-05-26 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.82.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: []
|