Class ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.AttributeDefinitionsResource.CreateRequest
Creates a new Attribute definition in the parent consent store.
Inheritance
ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.AttributeDefinitionsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.ConsentStoresResource.AttributeDefinitionsResource.CreateRequest : CloudHealthcareBaseServiceRequest<AttributeDefinition>, IClientServiceRequest<AttributeDefinition>, IClientServiceRequest
Constructors
CreateRequest(IClientService, AttributeDefinition, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, AttributeDefinition body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AttributeDefinition | body | |
string | parent |
Properties
AttributeDefinitionId
Required. The ID of the Attribute definition to create. The string must match the
following regex: _a-zA-Z{0,255}
and must not be a reserved keyword within the Common
Expression Language as listed on
https://github.com/google/cel-spec/blob/master/doc/langdef.md.
Declaration
[RequestParameter("attributeDefinitionId", RequestParameterType.Query)]
public virtual string AttributeDefinitionId { get; set; }
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
Parent
Required. The name of the consent store that this Attribute definition belongs to.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()