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>
impl<'a, C> ProjectMethods<'a, C>
Sourcepub fn locations_connections_connection_schema_metadata_get_action(
&self,
name: &str,
) -> ProjectLocationConnectionConnectionSchemaMetadataGetActionCall<'a, C>
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
Sourcepub fn locations_connections_connection_schema_metadata_get_entity_type(
&self,
name: &str,
) -> ProjectLocationConnectionConnectionSchemaMetadataGetEntityTypeCall<'a, C>
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
Sourcepub fn locations_connections_connection_schema_metadata_list_actions(
&self,
name: &str,
) -> ProjectLocationConnectionConnectionSchemaMetadataListActionCall<'a, C>
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
Sourcepub fn locations_connections_connection_schema_metadata_list_entity_types(
&self,
name: &str,
) -> ProjectLocationConnectionConnectionSchemaMetadataListEntityTypeCall<'a, C>
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
Sourcepub fn locations_connections_connection_schema_metadata_refresh(
&self,
request: RefreshConnectionSchemaMetadataRequest,
name: &str,
) -> ProjectLocationConnectionConnectionSchemaMetadataRefreshCall<'a, C>
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
Sourcepub fn locations_connections_event_subscriptions_create(
&self,
request: EventSubscription,
parent: &str,
) -> ProjectLocationConnectionEventSubscriptionCreateCall<'a, C>
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/*
Sourcepub fn locations_connections_event_subscriptions_delete(
&self,
name: &str,
) -> ProjectLocationConnectionEventSubscriptionDeleteCall<'a, C>
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/*
Sourcepub fn locations_connections_event_subscriptions_get(
&self,
name: &str,
) -> ProjectLocationConnectionEventSubscriptionGetCall<'a, C>
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/*
Sourcepub fn locations_connections_event_subscriptions_list(
&self,
parent: &str,
) -> ProjectLocationConnectionEventSubscriptionListCall<'a, C>
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/*
Sourcepub fn locations_connections_event_subscriptions_patch(
&self,
request: EventSubscription,
name: &str,
) -> ProjectLocationConnectionEventSubscriptionPatchCall<'a, C>
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}
Sourcepub fn locations_connections_event_subscriptions_retry(
&self,
request: RetryEventSubscriptionRequest,
name: &str,
) -> ProjectLocationConnectionEventSubscriptionRetryCall<'a, C>
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/*
Sourcepub fn locations_connections_runtime_action_schemas_list(
&self,
parent: &str,
) -> ProjectLocationConnectionRuntimeActionSchemaListCall<'a, C>
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}
Sourcepub fn locations_connections_runtime_entity_schemas_list(
&self,
parent: &str,
) -> ProjectLocationConnectionRuntimeEntitySchemaListCall<'a, C>
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}
Sourcepub fn locations_connections_create(
&self,
request: Connection,
parent: &str,
) -> ProjectLocationConnectionCreateCall<'a, C>
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/*
Sourcepub fn locations_connections_delete(
&self,
name: &str,
) -> ProjectLocationConnectionDeleteCall<'a, C>
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/*
Sourcepub fn locations_connections_get(
&self,
name: &str,
) -> ProjectLocationConnectionGetCall<'a, C>
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/*
Sourcepub fn locations_connections_get_connection_schema_metadata(
&self,
name: &str,
) -> ProjectLocationConnectionGetConnectionSchemaMetadataCall<'a, C>
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
Sourcepub fn locations_connections_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationConnectionGetIamPolicyCall<'a, C>
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.
Sourcepub fn locations_connections_list(
&self,
parent: &str,
) -> ProjectLocationConnectionListCall<'a, C>
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/*
Sourcepub fn locations_connections_listen_event(
&self,
request: ListenEventRequest,
resource_path: &str,
) -> ProjectLocationConnectionListenEventCall<'a, C>
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.
Sourcepub fn locations_connections_patch(
&self,
request: Connection,
name: &str,
) -> ProjectLocationConnectionPatchCall<'a, C>
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}
Sourcepub fn locations_connections_repair_eventing(
&self,
request: RepairEventingRequest,
name: &str,
) -> ProjectLocationConnectionRepairEventingCall<'a, C>
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/*
Sourcepub fn locations_connections_search(
&self,
name: &str,
) -> ProjectLocationConnectionSearchCall<'a, C>
pub fn locations_connections_search( &self, name: &str, ) -> ProjectLocationConnectionSearchCall<'a, C>
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
Sourcepub fn locations_connections_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationConnectionSetIamPolicyCall<'a, C>
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.
Sourcepub fn locations_connections_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationConnectionTestIamPermissionCall<'a, C>
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.
Sourcepub fn locations_custom_connectors_custom_connector_versions_delete(
&self,
name: &str,
) -> ProjectLocationCustomConnectorCustomConnectorVersionDeleteCall<'a, C>
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}
Sourcepub fn locations_custom_connectors_custom_connector_versions_deprecate(
&self,
request: DeprecateCustomConnectorVersionRequest,
name: &str,
) -> ProjectLocationCustomConnectorCustomConnectorVersionDeprecateCall<'a, C>
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}
Sourcepub fn locations_custom_connectors_validate_custom_connector_spec(
&self,
request: ValidateCustomConnectorSpecRequest,
parent: &str,
) -> ProjectLocationCustomConnectorValidateCustomConnectorSpecCall<'a, C>
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.
Sourcepub fn locations_endpoint_attachments_create(
&self,
request: EndpointAttachment,
parent: &str,
) -> ProjectLocationEndpointAttachmentCreateCall<'a, C>
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/*
Sourcepub fn locations_endpoint_attachments_delete(
&self,
name: &str,
) -> ProjectLocationEndpointAttachmentDeleteCall<'a, C>
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/*
Sourcepub fn locations_endpoint_attachments_get(
&self,
name: &str,
) -> ProjectLocationEndpointAttachmentGetCall<'a, C>
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/*
Sourcepub fn locations_endpoint_attachments_list(
&self,
parent: &str,
) -> ProjectLocationEndpointAttachmentListCall<'a, C>
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/*
Sourcepub fn locations_endpoint_attachments_patch(
&self,
request: EndpointAttachment,
name: &str,
) -> ProjectLocationEndpointAttachmentPatchCall<'a, C>
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}
Sourcepub fn locations_global_custom_connectors_custom_connector_versions_create(
&self,
request: CustomConnectorVersion,
parent: &str,
) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionCreateCall<'a, C>
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}
Sourcepub fn locations_global_custom_connectors_custom_connector_versions_get(
&self,
name: &str,
) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionGetCall<'a, C>
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/*
Sourcepub fn locations_global_custom_connectors_custom_connector_versions_list(
&self,
parent: &str,
) -> ProjectLocationGlobalCustomConnectorCustomConnectorVersionListCall<'a, C>
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/*
Sourcepub fn locations_global_custom_connectors_create(
&self,
request: CustomConnector,
parent: &str,
) -> ProjectLocationGlobalCustomConnectorCreateCall<'a, C>
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/*
Sourcepub fn locations_global_custom_connectors_delete(
&self,
name: &str,
) -> ProjectLocationGlobalCustomConnectorDeleteCall<'a, C>
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}
Sourcepub fn locations_global_custom_connectors_get(
&self,
name: &str,
) -> ProjectLocationGlobalCustomConnectorGetCall<'a, C>
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/*
Sourcepub fn locations_global_custom_connectors_list(
&self,
parent: &str,
) -> ProjectLocationGlobalCustomConnectorListCall<'a, C>
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.
Sourcepub fn locations_global_custom_connectors_patch(
&self,
request: CustomConnector,
name: &str,
) -> ProjectLocationGlobalCustomConnectorPatchCall<'a, C>
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}
Sourcepub fn locations_global_managed_zones_create(
&self,
request: ManagedZone,
parent: &str,
) -> ProjectLocationGlobalManagedZoneCreateCall<'a, C>
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
Sourcepub fn locations_global_managed_zones_delete(
&self,
name: &str,
) -> ProjectLocationGlobalManagedZoneDeleteCall<'a, C>
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/*
Sourcepub fn locations_global_managed_zones_get(
&self,
name: &str,
) -> ProjectLocationGlobalManagedZoneGetCall<'a, C>
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/*
Sourcepub fn locations_global_managed_zones_list(
&self,
parent: &str,
) -> ProjectLocationGlobalManagedZoneListCall<'a, C>
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
Sourcepub fn locations_global_managed_zones_patch(
&self,
request: ManagedZone,
name: &str,
) -> ProjectLocationGlobalManagedZonePatchCall<'a, C>
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}
Sourcepub fn locations_global_get_settings(
&self,
name: &str,
) -> ProjectLocationGlobalGetSettingCall<'a, C>
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.
Sourcepub fn locations_global_update_settings(
&self,
request: Settings,
name: &str,
) -> ProjectLocationGlobalUpdateSettingCall<'a, C>
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}
Sourcepub fn locations_operations_cancel(
&self,
request: CancelOperationRequest,
name: &str,
) -> ProjectLocationOperationCancelCall<'a, C>
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.
Sourcepub fn locations_operations_delete(
&self,
name: &str,
) -> ProjectLocationOperationDeleteCall<'a, C>
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.
Sourcepub fn locations_operations_get(
&self,
name: &str,
) -> ProjectLocationOperationGetCall<'a, C>
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.
Sourcepub fn locations_operations_list(
&self,
name: &str,
) -> ProjectLocationOperationListCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_versions_eventtypes_get(
&self,
name: &str,
) -> ProjectLocationProviderConnectorVersionEventtypeGetCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_versions_eventtypes_list(
&self,
parent: &str,
) -> ProjectLocationProviderConnectorVersionEventtypeListCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_versions_get(
&self,
name: &str,
) -> ProjectLocationProviderConnectorVersionGetCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_versions_list(
&self,
parent: &str,
) -> ProjectLocationProviderConnectorVersionListCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_get(
&self,
name: &str,
) -> ProjectLocationProviderConnectorGetCall<'a, C>
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.
Sourcepub fn locations_providers_connectors_list(
&self,
parent: &str,
) -> ProjectLocationProviderConnectorListCall<'a, C>
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.
Sourcepub fn locations_providers_get(
&self,
name: &str,
) -> ProjectLocationProviderGetCall<'a, C>
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.
Sourcepub fn locations_providers_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationProviderGetIamPolicyCall<'a, C>
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.
Sourcepub fn locations_providers_list(
&self,
parent: &str,
) -> ProjectLocationProviderListCall<'a, C>
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.
Sourcepub fn locations_providers_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationProviderSetIamPolicyCall<'a, C>
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.
Sourcepub fn locations_providers_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationProviderTestIamPermissionCall<'a, C>
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.
Sourcepub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>
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.
Sourcepub fn locations_get_regional_settings(
&self,
name: &str,
) -> ProjectLocationGetRegionalSettingCall<'a, C>
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.
Sourcepub fn locations_get_runtime_config(
&self,
name: &str,
) -> ProjectLocationGetRuntimeConfigCall<'a, C>
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
Sourcepub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>
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.
Sourcepub fn locations_update_regional_settings(
&self,
request: RegionalSettings,
name: &str,
) -> ProjectLocationUpdateRegionalSettingCall<'a, C>
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§
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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