generated/google/apis/logging_v2/representations.rb in google-api-client-0.13.2 vs generated/google/apis/logging_v2/representations.rb in google-api-client-0.13.3

- old
+ new

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