ConfigServiceV2

Trait ConfigServiceV2 

Source
pub trait ConfigServiceV2:
    Debug
    + Send
    + Sync {
Show 37 methods // Provided methods fn list_buckets( &self, _req: ListBucketsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListBucketsResponse>>> + Send { ... } fn get_bucket( &self, _req: GetBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... } fn create_bucket_async( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_bucket_async( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn create_bucket( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... } fn update_bucket( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... } fn delete_bucket( &self, _req: DeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn undelete_bucket( &self, _req: UndeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn list_views( &self, _req: ListViewsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListViewsResponse>>> + Send { ... } fn get_view( &self, _req: GetViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send { ... } fn create_view( &self, _req: CreateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send { ... } fn update_view( &self, _req: UpdateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send { ... } fn delete_view( &self, _req: DeleteViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn list_sinks( &self, _req: ListSinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListSinksResponse>>> + Send { ... } fn get_sink( &self, _req: GetSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... } fn create_sink( &self, _req: CreateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... } fn update_sink( &self, _req: UpdateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... } fn delete_sink( &self, _req: DeleteSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn create_link( &self, _req: CreateLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_link( &self, _req: DeleteLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_links( &self, _req: ListLinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLinksResponse>>> + Send { ... } fn get_link( &self, _req: GetLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Link>>> + Send { ... } fn list_exclusions( &self, _req: ListExclusionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListExclusionsResponse>>> + Send { ... } fn get_exclusion( &self, _req: GetExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... } fn create_exclusion( &self, _req: CreateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... } fn update_exclusion( &self, _req: UpdateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... } fn delete_exclusion( &self, _req: DeleteExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn get_cmek_settings( &self, _req: GetCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send { ... } fn update_cmek_settings( &self, _req: UpdateCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send { ... } fn get_settings( &self, _req: GetSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send { ... } fn update_settings( &self, _req: UpdateSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send { ... } fn copy_log_entries( &self, _req: CopyLogEntriesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send { ... } fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy> { ... } fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy> { ... }
}
Expand description

Defines the trait used to implement super::client::ConfigServiceV2.

Application developers may need to implement this trait to mock client::ConfigServiceV2. In other use-cases, application developers only use client::ConfigServiceV2 and need not be concerned with this trait or its implementations.

Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.

Provided Methods§

Source

fn list_buckets( &self, _req: ListBucketsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListBucketsResponse>>> + Send

Source

fn get_bucket( &self, _req: GetBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send

Source

fn create_bucket_async( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_bucket_async( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn create_bucket( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send

Source

fn update_bucket( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send

Source

fn delete_bucket( &self, _req: DeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn undelete_bucket( &self, _req: UndeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn list_views( &self, _req: ListViewsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListViewsResponse>>> + Send

Source

fn get_view( &self, _req: GetViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send

Source

fn create_view( &self, _req: CreateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send

Source

fn update_view( &self, _req: UpdateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send

Source

fn delete_view( &self, _req: DeleteViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn list_sinks( &self, _req: ListSinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListSinksResponse>>> + Send

Source

fn get_sink( &self, _req: GetSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send

Source

fn create_sink( &self, _req: CreateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send

Source

fn update_sink( &self, _req: UpdateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send

Source

fn delete_sink( &self, _req: DeleteSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn list_exclusions( &self, _req: ListExclusionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListExclusionsResponse>>> + Send

Source

fn get_exclusion( &self, _req: GetExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send

Source

fn create_exclusion( &self, _req: CreateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send

Source

fn update_exclusion( &self, _req: UpdateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send

Source

fn delete_exclusion( &self, _req: DeleteExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn get_cmek_settings( &self, _req: GetCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send

Source

fn update_cmek_settings( &self, _req: UpdateCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send

Source

fn get_settings( &self, _req: GetSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send

Source

fn update_settings( &self, _req: UpdateSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send

Source

fn copy_log_entries( &self, _req: CopyLogEntriesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send

Source

fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy>

Returns the polling error policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Source

fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy>

Returns the polling backoff policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§