[−][src]Struct google_bigtableadmin2::ProjectMethods
A builder providing access to all methods supported on project resources.
It is not used directly, but through the BigtableAdmin
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_bigtableadmin2 as bigtableadmin2; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use bigtableadmin2::BigtableAdmin; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = BigtableAdmin::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `instances_app_profiles_create(...)`, `instances_app_profiles_delete(...)`, `instances_app_profiles_get(...)`, `instances_app_profiles_list(...)`, `instances_app_profiles_patch(...)`, `instances_clusters_create(...)`, `instances_clusters_delete(...)`, `instances_clusters_get(...)`, `instances_clusters_list(...)`, `instances_clusters_update(...)`, `instances_create(...)`, `instances_delete(...)`, `instances_get(...)`, `instances_get_iam_policy(...)`, `instances_list(...)`, `instances_partial_update_instance(...)`, `instances_set_iam_policy(...)`, `instances_tables_check_consistency(...)`, `instances_tables_create(...)`, `instances_tables_delete(...)`, `instances_tables_drop_row_range(...)`, `instances_tables_generate_consistency_token(...)`, `instances_tables_get(...)`, `instances_tables_get_iam_policy(...)`, `instances_tables_list(...)`, `instances_tables_modify_column_families(...)`, `instances_tables_set_iam_policy(...)`, `instances_tables_test_iam_permissions(...)`, `instances_test_iam_permissions(...)`, `instances_update(...)`, `locations_get(...)` and `locations_list(...)` // to build up your call. let rb = hub.projects();
Methods
impl<'a, C, A> ProjectMethods<'a, C, A>
[src]
pub fn instances_tables_generate_consistency_token(
&self,
request: GenerateConsistencyTokenRequest,
name: &str
) -> ProjectInstanceTableGenerateConsistencyTokenCall<'a, C, A>
[src]
&self,
request: GenerateConsistencyTokenRequest,
name: &str
) -> ProjectInstanceTableGenerateConsistencyTokenCall<'a, C, A>
Create a builder to help you perform the following task:
Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.
Arguments
request
- No description provided.name
- The unique name of the Table for which to create a consistency token. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets information about a location.
Arguments
name
- Resource name for the location.
pub fn instances_tables_drop_row_range(
&self,
request: DropRowRangeRequest,
name: &str
) -> ProjectInstanceTableDropRowRangeCall<'a, C, A>
[src]
&self,
request: DropRowRangeRequest,
name: &str
) -> ProjectInstanceTableDropRowRangeCall<'a, C, A>
Create a builder to help you perform the following task:
Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix.
Arguments
request
- No description provided.name
- The unique name of the table on which to drop a range of rows. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn instances_app_profiles_delete(
&self,
name: &str
) -> ProjectInstanceAppProfileDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceAppProfileDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes an app profile from an instance.
Arguments
name
- The unique name of the app profile to be deleted. Values are of the formprojects/<project>/instances/<instance>/appProfiles/<app_profile>
.
pub fn instances_create(
&self,
request: CreateInstanceRequest,
parent: &str
) -> ProjectInstanceCreateCall<'a, C, A>
[src]
&self,
request: CreateInstanceRequest,
parent: &str
) -> ProjectInstanceCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Create an instance within a project.
Arguments
request
- No description provided.parent
- The unique name of the project in which to create the new instance. Values are of the formprojects/<project>
.
pub fn instances_clusters_create(
&self,
request: Cluster,
parent: &str
) -> ProjectInstanceClusterCreateCall<'a, C, A>
[src]
&self,
request: Cluster,
parent: &str
) -> ProjectInstanceClusterCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a cluster within an instance.
Arguments
request
- No description provided.parent
- The unique name of the instance in which to create the new cluster. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_tables_get(
&self,
name: &str
) -> ProjectInstanceTableGetCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceTableGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets metadata information about the specified table.
Arguments
name
- The unique name of the requested table. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn instances_app_profiles_patch(
&self,
request: AppProfile,
name: &str
) -> ProjectInstanceAppProfilePatchCall<'a, C, A>
[src]
&self,
request: AppProfile,
name: &str
) -> ProjectInstanceAppProfilePatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates an app profile within an instance.
Arguments
request
- No description provided.name
- (OutputOnly
) The unique name of the app profile. Values are of the formprojects/<project>/instances/<instance>/appProfiles/_a-zA-Z0-9*
.
pub fn instances_app_profiles_list(
&self,
parent: &str
) -> ProjectInstanceAppProfileListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectInstanceAppProfileListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists information about app profiles in an instance.
Arguments
parent
- The unique name of the instance for which a list of app profiles is requested. Values are of the formprojects/<project>/instances/<instance>
. Use<instance> = '-'
to list AppProfiles for all Instances in a project, e.g.,projects/myproject/instances/-
.
pub fn instances_clusters_update(
&self,
request: Cluster,
name: &str
) -> ProjectInstanceClusterUpdateCall<'a, C, A>
[src]
&self,
request: Cluster,
name: &str
) -> ProjectInstanceClusterUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a cluster within an instance.
Arguments
request
- No description provided.name
- (OutputOnly
) The unique name of the cluster. Values are of the formprojects/<project>/instances/<instance>/clusters/a-z*
.
pub fn instances_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str
) -> ProjectInstanceSetIamPolicyCall<'a, C, A>
[src]
&self,
request: SetIamPolicyRequest,
resource: &str
) -> ProjectInstanceSetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Sets the access control policy on an instance resource. Replaces any existing policy.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
pub fn instances_tables_check_consistency(
&self,
request: CheckConsistencyRequest,
name: &str
) -> ProjectInstanceTableCheckConsistencyCall<'a, C, A>
[src]
&self,
request: CheckConsistencyRequest,
name: &str
) -> ProjectInstanceTableCheckConsistencyCall<'a, C, A>
Create a builder to help you perform the following task:
Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.
Arguments
request
- No description provided.name
- The unique name of the Table for which to check replication consistency. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists information about the supported locations for this service.
Arguments
name
- The resource that owns the locations collection, if applicable.
pub fn instances_get_iam_policy(
&self,
request: GetIamPolicyRequest,
resource: &str
) -> ProjectInstanceGetIamPolicyCall<'a, C, A>
[src]
&self,
request: GetIamPolicyRequest,
resource: &str
) -> ProjectInstanceGetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pub fn instances_tables_get_iam_policy(
&self,
request: GetIamPolicyRequest,
resource: &str
) -> ProjectInstanceTableGetIamPolicyCall<'a, C, A>
[src]
&self,
request: GetIamPolicyRequest,
resource: &str
) -> ProjectInstanceTableGetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Gets the access control policy for an instance resource. Returns an empty policy if an table exists but does not have a policy set.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pub fn instances_app_profiles_get(
&self,
name: &str
) -> ProjectInstanceAppProfileGetCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceAppProfileGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets information about an app profile.
Arguments
name
- The unique name of the requested app profile. Values are of the formprojects/<project>/instances/<instance>/appProfiles/<app_profile>
.
pub fn instances_delete(
&self,
name: &str
) -> ProjectInstanceDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Delete an instance from a project.
Arguments
name
- The unique name of the instance to be deleted. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_clusters_list(
&self,
parent: &str
) -> ProjectInstanceClusterListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectInstanceClusterListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists information about clusters in an instance.
Arguments
parent
- The unique name of the instance for which a list of clusters is requested. Values are of the formprojects/<project>/instances/<instance>
. Use<instance> = '-'
to list Clusters for all Instances in a project, e.g.,projects/myproject/instances/-
.
pub fn instances_tables_create(
&self,
request: CreateTableRequest,
parent: &str
) -> ProjectInstanceTableCreateCall<'a, C, A>
[src]
&self,
request: CreateTableRequest,
parent: &str
) -> ProjectInstanceTableCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
Arguments
request
- No description provided.parent
- The unique name of the instance in which to create the table. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_tables_list(
&self,
parent: &str
) -> ProjectInstanceTableListCall<'a, C, A>
[src]
&self,
parent: &str
) -> ProjectInstanceTableListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all tables served from a specified instance.
Arguments
parent
- The unique name of the instance for which tables should be listed. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_clusters_get(
&self,
name: &str
) -> ProjectInstanceClusterGetCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceClusterGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets information about a cluster.
Arguments
name
- The unique name of the requested cluster. Values are of the formprojects/<project>/instances/<instance>/clusters/<cluster>
.
pub fn instances_partial_update_instance(
&self,
request: Instance,
name: &str
) -> ProjectInstancePartialUpdateInstanceCall<'a, C, A>
[src]
&self,
request: Instance,
name: &str
) -> ProjectInstancePartialUpdateInstanceCall<'a, C, A>
Create a builder to help you perform the following task:
Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.
Arguments
request
- No description provided.name
- (OutputOnly
) The unique name of the instance. Values are of the formprojects/<project>/instances/a-z+[a-z0-9]
.
pub fn instances_get(&self, name: &str) -> ProjectInstanceGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets information about an instance.
Arguments
name
- The unique name of the requested instance. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_update(
&self,
request: Instance,
name: &str
) -> ProjectInstanceUpdateCall<'a, C, A>
[src]
&self,
request: Instance,
name: &str
) -> ProjectInstanceUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.
Arguments
request
- No description provided.name
- (OutputOnly
) The unique name of the instance. Values are of the formprojects/<project>/instances/a-z+[a-z0-9]
.
pub fn instances_list(&self, parent: &str) -> ProjectInstanceListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists information about instances in a project.
Arguments
parent
- The unique name of the project for which a list of instances is requested. Values are of the formprojects/<project>
.
pub fn instances_app_profiles_create(
&self,
request: AppProfile,
parent: &str
) -> ProjectInstanceAppProfileCreateCall<'a, C, A>
[src]
&self,
request: AppProfile,
parent: &str
) -> ProjectInstanceAppProfileCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates an app profile within an instance.
Arguments
request
- No description provided.parent
- The unique name of the instance in which to create the new app profile. Values are of the formprojects/<project>/instances/<instance>
.
pub fn instances_tables_modify_column_families(
&self,
request: ModifyColumnFamiliesRequest,
name: &str
) -> ProjectInstanceTableModifyColumnFamilyCall<'a, C, A>
[src]
&self,
request: ModifyColumnFamiliesRequest,
name: &str
) -> ProjectInstanceTableModifyColumnFamilyCall<'a, C, A>
Create a builder to help you perform the following task:
Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.
Arguments
request
- No description provided.name
- The unique name of the table whose families should be modified. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn instances_tables_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str
) -> ProjectInstanceTableSetIamPolicyCall<'a, C, A>
[src]
&self,
request: SetIamPolicyRequest,
resource: &str
) -> ProjectInstanceTableSetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Sets the access control policy on a table resource. Replaces any existing policy.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
pub fn instances_clusters_delete(
&self,
name: &str
) -> ProjectInstanceClusterDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceClusterDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a cluster from an instance.
Arguments
name
- The unique name of the cluster to be deleted. Values are of the formprojects/<project>/instances/<instance>/clusters/<cluster>
.
pub fn instances_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> ProjectInstanceTestIamPermissionCall<'a, C, A>
[src]
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> ProjectInstanceTestIamPermissionCall<'a, C, A>
Create a builder to help you perform the following task:
Returns permissions that the caller has on the specified instance resource.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
pub fn instances_tables_delete(
&self,
name: &str
) -> ProjectInstanceTableDeleteCall<'a, C, A>
[src]
&self,
name: &str
) -> ProjectInstanceTableDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Permanently deletes a specified table and all of its data.
Arguments
name
- The unique name of the table to be deleted. Values are of the formprojects/<project>/instances/<instance>/tables/<table>
.
pub fn instances_tables_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> ProjectInstanceTableTestIamPermissionCall<'a, C, A>
[src]
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> ProjectInstanceTableTestIamPermissionCall<'a, C, A>
Create a builder to help you perform the following task:
Returns permissions that the caller has on the specified table resource.
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
Trait Implementations
impl<'a, C, A> MethodsBuilder for ProjectMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for ProjectMethods<'a, C, A>
impl<'a, C, A> Unpin for ProjectMethods<'a, C, A>
impl<'a, C, A> !Sync for ProjectMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for ProjectMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for ProjectMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,