Class ProjectsResource.ConfigurationsResource.UpsertRequest
Creates or updates a configuration.
Inheritance
ProjectsResource.ConfigurationsResource.UpsertRequest
Inherited Members
Namespace: Google.Apis.ThreatIntelligenceService.v1beta
Assembly: Google.Apis.ThreatIntelligenceService.v1beta.dll
Syntax
public class ProjectsResource.ConfigurationsResource.UpsertRequest : ThreatIntelligenceServiceBaseServiceRequest<UpsertConfigurationResponse>, IClientServiceRequest<UpsertConfigurationResponse>, IClientServiceRequest
Constructors
UpsertRequest(IClientService, Configuration, string)
Constructs a new Upsert request.
Declaration
public UpsertRequest(IClientService service, Configuration body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Configuration | body | |
| string | parent |
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
Parent
Required. Parent of the configuration.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
PublishTime
object representation of PublishTimeRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishTimeDateTimeOffset instead.")]
public virtual object PublishTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
PublishTimeDateTimeOffset
Declaration
public virtual DateTimeOffset? PublishTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
PublishTimeRaw
String representation of PublishTimeDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("publishTime", RequestParameterType.Query)]
public virtual string PublishTimeRaw { 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 Upsert parameter list.
Declaration
protected override void InitParameters()