#[non_exhaustive]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: ClientLibraryOrganization,
pub library_settings: Vec<ClientLibrarySettings>,
pub proto_reference_documentation_uri: String,
pub rest_reference_documentation_uri: String,
/* private fields */
}
Expand description
This message configures the settings for publishing Google Cloud Client libraries generated from the service config.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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: ClientLibraryOrganization
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
pub fn new() -> Self
Sourcepub fn set_method_settings<T, V>(self, v: T) -> Self
pub fn set_method_settings<T, V>(self, v: T) -> Self
Sets the value of method_settings.
Sourcepub fn set_new_issue_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_new_issue_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of new_issue_uri.
Sourcepub fn set_documentation_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_documentation_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of documentation_uri.
Sourcepub fn set_api_short_name<T: Into<String>>(self, v: T) -> Self
pub fn set_api_short_name<T: Into<String>>(self, v: T) -> Self
Sets the value of api_short_name.
Sourcepub fn set_github_label<T: Into<String>>(self, v: T) -> Self
pub fn set_github_label<T: Into<String>>(self, v: T) -> Self
Sets the value of github_label.
Sourcepub fn set_codeowner_github_teams<T, V>(self, v: T) -> Self
pub fn set_codeowner_github_teams<T, V>(self, v: T) -> Self
Sets the value of codeowner_github_teams.
Sourcepub fn set_doc_tag_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_doc_tag_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of doc_tag_prefix.
Sourcepub fn set_organization<T: Into<ClientLibraryOrganization>>(self, v: T) -> Self
pub fn set_organization<T: Into<ClientLibraryOrganization>>(self, v: T) -> Self
Sets the value of organization.
Sourcepub fn set_library_settings<T, V>(self, v: T) -> Self
pub fn set_library_settings<T, V>(self, v: T) -> Self
Sets the value of library_settings.
Sourcepub fn set_proto_reference_documentation_uri<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_proto_reference_documentation_uri<T: Into<String>>( self, v: T, ) -> Self
Sets the value of proto_reference_documentation_uri.
Sourcepub fn set_rest_reference_documentation_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_rest_reference_documentation_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of rest_reference_documentation_uri.
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 more