Struct gapi_grpc::google::cloud::metastore::v1::Service[][src]

pub struct Service {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub labels: HashMap<String, String>,
    pub network: String,
    pub endpoint_uri: String,
    pub port: i32,
    pub state: i32,
    pub state_message: String,
    pub artifact_gcs_uri: String,
    pub tier: i32,
    pub maintenance_window: Option<MaintenanceWindow>,
    pub uid: String,
    pub metadata_management_activity: Option<MetadataManagementActivity>,
    pub release_channel: i32,
    pub metastore_config: Option<MetastoreConfig>,
}

A managed metastore service that serves metadata queries.

Fields

name: String

Immutable. The relative resource name of the metastore service, of the form:

projects/{project_number}/locations/{location_id}/services/{service_id}.

create_time: Option<Timestamp>

Output only. The time when the metastore service was created.

update_time: Option<Timestamp>

Output only. The time when the metastore service was last updated.

labels: HashMap<String, String>

User-defined labels for the metastore service.

network: String

Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:

projects/{project_number}/global/networks/{network_id}.

endpoint_uri: String

Output only. The URI of the endpoint used to access the metastore service.

port: i32

The TCP port at which the metastore service is reached. Default: 9083.

state: i32

Output only. The current state of the metastore service.

state_message: String

Output only. Additional information about the current state of the metastore service, if available.

artifact_gcs_uri: String

Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.

tier: i32

The tier of the service.

maintenance_window: Option<MaintenanceWindow>

The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time.

uid: String

Output only. The globally unique resource identifier of the metastore service.

metadata_management_activity: Option<MetadataManagementActivity>

Output only. The metadata management activities of the metastore service.

release_channel: i32

Immutable. The release channel of the service. If unspecified, defaults to STABLE.

metastore_config: Option<MetastoreConfig>

Configuration properties specific to the underlying metastore service technology (the software that serves metastore queries).

Implementations

impl Service[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn tier(&self) -> Tier[src]

Returns the enum value of tier, or the default if the field is set to an invalid enum value.

pub fn set_tier(&mut self, value: Tier)[src]

Sets tier to the provided enum value.

pub fn release_channel(&self) -> ReleaseChannel[src]

Returns the enum value of release_channel, or the default if the field is set to an invalid enum value.

pub fn set_release_channel(&mut self, value: ReleaseChannel)[src]

Sets release_channel to the provided enum value.

Trait Implementations

impl Clone for Service[src]

impl Debug for Service[src]

impl Default for Service[src]

impl Message for Service[src]

impl PartialEq<Service> for Service[src]

impl StructuralPartialEq for Service[src]

Auto Trait Implementations

impl RefUnwindSafe for Service

impl Send for Service

impl Sync for Service

impl Unpin for Service

impl UnwindSafe for Service

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]