[][src]Struct gcp_client::google::cloud::functions::v1beta2::SourceRepository

pub struct SourceRepository {
    pub repository_url: String,
    pub source_path: String,
    pub deployed_revision: String,
    pub version: Option<Version>,
}

Describes the location of the function source in a remote repository.

Fields

repository_url: String

URL to the hosted repository where the function is defined. Only paths in https://source.developers.google.com domain are supported. The path should contain the name of the repository.

source_path: String

The path within the repository where the function is defined. The path should point to the directory where Cloud Functions files are located. Use "/" if the function is defined directly in the root directory of a repository.

deployed_revision: String

Output only. The id of the revision that was resolved at the moment of function creation or update. For example when a user deployed from a branch, it will be the revision id of the latest change on this branch at that time. If user deployed from revision then this value will be always equal to the revision specified by the user.

version: Option<Version>

The version of a function. Defaults to the latest version of the master branch.

Trait Implementations

impl Clone for SourceRepository[src]

impl Debug for SourceRepository[src]

impl Default for SourceRepository[src]

impl Message for SourceRepository[src]

impl PartialEq<SourceRepository> for SourceRepository[src]

impl StructuralPartialEq for SourceRepository[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]