Google Cloud Data Loss Prevention v2 API - Class DateTime (4.9.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
Name Description
other DateTime

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
Type Description
Date

DayOfWeek

public DayOfWeek DayOfWeek { get; set; }

Day of week

Property Value
Type Description
DayOfWeek

Time

public TimeOfDay Time { get; set; }

Time of day

Property Value
Type Description
TimeOfDay

TimeZone

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

Time zone

Property Value
Type Description
DateTimeTypesTimeZone