2016-01-29 22:32:46 +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 LoggingV2beta1
|
|
|
|
|
2017-05-26 16:44:32 +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-05-26 16:44:32 +00:00
|
|
|
class MonitoredResourceDescriptor
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogEntrySourceLocation
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLogEntriesResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogLine
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLogMetricsResponse
|
2017-01-13 23:04:35 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class Empty
|
2017-01-13 23:04:35 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class LogEntry
|
2016-01-29 22:32:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class SourceLocation
|
2016-01-29 22:32:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLogEntriesRequest
|
2016-01-29 22:32:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class RequestLog
|
2016-01-29 22:32:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListMonitoredResourceDescriptorsResponse
|
2016-01-29 22:32:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class SourceReference
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-01-25 07:37:13 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class LogMetric
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class WriteLogEntriesResponse
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-01-20 23:27:22 +00:00
|
|
|
|
2017-01-25 07:37:13 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class LogEntryOperation
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class MonitoredResource
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class LogSink
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-10-04 00:27:26 +00:00
|
|
|
|
2017-01-25 07:37:13 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class WriteLogEntriesRequest
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-01-13 23:04:35 +00:00
|
|
|
|
2017-01-25 07:37:13 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
2016-01-29 22:32:46 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLogsResponse
|
2017-01-25 07:37:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class HttpRequest
|
2017-02-03 19:29:28 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListSinksResponse
|
2017-04-03 20:18:48 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LabelDescriptor
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :key, as: 'key'
|
|
|
|
property :description, as: 'description'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :value_type, as: 'valueType'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class MonitoredResourceDescriptor
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LogEntrySourceLocation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :file, as: 'file'
|
|
|
|
property :function, as: 'function'
|
|
|
|
property :line, :numeric_string => true, as: 'line'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListLogEntriesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogLine
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :log_message, as: 'logMessage'
|
|
|
|
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
|
|
|
|
|
|
|
|
property :time, as: 'time'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListLogMetricsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-04-14 18:15:27 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class Empty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
class LogEntry
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :trace, as: 'trace'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation
|
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
property :timestamp, as: 'timestamp'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :receive_timestamp, as: 'receiveTimestamp'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :log_name, as: 'logName'
|
|
|
|
property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
|
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
hash :json_payload, as: 'jsonPayload'
|
|
|
|
property :insert_id, as: 'insertId'
|
|
|
|
property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation
|
|
|
|
|
|
|
|
property :text_payload, as: 'textPayload'
|
|
|
|
hash :proto_payload, as: 'protoPayload'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class SourceLocation
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :file, as: 'file'
|
|
|
|
property :function_name, as: 'functionName'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :line, :numeric_string => true, as: 'line'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2017-01-20 23:27:22 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListLogEntriesRequest
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :page_size, as: 'pageSize'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :order_by, as: 'orderBy'
|
|
|
|
collection :resource_names, as: 'resourceNames'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :project_ids, as: 'projectIds'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :filter, as: 'filter'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class RequestLog
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :end_time, as: 'endTime'
|
2017-03-31 19:53:27 +00:00
|
|
|
property :user_agent, as: 'userAgent'
|
|
|
|
property :was_loading_request, as: 'wasLoadingRequest'
|
|
|
|
collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
property :response_size, :numeric_string => true, as: 'responseSize'
|
2017-03-31 19:53:27 +00:00
|
|
|
property :trace_id, as: 'traceId'
|
2017-04-03 20:18:48 +00:00
|
|
|
collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
|
|
|
|
|
|
|
|
property :task_queue_name, as: 'taskQueueName'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :referrer, as: 'referrer'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :request_id, as: 'requestId'
|
|
|
|
property :nickname, as: 'nickname'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :status, as: 'status'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :resource, as: 'resource'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :pending_time, as: 'pendingTime'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :task_name, as: 'taskName'
|
|
|
|
property :url_map_entry, as: 'urlMapEntry'
|
|
|
|
property :instance_index, as: 'instanceIndex'
|
|
|
|
property :host, as: 'host'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :finished, as: 'finished'
|
|
|
|
property :http_version, as: 'httpVersion'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
property :latency, as: 'latency'
|
|
|
|
property :ip, as: 'ip'
|
|
|
|
property :app_id, as: 'appId'
|
|
|
|
property :app_engine_release, as: 'appEngineRelease'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :cost, as: 'cost'
|
|
|
|
property :instance_id, as: 'instanceId'
|
|
|
|
property :mega_cycles, :numeric_string => true, as: 'megaCycles'
|
|
|
|
property :first, as: 'first'
|
|
|
|
property :version_id, as: 'versionId'
|
|
|
|
property :module_id, as: 'moduleId'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListMonitoredResourceDescriptorsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SourceReference
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-04 19:35:56 +00:00
|
|
|
property :revision_id, as: 'revisionId'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :repository, as: 'repository'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LogMetric
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :version, as: 'version'
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :description, as: 'description'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class WriteLogEntriesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
class LogEntryOperation
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :last, as: 'last'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :producer, as: 'producer'
|
|
|
|
property :first, as: 'first'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class MonitoredResource
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :type, as: 'type'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class LogSink
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :include_children, as: 'includeChildren'
|
|
|
|
property :destination, as: 'destination'
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
property :writer_identity, as: 'writerIdentity'
|
|
|
|
property :output_version_format, as: 'outputVersionFormat'
|
|
|
|
property :name, as: 'name'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WriteLogEntriesRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :log_name, as: 'logName'
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
|
|
|
|
|
|
|
property :partial_success, as: 'partialSuccess'
|
2017-06-02 06:11:31 +00:00
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-01-25 07:37:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-31 19:53:27 +00:00
|
|
|
class ListLogsResponse
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
collection :log_names, as: 'logNames'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-01-28 03:38:40 +00:00
|
|
|
class HttpRequest
|
2017-01-25 07:37:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :user_agent, as: 'userAgent'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :latency, as: 'latency'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
|
|
|
|
property :request_method, as: 'requestMethod'
|
|
|
|
property :response_size, :numeric_string => true, as: 'responseSize'
|
|
|
|
property :request_size, :numeric_string => true, as: 'requestSize'
|
2017-02-13 23:28:52 +00:00
|
|
|
property :request_url, as: 'requestUrl'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :server_ip, as: 'serverIp'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :remote_ip, as: 'remoteIp'
|
2017-03-31 19:53:27 +00:00
|
|
|
property :cache_lookup, as: 'cacheLookup'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :cache_hit, as: 'cacheHit'
|
|
|
|
property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :referer, as: 'referer'
|
2017-01-25 07:37:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListSinksResponse
|
2017-01-25 07:37:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2016-01-29 22:32:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|