Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::AndroidBuildUrl Class Reference

#include <android_build_url.h>

Collaboration diagram for cuttlefish::AndroidBuildUrl:
Collaboration graph
[legend]

Public Member Functions

 AndroidBuildUrl (std::string api_base_url, std::string api_key, std::string project_id)
 
std::string GetLatestBuildIdUrl (std::string_view branch, std::string_view target)
 
std::string GetBuildUrl (std::string_view id, std::string_view target)
 
std::string GetArtifactUrl (std::string_view id, std::string_view target, const std::vector< std::string > &artifact_filenames, std::string_view page_token)
 
std::string GetArtifactDownloadUrl (std::string_view id, std::string_view target, std::string_view artifact)
 

Private Attributes

std::string api_base_url_
 
std::string api_key_
 
std::string project_id_
 

Constructor & Destructor Documentation

◆ AndroidBuildUrl()

cuttlefish::AndroidBuildUrl::AndroidBuildUrl ( std::string  api_base_url,
std::string  api_key,
std::string  project_id 
)

Member Function Documentation

◆ GetArtifactDownloadUrl()

std::string cuttlefish::AndroidBuildUrl::GetArtifactDownloadUrl ( std::string_view  id,
std::string_view  target,
std::string_view  artifact 
)

◆ GetArtifactUrl()

std::string cuttlefish::AndroidBuildUrl::GetArtifactUrl ( std::string_view  id,
std::string_view  target,
const std::vector< std::string > &  artifact_filenames,
std::string_view  page_token 
)

◆ GetBuildUrl()

std::string cuttlefish::AndroidBuildUrl::GetBuildUrl ( std::string_view  id,
std::string_view  target 
)

◆ GetLatestBuildIdUrl()

std::string cuttlefish::AndroidBuildUrl::GetLatestBuildIdUrl ( std::string_view  branch,
std::string_view  target 
)

Member Data Documentation

◆ api_base_url_

std::string cuttlefish::AndroidBuildUrl::api_base_url_
private

◆ api_key_

std::string cuttlefish::AndroidBuildUrl::api_key_
private

◆ project_id_

std::string cuttlefish::AndroidBuildUrl::project_id_
private

The documentation for this class was generated from the following files: