@@ -618,58 +618,6 @@ def test_certificate_authority_iam_permissions(resource, test_iam_permissions_re
618618 execute_or_queue_command ( command , &block )
619619 end
620620
621- # Create a new CertificateRevocationList in a given Project, Location for a
622- # particular CertificateAuthority.
623- # @param [String] parent
624- # Required. The resource name of the location and CertificateAuthority
625- # associated with the CertificateRevocationList, in the format `projects/*/
626- # locations/*/certificateAuthorities/*`.
627- # @param [Google::Apis::PrivatecaV1beta1::CertificateRevocationList] certificate_revocation_list_object
628- # @param [String] certificate_revocation_list_id
629- # Required. It must be unique within a location and match the regular expression
630- # `[a-zA-Z0-9_-]`1,63``
631- # @param [String] request_id
632- # Optional. An ID to identify requests. Specify a unique request ID so that if
633- # you must retry your request, the server will know to ignore the request if it
634- # has already been completed. The server will guarantee that for at least 60
635- # minutes since the first request. For example, consider a situation where you
636- # make an initial request and t he request times out. If you make the request
637- # again with the same request ID, the server can check if original operation
638- # with the same request ID was received, and if so, will ignore the second
639- # request. This prevents clients from accidentally creating duplicate
640- # commitments. The request ID must be a valid UUID with the exception that zero
641- # UUID is not supported (00000000-0000-0000-0000-000000000000).
642- # @param [String] fields
643- # Selector specifying which fields to include in a partial response.
644- # @param [String] quota_user
645- # Available to use for quota purposes for server-side applications. Can be any
646- # arbitrary string assigned to a user, but should not exceed 40 characters.
647- # @param [Google::Apis::RequestOptions] options
648- # Request-specific options
649- #
650- # @yield [result, err] Result & error if block supplied
651- # @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
652- # @yieldparam err [StandardError] error object if request failed
653- #
654- # @return [Google::Apis::PrivatecaV1beta1::Operation]
655- #
656- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
657- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
658- # @raise [Google::Apis::AuthorizationError] Authorization is required
659- def create_project_location_certificate_authority_certificate_revocation_list ( parent , certificate_revocation_list_object = nil , certificate_revocation_list_id : nil , request_id : nil , fields : nil , quota_user : nil , options : nil , &block )
660- command = make_simple_command ( :post , 'v1beta1/{+parent}/certificateRevocationLists' , options )
661- command . request_representation = Google ::Apis ::PrivatecaV1beta1 ::CertificateRevocationList ::Representation
662- command . request_object = certificate_revocation_list_object
663- command . response_representation = Google ::Apis ::PrivatecaV1beta1 ::Operation ::Representation
664- command . response_class = Google ::Apis ::PrivatecaV1beta1 ::Operation
665- command . params [ 'parent' ] = parent unless parent . nil?
666- command . query [ 'certificateRevocationListId' ] = certificate_revocation_list_id unless certificate_revocation_list_id . nil?
667- command . query [ 'requestId' ] = request_id unless request_id . nil?
668- command . query [ 'fields' ] = fields unless fields . nil?
669- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
670- execute_or_queue_command ( command , &block )
671- end
672-
673621 # Returns a CertificateRevocationList.
674622 # @param [String] name
675623 # Required. The name of the CertificateRevocationList to get.
0 commit comments