google-cloud-cloud_security_compliance-v1 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/AUTHENTICATION.md +4 -4
 - data/README.md +4 -4
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +113 -99
 - data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
 - data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +60 -38
 - data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
 - data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
 - data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
 - data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
 - data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
 - data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
 - data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
 - data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
 - data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
 - data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
 - data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
 - data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
 - data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
 - data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
 - data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
 - data/proto_docs/google/type/interval.rb +45 -0
 - metadata +34 -1
 
| 
         @@ -0,0 +1,108 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2025 Google LLC
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 21 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 22 
     | 
    
         
            +
                module CloudSecurityCompliance
         
     | 
| 
      
 23 
     | 
    
         
            +
                  module V1
         
     | 
| 
      
 24 
     | 
    
         
            +
                    # The request message for [UpdateCmEnrollment][].
         
     | 
| 
      
 25 
     | 
    
         
            +
                    # @!attribute [rw] cm_enrollment
         
     | 
| 
      
 26 
     | 
    
         
            +
                    #   @return [::Google::Cloud::CloudSecurityCompliance::V1::CmEnrollment]
         
     | 
| 
      
 27 
     | 
    
         
            +
                    #     Required. The Compliance Manager enrollment to update.
         
     | 
| 
      
 28 
     | 
    
         
            +
                    #     The `name` field is used to identify the settings that you want to update.
         
     | 
| 
      
 29 
     | 
    
         
            +
                    # @!attribute [rw] update_mask
         
     | 
| 
      
 30 
     | 
    
         
            +
                    #   @return [::Google::Protobuf::FieldMask]
         
     | 
| 
      
 31 
     | 
    
         
            +
                    #     Optional. The list of fields that you want to update.
         
     | 
| 
      
 32 
     | 
    
         
            +
                    class UpdateCmEnrollmentRequest
         
     | 
| 
      
 33 
     | 
    
         
            +
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 34 
     | 
    
         
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 35 
     | 
    
         
            +
                    end
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
                    # The request message for [CalculateEffectiveCmEnrollment][].
         
     | 
| 
      
 38 
     | 
    
         
            +
                    # @!attribute [rw] name
         
     | 
| 
      
 39 
     | 
    
         
            +
                    #   @return [::String]
         
     | 
| 
      
 40 
     | 
    
         
            +
                    #     Required. The name of the Compliance Manager enrollment to calculate.
         
     | 
| 
      
 41 
     | 
    
         
            +
                    #
         
     | 
| 
      
 42 
     | 
    
         
            +
                    #     Supported formats are the following:
         
     | 
| 
      
 43 
     | 
    
         
            +
                    #
         
     | 
| 
      
 44 
     | 
    
         
            +
                    #     * `organizations/{organization_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 45 
     | 
    
         
            +
                    #     * `folders/{folder_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 46 
     | 
    
         
            +
                    #     * `projects/{project_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 47 
     | 
    
         
            +
                    class CalculateEffectiveCmEnrollmentRequest
         
     | 
| 
      
 48 
     | 
    
         
            +
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 49 
     | 
    
         
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 50 
     | 
    
         
            +
                    end
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                    # The settings for Compliance Manager at a specific resource scope.=
         
     | 
| 
      
 53 
     | 
    
         
            +
                    # @!attribute [rw] name
         
     | 
| 
      
 54 
     | 
    
         
            +
                    #   @return [::String]
         
     | 
| 
      
 55 
     | 
    
         
            +
                    #     Identifier. The name of the Compliance Manager enrollment.
         
     | 
| 
      
 56 
     | 
    
         
            +
                    #
         
     | 
| 
      
 57 
     | 
    
         
            +
                    #     Supported formats are the following:
         
     | 
| 
      
 58 
     | 
    
         
            +
                    #
         
     | 
| 
      
 59 
     | 
    
         
            +
                    #     * `organizations/{organization_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 60 
     | 
    
         
            +
                    #     * `folders/{folder_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 61 
     | 
    
         
            +
                    #     * `projects/{project_id}/locations/{location}/cmEnrollment`
         
     | 
| 
      
 62 
     | 
    
         
            +
                    # @!attribute [rw] enrolled
         
     | 
| 
      
 63 
     | 
    
         
            +
                    #   @return [::Boolean]
         
     | 
| 
      
 64 
     | 
    
         
            +
                    #     Optional. Whether the resource is enrolled in Compliance Manager.
         
     | 
| 
      
 65 
     | 
    
         
            +
                    #     This setting is inherited by all descendants.
         
     | 
| 
      
 66 
     | 
    
         
            +
                    # @!attribute [rw] audit_config
         
     | 
| 
      
 67 
     | 
    
         
            +
                    #   @return [::Google::Cloud::CloudSecurityCompliance::V1::AuditConfig]
         
     | 
| 
      
 68 
     | 
    
         
            +
                    #     Optional. The audit configuration for Compliance Manager.
         
     | 
| 
      
 69 
     | 
    
         
            +
                    #     If set at a scope, this configuration overrides any inherited audit
         
     | 
| 
      
 70 
     | 
    
         
            +
                    #     configuration.
         
     | 
| 
      
 71 
     | 
    
         
            +
                    class CmEnrollment
         
     | 
| 
      
 72 
     | 
    
         
            +
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 73 
     | 
    
         
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 74 
     | 
    
         
            +
                    end
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
                    # The response message for [CalculateEffectiveCmEnrollment][].
         
     | 
| 
      
 77 
     | 
    
         
            +
                    # @!attribute [rw] cm_enrollment
         
     | 
| 
      
 78 
     | 
    
         
            +
                    #   @return [::Google::Cloud::CloudSecurityCompliance::V1::CmEnrollment]
         
     | 
| 
      
 79 
     | 
    
         
            +
                    #     The effective Compliance Manager enrollment for the resource.
         
     | 
| 
      
 80 
     | 
    
         
            +
                    class CalculateEffectiveCmEnrollmentResponse
         
     | 
| 
      
 81 
     | 
    
         
            +
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 82 
     | 
    
         
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 83 
     | 
    
         
            +
                    end
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                    # The audit configuration for Compliance Manager.
         
     | 
| 
      
 86 
     | 
    
         
            +
                    # @!attribute [rw] destinations
         
     | 
| 
      
 87 
     | 
    
         
            +
                    #   @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::AuditConfig::CmEligibleDestination>]
         
     | 
| 
      
 88 
     | 
    
         
            +
                    #     Required. The list of destinations that can be selected for uploading audit
         
     | 
| 
      
 89 
     | 
    
         
            +
                    #     reports to.
         
     | 
| 
      
 90 
     | 
    
         
            +
                    class AuditConfig
         
     | 
| 
      
 91 
     | 
    
         
            +
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 92 
     | 
    
         
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
                      # The destination details where audit reports are
         
     | 
| 
      
 95 
     | 
    
         
            +
                      # uploaded.
         
     | 
| 
      
 96 
     | 
    
         
            +
                      # @!attribute [rw] gcs_bucket
         
     | 
| 
      
 97 
     | 
    
         
            +
                      #   @return [::String]
         
     | 
| 
      
 98 
     | 
    
         
            +
                      #     The Cloud Storage bucket where audit reports and evidences can be
         
     | 
| 
      
 99 
     | 
    
         
            +
                      #     uploaded. The format is `gs://{bucket_name}`.
         
     | 
| 
      
 100 
     | 
    
         
            +
                      class CmEligibleDestination
         
     | 
| 
      
 101 
     | 
    
         
            +
                        include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 102 
     | 
    
         
            +
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 103 
     | 
    
         
            +
                      end
         
     | 
| 
      
 104 
     | 
    
         
            +
                    end
         
     | 
| 
      
 105 
     | 
    
         
            +
                  end
         
     | 
| 
      
 106 
     | 
    
         
            +
                end
         
     | 
| 
      
 107 
     | 
    
         
            +
              end
         
     | 
| 
      
 108 
     | 
    
         
            +
            end
         
     |