Table of Contents

Class SippyGcsSource

Namespace
Cloudflare.NET.Accounts.Models
Assembly
Cloudflare.NET.dll

Represents the source bucket configuration for Sippy migration from Google Cloud Storage.

public record SippyGcsSource : IEquatable<SippyGcsSource>
Inheritance
SippyGcsSource
Implements
Inherited Members

Constructors

SippyGcsSource(SippyProvider, string, string?, string?)

Represents the source bucket configuration for Sippy migration from Google Cloud Storage.

public SippyGcsSource(SippyProvider Provider, string Bucket, string? ClientEmail = null, string? PrivateKey = null)

Parameters

Provider SippyProvider

The source provider (must be Gcs).

Bucket string

The name of the source GCS bucket.

ClientEmail string

The service account client email for GCS access.

PrivateKey string

The service account private key for GCS access.

Properties

Bucket

The name of the source GCS bucket.

[JsonPropertyName("bucket")]
public string Bucket { get; init; }

Property Value

string

ClientEmail

The service account client email for GCS access.

[JsonPropertyName("clientEmail")]
public string? ClientEmail { get; init; }

Property Value

string

PrivateKey

The service account private key for GCS access.

[JsonPropertyName("privateKey")]
public string? PrivateKey { get; init; }

Property Value

string

Provider

The source provider (must be Gcs).

[JsonPropertyName("provider")]
public SippyProvider Provider { get; init; }

Property Value

SippyProvider

Methods

Create(string, string, string)

Creates a new GCS source configuration.

public static SippyGcsSource Create(string bucket, string clientEmail, string privateKey)

Parameters

bucket string

The name of the source GCS bucket.

clientEmail string

The service account client email for GCS access.

privateKey string

The service account private key for GCS access.

Returns

SippyGcsSource

A new SippyGcsSource with provider set to GCS.