Class ProjectsResource.SchemasResource.GetRequest
Gets a schema.
Inheritance
ProjectsResource.SchemasResource.GetRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SchemasResource.GetRequest : PubsubBaseServiceRequest<Schema>, IClientServiceRequest<Schema>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
The set of fields to return in the response. If not set, returns a Schema with all fields filled
out. Set to BASIC
to omit the definition
.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.SchemasResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.SchemasResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()