Class SchemasResource.UpdateRequest
Updates a schema.
Inheritance
SchemasResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class SchemasResource.UpdateRequest : DirectoryBaseServiceRequest<Schema>, IClientServiceRequest<Schema>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Schema, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Schema body, string customerId, string schemaKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Schema | body | |
string | customerId | |
string | schemaKey |
Properties
CustomerId
Immutable ID of the Google Workspace account.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type | Description |
---|---|
string |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SchemaKey
Name or immutable ID of the schema.
Declaration
[RequestParameter("schemaKey", RequestParameterType.Path)]
public virtual string SchemaKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()