The request builder for [BigtableTableAdmin::create_schema_bundle][crate::client::BigtableTableAdmin::create_schema_bundle] calls.
Example
# use google_cloud_bigtable_admin_v2::builder;
use builder::bigtable_table_admin::CreateSchemaBundle;
# tokio_test::block_on(async {
use lro::Poller;
let builder = prepare_request_builder();
let response = builder.poller().until_done().await?;
# gax::Result::<()>::Ok(()) });
fn prepare_request_builder() -> CreateSchemaBundle {
# panic!();
// ... details omitted ...
}
Implementations
with_request
fn with_request<V: Into<crate::model::CreateSchemaBundleRequest>>(self, v: V) -> Self
Sets the full request, replacing any prior values.
with_options
fn with_options<V: Into<gax::options::RequestOptions>>(self, v: V) -> Self
Sets all the options, replacing any prior values.
send
async fn send(self) -> Result<longrunning::model::Operation>
Sends the request.
Long running operations
This starts, but does not poll, a longrunning operation. More information on [create_schema_bundle][crate::client::BigtableTableAdmin::create_schema_bundle].
poller
fn poller(self) -> impl lro::Poller<crate::model::SchemaBundle, crate::model::CreateSchemaBundleMetadata>
Creates a [Poller][lro::Poller] to work with create_schema_bundle.
set_parent
fn set_parent<T: Into<std::string::String>>(self, v: T) -> Self
Sets the value of [parent][crate::model::CreateSchemaBundleRequest::parent].
This is a required field for requests.
set_schema_bundle_id
fn set_schema_bundle_id<T: Into<std::string::String>>(self, v: T) -> Self
Sets the value of [schema_bundle_id][crate::model::CreateSchemaBundleRequest::schema_bundle_id].
This is a required field for requests.
set_schema_bundle
fn set_schema_bundle<T>(self, v: T) -> Self
where
T: std::convert::Into<crate::model::SchemaBundle>,
Sets the value of [schema_bundle][crate::model::CreateSchemaBundleRequest::schema_bundle].
This is a required field for requests.
set_or_clear_schema_bundle
fn set_or_clear_schema_bundle<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<crate::model::SchemaBundle>,
Sets or clears the value of [schema_bundle][crate::model::CreateSchemaBundleRequest::schema_bundle].
This is a required field for requests.