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§fn default() -> Publishing
fn default() -> 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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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