NAME
Google::Devicesandservices::Health::V4::DataCoordinates - Compiled Protocol Buffers messages for google/devicesandservices/health/v4/data_coordinates.proto
SYNOPSIS
use Google::Devicesandservices::Health::V4::DataCoordinates;
my $msg = Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime->new({
date => $date,
time => $time,
});
# Read or update a field
my $val = $msg->date();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devicesandservices/health/v4/data_coordinates.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime
Civil time representation similar to [google.type.DateTime][google.type.DateTime], but ensures that neither the timezone nor the UTC offset can be set to avoid confusion between civil and physical time queries.
Inherits from Protobuf::Message.
Accessors
$msg->date()/$msg->date($value)Type:
Message(Google::Type::Date::Date)Required. Calendar date.
$msg->time()/$msg->time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Optional. Time of day. Defaults to the start of the day, at midnight if omitted.
Google::Devicesandservices::Health::V4::DataCoordinates::CivilTimeInterval
Counterpart of [google.type.Interval][google.type.Interval], but using [CivilDateTime][google.devicesandservices.health.v4.CivilDateTime].
Inherits from Protobuf::Message.
Accessors
$msg->start()/$msg->start($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Required. The inclusive start of the range.
$msg->end()/$msg->end($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Required. The exclusive end of the range.
Google::Devicesandservices::Health::V4::DataCoordinates::ObservationTimeInterval
Represents a time interval of an observed data point.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. Observed interval start time.
$msg->start_utc_offset()/$msg->start_utc_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. The offset of the user's local time at the start of the observation relative to the Coordinated Universal Time (UTC).
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. Observed interval end time.
$msg->end_utc_offset()/$msg->end_utc_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. The offset of the user's local time at the end of the observation relative to the Coordinated Universal Time (UTC).
$msg->civil_start_time()/$msg->civil_start_time($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Output only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval
$msg->civil_end_time()/$msg->civil_end_time($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Output only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval
Google::Devicesandservices::Health::V4::DataCoordinates::SessionTimeInterval
Represents a time interval of session data point, which bundles multiple observed metrics together.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The start time of the observed session.
$msg->start_utc_offset()/$msg->start_utc_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. The offset of the user's local time at the start of the session relative to the Coordinated Universal Time (UTC).
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The end time of the observed session.
$msg->end_utc_offset()/$msg->end_utc_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. The offset of the user's local time at the end of the session relative to the Coordinated Universal Time (UTC).
$msg->civil_start_time()/$msg->civil_start_time($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Output only. Session start time in civil time in the timezone the subject is in at the start of the session.
$msg->civil_end_time()/$msg->civil_end_time($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Output only. Session end time in civil time in the timezone the subject is in at the end of the session.
Google::Devicesandservices::Health::V4::DataCoordinates::ObservationSampleTime
Represents a sample time of an observed data point.
Inherits from Protobuf::Message.
Accessors
$msg->physical_time()/$msg->physical_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The time of the observation.
$msg->utc_offset()/$msg->utc_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. The offset of the user's local time during the observation relative to the Coordinated Universal Time (UTC).
$msg->civil_time()/$msg->civil_time($value)Type:
Message(Google::Devicesandservices::Health::V4::DataCoordinates::CivilDateTime)Output only. The civil time in the timezone the subject is in at the time of the observation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devicesandservices::Health::V4::DataCoordinates::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.