Struct google_api_proto::google::api::Publishing
source · pub struct Publishing {
pub method_settings: Vec<MethodSettings>,
pub new_issue_uri: String,
pub documentation_uri: String,
pub api_short_name: String,
pub github_label: String,
pub codeowner_github_teams: Vec<String>,
pub doc_tag_prefix: String,
pub organization: i32,
pub library_settings: Vec<ClientLibrarySettings>,
pub proto_reference_documentation_uri: String,
pub rest_reference_documentation_uri: String,
}
Expand description
This message configures the settings for publishing Google Cloud Client libraries generated from the service config.
Fields§
§method_settings: Vec<MethodSettings>
A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.
new_issue_uri: String
Link to a public URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103
documentation_uri: String
Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
api_short_name: String
Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: “speech”.
github_label: String
GitHub label to apply to issues and pull requests opened for this API.
codeowner_github_teams: Vec<String>
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.
doc_tag_prefix: String
A prefix used in sample code when demarking regions to be included in documentation.
organization: i32
For whom the client library is being published.
library_settings: Vec<ClientLibrarySettings>
Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.
proto_reference_documentation_uri: String
Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc
rest_reference_documentation_uri: String
Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest
Implementations§
source§impl Publishing
impl Publishing
sourcepub fn organization(&self) -> ClientLibraryOrganization
pub fn organization(&self) -> ClientLibraryOrganization
Returns the enum value of organization
, or the default if the field is set to an invalid enum value.
sourcepub fn set_organization(&mut self, value: ClientLibraryOrganization)
pub fn set_organization(&mut self, value: ClientLibraryOrganization)
Sets organization
to the provided enum value.
Trait Implementations§
source§impl Clone for Publishing
impl Clone for Publishing
source§fn clone(&self) -> Publishing
fn clone(&self) -> Publishing
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Publishing
impl Debug for Publishing
source§impl Default for Publishing
impl Default for Publishing
source§impl Message for Publishing
impl Message for Publishing
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Publishing
impl PartialEq for Publishing
source§fn eq(&self, other: &Publishing) -> bool
fn eq(&self, other: &Publishing) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Publishing
Auto Trait Implementations§
impl Freeze for Publishing
impl RefUnwindSafe for Publishing
impl Send for Publishing
impl Sync for Publishing
impl Unpin for Publishing
impl UnwindSafe for Publishing
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request