def server_certificates(options = {})
      batches = Enumerator.new do |y|
        resp = @client.list_server_certificates(options)
        resp.each_page do |page|
          batch = []
          page.data.server_certificate_metadata_list.each do |s|
            batch << ServerCertificate.new(
              name: s.server_certificate_name,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      ServerCertificate::Collection.new(batches)
    end
def server_certificates(options = {})
      batches = Enumerator.new do |y|
        resp = @client.list_server_certificates(options)
        resp.each_page do |page|
          batch = []
          page.data.server_certificate_metadata_list.each do |s|
            batch << ServerCertificate.new(
              name: s.server_certificate_name,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      ServerCertificate::Collection.new(batches)
    end
@example Request syntax with placeholder values

   server_certificates = iam.server_certificates({
     path_prefix: "pathPrefixType",
   })
 @param [Hash] options ({})
 @option options [String] :path_prefix
   The path prefix for filtering the results. For example:
   `/company/servercerts` would get all server certificates for which the
   path starts with `/company/servercerts`.

   This parameter is optional. If it is not included, it defaults to a
   slash (/), listing all server certificates. This parameter allows
   (through its [regex pattern][1]) a string of characters consisting of
   either a forward slash (/) by itself or a string that must begin and
   end with forward slashes. In addition, it can contain any ASCII
   character from the ! (\\u0021) through the DEL character (\\u007F),
   including most punctuation characters, digits, and upper and
   lowercased letters.



   [1]: http://wikipedia.org/wiki/regex
 @return [ServerCertificate::Collection]