generated/google/apis/logging_v2beta1/representations.rb in google-api-client-0.11.3 vs generated/google/apis/logging_v2beta1/representations.rb in google-api-client-0.12.0

- old
+ new

@@ -56,17 +56,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogEntry + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Empty + class LogEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -98,23 +98,23 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class WriteLogEntriesResponse + class LogMetric class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogEntryOperation + class WriteLogEntriesResponse 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 @@ -122,17 +122,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class WriteLogEntriesRequest + class LogSink class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogSink + class WriteLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -155,25 +155,25 @@ end class LabelDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value_type, as: 'valueType' property :key, as: 'key' property :description, as: 'description' + property :value_type, as: 'valueType' end end class MonitoredResourceDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation + property :name, as: 'name' property :display_name, as: 'displayName' property :description, as: 'description' property :type, as: 'type' - collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation - end end class LogEntrySourceLocation # @private @@ -185,13 +185,13 @@ end class ListLogEntriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation + property :next_page_token, as: 'nextPageToken' end end class LogLine # @private @@ -211,10 +211,16 @@ 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 hash :labels, as: 'labels' property :trace, as: 'trace' @@ -222,68 +228,63 @@ property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation property :timestamp, as: 'timestamp' property :receive_timestamp, as: 'receiveTimestamp' property :log_name, as: 'logName' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - 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 :text_payload, as: 'textPayload' hash :proto_payload, as: 'protoPayload' end end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :line, :numeric_string => true, as: 'line' property :file, as: 'file' property :function_name, as: 'functionName' + property :line, :numeric_string => true, as: 'line' end 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' + property :filter, as: 'filter' end end class RequestLog # @private class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' 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 property :response_size, :numeric_string => true, 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 :pending_time, as: 'pendingTime' 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 :host, as: 'host' property :finished, as: 'finished' @@ -298,31 +299,40 @@ 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' 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::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 :repository, as: 'repository' property :revision_id, as: 'revisionId' + 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' + end + end + class WriteLogEntriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end @@ -335,52 +345,42 @@ property :producer, as: 'producer' property :first, as: 'first' end end - class LogMetric + class MonitoredResource # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - property :filter, as: 'filter' - property :name, as: 'name' - property :description, as: 'description' + hash :labels, as: 'labels' + property :type, as: 'type' end end - class MonitoredResource + class LogSink # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :type, as: 'type' + 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' 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 + hash :labels, as: 'labels' + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - class LogSink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :writer_identity, as: 'writerIdentity' - property :start_time, as: 'startTime' - property :output_version_format, as: 'outputVersionFormat' - property :name, as: 'name' - property :include_children, as: 'includeChildren' - property :destination, as: 'destination' - property :filter, as: 'filter' - property :end_time, as: 'endTime' end end class ListLogsResponse # @private @@ -391,18 +391,18 @@ end class HttpRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :latency, as: 'latency' property :user_agent, as: 'userAgent' + property :latency, as: 'latency' 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' property :request_url, as: 'requestUrl' - property :remote_ip, as: 'remoteIp' 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' property :status, as: 'status' property :referer, as: 'referer'