generated/google/apis/logging_v2/representations.rb in google-api-client-0.11.1 vs generated/google/apis/logging_v2/representations.rb in google-api-client-0.11.2
- old
+ new
@@ -20,10 +20,46 @@
module Google
module Apis
module LoggingV2
+ class RequestLog
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListMonitoredResourceDescriptorsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SourceReference
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class LogMetric
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class LogEntryOperation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class WriteLogEntriesResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class MonitoredResource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -117,43 +153,90 @@
include Google::Apis::Core::JsonObjectSupport
end
class RequestLog
- class Representation < Google::Apis::Core::JsonRepresentation; end
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ 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'
+ 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
- include Google::Apis::Core::JsonObjectSupport
+ 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 :referrer, as: 'referrer'
+ property :task_queue_name, as: 'taskQueueName'
+ 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'
+ end
end
class ListMonitoredResourceDescriptorsResponse
- class Representation < Google::Apis::Core::JsonRepresentation; end
+ # @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
- include Google::Apis::Core::JsonObjectSupport
+ end
end
class SourceReference
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :revision_id, as: 'revisionId'
+ property :repository, as: 'repository'
+ end
end
- class WriteLogEntriesResponse
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
class LogMetric
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
+ # @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 LogEntryOperation
- class Representation < Google::Apis::Core::JsonRepresentation; end
+ # @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
- include Google::Apis::Core::JsonObjectSupport
+ class WriteLogEntriesResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
end
class MonitoredResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -163,38 +246,39 @@
end
class WriteLogEntriesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ 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 :log_name, as: 'logName'
collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::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 :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'
end
end
class ListLogsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :next_page_token, as: 'nextPageToken'
collection :log_names, as: 'logNames'
+ property :next_page_token, as: 'nextPageToken'
end
end
class HttpRequest
# @private
@@ -217,63 +301,63 @@
end
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 :next_page_token, as: 'nextPageToken'
end
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::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::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::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::LabelDescriptor::Representation
+
+ property :name, as: 'name'
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'
- property :file, as: 'file'
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
- property :next_page_token, as: 'nextPageToken'
end
end
class LogLine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :time, as: 'time'
property :severity, as: 'severity'
property :log_message, as: 'logMessage'
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::SourceLocation, decorator: Google::Apis::LoggingV2::SourceLocation::Representation
+ property :time, as: 'time'
end
end
class ListLogMetricsResponse
# @private
@@ -291,130 +375,47 @@
end
class LogEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation
+
property :timestamp, as: 'timestamp'
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 :insert_id, as: 'insertId'
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'
hash :labels, as: 'labels'
property :trace, as: 'trace'
property :severity, as: 'severity'
- property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation
-
end
end
class SourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :function_name, as: 'functionName'
property :line, :numeric_string => true, as: 'line'
property :file, as: 'file'
+ property :function_name, as: 'functionName'
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'
- collection :project_ids, as: 'projectIds'
property :filter, as: 'filter'
- end
- end
-
- class RequestLog
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- 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
-
- 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 :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'
- 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'
- end
- end
-
- class ListMonitoredResourceDescriptorsResponse
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- 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
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :revision_id, as: 'revisionId'
- property :repository, as: 'repository'
- end
- end
-
- class WriteLogEntriesResponse
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- 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'
+ collection :project_ids, as: 'projectIds'
end
end
end
end
end