generated/google/apis/logging_v2beta1/representations.rb in google-api-client-0.10.0 vs generated/google/apis/logging_v2beta1/representations.rb in google-api-client-0.10.1

- old
+ new

@@ -20,239 +20,162 @@ module Google module Apis module LoggingV2beta1 - class ListMonitoredResourceDescriptorsResponse + class ListLogsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SourceReference + class HttpRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogEntryOperation + class ListSinksResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogMetric + class LabelDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class WriteLogEntriesResponse + class MonitoredResourceDescriptor 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 WriteLogEntriesRequest + class ListLogEntriesResponse 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 ListLogsResponse + class ListLogMetricsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class HttpRequest + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListSinksResponse + class LogEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LabelDescriptor + class SourceLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MonitoredResourceDescriptor + class ListLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogEntrySourceLocation + class RequestLog class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListLogEntriesResponse + class ListMonitoredResourceDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogLine + class SourceReference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListLogMetricsResponse + class LogMetric class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogEntry + class LogEntryOperation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Empty + class WriteLogEntriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SourceLocation + class MonitoredResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListLogEntriesRequest + class LogSink class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RequestLog + class WriteLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListMonitoredResourceDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - 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 - property :repository, as: 'repository' - property :revision_id, as: 'revisionId' - end - end - - class LogEntryOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :last, as: 'last' - property :id, as: 'id' - property :producer, as: 'producer' - property :first, as: 'first' - 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' - end - end - - class WriteLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class MonitoredResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - hash :labels, as: 'labels' - end - end - - class WriteLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - - 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' - end - end - - class LogSink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :filter, as: 'filter' - property :destination, as: 'destination' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :writer_identity, as: 'writerIdentity' - property :output_version_format, as: 'outputVersionFormat' - end - end - class ListLogsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :log_names, as: 'logNames' property :next_page_token, as: 'nextPageToken' + collection :log_names, as: 'logNames' end end class HttpRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :user_agent, as: 'userAgent' property :latency, as: 'latency' + property :user_agent, as: 'userAgent' property :cache_fill_bytes, as: 'cacheFillBytes' property :request_method, as: 'requestMethod' - property :response_size, as: 'responseSize' property :request_size, as: 'requestSize' + property :response_size, as: 'responseSize' property :request_url, as: 'requestUrl' - property :server_ip, as: 'serverIp' property :remote_ip, as: 'remoteIp' + property :server_ip, as: 'serverIp' property :cache_lookup, as: 'cacheLookup' property :cache_hit, as: 'cacheHit' property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' property :status, as: 'status' property :referer, as: 'referer' @@ -260,13 +183,13 @@ end class ListSinksResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation + property :next_page_token, as: 'nextPageToken' end end class LabelDescriptor # @private @@ -290,13 +213,13 @@ end class LogEntrySourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' property :function, as: 'function' property :line, as: 'line' + property :file, as: 'file' end end class ListLogEntriesResponse # @private @@ -308,15 +231,15 @@ end class LogLine # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation - property :time, as: 'time' 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 + end end class ListLogMetricsResponse # @private @@ -325,39 +248,39 @@ property :next_page_token, as: 'nextPageToken' end end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class LogEntry # @private class Representation < Google::Apis::Core::JsonRepresentation + property :trace, as: 'trace' + hash :labels, as: 'labels' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation + + property :timestamp, as: 'timestamp' property :log_name, as: 'logName' property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation 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 :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::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation - - property :timestamp, as: 'timestamp' end end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation property :file, as: 'file' property :function_name, as: 'functionName' @@ -366,28 +289,22 @@ end class ListLogEntriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' 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' end end class RequestLog # @private class Representation < Google::Apis::Core::JsonRepresentation - property :nickname, as: 'nickname' - property :status, as: 'status' - property :resource, as: 'resource' - property :pending_time, as: 'pendingTime' - 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' @@ -409,12 +326,95 @@ property :response_size, as: 'responseSize' property :trace_id, as: 'traceId' collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation - property :referrer, as: 'referrer' property :task_queue_name, as: 'taskQueueName' + property :referrer, as: 'referrer' property :request_id, as: 'requestId' + property :nickname, as: 'nickname' + property :status, as: 'status' + property :resource, as: 'resource' + property :pending_time, as: 'pendingTime' + property :task_name, as: 'taskName' + property :url_map_entry, as: 'urlMapEntry' + end + end + + class ListMonitoredResourceDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class SourceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :revision_id, as: 'revisionId' + property :repository, as: 'repository' + end + end + + class LogMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :description, as: 'description' + property :version, as: 'version' + property :filter, as: 'filter' + end + end + + class LogEntryOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last, as: 'last' + property :id, as: 'id' + property :producer, as: 'producer' + property :first, as: 'first' + end + end + + class WriteLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class MonitoredResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class LogSink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :destination, as: 'destination' + property :filter, as: 'filter' + property :end_time, as: 'endTime' + property :writer_identity, as: 'writerIdentity' + property :start_time, as: 'startTime' + property :output_version_format, as: 'outputVersionFormat' + end + end + + class WriteLogEntriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation + + 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' + hash :labels, as: 'labels' end end end end end