[−][src]Struct google_firebasehosting1_beta1::ProjectMethods
A builder providing access to all methods supported on project resources.
It is not used directly, but through the FirebaseHosting
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_firebasehosting1_beta1 as firebasehosting1_beta1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use firebasehosting1_beta1::FirebaseHosting; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = FirebaseHosting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `operations_get(...)`, `sites_channels_releases_create(...)`, `sites_channels_releases_list(...)`, `sites_domains_create(...)`, `sites_domains_delete(...)`, `sites_domains_get(...)`, `sites_domains_list(...)`, `sites_domains_update(...)`, `sites_get_config(...)`, `sites_releases_create(...)`, `sites_releases_list(...)`, `sites_update_config(...)`, `sites_versions_create(...)`, `sites_versions_delete(...)`, `sites_versions_files_list(...)`, `sites_versions_list(...)`, `sites_versions_patch(...)` and `sites_versions_populate_files(...)` // to build up your call. let rb = hub.projects();
Implementations
impl<'a, C, A> ProjectMethods<'a, C, A>
[src]
pub fn sites_versions_list(
&self,
parent: &str
) -> ProjectSiteVersionListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectSiteVersionListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the versions that have been created on the specified site. Will include filtering in the future.
Arguments
parent
- Required. The parent for which to list files, in the format:sites/site-name
pub fn sites_channels_releases_list(
&self,
parent: &str
) -> ProjectSiteChannelReleaseListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectSiteChannelReleaseListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the releases that have been created on the specified site.
Arguments
parent
- Required. The parent for which to list files, in the format:sites/site-name
pub fn sites_update_config(
&self,
request: SiteConfig,
name: &str
) -> ProjectSiteUpdateConfigCall<'a, C, A>
[src]
&self,
request: SiteConfig,
name: &str
) -> ProjectSiteUpdateConfigCall<'a, C, A>
Create a builder to help you perform the following task:
Sets the Hosting metadata for a specific site.
Arguments
request
- No description provided.name
- Required. The site for which to update the SiteConfig, in the format:sites/site-name/config
pub fn sites_domains_delete(
&self,
name: &str
) -> ProjectSiteDomainDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectSiteDomainDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the existing domain mapping on the specified site.
Arguments
name
- Required. The name of the domain association to delete.
pub fn sites_versions_delete(
&self,
name: &str
) -> ProjectSiteVersionDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectSiteVersionDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the specified version.
Arguments
name
- Required. The name of the version to be deleted, in the format:sites/site-name/versions/versionID
pub fn sites_domains_update(
&self,
request: Domain,
name: &str
) -> ProjectSiteDomainUpdateCall<'a, C, A>
[src]
&self,
request: Domain,
name: &str
) -> ProjectSiteDomainUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates the specified domain mapping, creating the mapping as if it does not exist.
Arguments
request
- No description provided.name
- Required. The name of the domain association to update or create, if an association doesn't already exist.
pub fn sites_releases_create(
&self,
request: Release,
parent: &str
) -> ProjectSiteReleaseCreateCall<'a, C, A>
[src]
&self,
request: Release,
parent: &str
) -> ProjectSiteReleaseCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new release which makes the content of the specified version actively display on the appropriate URL(s).
Arguments
request
- No description provided.parent
- Required. The site that the release belongs to, in the format:sites/site-name
pub fn operations_get(&self, name: &str) -> ProjectOperationGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Arguments
name
- The name of the operation resource.
pub fn sites_channels_releases_create(
&self,
request: Release,
parent: &str
) -> ProjectSiteChannelReleaseCreateCall<'a, C, A>
[src]
&self,
request: Release,
parent: &str
) -> ProjectSiteChannelReleaseCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new release which makes the content of the specified version actively display on the appropriate URL(s).
Arguments
request
- No description provided.parent
- Required. The site that the release belongs to, in the format:sites/site-name
pub fn sites_releases_list(
&self,
parent: &str
) -> ProjectSiteReleaseListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectSiteReleaseListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the releases that have been created on the specified site.
Arguments
parent
- Required. The parent for which to list files, in the format:sites/site-name
pub fn sites_versions_files_list(
&self,
parent: &str
) -> ProjectSiteVersionFileListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectSiteVersionFileListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the remaining files to be uploaded for the specified version.
Arguments
parent
- Required. The parent to list files for, in the format:sites/site-name/versions/versionID
pub fn sites_versions_populate_files(
&self,
request: PopulateVersionFilesRequest,
parent: &str
) -> ProjectSiteVersionPopulateFileCall<'a, C, A>
[src]
&self,
request: PopulateVersionFilesRequest,
parent: &str
) -> ProjectSiteVersionPopulateFileCall<'a, C, A>
Create a builder to help you perform the following task:
Adds content files to a version. Each file must be under 2 GB.
Arguments
request
- No description provided.parent
- Required. The version to add files to, in the format:sites/site-name/versions/versionID
pub fn sites_domains_get(
&self,
name: &str
) -> ProjectSiteDomainGetCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectSiteDomainGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a domain mapping on the specified site.
Arguments
name
- Required. The name of the domain configuration to get.
pub fn sites_get_config(&self, name: &str) -> ProjectSiteGetConfigCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets the Hosting metadata for a specific site.
Arguments
name
- Required. The site for which to get the SiteConfig, in the format:sites/site-name/config
pub fn sites_domains_create(
&self,
request: Domain,
parent: &str
) -> ProjectSiteDomainCreateCall<'a, C, A>
[src]
&self,
request: Domain,
parent: &str
) -> ProjectSiteDomainCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a domain mapping on the specified site.
Arguments
request
- No description provided.parent
- Required. The parent to create the domain association for, in the format:sites/site-name
pub fn sites_versions_patch(
&self,
request: Version,
name: &str
) -> ProjectSiteVersionPatchCall<'a, C, A>
[src]
&self,
request: Version,
name: &str
) -> ProjectSiteVersionPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates the specified metadata for a version. Note that this method will
fail with FAILED_PRECONDITION
in the event of an invalid state
transition. The only valid transition for a version is currently from a
CREATED
status to a FINALIZED
status.
Use DeleteVersion
to set the status of a
version to DELETED
.
Arguments
request
- No description provided.name
- The unique identifier for a version, in the format:sites/site-name/versions/versionID
This name is provided in the response body when you call theCreateVersion
endpoint.
pub fn sites_domains_list(
&self,
parent: &str
) -> ProjectSiteDomainListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectSiteDomainListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the domains for the specified site.
Arguments
parent
- Required. The parent for which to list domains, in the format:sites/site-name
pub fn sites_versions_create(
&self,
request: Version,
parent: &str
) -> ProjectSiteVersionCreateCall<'a, C, A>
[src]
&self,
request: Version,
parent: &str
) -> ProjectSiteVersionCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new version for a site.
Arguments
request
- No description provided.parent
- Required. The parent to create the version for, in the format:sites/site-name
Trait Implementations
impl<'a, C, A> MethodsBuilder for ProjectMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for ProjectMethods<'a, C, A>
impl<'a, C, A> !Send for ProjectMethods<'a, C, A>
impl<'a, C, A> !Sync for ProjectMethods<'a, C, A>
impl<'a, C, A> Unpin for ProjectMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for ProjectMethods<'a, C, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,