Infrastructure Manager v1 API - Class ConfigClientImpl (1.2.0)

public sealed class ConfigClientImpl : ConfigClient

Reference documentation and code samples for the Infrastructure Manager v1 API class ConfigClientImpl.

Config client wrapper implementation, for convenient use.

Inheritance

object > ConfigClient > ConfigClientImpl

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Remarks

Infrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.

Constructors

ConfigClientImpl(ConfigClient, ConfigSettings, ILogger)

public ConfigClientImpl(Config.ConfigClient grpcClient, ConfigSettings settings, ILogger logger)

Constructs a client wrapper for the Config service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientConfigConfigClient

The underlying gRPC client.

settingsConfigSettings

The base ConfigSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateDeploymentOperationsClient

public override OperationsClient CreateDeploymentOperationsClient { get; }

The long-running operations client for CreateDeployment.

Property Value
TypeDescription
OperationsClient
Overrides

CreatePreviewOperationsClient

public override OperationsClient CreatePreviewOperationsClient { get; }

The long-running operations client for CreatePreview.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteDeploymentOperationsClient

public override OperationsClient DeleteDeploymentOperationsClient { get; }

The long-running operations client for DeleteDeployment.

Property Value
TypeDescription
OperationsClient
Overrides

DeletePreviewOperationsClient

public override OperationsClient DeletePreviewOperationsClient { get; }

The long-running operations client for DeletePreview.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Config.ConfigClient GrpcClient { get; }

The underlying gRPC Config client

Property Value
TypeDescription
ConfigConfigClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

LockDeploymentOperationsClient

public override OperationsClient LockDeploymentOperationsClient { get; }

The long-running operations client for LockDeployment.

Property Value
TypeDescription
OperationsClient
Overrides

UnlockDeploymentOperationsClient

public override OperationsClient UnlockDeploymentOperationsClient { get; }

The long-running operations client for UnlockDeployment.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateDeploymentOperationsClient

public override OperationsClient UpdateDeploymentOperationsClient { get; }

The long-running operations client for UpdateDeployment.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateDeployment(CreateDeploymentRequest, CallSettings)

public override Operation<Deployment, OperationMetadata> CreateDeployment(CreateDeploymentRequest request, CallSettings callSettings = null)

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeploymentOperationMetadata

The RPC response.

Overrides

CreateDeploymentAsync(CreateDeploymentRequest, CallSettings)

public override Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(CreateDeploymentRequest request, CallSettings callSettings = null)

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeploymentOperationMetadata

A Task containing the RPC response.

Overrides

CreatePreview(CreatePreviewRequest, CallSettings)

public override Operation<Preview, OperationMetadata> CreatePreview(CreatePreviewRequest request, CallSettings callSettings = null)

Creates a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestCreatePreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationPreviewOperationMetadata

The RPC response.

Overrides

CreatePreviewAsync(CreatePreviewRequest, CallSettings)

public override Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(CreatePreviewRequest request, CallSettings callSettings = null)

Creates a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestCreatePreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationPreviewOperationMetadata

A Task containing the RPC response.

Overrides

DeleteDeployment(DeleteDeploymentRequest, CallSettings)

public override Operation<Deployment, OperationMetadata> DeleteDeployment(DeleteDeploymentRequest request, CallSettings callSettings = null)

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeploymentOperationMetadata

The RPC response.

Overrides

DeleteDeploymentAsync(DeleteDeploymentRequest, CallSettings)

public override Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeleteDeploymentRequest request, CallSettings callSettings = null)

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeploymentOperationMetadata

A Task containing the RPC response.

Overrides

DeletePreview(DeletePreviewRequest, CallSettings)

public override Operation<Preview, OperationMetadata> DeletePreview(DeletePreviewRequest request, CallSettings callSettings = null)

Deletes a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestDeletePreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationPreviewOperationMetadata

The RPC response.

Overrides

DeletePreviewAsync(DeletePreviewRequest, CallSettings)

public override Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(DeletePreviewRequest request, CallSettings callSettings = null)

Deletes a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestDeletePreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationPreviewOperationMetadata

A Task containing the RPC response.

Overrides

DeleteStatefile(DeleteStatefileRequest, CallSettings)

public override void DeleteStatefile(DeleteStatefileRequest request, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteStatefileAsync(DeleteStatefileRequest, CallSettings)

public override Task DeleteStatefileAsync(DeleteStatefileRequest request, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

ExportDeploymentStatefile(ExportDeploymentStatefileRequest, CallSettings)

public override Statefile ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Statefile

The RPC response.

Overrides

ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, CallSettings)

public override Task<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskStatefile

A Task containing the RPC response.

Overrides

ExportLockInfo(ExportLockInfoRequest, CallSettings)

public override LockInfo ExportLockInfo(ExportLockInfoRequest request, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
LockInfo

The RPC response.

Overrides

ExportLockInfoAsync(ExportLockInfoRequest, CallSettings)

public override Task<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskLockInfo

A Task containing the RPC response.

Overrides

ExportPreviewResult(ExportPreviewResultRequest, CallSettings)

public override ExportPreviewResultResponse ExportPreviewResult(ExportPreviewResultRequest request, CallSettings callSettings = null)

Export [Preview][google.cloud.config.v1.Preview] results.

Parameters
NameDescription
requestExportPreviewResultRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ExportPreviewResultResponse

The RPC response.

Overrides

ExportPreviewResultAsync(ExportPreviewResultRequest, CallSettings)

public override Task<ExportPreviewResultResponse> ExportPreviewResultAsync(ExportPreviewResultRequest request, CallSettings callSettings = null)

Export [Preview][google.cloud.config.v1.Preview] results.

Parameters
NameDescription
requestExportPreviewResultRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskExportPreviewResultResponse

A Task containing the RPC response.

Overrides

ExportRevisionStatefile(ExportRevisionStatefileRequest, CallSettings)

public override Statefile ExportRevisionStatefile(ExportRevisionStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Statefile

The RPC response.

Overrides

ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, CallSettings)

public override Task<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskStatefile

A Task containing the RPC response.

Overrides

GetDeployment(GetDeploymentRequest, CallSettings)

public override Deployment GetDeployment(GetDeploymentRequest request, CallSettings callSettings = null)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Deployment

The RPC response.

Overrides

GetDeploymentAsync(GetDeploymentRequest, CallSettings)

public override Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallSettings callSettings = null)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDeployment

A Task containing the RPC response.

Overrides

GetPreview(GetPreviewRequest, CallSettings)

public override Preview GetPreview(GetPreviewRequest request, CallSettings callSettings = null)

Gets details about a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestGetPreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Preview

The RPC response.

Overrides

GetPreviewAsync(GetPreviewRequest, CallSettings)

public override Task<Preview> GetPreviewAsync(GetPreviewRequest request, CallSettings callSettings = null)

Gets details about a [Preview][google.cloud.config.v1.Preview].

Parameters
NameDescription
requestGetPreviewRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPreview

A Task containing the RPC response.

Overrides

GetResource(GetResourceRequest, CallSettings)

public override Resource GetResource(GetResourceRequest request, CallSettings callSettings = null)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Resource

The RPC response.

Overrides

GetResourceAsync(GetResourceRequest, CallSettings)

public override Task<Resource> GetResourceAsync(GetResourceRequest request, CallSettings callSettings = null)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskResource

A Task containing the RPC response.

Overrides

GetRevision(GetRevisionRequest, CallSettings)

public override Revision GetRevision(GetRevisionRequest request, CallSettings callSettings = null)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Revision

The RPC response.

Overrides

GetRevisionAsync(GetRevisionRequest, CallSettings)

public override Task<Revision> GetRevisionAsync(GetRevisionRequest request, CallSettings callSettings = null)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskRevision

A Task containing the RPC response.

Overrides

ImportStatefile(ImportStatefileRequest, CallSettings)

public override Statefile ImportStatefile(ImportStatefileRequest request, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Statefile

The RPC response.

Overrides

ImportStatefileAsync(ImportStatefileRequest, CallSettings)

public override Task<Statefile> ImportStatefileAsync(ImportStatefileRequest request, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskStatefile

A Task containing the RPC response.

Overrides

ListDeployments(ListDeploymentsRequest, CallSettings)

public override PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(ListDeploymentsRequest request, CallSettings callSettings = null)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDeploymentsResponseDeployment

A pageable sequence of Deployment resources.

Overrides

ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(ListDeploymentsRequest request, CallSettings callSettings = null)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDeploymentsResponseDeployment

A pageable asynchronous sequence of Deployment resources.

Overrides

ListPreviews(ListPreviewsRequest, CallSettings)

public override PagedEnumerable<ListPreviewsResponse, Preview> ListPreviews(ListPreviewsRequest request, CallSettings callSettings = null)

Lists [Preview][google.cloud.config.v1.Preview]s in a given project and location.

Parameters
NameDescription
requestListPreviewsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListPreviewsResponsePreview

A pageable sequence of Preview resources.

Overrides

ListPreviewsAsync(ListPreviewsRequest, CallSettings)

public override PagedAsyncEnumerable<ListPreviewsResponse, Preview> ListPreviewsAsync(ListPreviewsRequest request, CallSettings callSettings = null)

Lists [Preview][google.cloud.config.v1.Preview]s in a given project and location.

Parameters
NameDescription
requestListPreviewsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListPreviewsResponsePreview

A pageable asynchronous sequence of Preview resources.

Overrides

ListResources(ListResourcesRequest, CallSettings)

public override PagedEnumerable<ListResourcesResponse, Resource> ListResources(ListResourcesRequest request, CallSettings callSettings = null)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListResourcesResponseResource

A pageable sequence of Resource resources.

Overrides

ListResourcesAsync(ListResourcesRequest, CallSettings)

public override PagedAsyncEnumerable<ListResourcesResponse, Resource> ListResourcesAsync(ListResourcesRequest request, CallSettings callSettings = null)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListResourcesResponseResource

A pageable asynchronous sequence of Resource resources.

Overrides

ListRevisions(ListRevisionsRequest, CallSettings)

public override PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(ListRevisionsRequest request, CallSettings callSettings = null)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListRevisionsResponseRevision

A pageable sequence of Revision resources.

Overrides

ListRevisionsAsync(ListRevisionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(ListRevisionsRequest request, CallSettings callSettings = null)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListRevisionsResponseRevision

A pageable asynchronous sequence of Revision resources.

Overrides

LockDeployment(LockDeploymentRequest, CallSettings)

public override Operation<Deployment, OperationMetadata> LockDeployment(LockDeploymentRequest request, CallSettings callSettings = null)

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeploymentOperationMetadata

The RPC response.

Overrides

LockDeploymentAsync(LockDeploymentRequest, CallSettings)

public override Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(LockDeploymentRequest request, CallSettings callSettings = null)

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeploymentOperationMetadata

A Task containing the RPC response.

Overrides

UnlockDeployment(UnlockDeploymentRequest, CallSettings)

public override Operation<Deployment, OperationMetadata> UnlockDeployment(UnlockDeploymentRequest request, CallSettings callSettings = null)

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeploymentOperationMetadata

The RPC response.

Overrides

UnlockDeploymentAsync(UnlockDeploymentRequest, CallSettings)

public override Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(UnlockDeploymentRequest request, CallSettings callSettings = null)

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeploymentOperationMetadata

A Task containing the RPC response.

Overrides

UpdateDeployment(UpdateDeploymentRequest, CallSettings)

public override Operation<Deployment, OperationMetadata> UpdateDeployment(UpdateDeploymentRequest request, CallSettings callSettings = null)

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeploymentOperationMetadata

The RPC response.

Overrides

UpdateDeploymentAsync(UpdateDeploymentRequest, CallSettings)

public override Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(UpdateDeploymentRequest request, CallSettings callSettings = null)

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeploymentOperationMetadata

A Task containing the RPC response.

Overrides