Struct ProjectMethods

Source
pub struct ProjectMethods<'a, C>
where C: 'a,
{ /* private fields */ }
Expand description

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

§Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_connectors1 as connectors1;

use connectors1::{Connectors, FieldMask, hyper_rustls, hyper_util, yup_oauth2};

let secret: yup_oauth2::ApplicationSecret = Default::default();
let auth = yup_oauth2::InstalledFlowAuthenticator::builder(
    secret,
    yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();

let client = hyper_util::client::legacy::Client::builder(
    hyper_util::rt::TokioExecutor::new()
)
.build(
    hyper_rustls::HttpsConnectorBuilder::new()
        .with_native_roots()
        .unwrap()
        .https_or_http()
        .enable_http1()
        .build()
);
let mut hub = Connectors::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `locations_connections_connection_schema_metadata_get_action(...)`, `locations_connections_connection_schema_metadata_get_entity_type(...)`, `locations_connections_connection_schema_metadata_list_actions(...)`, `locations_connections_connection_schema_metadata_list_entity_types(...)`, `locations_connections_connection_schema_metadata_refresh(...)`, `locations_connections_create(...)`, `locations_connections_delete(...)`, `locations_connections_event_subscriptions_create(...)`, `locations_connections_event_subscriptions_delete(...)`, `locations_connections_event_subscriptions_get(...)`, `locations_connections_event_subscriptions_list(...)`, `locations_connections_event_subscriptions_patch(...)`, `locations_connections_event_subscriptions_retry(...)`, `locations_connections_get(...)`, `locations_connections_get_connection_schema_metadata(...)`, `locations_connections_get_iam_policy(...)`, `locations_connections_list(...)`, `locations_connections_listen_event(...)`, `locations_connections_patch(...)`, `locations_connections_repair_eventing(...)`, `locations_connections_runtime_action_schemas_list(...)`, `locations_connections_runtime_entity_schemas_list(...)`, `locations_connections_search(...)`, `locations_connections_set_iam_policy(...)`, `locations_connections_test_iam_permissions(...)`, `locations_custom_connectors_custom_connector_versions_delete(...)`, `locations_custom_connectors_custom_connector_versions_deprecate(...)`, `locations_custom_connectors_validate_custom_connector_spec(...)`, `locations_endpoint_attachments_create(...)`, `locations_endpoint_attachments_delete(...)`, `locations_endpoint_attachments_get(...)`, `locations_endpoint_attachments_list(...)`, `locations_endpoint_attachments_patch(...)`, `locations_get(...)`, `locations_get_regional_settings(...)`, `locations_get_runtime_config(...)`, `locations_global_custom_connectors_create(...)`, `locations_global_custom_connectors_custom_connector_versions_create(...)`, `locations_global_custom_connectors_custom_connector_versions_get(...)`, `locations_global_custom_connectors_custom_connector_versions_list(...)`, `locations_global_custom_connectors_delete(...)`, `locations_global_custom_connectors_get(...)`, `locations_global_custom_connectors_list(...)`, `locations_global_custom_connectors_patch(...)`, `locations_global_get_settings(...)`, `locations_global_managed_zones_create(...)`, `locations_global_managed_zones_delete(...)`, `locations_global_managed_zones_get(...)`, `locations_global_managed_zones_list(...)`, `locations_global_managed_zones_patch(...)`, `locations_global_update_settings(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_providers_connectors_get(...)`, `locations_providers_connectors_list(...)`, `locations_providers_connectors_versions_eventtypes_get(...)`, `locations_providers_connectors_versions_eventtypes_list(...)`, `locations_providers_connectors_versions_get(...)`, `locations_providers_connectors_versions_list(...)`, `locations_providers_get(...)`, `locations_providers_get_iam_policy(...)`, `locations_providers_list(...)`, `locations_providers_set_iam_policy(...)`, `locations_providers_test_iam_permissions(...)` and `locations_update_regional_settings(...)`
// to build up your call.
let rb = hub.projects();

Implementations§

Source§

impl<'a, C> ProjectMethods<'a, C>

Source

pub fn locations_connections_connection_schema_metadata_get_action( &self, name: &str, ) -> ProjectLocationConnectionConnectionSchemaMetadataGetActionCall<'a, C>

Create a builder to help you perform the following task:

Get action.

§Arguments
  • name - Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_connection_schema_metadata_get_entity_type( &self, name: &str, ) -> ProjectLocationConnectionConnectionSchemaMetadataGetEntityTypeCall<'a, C>

Create a builder to help you perform the following task:

Get entity type.

§Arguments
  • name - Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_connection_schema_metadata_list_actions( &self, name: &str, ) -> ProjectLocationConnectionConnectionSchemaMetadataListActionCall<'a, C>

Create a builder to help you perform the following task:

List actions.

§Arguments
  • name - Required. Resource name format. projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_connection_schema_metadata_list_entity_types( &self, name: &str, ) -> ProjectLocationConnectionConnectionSchemaMetadataListEntityTypeCall<'a, C>

Create a builder to help you perform the following task:

List entity types.

§Arguments
  • name - Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_connection_schema_metadata_refresh( &self, request: RefreshConnectionSchemaMetadataRequest, name: &str, ) -> ProjectLocationConnectionConnectionSchemaMetadataRefreshCall<'a, C>

Create a builder to help you perform the following task:

Refresh runtime schema of a connection.

§Arguments
  • request - No description provided.
  • name - Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_event_subscriptions_create( &self, request: EventSubscription, parent: &str, ) -> ProjectLocationConnectionEventSubscriptionCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new EventSubscription in a given project,location and connection.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the EventSubscription, of the form: projects/*/locations/*/connections/*
Source

pub fn locations_connections_event_subscriptions_delete( &self, name: &str, ) -> ProjectLocationConnectionEventSubscriptionDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single EventSubscription.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*/eventsubscriptions/*
Source

pub fn locations_connections_event_subscriptions_get( &self, name: &str, ) -> ProjectLocationConnectionEventSubscriptionGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single EventSubscription.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*/eventSubscriptions/*
Source

pub fn locations_connections_event_subscriptions_list( &self, parent: &str, ) -> ProjectLocationConnectionEventSubscriptionListCall<'a, C>

Create a builder to help you perform the following task:

List EventSubscriptions in a given project,location and connection.

§Arguments
  • parent - Required. Parent resource of the EventSubscription, of the form: projects/*/locations/*/connections/*
Source

pub fn locations_connections_event_subscriptions_patch( &self, request: EventSubscription, name: &str, ) -> ProjectLocationConnectionEventSubscriptionPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates the parameters of a single EventSubscription.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
Source

pub fn locations_connections_event_subscriptions_retry( &self, request: RetryEventSubscriptionRequest, name: &str, ) -> ProjectLocationConnectionEventSubscriptionRetryCall<'a, C>

Create a builder to help you perform the following task:

RetryEventSubscription retries the registration of Subscription.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*/eventSubscriptions/*
Source

pub fn locations_connections_runtime_action_schemas_list( &self, parent: &str, ) -> ProjectLocationConnectionRuntimeActionSchemaListCall<'a, C>

Create a builder to help you perform the following task:

List schema of a runtime actions filtered by action name.

§Arguments
  • parent - Required. Parent resource of RuntimeActionSchema Format: projects/{project}/locations/{location}/connections/{connection}
Source

pub fn locations_connections_runtime_entity_schemas_list( &self, parent: &str, ) -> ProjectLocationConnectionRuntimeEntitySchemaListCall<'a, C>

Create a builder to help you perform the following task:

List schema of a runtime entities filtered by entity name.

§Arguments
  • parent - Required. Parent resource of RuntimeEntitySchema Format: projects/{project}/locations/{location}/connections/{connection}
Source

pub fn locations_connections_create( &self, request: Connection, parent: &str, ) -> ProjectLocationConnectionCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new Connection in a given project and location.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the Connection, of the form: projects/*/locations/*
Source

pub fn locations_connections_delete( &self, name: &str, ) -> ProjectLocationConnectionDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single Connection.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*
Source

pub fn locations_connections_get( &self, name: &str, ) -> ProjectLocationConnectionGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single Connection.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*
Source

pub fn locations_connections_get_connection_schema_metadata( &self, name: &str, ) -> ProjectLocationConnectionGetConnectionSchemaMetadataCall<'a, C>

Create a builder to help you perform the following task:

Gets schema metadata of a connection. SchemaMetadata is a singleton resource for each connection.

§Arguments
  • name - Required. Connection name Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
Source

pub fn locations_connections_get_iam_policy( &self, resource: &str, ) -> ProjectLocationConnectionGetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

§Arguments
  • resource - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_connections_list( &self, parent: &str, ) -> ProjectLocationConnectionListCall<'a, C>

Create a builder to help you perform the following task:

Lists Connections in a given project and location.

§Arguments
  • parent - Required. Parent resource of the Connection, of the form: projects/*/locations/*
Source

pub fn locations_connections_listen_event( &self, request: ListenEventRequest, resource_path: &str, ) -> ProjectLocationConnectionListenEventCall<'a, C>

Create a builder to help you perform the following task:

ListenEvent listens to the event.

§Arguments
  • request - No description provided.
  • resourcePath - Required. Resource path for request.
Source

pub fn locations_connections_patch( &self, request: Connection, name: &str, ) -> ProjectLocationConnectionPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates the parameters of a single Connection.

§Arguments
  • request - No description provided.
  • name - Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}
Source

pub fn locations_connections_repair_eventing( &self, request: RepairEventingRequest, name: &str, ) -> ProjectLocationConnectionRepairEventingCall<'a, C>

Create a builder to help you perform the following task:

RepaiEventing tries to repair eventing related event subscriptions.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the form: projects/*/locations/*/connections/*

Create a builder to help you perform the following task:

Returns Top matching Connections for a given query.

§Arguments
  • name - Required. Parent resource of the Connection, of the form: projects/*/locations/*/connections
Source

pub fn locations_connections_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationConnectionSetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Source

pub fn locations_connections_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationConnectionTestIamPermissionCall<'a, C>

Create a builder to help you perform the following task:

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may “fail open” without warning.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_custom_connectors_custom_connector_versions_delete( &self, name: &str, ) -> ProjectLocationCustomConnectorCustomConnectorVersionDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single CustomConnectorVersion.

§Arguments
  • name - Required. Resource name of the form: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
Source

pub fn locations_custom_connectors_custom_connector_versions_deprecate( &self, request: DeprecateCustomConnectorVersionRequest, name: &str, ) -> ProjectLocationCustomConnectorCustomConnectorVersionDeprecateCall<'a, C>

Create a builder to help you perform the following task:

Deprecates a single CustomConnectorVersion.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the form: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
Source

pub fn locations_custom_connectors_validate_custom_connector_spec( &self, request: ValidateCustomConnectorSpecRequest, parent: &str, ) -> ProjectLocationCustomConnectorValidateCustomConnectorSpecCall<'a, C>

Create a builder to help you perform the following task:

Validates a Custom Connector Spec.

§Arguments
  • request - No description provided.
  • parent - Required. Location at which the custom connector is being created.
Source

pub fn locations_endpoint_attachments_create( &self, request: EndpointAttachment, parent: &str, ) -> ProjectLocationEndpointAttachmentCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new EndpointAttachment in a given project and location.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the EndpointAttachment, of the form: projects/*/locations/*
Source

pub fn locations_endpoint_attachments_delete( &self, name: &str, ) -> ProjectLocationEndpointAttachmentDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single EndpointAttachment.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/endpointAttachments/*
Source

pub fn locations_endpoint_attachments_get( &self, name: &str, ) -> ProjectLocationEndpointAttachmentGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single EndpointAttachment.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/endpointAttachments/*
Source

pub fn locations_endpoint_attachments_list( &self, parent: &str, ) -> ProjectLocationEndpointAttachmentListCall<'a, C>

Create a builder to help you perform the following task:

List EndpointAttachments in a given project

§Arguments
  • parent - Required. Parent resource od the EndpointAttachment, of the form: projects/*/locations/*
Source

pub fn locations_endpoint_attachments_patch( &self, request: EndpointAttachment, name: &str, ) -> ProjectLocationEndpointAttachmentPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates the parameters of a single EndpointAttachment.

§Arguments
  • request - No description provided.
  • name - Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
Source

pub fn locations_global_custom_connectors_custom_connector_versions_create( &self, request: CustomConnectorVersion, parent: &str, ) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new CustomConnectorVersion in a given project and location.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the CreateCustomConnector, of the form: projects/{project}/locations/{location}/customConnectors/{custom_connector}
Source

pub fn locations_global_custom_connectors_custom_connector_versions_get( &self, name: &str, ) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single CustomConnectorVersion.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/{location}/customConnectors/*/customConnectorVersions/*
Source

pub fn locations_global_custom_connectors_custom_connector_versions_list( &self, parent: &str, ) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionListCall<'a, C>

Create a builder to help you perform the following task:

List CustomConnectorVersions in a given project

§Arguments
  • parent - Required. Parent resource of the connectors, of the form: projects/*/locations/{location}/customConnectors/*/customConnectorVersions/*
Source

pub fn locations_global_custom_connectors_create( &self, request: CustomConnector, parent: &str, ) -> ProjectLocationGlobalCustomConnectorCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new CustomConnector in a given project and location.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the CreateCustomConnector, of the form: projects/{project}/locations/*
Source

pub fn locations_global_custom_connectors_delete( &self, name: &str, ) -> ProjectLocationGlobalCustomConnectorDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single CustomConnector.

§Arguments
  • name - Required. Resource name of the form: projects/{project}/locations/{location}/customConnectors/{connector}
Source

pub fn locations_global_custom_connectors_get( &self, name: &str, ) -> ProjectLocationGlobalCustomConnectorGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single CustomConnector.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/customConnectors/*
Source

pub fn locations_global_custom_connectors_list( &self, parent: &str, ) -> ProjectLocationGlobalCustomConnectorListCall<'a, C>

Create a builder to help you perform the following task:

List CustomConnectorVersions in a given project

§Arguments
  • parent - Required. Parent resource of the custom connectors, of the form: projects/*/locations/* Only global location is supported for CustomConnector resource.
Source

pub fn locations_global_custom_connectors_patch( &self, request: CustomConnector, name: &str, ) -> ProjectLocationGlobalCustomConnectorPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates the parameters of a CustomConnector.

§Arguments
  • request - No description provided.
  • name - Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
Source

pub fn locations_global_managed_zones_create( &self, request: ManagedZone, parent: &str, ) -> ProjectLocationGlobalManagedZoneCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a new ManagedZone in a given project and location.

§Arguments
  • request - No description provided.
  • parent - Required. Parent resource of the ManagedZone, of the form: projects/*/locations/global
Source

pub fn locations_global_managed_zones_delete( &self, name: &str, ) -> ProjectLocationGlobalManagedZoneDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a single ManagedZone.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/global/managedZones/*
Source

pub fn locations_global_managed_zones_get( &self, name: &str, ) -> ProjectLocationGlobalManagedZoneGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single ManagedZone.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/global/managedZones/*
Source

pub fn locations_global_managed_zones_list( &self, parent: &str, ) -> ProjectLocationGlobalManagedZoneListCall<'a, C>

Create a builder to help you perform the following task:

List ManagedZones in a given project

§Arguments
  • parent - Required. Parent resource of the Managed Zone, of the form: projects/*/locations/global
Source

pub fn locations_global_managed_zones_patch( &self, request: ManagedZone, name: &str, ) -> ProjectLocationGlobalManagedZonePatchCall<'a, C>

Create a builder to help you perform the following task:

Updates the parameters of a single ManagedZone.

§Arguments
  • request - No description provided.
  • name - Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
Source

pub fn locations_global_get_settings( &self, name: &str, ) -> ProjectLocationGlobalGetSettingCall<'a, C>

Create a builder to help you perform the following task:

GetGlobalSettings gets settings of a project. GlobalSettings is a singleton resource.

§Arguments
  • name - Required. The resource name of the Settings.
Source

pub fn locations_global_update_settings( &self, request: Settings, name: &str, ) -> ProjectLocationGlobalUpdateSettingCall<'a, C>

Create a builder to help you perform the following task:

Update the global settings of a project.

§Arguments
  • request - No description provided.
  • name - Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings}
Source

pub fn locations_operations_cancel( &self, request: CancelOperationRequest, name: &str, ) -> ProjectLocationOperationCancelCall<'a, C>

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.
Source

pub fn locations_operations_delete( &self, name: &str, ) -> ProjectLocationOperationDeleteCall<'a, C>

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.
Source

pub fn locations_operations_get( &self, name: &str, ) -> ProjectLocationOperationGetCall<'a, C>

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.
Source

pub fn locations_operations_list( &self, name: &str, ) -> ProjectLocationOperationListCall<'a, C>

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.

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

pub fn locations_providers_connectors_versions_eventtypes_get( &self, name: &str, ) -> ProjectLocationProviderConnectorVersionEventtypeGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single event type.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/providers/*/connectors/*/versions/*/eventtypes/* Only global location is supported for EventType resource.
Source

pub fn locations_providers_connectors_versions_eventtypes_list( &self, parent: &str, ) -> ProjectLocationProviderConnectorVersionEventtypeListCall<'a, C>

Create a builder to help you perform the following task:

Lists Event Types in a given Connector Version.

§Arguments
  • parent - Required. Parent resource of the connectors, of the form: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for EventType resource.
Source

pub fn locations_providers_connectors_versions_get( &self, name: &str, ) -> ProjectLocationProviderConnectorVersionGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single connector version.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
Source

pub fn locations_providers_connectors_versions_list( &self, parent: &str, ) -> ProjectLocationProviderConnectorVersionListCall<'a, C>

Create a builder to help you perform the following task:

Lists Connector Versions in a given project and location.

§Arguments
  • parent - Required. Parent resource of the connectors, of the form: projects/*/locations/*/providers/*/connectors/* Only global location is supported for ConnectorVersion resource.
Source

pub fn locations_providers_connectors_get( &self, name: &str, ) -> ProjectLocationProviderConnectorGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a single Connector.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/providers/*/connectors/* Only global location is supported for Connector resource.
Source

pub fn locations_providers_connectors_list( &self, parent: &str, ) -> ProjectLocationProviderConnectorListCall<'a, C>

Create a builder to help you perform the following task:

Lists Connectors in a given project and location.

§Arguments
  • parent - Required. Parent resource of the connectors, of the form: projects/*/locations/*/providers/* Only global location is supported for Connector resource.
Source

pub fn locations_providers_get( &self, name: &str, ) -> ProjectLocationProviderGetCall<'a, C>

Create a builder to help you perform the following task:

Gets details of a provider.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/providers/* Only global location is supported for Provider resource.
Source

pub fn locations_providers_get_iam_policy( &self, resource: &str, ) -> ProjectLocationProviderGetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

§Arguments
  • resource - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_providers_list( &self, parent: &str, ) -> ProjectLocationProviderListCall<'a, C>

Create a builder to help you perform the following task:

Lists Providers in a given project and location.

§Arguments
  • parent - Required. Parent resource of the API, of the form: projects/*/locations/* Only global location is supported for Provider resource.
Source

pub fn locations_providers_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationProviderSetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Source

pub fn locations_providers_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationProviderTestIamPermissionCall<'a, C>

Create a builder to help you perform the following task:

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may “fail open” without warning.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>

Create a builder to help you perform the following task:

Gets information about a location.

§Arguments
  • name - Resource name for the location.
Source

pub fn locations_get_regional_settings( &self, name: &str, ) -> ProjectLocationGetRegionalSettingCall<'a, C>

Create a builder to help you perform the following task:

GetRegionalSettings gets settings of a region. RegionalSettings is a singleton resource.

§Arguments
  • name - Required. The resource name of the Regional Settings.
Source

pub fn locations_get_runtime_config( &self, name: &str, ) -> ProjectLocationGetRuntimeConfigCall<'a, C>

Create a builder to help you perform the following task:

Gets the runtimeConfig of a location. RuntimeConfig is a singleton resource for each location.

§Arguments
  • name - Required. Resource name of the form: projects/*/locations/*/runtimeConfig
Source

pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>

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.
Source

pub fn locations_update_regional_settings( &self, request: RegionalSettings, name: &str, ) -> ProjectLocationUpdateRegionalSettingCall<'a, C>

Create a builder to help you perform the following task:

Update the settings of a region.

§Arguments
  • request - No description provided.
  • name - Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/regionalSettings

Trait Implementations§

Source§

impl<'a, C> MethodsBuilder for ProjectMethods<'a, C>

Auto Trait Implementations§

§

impl<'a, C> Freeze for ProjectMethods<'a, C>

§

impl<'a, C> !RefUnwindSafe for ProjectMethods<'a, C>

§

impl<'a, C> Send for ProjectMethods<'a, C>
where C: Sync,

§

impl<'a, C> Sync for ProjectMethods<'a, C>
where C: Sync,

§

impl<'a, C> Unpin for ProjectMethods<'a, C>

§

impl<'a, C> !UnwindSafe for ProjectMethods<'a, C>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> ErasedDestructor for T
where T: 'static,