pub struct ProjectMethods<'a> { /* private fields */ }
Expand description

A builder providing access to all methods supported on project resources. It is not used directly, but through the Datastream hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_datastream1 as datastream1;
 
use std::default::Default;
use datastream1::{Datastream, oauth2, hyper, hyper_rustls};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `locations_connection_profiles_create(...)`, `locations_connection_profiles_delete(...)`, `locations_connection_profiles_discover(...)`, `locations_connection_profiles_get(...)`, `locations_connection_profiles_list(...)`, `locations_connection_profiles_patch(...)`, `locations_fetch_static_ips(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_private_connections_create(...)`, `locations_private_connections_delete(...)`, `locations_private_connections_get(...)`, `locations_private_connections_list(...)`, `locations_private_connections_routes_create(...)`, `locations_private_connections_routes_delete(...)`, `locations_private_connections_routes_get(...)`, `locations_private_connections_routes_list(...)`, `locations_streams_create(...)`, `locations_streams_delete(...)`, `locations_streams_get(...)`, `locations_streams_list(...)`, `locations_streams_objects_get(...)`, `locations_streams_objects_list(...)`, `locations_streams_objects_lookup(...)`, `locations_streams_objects_start_backfill_job(...)`, `locations_streams_objects_stop_backfill_job(...)` and `locations_streams_patch(...)`
// to build up your call.
let rb = hub.projects();

Implementations

Create a builder to help you perform the following task:

Use this method to create a connection profile in a project and location.

Arguments
  • request - No description provided.
  • parent - Required. The parent that owns the collection of ConnectionProfiles.

Create a builder to help you perform the following task:

Use this method to delete a connection profile.

Arguments
  • name - Required. The name of the connection profile resource to delete.

Create a builder to help you perform the following task:

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that’s optionally supplied in the request.

Arguments
  • request - No description provided.
  • parent - Required. The parent resource of the connection profile type. Must be in the format projects/*/locations/*.

Create a builder to help you perform the following task:

Use this method to get details about a connection profile.

Arguments
  • name - Required. The name of the connection profile resource to get.

Create a builder to help you perform the following task:

Use this method to list connection profiles created in a project and location.

Arguments
  • parent - Required. The parent that owns the collection of connection profiles.

Create a builder to help you perform the following task:

Use this method to update the parameters of a connection profile.

Arguments
  • request - No description provided.
  • name - Output only. The resource’s name.

Create a builder to help you perform the following task:

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Arguments
  • request - No description provided.
  • name - The name of the operation resource to be cancelled.

Create a builder to help you perform the following task:

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED.

Arguments
  • name - The name of the operation resource to be deleted.

Create a builder to help you perform the following task:

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Arguments
  • name - The name of the operation resource.

Create a builder to help you perform the following task:

Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

Arguments
  • name - The name of the operation’s parent resource.

Create a builder to help you perform the following task:

Use this method to create a route for a private connectivity configuration in a project and location.

Arguments
  • request - No description provided.
  • parent - Required. The parent that owns the collection of Routes.

Create a builder to help you perform the following task:

Use this method to delete a route.

Arguments
  • name - Required. The name of the Route resource to delete.

Create a builder to help you perform the following task:

Use this method to get details about a route.

Arguments
  • name - Required. The name of the Route resource to get.

Create a builder to help you perform the following task:

Use this method to list routes created for a private connectivity configuration in a project and location.

Arguments
  • parent - Required. The parent that owns the collection of Routess.

Create a builder to help you perform the following task:

Use this method to create a private connectivity configuration.

Arguments
  • request - No description provided.
  • parent - Required. The parent that owns the collection of PrivateConnections.

Create a builder to help you perform the following task:

Use this method to delete a private connectivity configuration.

Arguments
  • name - Required. The name of the private connectivity configuration to delete.

Create a builder to help you perform the following task:

Use this method to get details about a private connectivity configuration.

Arguments
  • name - Required. The name of the private connectivity configuration to get.

Create a builder to help you perform the following task:

Use this method to list private connectivity configurations in a project and location.

Arguments
  • parent - Required. The parent that owns the collection of private connectivity configurations.

Create a builder to help you perform the following task:

Use this method to get details about a stream object.

Arguments
  • name - Required. The name of the stream object resource to get.

Create a builder to help you perform the following task:

Use this method to list the objects of a specific stream.

Arguments
  • parent - Required. The parent stream that owns the collection of objects.

Create a builder to help you perform the following task:

Use this method to look up a stream object by its source object identifier.

Arguments
  • request - No description provided.
  • parent - Required. The parent stream that owns the collection of objects.

Create a builder to help you perform the following task:

Use this method to start a backfill job for the specified stream object.

Arguments
  • request - No description provided.
  • object - Required. The name of the stream object resource to start a backfill job for.

Create a builder to help you perform the following task:

Use this method to stop a backfill job for the specified stream object.

Arguments
  • request - No description provided.
  • object - Required. The name of the stream object resource to stop the backfill job for.

Create a builder to help you perform the following task:

Use this method to create a stream.

Arguments
  • request - No description provided.
  • parent - Required. The parent that owns the collection of streams.

Create a builder to help you perform the following task:

Use this method to delete a stream.

Arguments
  • name - Required. The name of the stream resource to delete.

Create a builder to help you perform the following task:

Use this method to get details about a stream.

Arguments
  • name - Required. The name of the stream resource to get.

Create a builder to help you perform the following task:

Use this method to list streams in a project and location.

Arguments
  • parent - Required. The parent that owns the collection of streams.

Create a builder to help you perform the following task:

Use this method to update the configuration of a stream.

Arguments
  • request - No description provided.
  • name - Output only. The stream’s name.

Create a builder to help you perform the following task:

The FetchStaticIps API call exposes the static IP addresses used by Datastream.

Arguments
  • name - Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

Create a builder to help you perform the following task:

Gets information about a location.

Arguments
  • name - Resource name for the location.

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.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more