Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource

The "subjects" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource

Constructors

SubjectsResource(IClientService)

Constructs a new resource.

Declaration
public SubjectsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Versions

Gets the Versions resource.

Declaration
public virtual ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.VersionsResource Versions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.VersionsResource

Methods

Delete(string)

Delete a subject. The response will be an array of versions of the deleted subject.

Declaration
public virtual ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the subject to delete. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Returns
Type Description
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.DeleteRequest

List(string)

List subjects in the schema registry. The response will be an array of subject names.

Declaration
public virtual ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent schema registry/context whose subjects are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.ListRequest

LookupVersion(LookupVersionRequest, string)

Lookup a schema under the specified subject.

Declaration
public virtual ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.LookupVersionRequest LookupVersion(LookupVersionRequest body, string parent)
Parameters
Type Name Description
LookupVersionRequest body

The body of the request.

string parent

Required. The subject to lookup the schema in. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Returns
Type Description
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.LookupVersionRequest
In this article
Back to top Generated by DocFX