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
 
| 
         @@ -233,9 +233,10 @@ module Google 
     | 
|
| 
       233 
233 
     | 
    
         
             
                        # Service calls
         
     | 
| 
       234 
234 
     | 
    
         | 
| 
       235 
235 
     | 
    
         
             
                        ##
         
     | 
| 
       236 
     | 
    
         
            -
                        # Lists  
     | 
| 
       237 
     | 
    
         
            -
                        # parent resource.  
     | 
| 
       238 
     | 
    
         
            -
                        #  
     | 
| 
      
 236 
     | 
    
         
            +
                        # Lists the frameworks (both built-in and custom) that are available within
         
     | 
| 
      
 237 
     | 
    
         
            +
                        # the parent resource. The latest major version of each framework is
         
     | 
| 
      
 238 
     | 
    
         
            +
                        # returned.
         
     | 
| 
      
 239 
     | 
    
         
            +
                        # This method supports pagination.
         
     | 
| 
       239 
240 
     | 
    
         
             
                        #
         
     | 
| 
       240 
241 
     | 
    
         
             
                        # @overload list_frameworks(request, options = nil)
         
     | 
| 
       241 
242 
     | 
    
         
             
                        #   Pass arguments to `list_frameworks` via a request object, either of type
         
     | 
| 
         @@ -255,7 +256,7 @@ module Google 
     | 
|
| 
       255 
256 
     | 
    
         
             
                        #   @param parent [::String]
         
     | 
| 
       256 
257 
     | 
    
         
             
                        #     Required. The parent resource name, in the format
         
     | 
| 
       257 
258 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}`.
         
     | 
| 
       258 
     | 
    
         
            -
                        #      
     | 
| 
      
 259 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       259 
260 
     | 
    
         
             
                        #   @param page_size [::Integer]
         
     | 
| 
       260 
261 
     | 
    
         
             
                        #     Optional. The maximum number of frameworks to return. The default value is
         
     | 
| 
       261 
262 
     | 
    
         
             
                        #     `500`.
         
     | 
| 
         @@ -337,13 +338,11 @@ module Google 
     | 
|
| 
       337 
338 
     | 
    
         
             
                        end
         
     | 
| 
       338 
339 
     | 
    
         | 
| 
       339 
340 
     | 
    
         
             
                        ##
         
     | 
| 
       340 
     | 
    
         
            -
                        # Gets details  
     | 
| 
       341 
     | 
    
         
            -
                        # This method retrieves  
     | 
| 
       342 
     | 
    
         
            -
                        # Custom, identified by its name.
         
     | 
| 
      
 341 
     | 
    
         
            +
                        # Gets details about a framework.
         
     | 
| 
      
 342 
     | 
    
         
            +
                        # This method retrieves the latest major version of the framework.
         
     | 
| 
       343 
343 
     | 
    
         
             
                        #
         
     | 
| 
       344 
     | 
    
         
            -
                        #  
     | 
| 
       345 
     | 
    
         
            -
                        #  
     | 
| 
       346 
     | 
    
         
            -
                        # `major_revision_id` in the request.
         
     | 
| 
      
 344 
     | 
    
         
            +
                        # To retrieve a specific major version, include `major_revision_id` in
         
     | 
| 
      
 345 
     | 
    
         
            +
                        # the request.
         
     | 
| 
       347 
346 
     | 
    
         
             
                        #
         
     | 
| 
       348 
347 
     | 
    
         
             
                        # @overload get_framework(request, options = nil)
         
     | 
| 
       349 
348 
     | 
    
         
             
                        #   Pass arguments to `get_framework` via a request object, either of type
         
     | 
| 
         @@ -361,12 +360,12 @@ module Google 
     | 
|
| 
       361 
360 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       362 
361 
     | 
    
         
             
                        #
         
     | 
| 
       363 
362 
     | 
    
         
             
                        #   @param name [::String]
         
     | 
| 
       364 
     | 
    
         
            -
                        #     Required. The name of the framework to retrieve 
     | 
| 
       365 
     | 
    
         
            -
                        #      
     | 
| 
       366 
     | 
    
         
            -
                        #      
     | 
| 
      
 363 
     | 
    
         
            +
                        #     Required. The name of the framework to retrieve, in the format
         
     | 
| 
      
 364 
     | 
    
         
            +
                        #     `organizations/{organization}/locations/{location}/frameworks/{framework_id}`
         
     | 
| 
      
 365 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       367 
366 
     | 
    
         
             
                        #   @param major_revision_id [::Integer]
         
     | 
| 
       368 
     | 
    
         
            -
                        #     Optional. The  
     | 
| 
       369 
     | 
    
         
            -
                        #     most recently updated revision_id is retrieved.
         
     | 
| 
      
 367 
     | 
    
         
            +
                        #     Optional. The framework major version to retrieve. If not specified, the
         
     | 
| 
      
 368 
     | 
    
         
            +
                        #     most recently updated `revision_id` is retrieved.
         
     | 
| 
       370 
369 
     | 
    
         
             
                        #
         
     | 
| 
       371 
370 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       372 
371 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::Framework]
         
     | 
| 
         @@ -433,9 +432,9 @@ module Google 
     | 
|
| 
       433 
432 
     | 
    
         
             
                        end
         
     | 
| 
       434 
433 
     | 
    
         | 
| 
       435 
434 
     | 
    
         
             
                        ##
         
     | 
| 
       436 
     | 
    
         
            -
                        # Creates a  
     | 
| 
       437 
     | 
    
         
            -
                        #  
     | 
| 
       438 
     | 
    
         
            -
                        #  
     | 
| 
      
 435 
     | 
    
         
            +
                        # Creates a custom framework in a given parent resource.
         
     | 
| 
      
 436 
     | 
    
         
            +
                        # You can't create built-in frameworks because those are managed by
         
     | 
| 
      
 437 
     | 
    
         
            +
                        # Google.
         
     | 
| 
       439 
438 
     | 
    
         
             
                        #
         
     | 
| 
       440 
439 
     | 
    
         
             
                        # @overload create_framework(request, options = nil)
         
     | 
| 
       441 
440 
     | 
    
         
             
                        #   Pass arguments to `create_framework` via a request object, either of type
         
     | 
| 
         @@ -455,12 +454,12 @@ module Google 
     | 
|
| 
       455 
454 
     | 
    
         
             
                        #   @param parent [::String]
         
     | 
| 
       456 
455 
     | 
    
         
             
                        #     Required. The parent resource name, in the format
         
     | 
| 
       457 
456 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}`.
         
     | 
| 
      
 457 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       458 
458 
     | 
    
         
             
                        #   @param framework_id [::String]
         
     | 
| 
       459 
     | 
    
         
            -
                        #     Required. ID of the framework.
         
     | 
| 
       460 
     | 
    
         
            -
                        #      
     | 
| 
       461 
     | 
    
         
            -
                        #     This is the last part of the full name of the framework.
         
     | 
| 
      
 459 
     | 
    
         
            +
                        #     Required. The identifier (ID) of the framework. The ID is not the full name
         
     | 
| 
      
 460 
     | 
    
         
            +
                        #     of the framework; it's the last part of the full name of the framework.
         
     | 
| 
       462 
461 
     | 
    
         
             
                        #   @param framework [::Google::Cloud::CloudSecurityCompliance::V1::Framework, ::Hash]
         
     | 
| 
       463 
     | 
    
         
            -
                        #     Required. The resource being created
         
     | 
| 
      
 462 
     | 
    
         
            +
                        #     Required. The resource being created.
         
     | 
| 
       464 
463 
     | 
    
         
             
                        #
         
     | 
| 
       465 
464 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       466 
465 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::Framework]
         
     | 
| 
         @@ -527,17 +526,18 @@ module Google 
     | 
|
| 
       527 
526 
     | 
    
         
             
                        end
         
     | 
| 
       528 
527 
     | 
    
         | 
| 
       529 
528 
     | 
    
         
             
                        ##
         
     | 
| 
       530 
     | 
    
         
            -
                        # Updates a  
     | 
| 
       531 
     | 
    
         
            -
                        # This method allows for partial updates of a  
     | 
| 
       532 
     | 
    
         
            -
                        # to  
     | 
| 
      
 529 
     | 
    
         
            +
                        # Updates a custom framework.
         
     | 
| 
      
 530 
     | 
    
         
            +
                        # This method allows for partial updates of a framework. Use the
         
     | 
| 
      
 531 
     | 
    
         
            +
                        # `update_mask` to specify which fields to update. Consider the following:
         
     | 
| 
       533 
532 
     | 
    
         
             
                        #
         
     | 
| 
       534 
     | 
    
         
            -
                        # - If an `update_mask 
     | 
| 
       535 
     | 
    
         
            -
                        #  
     | 
| 
       536 
     | 
    
         
            -
                        # - If  
     | 
| 
       537 
     | 
    
         
            -
                        # `framework` body  
     | 
| 
      
 533 
     | 
    
         
            +
                        # - If you provide an `update_mask`, only the fields that are specified
         
     | 
| 
      
 534 
     | 
    
         
            +
                        # in the mask are updated.
         
     | 
| 
      
 535 
     | 
    
         
            +
                        # - If you don't provide an `update_mask`, all the fields that are present
         
     | 
| 
      
 536 
     | 
    
         
            +
                        # in the request's `framework` body are used to overwrite the existing
         
     | 
| 
      
 537 
     | 
    
         
            +
                        # resource.
         
     | 
| 
       538 
538 
     | 
    
         
             
                        #
         
     | 
| 
       539 
     | 
    
         
            -
                        #  
     | 
| 
       540 
     | 
    
         
            -
                        # A successful update  
     | 
| 
      
 539 
     | 
    
         
            +
                        # You can only update frameworks with the `CUSTOM` type.
         
     | 
| 
      
 540 
     | 
    
         
            +
                        # A successful update creates a new version of the framework.
         
     | 
| 
       541 
541 
     | 
    
         
             
                        #
         
     | 
| 
       542 
542 
     | 
    
         
             
                        # @overload update_framework(request, options = nil)
         
     | 
| 
       543 
543 
     | 
    
         
             
                        #   Pass arguments to `update_framework` via a request object, either of type
         
     | 
| 
         @@ -555,14 +555,13 @@ module Google 
     | 
|
| 
       555 
555 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       556 
556 
     | 
    
         
             
                        #
         
     | 
| 
       557 
557 
     | 
    
         
             
                        #   @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
         
     | 
| 
       558 
     | 
    
         
            -
                        #     Optional.  
     | 
| 
       559 
     | 
    
         
            -
                        #      
     | 
| 
       560 
     | 
    
         
            -
                        #      
     | 
| 
       561 
     | 
    
         
            -
                        #      
     | 
| 
       562 
     | 
    
         
            -
                        #      
     | 
| 
       563 
     | 
    
         
            -
                        #     overwritten.
         
     | 
| 
      
 558 
     | 
    
         
            +
                        #     Optional. A field mask is used to specify the fields to be overwritten in
         
     | 
| 
      
 559 
     | 
    
         
            +
                        #     the framework resource by the update. The fields specified in the
         
     | 
| 
      
 560 
     | 
    
         
            +
                        #     `update_mask` are relative to the resource, not the full request. A field
         
     | 
| 
      
 561 
     | 
    
         
            +
                        #     is overwritten if it is in the mask. If you don't provide a mask then all
         
     | 
| 
      
 562 
     | 
    
         
            +
                        #     fields present in the request will be overwritten.
         
     | 
| 
       564 
563 
     | 
    
         
             
                        #   @param framework [::Google::Cloud::CloudSecurityCompliance::V1::Framework, ::Hash]
         
     | 
| 
       565 
     | 
    
         
            -
                        #     Required. The resource being updated
         
     | 
| 
      
 564 
     | 
    
         
            +
                        #     Required. The resource that is being updated.
         
     | 
| 
       566 
565 
     | 
    
         
             
                        #   @param major_revision_id [::Integer]
         
     | 
| 
       567 
566 
     | 
    
         
             
                        #     Optional. The major version ID of the framework to update.
         
     | 
| 
       568 
567 
     | 
    
         
             
                        #
         
     | 
| 
         @@ -631,14 +630,13 @@ module Google 
     | 
|
| 
       631 
630 
     | 
    
         
             
                        end
         
     | 
| 
       632 
631 
     | 
    
         | 
| 
       633 
632 
     | 
    
         
             
                        ##
         
     | 
| 
       634 
     | 
    
         
            -
                        # Deletes a  
     | 
| 
       635 
     | 
    
         
            -
                        # minor revisions.
         
     | 
| 
      
 633 
     | 
    
         
            +
                        # Deletes a custom framework, including all its major and
         
     | 
| 
      
 634 
     | 
    
         
            +
                        # minor revisions. Consider the following:
         
     | 
| 
       636 
635 
     | 
    
         
             
                        #
         
     | 
| 
       637 
     | 
    
         
            -
                        # -  
     | 
| 
       638 
     | 
    
         
            -
                        #    
     | 
| 
       639 
     | 
    
         
            -
                        # -  
     | 
| 
       640 
     | 
    
         
            -
                        # 
     | 
| 
       641 
     | 
    
         
            -
                        # - This action is permanent and cannot be undone.
         
     | 
| 
      
 636 
     | 
    
         
            +
                        # - You can't delete built-in frameworks. You can only delete frameworks
         
     | 
| 
      
 637 
     | 
    
         
            +
                        #   with type `CUSTOM`.
         
     | 
| 
      
 638 
     | 
    
         
            +
                        # - You can't delete frameworks that are deployed to a resource.
         
     | 
| 
      
 639 
     | 
    
         
            +
                        # - You can't restore a deleted framework. This action is permanent.
         
     | 
| 
       642 
640 
     | 
    
         
             
                        #
         
     | 
| 
       643 
641 
     | 
    
         
             
                        # @overload delete_framework(request, options = nil)
         
     | 
| 
       644 
642 
     | 
    
         
             
                        #   Pass arguments to `delete_framework` via a request object, either of type
         
     | 
| 
         @@ -656,8 +654,9 @@ module Google 
     | 
|
| 
       656 
654 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       657 
655 
     | 
    
         
             
                        #
         
     | 
| 
       658 
656 
     | 
    
         
             
                        #   @param name [::String]
         
     | 
| 
       659 
     | 
    
         
            -
                        #     Required.  
     | 
| 
      
 657 
     | 
    
         
            +
                        #     Required. The name of the resource, in the format
         
     | 
| 
       660 
658 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}/frameworks/{framework}`.
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       661 
660 
     | 
    
         
             
                        #
         
     | 
| 
       662 
661 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       663 
662 
     | 
    
         
             
                        # @yieldparam response [::Google::Protobuf::Empty]
         
     | 
| 
         @@ -724,9 +723,10 @@ module Google 
     | 
|
| 
       724 
723 
     | 
    
         
             
                        end
         
     | 
| 
       725 
724 
     | 
    
         | 
| 
       726 
725 
     | 
    
         
             
                        ##
         
     | 
| 
       727 
     | 
    
         
            -
                        # Lists  
     | 
| 
       728 
     | 
    
         
            -
                        # parent resource.  
     | 
| 
       729 
     | 
    
         
            -
                        #  
     | 
| 
      
 726 
     | 
    
         
            +
                        # Lists the cloud controls (both built-in and custom) that are available
         
     | 
| 
      
 727 
     | 
    
         
            +
                        # in a given parent resource. The latest major version of each cloud control
         
     | 
| 
      
 728 
     | 
    
         
            +
                        # is returned.
         
     | 
| 
      
 729 
     | 
    
         
            +
                        # This method supports pagination.
         
     | 
| 
       730 
730 
     | 
    
         
             
                        #
         
     | 
| 
       731 
731 
     | 
    
         
             
                        # @overload list_cloud_controls(request, options = nil)
         
     | 
| 
       732 
732 
     | 
    
         
             
                        #   Pass arguments to `list_cloud_controls` via a request object, either of type
         
     | 
| 
         @@ -746,19 +746,21 @@ module Google 
     | 
|
| 
       746 
746 
     | 
    
         
             
                        #   @param parent [::String]
         
     | 
| 
       747 
747 
     | 
    
         
             
                        #     Required. The parent resource name, in the format
         
     | 
| 
       748 
748 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}`.
         
     | 
| 
      
 749 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       749 
750 
     | 
    
         
             
                        #   @param page_size [::Integer]
         
     | 
| 
       750 
     | 
    
         
            -
                        #     Optional. The maximum number of  
     | 
| 
      
 751 
     | 
    
         
            +
                        #     Optional. The maximum number of cloud controls to return. The default value
         
     | 
| 
       751 
752 
     | 
    
         
             
                        #     is `500`.
         
     | 
| 
       752 
753 
     | 
    
         
             
                        #
         
     | 
| 
       753 
754 
     | 
    
         
             
                        #     If you exceed the maximum value of `1000`, then the service uses the
         
     | 
| 
       754 
755 
     | 
    
         
             
                        #     maximum value.
         
     | 
| 
       755 
756 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       756 
     | 
    
         
            -
                        #     Optional. A pagination token returned from a previous request to 
     | 
| 
       757 
     | 
    
         
            -
                        #      
     | 
| 
      
 757 
     | 
    
         
            +
                        #     Optional. A pagination token that's returned from a previous request to
         
     | 
| 
      
 758 
     | 
    
         
            +
                        #     list cloud controls. Provide this token to retrieve the next page of
         
     | 
| 
      
 759 
     | 
    
         
            +
                        #     results.
         
     | 
| 
       758 
760 
     | 
    
         
             
                        #
         
     | 
| 
       759 
     | 
    
         
            -
                        #     When paginating, parent  
     | 
| 
       760 
     | 
    
         
            -
                        #     ListCloudControls 
     | 
| 
       761 
     | 
    
         
            -
                        #     token.
         
     | 
| 
      
 761 
     | 
    
         
            +
                        #     When paginating, the parent that you provide to the
         
     | 
| 
      
 762 
     | 
    
         
            +
                        #     {::Google::Cloud::CloudSecurityCompliance::V1::Config::Client#list_cloud_controls ListCloudControls}
         
     | 
| 
      
 763 
     | 
    
         
            +
                        #     request must match the call that provided the page token.
         
     | 
| 
       762 
764 
     | 
    
         
             
                        #
         
     | 
| 
       763 
765 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       764 
766 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::CloudControl>]
         
     | 
| 
         @@ -831,13 +833,13 @@ module Google 
     | 
|
| 
       831 
833 
     | 
    
         
             
                        end
         
     | 
| 
       832 
834 
     | 
    
         | 
| 
       833 
835 
     | 
    
         
             
                        ##
         
     | 
| 
       834 
     | 
    
         
            -
                        # Gets details  
     | 
| 
       835 
     | 
    
         
            -
                        # This method retrieves  
     | 
| 
       836 
     | 
    
         
            -
                        #  
     | 
| 
      
 836 
     | 
    
         
            +
                        # Gets details about a cloud control.
         
     | 
| 
      
 837 
     | 
    
         
            +
                        # This method retrieves the latest major version of a cloud control that
         
     | 
| 
      
 838 
     | 
    
         
            +
                        # you identify by name.
         
     | 
| 
       837 
839 
     | 
    
         
             
                        #
         
     | 
| 
       838 
     | 
    
         
            -
                        # By default, the latest major version of the  
     | 
| 
       839 
     | 
    
         
            -
                        #  
     | 
| 
       840 
     | 
    
         
            -
                        #  
     | 
| 
      
 840 
     | 
    
         
            +
                        # By default, the latest major version of the cloud control is returned.
         
     | 
| 
      
 841 
     | 
    
         
            +
                        # To retrieve a specific major version, include `major_revision_id` in
         
     | 
| 
      
 842 
     | 
    
         
            +
                        # the request.
         
     | 
| 
       841 
843 
     | 
    
         
             
                        #
         
     | 
| 
       842 
844 
     | 
    
         
             
                        # @overload get_cloud_control(request, options = nil)
         
     | 
| 
       843 
845 
     | 
    
         
             
                        #   Pass arguments to `get_cloud_control` via a request object, either of type
         
     | 
| 
         @@ -849,14 +851,18 @@ module Google 
     | 
|
| 
       849 
851 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       850 
852 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       851 
853 
     | 
    
         
             
                        #
         
     | 
| 
       852 
     | 
    
         
            -
                        # @overload get_cloud_control(name: nil)
         
     | 
| 
      
 854 
     | 
    
         
            +
                        # @overload get_cloud_control(name: nil, major_revision_id: nil)
         
     | 
| 
       853 
855 
     | 
    
         
             
                        #   Pass arguments to `get_cloud_control` via keyword arguments. Note that at
         
     | 
| 
       854 
856 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       855 
857 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       856 
858 
     | 
    
         
             
                        #
         
     | 
| 
       857 
859 
     | 
    
         
             
                        #   @param name [::String]
         
     | 
| 
       858 
     | 
    
         
            -
                        #     Required. The name of the  
     | 
| 
       859 
     | 
    
         
            -
                        #     organizations 
     | 
| 
      
 860 
     | 
    
         
            +
                        #     Required. The name of the cloud control to retrieve, in the format
         
     | 
| 
      
 861 
     | 
    
         
            +
                        #     `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`.
         
     | 
| 
      
 862 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
      
 863 
     | 
    
         
            +
                        #   @param major_revision_id [::Integer]
         
     | 
| 
      
 864 
     | 
    
         
            +
                        #     Optional. The major version of the cloud control to retrieve. If not
         
     | 
| 
      
 865 
     | 
    
         
            +
                        #     specified, the most recently updated `revision_id` is retrieved.
         
     | 
| 
       860 
866 
     | 
    
         
             
                        #
         
     | 
| 
       861 
867 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       862 
868 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl]
         
     | 
| 
         @@ -923,9 +929,10 @@ module Google 
     | 
|
| 
       923 
929 
     | 
    
         
             
                        end
         
     | 
| 
       924 
930 
     | 
    
         | 
| 
       925 
931 
     | 
    
         
             
                        ##
         
     | 
| 
       926 
     | 
    
         
            -
                        # Creates a  
     | 
| 
       927 
     | 
    
         
            -
                        # resource. 
     | 
| 
       928 
     | 
    
         
            -
                        #  
     | 
| 
      
 932 
     | 
    
         
            +
                        # Creates a custom cloud control in a given parent
         
     | 
| 
      
 933 
     | 
    
         
            +
                        # resource.
         
     | 
| 
      
 934 
     | 
    
         
            +
                        # You can't create built-in cloud controls because those are managed by
         
     | 
| 
      
 935 
     | 
    
         
            +
                        # Google.
         
     | 
| 
       929 
936 
     | 
    
         
             
                        #
         
     | 
| 
       930 
937 
     | 
    
         
             
                        # @overload create_cloud_control(request, options = nil)
         
     | 
| 
       931 
938 
     | 
    
         
             
                        #   Pass arguments to `create_cloud_control` via a request object, either of type
         
     | 
| 
         @@ -945,12 +952,13 @@ module Google 
     | 
|
| 
       945 
952 
     | 
    
         
             
                        #   @param parent [::String]
         
     | 
| 
       946 
953 
     | 
    
         
             
                        #     Required. The parent resource name, in the format
         
     | 
| 
       947 
954 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}`.
         
     | 
| 
      
 955 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       948 
956 
     | 
    
         
             
                        #   @param cloud_control_id [::String]
         
     | 
| 
       949 
     | 
    
         
            -
                        #     Required.  
     | 
| 
       950 
     | 
    
         
            -
                        #      
     | 
| 
       951 
     | 
    
         
            -
                        #      
     | 
| 
      
 957 
     | 
    
         
            +
                        #     Required. The identifier for the cloud control, which is the last segment
         
     | 
| 
      
 958 
     | 
    
         
            +
                        #     of the cloud control name. The format is
         
     | 
| 
      
 959 
     | 
    
         
            +
                        #     `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.
         
     | 
| 
       952 
960 
     | 
    
         
             
                        #   @param cloud_control [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl, ::Hash]
         
     | 
| 
       953 
     | 
    
         
            -
                        #     Required. The  
     | 
| 
      
 961 
     | 
    
         
            +
                        #     Required. The cloud control that's being created.
         
     | 
| 
       954 
962 
     | 
    
         
             
                        #
         
     | 
| 
       955 
963 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       956 
964 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl]
         
     | 
| 
         @@ -1017,16 +1025,18 @@ module Google 
     | 
|
| 
       1017 
1025 
     | 
    
         
             
                        end
         
     | 
| 
       1018 
1026 
     | 
    
         | 
| 
       1019 
1027 
     | 
    
         
             
                        ##
         
     | 
| 
       1020 
     | 
    
         
            -
                        # Updates a  
     | 
| 
       1021 
     | 
    
         
            -
                        # This method allows for partial updates of a  
     | 
| 
       1022 
     | 
    
         
            -
                        #  
     | 
| 
      
 1028 
     | 
    
         
            +
                        # Updates a custom cloud control.
         
     | 
| 
      
 1029 
     | 
    
         
            +
                        # This method allows for partial updates of a cloud control. Use the
         
     | 
| 
      
 1030 
     | 
    
         
            +
                        # `update_mask` to specify which fields to update. Consider the following:
         
     | 
| 
       1023 
1031 
     | 
    
         
             
                        #
         
     | 
| 
       1024 
     | 
    
         
            -
                        # - If an `update_mask 
     | 
| 
       1025 
     | 
    
         
            -
                        #  
     | 
| 
       1026 
     | 
    
         
            -
                        # - If  
     | 
| 
       1027 
     | 
    
         
            -
                        # `cloud_control` body  
     | 
| 
      
 1032 
     | 
    
         
            +
                        # - If you provide an `update_mask`, only the fields that are specified
         
     | 
| 
      
 1033 
     | 
    
         
            +
                        # in the mask are updated.
         
     | 
| 
      
 1034 
     | 
    
         
            +
                        # - If you don't provide an `update_mask`, all the fields that are present
         
     | 
| 
      
 1035 
     | 
    
         
            +
                        # in the request's `cloud_control` body are used to overwrite the existing
         
     | 
| 
      
 1036 
     | 
    
         
            +
                        # resource.
         
     | 
| 
       1028 
1037 
     | 
    
         
             
                        #
         
     | 
| 
       1029 
     | 
    
         
            -
                        #  
     | 
| 
      
 1038 
     | 
    
         
            +
                        # You can only update cloud controls with the `CUSTOM` type.
         
     | 
| 
      
 1039 
     | 
    
         
            +
                        # A successful update creates a new version of the cloud control.
         
     | 
| 
       1030 
1040 
     | 
    
         
             
                        #
         
     | 
| 
       1031 
1041 
     | 
    
         
             
                        # @overload update_cloud_control(request, options = nil)
         
     | 
| 
       1032 
1042 
     | 
    
         
             
                        #   Pass arguments to `update_cloud_control` via a request object, either of type
         
     | 
| 
         @@ -1044,19 +1054,22 @@ module Google 
     | 
|
| 
       1044 
1054 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       1045 
1055 
     | 
    
         
             
                        #
         
     | 
| 
       1046 
1056 
     | 
    
         
             
                        #   @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
         
     | 
| 
       1047 
     | 
    
         
            -
                        #     Optional.  
     | 
| 
       1048 
     | 
    
         
            -
                        #      
     | 
| 
       1049 
     | 
    
         
            -
                        #     The fields  
     | 
| 
       1050 
     | 
    
         
            -
                        #     the full request. A field  
     | 
| 
       1051 
     | 
    
         
            -
                        #      
     | 
| 
       1052 
     | 
    
         
            -
                        #      
     | 
| 
       1053 
     | 
    
         
            -
                        # 
     | 
| 
       1054 
     | 
    
         
            -
                        #      
     | 
| 
       1055 
     | 
    
         
            -
                        # 
     | 
| 
       1056 
     | 
    
         
            -
                        #      
     | 
| 
       1057 
     | 
    
         
            -
                        #      
     | 
| 
      
 1057 
     | 
    
         
            +
                        #     Optional. Use a field mask to specify the fields to be overwritten in the
         
     | 
| 
      
 1058 
     | 
    
         
            +
                        #     cloud control during the update.
         
     | 
| 
      
 1059 
     | 
    
         
            +
                        #     The fields that you specify in the `update_mask` are relative to the
         
     | 
| 
      
 1060 
     | 
    
         
            +
                        #     cloud control, not the full request. A field is overwritten if it is in
         
     | 
| 
      
 1061 
     | 
    
         
            +
                        #     the mask. If you don't provide a mask, all fields in the request
         
     | 
| 
      
 1062 
     | 
    
         
            +
                        #     are updated.
         
     | 
| 
      
 1063 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1064 
     | 
    
         
            +
                        #     You can update the following fields:
         
     | 
| 
      
 1065 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1066 
     | 
    
         
            +
                        #     - Display name
         
     | 
| 
      
 1067 
     | 
    
         
            +
                        #     - Description
         
     | 
| 
      
 1068 
     | 
    
         
            +
                        #     - Parameters
         
     | 
| 
      
 1069 
     | 
    
         
            +
                        #     - Rules
         
     | 
| 
      
 1070 
     | 
    
         
            +
                        #     - Parameter specification
         
     | 
| 
       1058 
1071 
     | 
    
         
             
                        #   @param cloud_control [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl, ::Hash]
         
     | 
| 
       1059 
     | 
    
         
            -
                        #     Required. The  
     | 
| 
      
 1072 
     | 
    
         
            +
                        #     Required. The cloud control that you're updating.
         
     | 
| 
       1060 
1073 
     | 
    
         
             
                        #
         
     | 
| 
       1061 
1074 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       1062 
1075 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl]
         
     | 
| 
         @@ -1123,14 +1136,14 @@ module Google 
     | 
|
| 
       1123 
1136 
     | 
    
         
             
                        end
         
     | 
| 
       1124 
1137 
     | 
    
         | 
| 
       1125 
1138 
     | 
    
         
             
                        ##
         
     | 
| 
       1126 
     | 
    
         
            -
                        # Deletes a  
     | 
| 
       1127 
     | 
    
         
            -
                        # major and minor revisions.
         
     | 
| 
      
 1139 
     | 
    
         
            +
                        # Deletes a custom cloud control, including all its
         
     | 
| 
      
 1140 
     | 
    
         
            +
                        # major and minor revisions. Consider the following:
         
     | 
| 
       1128 
1141 
     | 
    
         
             
                        #
         
     | 
| 
       1129 
     | 
    
         
            -
                        # -  
     | 
| 
       1130 
     | 
    
         
            -
                        #    
     | 
| 
       1131 
     | 
    
         
            -
                        # -  
     | 
| 
       1132 
     | 
    
         
            -
                        #    
     | 
| 
       1133 
     | 
    
         
            -
                        # - This action is permanent 
     | 
| 
      
 1142 
     | 
    
         
            +
                        # - You can't delete built-in cloud controls. You can only delete cloud
         
     | 
| 
      
 1143 
     | 
    
         
            +
                        #   controls with type `CUSTOM`.
         
     | 
| 
      
 1144 
     | 
    
         
            +
                        # - You can't delete cloud controls if any of the versions are referenced
         
     | 
| 
      
 1145 
     | 
    
         
            +
                        #   by a framework.
         
     | 
| 
      
 1146 
     | 
    
         
            +
                        # - You can't restore a deleted cloud control. This action is permanent.
         
     | 
| 
       1134 
1147 
     | 
    
         
             
                        #
         
     | 
| 
       1135 
1148 
     | 
    
         
             
                        # @overload delete_cloud_control(request, options = nil)
         
     | 
| 
       1136 
1149 
     | 
    
         
             
                        #   Pass arguments to `delete_cloud_control` via a request object, either of type
         
     | 
| 
         @@ -1148,8 +1161,9 @@ module Google 
     | 
|
| 
       1148 
1161 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       1149 
1162 
     | 
    
         
             
                        #
         
     | 
| 
       1150 
1163 
     | 
    
         
             
                        #   @param name [::String]
         
     | 
| 
       1151 
     | 
    
         
            -
                        #     Required.  
     | 
| 
      
 1164 
     | 
    
         
            +
                        #     Required. The name of the cloud control to delete, in the format
         
     | 
| 
       1152 
1165 
     | 
    
         
             
                        #     `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`.
         
     | 
| 
      
 1166 
     | 
    
         
            +
                        #     The only supported location is `global`.
         
     | 
| 
       1153 
1167 
     | 
    
         
             
                        #
         
     | 
| 
       1154 
1168 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       1155 
1169 
     | 
    
         
             
                        # @yieldparam response [::Google::Protobuf::Empty]
         
     |