2016-06-09 20:22:21 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module MonitoringV3
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Aggregation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AlertPolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class BasicAuthentication
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BucketOptions
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CollectdPayload
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CollectdPayloadError
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CollectdValue
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CollectdValueError
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Condition
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ContentMatcher
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateCollectdTimeSeriesRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CreateCollectdTimeSeriesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateTimeSeriesRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Distribution
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Documentation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class DroppedLabels
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-24 00:36:39 +00:00
|
|
|
class Exemplar
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Explicit
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Exponential
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Field
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class GetNotificationChannelVerificationCodeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GetNotificationChannelVerificationCodeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Group
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class HttpCheck
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-16 00:35:16 +00:00
|
|
|
class InternalChecker
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class LabelDescriptor
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Linear
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class ListAlertPoliciesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListGroupMembersResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListGroupsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListMetricDescriptorsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListMonitoredResourceDescriptorsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class ListNotificationChannelDescriptorsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListNotificationChannelsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListTimeSeriesResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ListUptimeCheckConfigsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListUptimeCheckIpsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Metric
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MetricAbsence
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricDescriptor
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-06-29 00:37:36 +00:00
|
|
|
class MetricDescriptorMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MetricThreshold
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MonitoredResource
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MonitoredResourceDescriptor
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-12-16 00:35:40 +00:00
|
|
|
class MonitoredResourceMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MutationRecord
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class NotificationChannel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class NotificationChannelDescriptor
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Option
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Point
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Range
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ResourceGroup
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class SendNotificationChannelVerificationCodeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SourceContext
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class SpanContext
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class Status
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class TcpCheck
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TimeInterval
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TimeSeries
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Trigger
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Type
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TypedValue
|
2016-06-09 20:22:21 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class UptimeCheckConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UptimeCheckIp
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class VerifyNotificationChannelRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Aggregation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alignment_period, as: 'alignmentPeriod'
|
|
|
|
property :cross_series_reducer, as: 'crossSeriesReducer'
|
|
|
|
collection :group_by_fields, as: 'groupByFields'
|
|
|
|
property :per_series_aligner, as: 'perSeriesAligner'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AlertPolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :combiner, as: 'combiner'
|
|
|
|
collection :conditions, as: 'conditions', class: Google::Apis::MonitoringV3::Condition, decorator: Google::Apis::MonitoringV3::Condition::Representation
|
|
|
|
|
|
|
|
property :creation_record, as: 'creationRecord', class: Google::Apis::MonitoringV3::MutationRecord, decorator: Google::Apis::MonitoringV3::MutationRecord::Representation
|
|
|
|
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :documentation, as: 'documentation', class: Google::Apis::MonitoringV3::Documentation, decorator: Google::Apis::MonitoringV3::Documentation::Representation
|
|
|
|
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :mutation_record, as: 'mutationRecord', class: Google::Apis::MonitoringV3::MutationRecord, decorator: Google::Apis::MonitoringV3::MutationRecord::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :notification_channels, as: 'notificationChannels'
|
|
|
|
hash :user_labels, as: 'userLabels'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class BasicAuthentication
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :password, as: 'password'
|
|
|
|
property :username, as: 'username'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BucketOptions
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation
|
2016-06-09 20:22:21 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation
|
|
|
|
|
|
|
|
property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation
|
2016-06-09 20:22:21 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CollectdPayload
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :plugin, as: 'plugin'
|
|
|
|
property :plugin_instance, as: 'pluginInstance'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :type_instance, as: 'typeInstance'
|
|
|
|
collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CollectdPayloadError
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :error, as: 'error', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
|
|
|
|
|
|
|
|
property :index, as: 'index'
|
|
|
|
collection :value_errors, as: 'valueErrors', class: Google::Apis::MonitoringV3::CollectdValueError, decorator: Google::Apis::MonitoringV3::CollectdValueError::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CollectdValue
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :data_source_name, as: 'dataSourceName'
|
|
|
|
property :data_source_type, as: 'dataSourceType'
|
|
|
|
property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CollectdValueError
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :error, as: 'error', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
|
|
|
|
|
|
|
|
property :index, as: 'index'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Condition
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :condition_absent, as: 'conditionAbsent', class: Google::Apis::MonitoringV3::MetricAbsence, decorator: Google::Apis::MonitoringV3::MetricAbsence::Representation
|
|
|
|
|
|
|
|
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
|
|
|
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ContentMatcher
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content, as: 'content'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateCollectdTimeSeriesRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation
|
2016-06-09 20:22:21 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :collectd_version, as: 'collectdVersion'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class CreateCollectdTimeSeriesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :payload_errors, as: 'payloadErrors', class: Google::Apis::MonitoringV3::CollectdPayloadError, decorator: Google::Apis::MonitoringV3::CollectdPayloadError::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class CreateTimeSeriesRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
|
2016-06-09 20:22:21 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class Distribution
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
collection :bucket_counts, as: 'bucketCounts'
|
|
|
|
property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation
|
|
|
|
|
|
|
|
property :count, :numeric_string => true, as: 'count'
|
2018-05-24 00:36:39 +00:00
|
|
|
collection :exemplars, as: 'exemplars', class: Google::Apis::MonitoringV3::Exemplar, decorator: Google::Apis::MonitoringV3::Exemplar::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :mean, as: 'mean'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
|
|
|
|
|
|
|
|
property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Documentation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content, as: 'content'
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class DroppedLabels
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :label, as: 'label'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-05-24 00:36:39 +00:00
|
|
|
class Exemplar
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :attachments, as: 'attachments'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Explicit
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :bounds, as: 'bounds'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Exponential
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :growth_factor, as: 'growthFactor'
|
|
|
|
property :num_finite_buckets, as: 'numFiniteBuckets'
|
|
|
|
property :scale, as: 'scale'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Field
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cardinality, as: 'cardinality'
|
|
|
|
property :default_value, as: 'defaultValue'
|
|
|
|
property :json_name, as: 'jsonName'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :number, as: 'number'
|
|
|
|
property :oneof_index, as: 'oneofIndex'
|
|
|
|
collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :packed, as: 'packed'
|
|
|
|
property :type_url, as: 'typeUrl'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class GetNotificationChannelVerificationCodeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :expire_time, as: 'expireTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GetNotificationChannelVerificationCodeResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :expire_time, as: 'expireTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Group
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :is_cluster, as: 'isCluster'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :parent_name, as: 'parentName'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class HttpCheck
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :auth_info, as: 'authInfo', class: Google::Apis::MonitoringV3::BasicAuthentication, decorator: Google::Apis::MonitoringV3::BasicAuthentication::Representation
|
|
|
|
|
|
|
|
hash :headers, as: 'headers'
|
|
|
|
property :mask_headers, as: 'maskHeaders'
|
|
|
|
property :path, as: 'path'
|
|
|
|
property :port, as: 'port'
|
|
|
|
property :use_ssl, as: 'useSsl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-16 00:35:16 +00:00
|
|
|
class InternalChecker
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :gcp_zone, as: 'gcpZone'
|
2018-10-05 00:36:22 +00:00
|
|
|
property :name, as: 'name'
|
2017-11-16 00:35:16 +00:00
|
|
|
property :network, as: 'network'
|
2018-11-06 00:31:47 +00:00
|
|
|
property :peer_project_id, as: 'peerProjectId'
|
2018-12-07 00:36:43 +00:00
|
|
|
property :state, as: 'state'
|
2017-11-16 00:35:16 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class LabelDescriptor
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value_type, as: 'valueType'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Linear
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :num_finite_buckets, as: 'numFiniteBuckets'
|
|
|
|
property :offset, as: 'offset'
|
|
|
|
property :width, as: 'width'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class ListAlertPoliciesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :alert_policies, as: 'alertPolicies', class: Google::Apis::MonitoringV3::AlertPolicy, decorator: Google::Apis::MonitoringV3::AlertPolicy::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListGroupMembersResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :total_size, as: 'totalSize'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2017-02-03 19:29:28 +00:00
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListGroupsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListMetricDescriptorsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :metric_descriptors, as: 'metricDescriptors', class: Google::Apis::MonitoringV3::MetricDescriptor, decorator: Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListMonitoredResourceDescriptorsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::MonitoringV3::MonitoredResourceDescriptor, decorator: Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation
|
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class ListNotificationChannelDescriptorsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :channel_descriptors, as: 'channelDescriptors', class: Google::Apis::MonitoringV3::NotificationChannelDescriptor, decorator: Google::Apis::MonitoringV3::NotificationChannelDescriptor::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListNotificationChannelsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :notification_channels, as: 'notificationChannels', class: Google::Apis::MonitoringV3::NotificationChannel, decorator: Google::Apis::MonitoringV3::NotificationChannel::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListTimeSeriesResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-06-02 00:36:35 +00:00
|
|
|
collection :execution_errors, as: 'executionErrors', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ListUptimeCheckConfigsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2018-02-02 00:35:32 +00:00
|
|
|
property :total_size, as: 'totalSize'
|
2017-10-13 00:35:09 +00:00
|
|
|
collection :uptime_check_configs, as: 'uptimeCheckConfigs', class: Google::Apis::MonitoringV3::UptimeCheckConfig, decorator: Google::Apis::MonitoringV3::UptimeCheckConfig::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListUptimeCheckIpsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :uptime_check_ips, as: 'uptimeCheckIps', class: Google::Apis::MonitoringV3::UptimeCheckIp, decorator: Google::Apis::MonitoringV3::UptimeCheckIp::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class Metric
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :type, as: 'type'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MetricAbsence
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :aggregations, as: 'aggregations', class: Google::Apis::MonitoringV3::Aggregation, decorator: Google::Apis::MonitoringV3::Aggregation::Representation
|
|
|
|
|
|
|
|
property :duration, as: 'duration'
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :trigger, as: 'trigger', class: Google::Apis::MonitoringV3::Trigger, decorator: Google::Apis::MonitoringV3::Trigger::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricDescriptor
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2018-06-29 00:37:36 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MetricDescriptorMetadata, decorator: Google::Apis::MonitoringV3::MetricDescriptorMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metric_kind, as: 'metricKind'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value_type, as: 'valueType'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-06-29 00:37:36 +00:00
|
|
|
class MetricDescriptorMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ingest_delay, as: 'ingestDelay'
|
|
|
|
property :launch_stage, as: 'launchStage'
|
|
|
|
property :sample_period, as: 'samplePeriod'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MetricThreshold
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :aggregations, as: 'aggregations', class: Google::Apis::MonitoringV3::Aggregation, decorator: Google::Apis::MonitoringV3::Aggregation::Representation
|
|
|
|
|
|
|
|
property :comparison, as: 'comparison'
|
|
|
|
collection :denominator_aggregations, as: 'denominatorAggregations', class: Google::Apis::MonitoringV3::Aggregation, decorator: Google::Apis::MonitoringV3::Aggregation::Representation
|
|
|
|
|
|
|
|
property :denominator_filter, as: 'denominatorFilter'
|
|
|
|
property :duration, as: 'duration'
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :threshold_value, as: 'thresholdValue'
|
|
|
|
property :trigger, as: 'trigger', class: Google::Apis::MonitoringV3::Trigger, decorator: Google::Apis::MonitoringV3::Trigger::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MonitoredResource
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :type, as: 'type'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MonitoredResourceDescriptor
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
2016-06-09 20:22:21 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :launch_stage, as: 'launchStage'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-12-16 00:35:40 +00:00
|
|
|
class MonitoredResourceMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :system_labels, as: 'systemLabels'
|
|
|
|
hash :user_labels, as: 'userLabels'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class MutationRecord
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :mutate_time, as: 'mutateTime'
|
|
|
|
property :mutated_by, as: 'mutatedBy'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NotificationChannel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
|
|
|
hash :user_labels, as: 'userLabels'
|
|
|
|
property :verification_status, as: 'verificationStatus'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NotificationChannelDescriptor
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :supported_tiers, as: 'supportedTiers'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Option
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
hash :value, as: 'value'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Point
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Range
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :max, as: 'max'
|
|
|
|
property :min, as: 'min'
|
|
|
|
end
|
|
|
|
end
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class ResourceGroup
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :group_id, as: 'groupId'
|
|
|
|
property :resource_type, as: 'resourceType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class SendNotificationChannelVerificationCodeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SourceContext
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :file_name, as: 'fileName'
|
|
|
|
end
|
|
|
|
end
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class SpanContext
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :span_name, as: 'spanName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-02 00:36:51 +00:00
|
|
|
class Status
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
class TcpCheck
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :port, as: 'port'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TimeInterval
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :start_time, as: 'startTime'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TimeSeries
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-12-16 00:35:40 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MonitoredResourceMetadata, decorator: Google::Apis::MonitoringV3::MonitoredResourceMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metric_kind, as: 'metricKind'
|
|
|
|
collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation
|
|
|
|
|
|
|
|
property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
|
|
|
|
|
|
|
property :value_type, as: 'valueType'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-03-09 00:36:06 +00:00
|
|
|
class Trigger
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :count, as: 'count'
|
|
|
|
property :percent, as: 'percent'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Type
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :oneofs, as: 'oneofs'
|
|
|
|
collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation
|
|
|
|
|
|
|
|
property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation
|
|
|
|
|
|
|
|
property :syntax, as: 'syntax'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TypedValue
|
2016-06-09 20:22:21 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :bool_value, as: 'boolValue'
|
|
|
|
property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :double_value, as: 'doubleValue'
|
|
|
|
property :int64_value, :numeric_string => true, as: 'int64Value'
|
|
|
|
property :string_value, as: 'stringValue'
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
2017-10-13 00:35:09 +00:00
|
|
|
|
|
|
|
class UptimeCheckConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :content_matchers, as: 'contentMatchers', class: Google::Apis::MonitoringV3::ContentMatcher, decorator: Google::Apis::MonitoringV3::ContentMatcher::Representation
|
|
|
|
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :http_check, as: 'httpCheck', class: Google::Apis::MonitoringV3::HttpCheck, decorator: Google::Apis::MonitoringV3::HttpCheck::Representation
|
|
|
|
|
2017-11-16 00:35:16 +00:00
|
|
|
collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation
|
|
|
|
|
2017-10-13 00:35:09 +00:00
|
|
|
property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :period, as: 'period'
|
|
|
|
property :resource_group, as: 'resourceGroup', class: Google::Apis::MonitoringV3::ResourceGroup, decorator: Google::Apis::MonitoringV3::ResourceGroup::Representation
|
|
|
|
|
|
|
|
collection :selected_regions, as: 'selectedRegions'
|
|
|
|
property :tcp_check, as: 'tcpCheck', class: Google::Apis::MonitoringV3::TcpCheck, decorator: Google::Apis::MonitoringV3::TcpCheck::Representation
|
|
|
|
|
|
|
|
property :timeout, as: 'timeout'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UptimeCheckIp
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ip_address, as: 'ipAddress'
|
|
|
|
property :location, as: 'location'
|
|
|
|
property :region, as: 'region'
|
|
|
|
end
|
|
|
|
end
|
2018-03-09 00:36:06 +00:00
|
|
|
|
|
|
|
class VerifyNotificationChannelRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
end
|
|
|
|
end
|
2016-06-09 20:22:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|