Class ProjectsResource.LocationsResource.SchemaRegistriesResource.SubjectsResource
The "subjects" collection of methods.
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SchemaRegistriesResource.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.SubjectsResource.VersionsResource Versions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SchemaRegistriesResource.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.SubjectsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the subject to delete. Structured like:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SchemaRegistriesResource.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.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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SchemaRegistriesResource.SubjectsResource.ListRequest |
LookupVersion(LookupVersionRequest, string)
Lookup a schema under the specified subject.
Declaration
public virtual ProjectsResource.LocationsResource.SchemaRegistriesResource.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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SchemaRegistriesResource.SubjectsResource.LookupVersionRequest |