Google Cloud Data Loss Prevention v2 API - Class DateTime (4.3.0)

public sealed class DateTime : IMessage<DateTime>, IEquatable<DateTime>, IDeepCloneable<DateTime>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DateTime.

Message for a date time object. e.g. 2018-01-01, 5th August.

Inheritance

Object > DateTime

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DateTime()

public DateTime()

DateTime(DateTime)

public DateTime(DateTime other)
Parameter
NameDescription
otherDateTime

Properties

Date

public Date Date { get; set; }

One or more of the following must be set. Must be a valid date or time value.

Property Value
TypeDescription
Date

DayOfWeek

public DayOfWeek DayOfWeek { get; set; }

Day of week

Property Value
TypeDescription
DayOfWeek

Time

public TimeOfDay Time { get; set; }

Time of day

Property Value
TypeDescription
TimeOfDay

TimeZone

public DateTime.Types.TimeZone TimeZone { get; set; }

Time zone

Property Value
TypeDescription
DateTime.Types.TimeZone