Struct gapi_grpc::google::cloud::translation::v3beta1::ListGlossariesRequest[][src]

pub struct ListGlossariesRequest {
    pub parent: String,
    pub page_size: i32,
    pub page_token: String,
    pub filter: String,
}

Request message for ListGlossaries.

Fields

parent: String

Required. The name of the project from which to list all of the glossaries.

page_size: i32

Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.

page_token: String

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to ListGlossaries method. The first page is returned if page_tokenis empty or missing.

filter: String

Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of “key=value”, where key must be “src” or “tgt”, and the value must be a valid language code. For multiple restrictions, concatenate them by “AND” (uppercase only), such as: “src=en-US AND tgt=zh-CN”. Notice that the exact match is used here, which means using ‘en-US’ and ‘en’ can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the “src” and “tgt” add restrictions on the source and target language code separately. For the equivalent term set glossaries, the “src” and/or “tgt” add restrictions on the term set. For example: “src=en-US AND tgt=zh-CN” will only pick the unidirectional glossaries which exactly match the source language code as “en-US” and the target language code “zh-CN”, but all equivalent term set glossaries which contain “en-US” and “zh-CN” in their language set will be picked. If missing, no filtering is performed.

Trait Implementations

impl Clone for ListGlossariesRequest[src]

impl Debug for ListGlossariesRequest[src]

impl Default for ListGlossariesRequest[src]

impl Message for ListGlossariesRequest[src]

impl PartialEq<ListGlossariesRequest> for ListGlossariesRequest[src]

impl StructuralPartialEq for ListGlossariesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListGlossariesRequest

impl Send for ListGlossariesRequest

impl Sync for ListGlossariesRequest

impl Unpin for ListGlossariesRequest

impl UnwindSafe for ListGlossariesRequest

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]