google-apis-securitycenter_v1 0.87.0 → 0.89.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
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: dad52aa81a0220290ee4bec48ae0f7d9c4bdcbd2f9e3728ee91353139a114959
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8bc5012aaf108da9e7ca17f0ceac585a18308082f6a8c17bcb1df5b7eee5a1e7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9f086d98b453feca679238232d761085a2dcf5646285ecedae9b08185f6f5d1b1ac1aacab59c7de210291d3ff379f1f8cc99fd3187fdb320a8b20f931c3c898a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 8c404a3c4331f549a99ef3ff5837d9a47dc5a8758cd0e7cc00ac89fb5e8cfd6ea47584a3bcb98e4030c617b1f1f2576c6d71454e10b27711d543a45570597107
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-securitycenter_v1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.89.0 (2024-10-27)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20241018
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.88.0 (2024-10-06)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20240926
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       3 
11 
     | 
    
         
             
            ### v0.87.0 (2024-09-22)
         
     | 
| 
       4 
12 
     | 
    
         | 
| 
       5 
13 
     | 
    
         
             
            * Regenerated from discovery document revision 20240916
         
     | 
| 
         @@ -848,6 +848,11 @@ module Google 
     | 
|
| 
       848 
848 
     | 
    
         
             
                  class AzureResourceGroup
         
     | 
| 
       849 
849 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       850 
850 
     | 
    
         | 
| 
      
 851 
     | 
    
         
            +
                    # The ID of the Azure resource group.
         
     | 
| 
      
 852 
     | 
    
         
            +
                    # Corresponds to the JSON property `id`
         
     | 
| 
      
 853 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 854 
     | 
    
         
            +
                    attr_accessor :id
         
     | 
| 
      
 855 
     | 
    
         
            +
                  
         
     | 
| 
       851 
856 
     | 
    
         
             
                    # The name of the Azure resource group. This is not a UUID.
         
     | 
| 
       852 
857 
     | 
    
         
             
                    # Corresponds to the JSON property `name`
         
     | 
| 
       853 
858 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -859,6 +864,7 @@ module Google 
     | 
|
| 
       859 
864 
     | 
    
         | 
| 
       860 
865 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       861 
866 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
      
 867 
     | 
    
         
            +
                      @id = args[:id] if args.key?(:id)
         
     | 
| 
       862 
868 
     | 
    
         
             
                      @name = args[:name] if args.key?(:name)
         
     | 
| 
       863 
869 
     | 
    
         
             
                    end
         
     | 
| 
       864 
870 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -4671,6 +4677,11 @@ module Google 
     | 
|
| 
       4671 
4677 
     | 
    
         
             
                  class GoogleCloudSecuritycenterV2AzureResourceGroup
         
     | 
| 
       4672 
4678 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       4673 
4679 
     | 
    
         | 
| 
      
 4680 
     | 
    
         
            +
                    # The ID of the Azure resource group.
         
     | 
| 
      
 4681 
     | 
    
         
            +
                    # Corresponds to the JSON property `id`
         
     | 
| 
      
 4682 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4683 
     | 
    
         
            +
                    attr_accessor :id
         
     | 
| 
      
 4684 
     | 
    
         
            +
                  
         
     | 
| 
       4674 
4685 
     | 
    
         
             
                    # The name of the Azure resource group. This is not a UUID.
         
     | 
| 
       4675 
4686 
     | 
    
         
             
                    # Corresponds to the JSON property `name`
         
     | 
| 
       4676 
4687 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -4682,6 +4693,7 @@ module Google 
     | 
|
| 
       4682 
4693 
     | 
    
         | 
| 
       4683 
4694 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       4684 
4695 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
      
 4696 
     | 
    
         
            +
                      @id = args[:id] if args.key?(:id)
         
     | 
| 
       4685 
4697 
     | 
    
         
             
                      @name = args[:name] if args.key?(:name)
         
     | 
| 
       4686 
4698 
     | 
    
         
             
                    end
         
     | 
| 
       4687 
4699 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -10603,7 +10615,8 @@ module Google 
     | 
|
| 
       10603 
10615 
     | 
    
         
             
                  class SetFindingStateRequest
         
     | 
| 
       10604 
10616 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       10605 
10617 
     | 
    
         | 
| 
       10606 
     | 
    
         
            -
                    #  
     | 
| 
      
 10618 
     | 
    
         
            +
                    # Optional. The time at which the updated state takes effect. If unset, defaults
         
     | 
| 
      
 10619 
     | 
    
         
            +
                    # to the request time.
         
     | 
| 
       10607 
10620 
     | 
    
         
             
                    # Corresponds to the JSON property `startTime`
         
     | 
| 
       10608 
10621 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       10609 
10622 
     | 
    
         
             
                    attr_accessor :start_time
         
     | 
| 
         @@ -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.89.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.15.1"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20241018"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1804,6 +1804,7 @@ module Google 
     | 
|
| 
       1804 
1804 
     | 
    
         
             
                  class AzureResourceGroup
         
     | 
| 
       1805 
1805 
     | 
    
         
             
                    # @private
         
     | 
| 
       1806 
1806 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 1807 
     | 
    
         
            +
                      property :id, as: 'id'
         
     | 
| 
       1807 
1808 
     | 
    
         
             
                      property :name, as: 'name'
         
     | 
| 
       1808 
1809 
     | 
    
         
             
                    end
         
     | 
| 
       1809 
1810 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -2722,6 +2723,7 @@ module Google 
     | 
|
| 
       2722 
2723 
     | 
    
         
             
                  class GoogleCloudSecuritycenterV2AzureResourceGroup
         
     | 
| 
       2723 
2724 
     | 
    
         
             
                    # @private
         
     | 
| 
       2724 
2725 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2726 
     | 
    
         
            +
                      property :id, as: 'id'
         
     | 
| 
       2725 
2727 
     | 
    
         
             
                      property :name, as: 'name'
         
     | 
| 
       2726 
2728 
     | 
    
         
             
                    end
         
     | 
| 
       2727 
2729 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -845,47 +845,6 @@ module Google 
     | 
|
| 
       845 
845 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       846 
846 
     | 
    
         
             
                    end
         
     | 
| 
       847 
847 
     | 
    
         | 
| 
       848 
     | 
    
         
            -
                    # Creates a mute config.
         
     | 
| 
       849 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       850 
     | 
    
         
            -
                    #   Required. Resource name of the new mute configs's parent. Its format is `
         
     | 
| 
       851 
     | 
    
         
            -
                    #   organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[
         
     | 
| 
       852 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       853 
     | 
    
         
            -
                    # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       854 
     | 
    
         
            -
                    # @param [String] mute_config_id
         
     | 
| 
       855 
     | 
    
         
            -
                    #   Required. Unique identifier provided by the client within the parent scope. It
         
     | 
| 
       856 
     | 
    
         
            -
                    #   must consist of only lowercase letters, numbers, and hyphens, must start with
         
     | 
| 
       857 
     | 
    
         
            -
                    #   a letter, must end with either a letter or a number, and must be 63 characters
         
     | 
| 
       858 
     | 
    
         
            -
                    #   or less.
         
     | 
| 
       859 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       860 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       861 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       862 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       863 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       864 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       865 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       866 
     | 
    
         
            -
                    #
         
     | 
| 
       867 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       868 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
         
     | 
| 
       869 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       870 
     | 
    
         
            -
                    #
         
     | 
| 
       871 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
         
     | 
| 
       872 
     | 
    
         
            -
                    #
         
     | 
| 
       873 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       874 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       875 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       876 
     | 
    
         
            -
                    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)
         
     | 
| 
       877 
     | 
    
         
            -
                      command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
         
     | 
| 
       878 
     | 
    
         
            -
                      command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       879 
     | 
    
         
            -
                      command.request_object = google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       880 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       881 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
         
     | 
| 
       882 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       883 
     | 
    
         
            -
                      command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
         
     | 
| 
       884 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       885 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       886 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       887 
     | 
    
         
            -
                    end
         
     | 
| 
       888 
     | 
    
         
            -
                    
         
     | 
| 
       889 
848 
     | 
    
         
             
                    # Deletes an existing mute config.
         
     | 
| 
       890 
849 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       891 
850 
     | 
    
         
             
                    #   Required. Name of the mute config to delete. Its format is `organizations/`
         
     | 
| 
         @@ -956,48 +915,6 @@ module Google 
     | 
|
| 
       956 
915 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       957 
916 
     | 
    
         
             
                    end
         
     | 
| 
       958 
917 
     | 
    
         | 
| 
       959 
     | 
    
         
            -
                    # Lists mute configs.
         
     | 
| 
       960 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       961 
     | 
    
         
            -
                    #   Required. The parent, which owns the collection of mute configs. Its format is
         
     | 
| 
       962 
     | 
    
         
            -
                    #   `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[
         
     | 
| 
       963 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       964 
     | 
    
         
            -
                    # @param [Fixnum] page_size
         
     | 
| 
       965 
     | 
    
         
            -
                    #   The maximum number of configs to return. The service may return fewer than
         
     | 
| 
       966 
     | 
    
         
            -
                    #   this value. If unspecified, at most 10 configs will be returned. The maximum
         
     | 
| 
       967 
     | 
    
         
            -
                    #   value is 1000; values above 1000 will be coerced to 1000.
         
     | 
| 
       968 
     | 
    
         
            -
                    # @param [String] page_token
         
     | 
| 
       969 
     | 
    
         
            -
                    #   A page token, received from a previous `ListMuteConfigs` call. Provide this to
         
     | 
| 
       970 
     | 
    
         
            -
                    #   retrieve the subsequent page. When paginating, all other parameters provided
         
     | 
| 
       971 
     | 
    
         
            -
                    #   to `ListMuteConfigs` must match the call that provided the page token.
         
     | 
| 
       972 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       973 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       974 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       975 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       976 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       977 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       978 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       979 
     | 
    
         
            -
                    #
         
     | 
| 
       980 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       981 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
         
     | 
| 
       982 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       983 
     | 
    
         
            -
                    #
         
     | 
| 
       984 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
         
     | 
| 
       985 
     | 
    
         
            -
                    #
         
     | 
| 
       986 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       987 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       988 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       989 
     | 
    
         
            -
                    def list_folder_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
       990 
     | 
    
         
            -
                      command = make_simple_command(:get, 'v1/{+parent}', options)
         
     | 
| 
       991 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
         
     | 
| 
       992 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
         
     | 
| 
       993 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       994 
     | 
    
         
            -
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
       995 
     | 
    
         
            -
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
       996 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       997 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       998 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       999 
     | 
    
         
            -
                    end
         
     | 
| 
       1000 
     | 
    
         
            -
                    
         
     | 
| 
       1001 
918 
     | 
    
         
             
                    # Updates a mute config.
         
     | 
| 
       1002 
919 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       1003 
920 
     | 
    
         
             
                    #   This field will be ignored if provided on config creation. Format `
         
     | 
| 
         @@ -3077,47 +2994,6 @@ module Google 
     | 
|
| 
       3077 
2994 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       3078 
2995 
     | 
    
         
             
                    end
         
     | 
| 
       3079 
2996 
     | 
    
         | 
| 
       3080 
     | 
    
         
            -
                    # Creates a mute config.
         
     | 
| 
       3081 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       3082 
     | 
    
         
            -
                    #   Required. Resource name of the new mute configs's parent. Its format is `
         
     | 
| 
       3083 
     | 
    
         
            -
                    #   organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[
         
     | 
| 
       3084 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       3085 
     | 
    
         
            -
                    # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       3086 
     | 
    
         
            -
                    # @param [String] mute_config_id
         
     | 
| 
       3087 
     | 
    
         
            -
                    #   Required. Unique identifier provided by the client within the parent scope. It
         
     | 
| 
       3088 
     | 
    
         
            -
                    #   must consist of only lowercase letters, numbers, and hyphens, must start with
         
     | 
| 
       3089 
     | 
    
         
            -
                    #   a letter, must end with either a letter or a number, and must be 63 characters
         
     | 
| 
       3090 
     | 
    
         
            -
                    #   or less.
         
     | 
| 
       3091 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       3092 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       3093 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       3094 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       3095 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       3096 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       3097 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       3098 
     | 
    
         
            -
                    #
         
     | 
| 
       3099 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       3100 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
         
     | 
| 
       3101 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       3102 
     | 
    
         
            -
                    #
         
     | 
| 
       3103 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
         
     | 
| 
       3104 
     | 
    
         
            -
                    #
         
     | 
| 
       3105 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       3106 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       3107 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       3108 
     | 
    
         
            -
                    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)
         
     | 
| 
       3109 
     | 
    
         
            -
                      command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
         
     | 
| 
       3110 
     | 
    
         
            -
                      command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       3111 
     | 
    
         
            -
                      command.request_object = google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       3112 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       3113 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
         
     | 
| 
       3114 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       3115 
     | 
    
         
            -
                      command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
         
     | 
| 
       3116 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       3117 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       3118 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       3119 
     | 
    
         
            -
                    end
         
     | 
| 
       3120 
     | 
    
         
            -
                    
         
     | 
| 
       3121 
2997 
     | 
    
         
             
                    # Deletes an existing mute config.
         
     | 
| 
       3122 
2998 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       3123 
2999 
     | 
    
         
             
                    #   Required. Name of the mute config to delete. Its format is `organizations/`
         
     | 
| 
         @@ -3188,48 +3064,6 @@ module Google 
     | 
|
| 
       3188 
3064 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       3189 
3065 
     | 
    
         
             
                    end
         
     | 
| 
       3190 
3066 
     | 
    
         | 
| 
       3191 
     | 
    
         
            -
                    # Lists mute configs.
         
     | 
| 
       3192 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       3193 
     | 
    
         
            -
                    #   Required. The parent, which owns the collection of mute configs. Its format is
         
     | 
| 
       3194 
     | 
    
         
            -
                    #   `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[
         
     | 
| 
       3195 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       3196 
     | 
    
         
            -
                    # @param [Fixnum] page_size
         
     | 
| 
       3197 
     | 
    
         
            -
                    #   The maximum number of configs to return. The service may return fewer than
         
     | 
| 
       3198 
     | 
    
         
            -
                    #   this value. If unspecified, at most 10 configs will be returned. The maximum
         
     | 
| 
       3199 
     | 
    
         
            -
                    #   value is 1000; values above 1000 will be coerced to 1000.
         
     | 
| 
       3200 
     | 
    
         
            -
                    # @param [String] page_token
         
     | 
| 
       3201 
     | 
    
         
            -
                    #   A page token, received from a previous `ListMuteConfigs` call. Provide this to
         
     | 
| 
       3202 
     | 
    
         
            -
                    #   retrieve the subsequent page. When paginating, all other parameters provided
         
     | 
| 
       3203 
     | 
    
         
            -
                    #   to `ListMuteConfigs` must match the call that provided the page token.
         
     | 
| 
       3204 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       3205 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       3206 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       3207 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       3208 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       3209 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       3210 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       3211 
     | 
    
         
            -
                    #
         
     | 
| 
       3212 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       3213 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
         
     | 
| 
       3214 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       3215 
     | 
    
         
            -
                    #
         
     | 
| 
       3216 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
         
     | 
| 
       3217 
     | 
    
         
            -
                    #
         
     | 
| 
       3218 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       3219 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       3220 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       3221 
     | 
    
         
            -
                    def list_organization_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
       3222 
     | 
    
         
            -
                      command = make_simple_command(:get, 'v1/{+parent}', options)
         
     | 
| 
       3223 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
         
     | 
| 
       3224 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
         
     | 
| 
       3225 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       3226 
     | 
    
         
            -
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
       3227 
     | 
    
         
            -
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
       3228 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       3229 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       3230 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       3231 
     | 
    
         
            -
                    end
         
     | 
| 
       3232 
     | 
    
         
            -
                    
         
     | 
| 
       3233 
3067 
     | 
    
         
             
                    # Updates a mute config.
         
     | 
| 
       3234 
3068 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       3235 
3069 
     | 
    
         
             
                    #   This field will be ignored if provided on config creation. Format `
         
     | 
| 
         @@ -6138,47 +5972,6 @@ module Google 
     | 
|
| 
       6138 
5972 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       6139 
5973 
     | 
    
         
             
                    end
         
     | 
| 
       6140 
5974 
     | 
    
         | 
| 
       6141 
     | 
    
         
            -
                    # Creates a mute config.
         
     | 
| 
       6142 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       6143 
     | 
    
         
            -
                    #   Required. Resource name of the new mute configs's parent. Its format is `
         
     | 
| 
       6144 
     | 
    
         
            -
                    #   organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[
         
     | 
| 
       6145 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       6146 
     | 
    
         
            -
                    # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       6147 
     | 
    
         
            -
                    # @param [String] mute_config_id
         
     | 
| 
       6148 
     | 
    
         
            -
                    #   Required. Unique identifier provided by the client within the parent scope. It
         
     | 
| 
       6149 
     | 
    
         
            -
                    #   must consist of only lowercase letters, numbers, and hyphens, must start with
         
     | 
| 
       6150 
     | 
    
         
            -
                    #   a letter, must end with either a letter or a number, and must be 63 characters
         
     | 
| 
       6151 
     | 
    
         
            -
                    #   or less.
         
     | 
| 
       6152 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       6153 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       6154 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       6155 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       6156 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       6157 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       6158 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       6159 
     | 
    
         
            -
                    #
         
     | 
| 
       6160 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       6161 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig] parsed result object
         
     | 
| 
       6162 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       6163 
     | 
    
         
            -
                    #
         
     | 
| 
       6164 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig]
         
     | 
| 
       6165 
     | 
    
         
            -
                    #
         
     | 
| 
       6166 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       6167 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       6168 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       6169 
     | 
    
         
            -
                    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)
         
     | 
| 
       6170 
     | 
    
         
            -
                      command = make_simple_command(:post, 'v1/{+parent}/muteConfigs', options)
         
     | 
| 
       6171 
     | 
    
         
            -
                      command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       6172 
     | 
    
         
            -
                      command.request_object = google_cloud_securitycenter_v1_mute_config_object
         
     | 
| 
       6173 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
         
     | 
| 
       6174 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
         
     | 
| 
       6175 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       6176 
     | 
    
         
            -
                      command.query['muteConfigId'] = mute_config_id unless mute_config_id.nil?
         
     | 
| 
       6177 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       6178 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       6179 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       6180 
     | 
    
         
            -
                    end
         
     | 
| 
       6181 
     | 
    
         
            -
                    
         
     | 
| 
       6182 
5975 
     | 
    
         
             
                    # Deletes an existing mute config.
         
     | 
| 
       6183 
5976 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       6184 
5977 
     | 
    
         
             
                    #   Required. Name of the mute config to delete. Its format is `organizations/`
         
     | 
| 
         @@ -6249,48 +6042,6 @@ module Google 
     | 
|
| 
       6249 
6042 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       6250 
6043 
     | 
    
         
             
                    end
         
     | 
| 
       6251 
6044 
     | 
    
         | 
| 
       6252 
     | 
    
         
            -
                    # Lists mute configs.
         
     | 
| 
       6253 
     | 
    
         
            -
                    # @param [String] parent
         
     | 
| 
       6254 
     | 
    
         
            -
                    #   Required. The parent, which owns the collection of mute configs. Its format is
         
     | 
| 
       6255 
     | 
    
         
            -
                    #   `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[
         
     | 
| 
       6256 
     | 
    
         
            -
                    #   project_id]`.
         
     | 
| 
       6257 
     | 
    
         
            -
                    # @param [Fixnum] page_size
         
     | 
| 
       6258 
     | 
    
         
            -
                    #   The maximum number of configs to return. The service may return fewer than
         
     | 
| 
       6259 
     | 
    
         
            -
                    #   this value. If unspecified, at most 10 configs will be returned. The maximum
         
     | 
| 
       6260 
     | 
    
         
            -
                    #   value is 1000; values above 1000 will be coerced to 1000.
         
     | 
| 
       6261 
     | 
    
         
            -
                    # @param [String] page_token
         
     | 
| 
       6262 
     | 
    
         
            -
                    #   A page token, received from a previous `ListMuteConfigs` call. Provide this to
         
     | 
| 
       6263 
     | 
    
         
            -
                    #   retrieve the subsequent page. When paginating, all other parameters provided
         
     | 
| 
       6264 
     | 
    
         
            -
                    #   to `ListMuteConfigs` must match the call that provided the page token.
         
     | 
| 
       6265 
     | 
    
         
            -
                    # @param [String] fields
         
     | 
| 
       6266 
     | 
    
         
            -
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       6267 
     | 
    
         
            -
                    # @param [String] quota_user
         
     | 
| 
       6268 
     | 
    
         
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
       6269 
     | 
    
         
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
       6270 
     | 
    
         
            -
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
       6271 
     | 
    
         
            -
                    #   Request-specific options
         
     | 
| 
       6272 
     | 
    
         
            -
                    #
         
     | 
| 
       6273 
     | 
    
         
            -
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
       6274 
     | 
    
         
            -
                    # @yieldparam result [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse] parsed result object
         
     | 
| 
       6275 
     | 
    
         
            -
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
       6276 
     | 
    
         
            -
                    #
         
     | 
| 
       6277 
     | 
    
         
            -
                    # @return [Google::Apis::SecuritycenterV1::ListMuteConfigsResponse]
         
     | 
| 
       6278 
     | 
    
         
            -
                    #
         
     | 
| 
       6279 
     | 
    
         
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       6280 
     | 
    
         
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       6281 
     | 
    
         
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       6282 
     | 
    
         
            -
                    def list_project_location_mute_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
       6283 
     | 
    
         
            -
                      command = make_simple_command(:get, 'v1/{+parent}', options)
         
     | 
| 
       6284 
     | 
    
         
            -
                      command.response_representation = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse::Representation
         
     | 
| 
       6285 
     | 
    
         
            -
                      command.response_class = Google::Apis::SecuritycenterV1::ListMuteConfigsResponse
         
     | 
| 
       6286 
     | 
    
         
            -
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
       6287 
     | 
    
         
            -
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
       6288 
     | 
    
         
            -
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
       6289 
     | 
    
         
            -
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       6290 
     | 
    
         
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       6291 
     | 
    
         
            -
                      execute_or_queue_command(command, &block)
         
     | 
| 
       6292 
     | 
    
         
            -
                    end
         
     | 
| 
       6293 
     | 
    
         
            -
                    
         
     | 
| 
       6294 
6045 
     | 
    
         
             
                    # Updates a mute config.
         
     | 
| 
       6295 
6046 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       6296 
6047 
     | 
    
         
             
                    #   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.89.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-10-27 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -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.89.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: []
         
     | 
| 
         @@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       75 
75 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       76 
76 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       77 
77 
     | 
    
         
             
            requirements: []
         
     | 
| 
       78 
     | 
    
         
            -
            rubygems_version: 3.5. 
     | 
| 
      
 78 
     | 
    
         
            +
            rubygems_version: 3.5.21
         
     | 
| 
       79 
79 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       80 
80 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       81 
81 
     | 
    
         
             
            summary: Simple REST client for Security Command Center API V1
         
     |