Class GceApi
Inheritance
System.Object
GceApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Infrastructure.Gce
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class GceApi
Constructors
GceApi(IBitmovinApiClientFactory)
Declaration
public GceApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of GceApi
Declaration
public static BitmovinApiBuilder<GceApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<GceApi> |
Regions
Declaration
public RegionsApi Regions { get; }
Property Value
Type | Description |
---|---|
RegionsApi |
Methods
CreateAsync(GceAccount)
Add GCE Account
Declaration
public Task<GceAccount> CreateAsync(GceAccount gceAccount)
Parameters
Type | Name | Description |
---|---|---|
GceAccount | gceAccount | The GCE Account to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccount> |
DeleteAsync(String)
Delete GCE Account
Declaration
public Task<GceAccount> DeleteAsync(string infrastructureId)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the GCE account (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccount> |
GetAsync(String)
GCE Account Details
Declaration
public Task<GceAccount> GetAsync(string infrastructureId)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the GCE account (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccount> |
ListAsync(Func<GceApi.ListQueryParams, GceApi.ListQueryParams>[])
List GCE Accounts
Declaration
public Task<PaginationResponse<GceAccount>> ListAsync(params Func<GceApi.ListQueryParams, GceApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.Func<GceApi.ListQueryParams, GceApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<GceAccount>> |