Class ProjectsResource.LocationsResource.ServicesResource.SchemasResource
The "schemas" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseDataConnect.v1beta
Assembly: Google.Apis.FirebaseDataConnect.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.SchemasResource
Constructors
SchemasResource(IClientService)
Constructs a new resource.
Declaration
public SchemasResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Schema, string)
Creates a new Schema in a given project and location. Only creation of schemas/main
is
supported and calling create with any other schema ID will result in an error.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SchemasResource.CreateRequest Create(Schema body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Schema | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.CreateRequest |
Delete(string)
Deletes a single Schema. Because the schema and connectors must be compatible at all times, if this is called while any connectors are active, this will result in an error.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SchemasResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the schema to delete, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.DeleteRequest |
Get(string)
Gets details of a single Schema.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SchemasResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the schema to retrieve, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.GetRequest |
List(string)
Lists Schemas in a given project and location. Note that only schemas/main
is supported, so
this will always return at most one Schema.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SchemasResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Value of parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.ListRequest |
Patch(Schema, string)
Updates the parameters of a single Schema, and creates a new SchemaRevision with the updated Schema.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SchemasResource.PatchRequest Patch(Schema body, string name)
Parameters
Type | Name | Description |
---|---|---|
Schema | body | The body of the request. |
string | name | Identifier. The relative resource name of the schema, in the format:
Right now, the only supported schema is "main". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.PatchRequest |