google-api-ruby-client/generated/google/apis/logging_v2beta1/representations.rb

536 lines
20 KiB
Ruby
Raw Normal View History

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
class BucketOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Explicit
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Exponential
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LabelDescriptor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Linear
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLogEntriesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLogEntriesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLogMetricsResponse
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 ListSinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntryOperation
2017-01-13 23:04:35 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntrySourceLocation
2017-01-13 23:04:35 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogLine
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
class LogMetric
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
class LogSink
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
class MetricDescriptor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricDescriptorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MonitoredResource
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
class MonitoredResourceDescriptor
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
class MonitoredResourceMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RequestLog
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
class SourceLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class SourceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
2017-01-20 23:27:22 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class WriteLogEntriesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class WriteLogEntriesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class BucketOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::LoggingV2beta1::Explicit, decorator: Google::Apis::LoggingV2beta1::Explicit::Representation
property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::LoggingV2beta1::Exponential, decorator: Google::Apis::LoggingV2beta1::Exponential::Representation
property :linear_buckets, as: 'linearBuckets', class: Google::Apis::LoggingV2beta1::Linear, decorator: Google::Apis::LoggingV2beta1::Linear::Representation
end
end
class Empty
2017-07-12 20:10:42 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Explicit
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounds, as: 'bounds'
end
end
class Exponential
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :growth_factor, as: 'growthFactor'
property :num_finite_buckets, as: 'numFiniteBuckets'
property :scale, as: 'scale'
end
end
class HttpRequest
2017-07-12 20:10:42 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
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'
2017-07-12 20:10:42 +00:00
property :response_size, :numeric_string => true, as: 'responseSize'
property :server_ip, as: 'serverIp'
2017-07-12 20:10:42 +00:00
property :status, as: 'status'
property :user_agent, as: 'userAgent'
2017-07-12 20:10:42 +00:00
end
end
class LabelDescriptor
2017-07-12 20:10:42 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :key, as: 'key'
property :value_type, as: 'valueType'
end
end
2017-07-12 20:10:42 +00:00
class Linear
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_finite_buckets, as: 'numFiniteBuckets'
property :offset, as: 'offset'
property :width, as: 'width'
end
end
class ListLogEntriesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
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'
2017-07-12 20:10:42 +00:00
end
end
class ListLogEntriesResponse
2017-07-12 20:10:42 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
property :next_page_token, as: 'nextPageToken'
2017-07-12 20:10:42 +00:00
end
end
class ListLogMetricsResponse
2017-07-12 20:10:42 +00:00
# @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-07-12 20:10:42 +00:00
end
end
class ListMonitoredResourceDescriptorsResponse
2017-07-12 20:10:42 +00:00
# @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
2017-07-12 20:10:42 +00:00
end
end
class ListSinksResponse
2017-07-12 20:10:42 +00:00
# @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
2017-07-12 20:10:42 +00:00
end
end
class LogEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
property :insert_id, as: 'insertId'
hash :json_payload, as: 'jsonPayload'
hash :labels, as: 'labels'
property :log_name, as: 'logName'
property :metadata, as: 'metadata', class: Google::Apis::LoggingV2beta1::MonitoredResourceMetadata, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceMetadata::Representation
property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation
hash :proto_payload, as: 'protoPayload'
property :receive_timestamp, as: 'receiveTimestamp'
property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
2016-10-04 00:27:26 +00:00
property :severity, as: 'severity'
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation
2016-01-29 22:32:46 +00:00
property :span_id, as: 'spanId'
property :text_payload, as: 'textPayload'
property :timestamp, as: 'timestamp'
property :trace, as: 'trace'
property :trace_sampled, as: 'traceSampled'
end
end
2017-01-13 23:04:35 +00:00
class LogEntryOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first, as: 'first'
property :id, as: 'id'
property :last, as: 'last'
property :producer, as: 'producer'
end
2016-10-04 00:27:26 +00:00
end
2016-01-29 22:32:46 +00:00
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
2016-01-29 22:32:46 +00:00
end
class LogLine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :log_message, as: 'logMessage'
property :severity, as: 'severity'
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
property :time, as: 'time'
end
2016-01-29 22:32:46 +00:00
end
class LogMetric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bucket_options, as: 'bucketOptions', class: Google::Apis::LoggingV2beta1::BucketOptions, decorator: Google::Apis::LoggingV2beta1::BucketOptions::Representation
property :description, as: 'description'
property :filter, as: 'filter'
hash :label_extractors, as: 'labelExtractors'
property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2beta1::MetricDescriptor, decorator: Google::Apis::LoggingV2beta1::MetricDescriptor::Representation
property :name, as: 'name'
property :value_extractor, as: 'valueExtractor'
property :version, as: 'version'
end
end
class LogSink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :destination, as: 'destination'
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
2016-01-29 22:32:46 +00:00
end
class MetricDescriptor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
property :metadata, as: 'metadata', class: Google::Apis::LoggingV2beta1::MetricDescriptorMetadata, decorator: Google::Apis::LoggingV2beta1::MetricDescriptorMetadata::Representation
property :metric_kind, as: 'metricKind'
property :name, as: 'name'
property :type, as: 'type'
property :unit, as: 'unit'
property :value_type, as: 'valueType'
end
end
class MetricDescriptorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ingest_delay, as: 'ingestDelay'
property :launch_stage, as: 'launchStage'
property :sample_period, as: 'samplePeriod'
end
end
class MonitoredResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :labels, as: 'labels'
property :type, as: 'type'
2017-05-26 16:44:32 +00:00
end
end
2017-05-26 16:44:32 +00:00
class MonitoredResourceDescriptor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-07-12 20:10:42 +00:00
property :description, as: 'description'
property :display_name, as: 'displayName'
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 :type, as: 'type'
2017-05-26 16:44:32 +00:00
end
end
class MonitoredResourceMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :system_labels, as: 'systemLabels'
hash :user_labels, as: 'userLabels'
end
end
class RequestLog
2017-05-26 16:44:32 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
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::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
2017-05-26 16:44:32 +00:00
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'
collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation
2017-05-26 16:44:32 +00:00
property :start_time, as: 'startTime'
property :status, as: 'status'
property :task_name, as: 'taskName'
property :task_queue_name, as: 'taskQueueName'
property :trace_id, as: 'traceId'
Autogenerated update (2018-08-22) Delete: - spectrum_v1explorer Update: - abusiveexperiencereport_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - adexperiencereport_v1 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - analyticsreporting_v4 - androiddeviceprovisioning_v1 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appengine_v1 - appengine_v1beta - appsactivity_v1 - appsmarket_v2 - appstate_v1 - bigquery_v2 - bigquerydatatransfer_v1 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - chat_v1 - civicinfo_v2 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudiot_v1 - cloudkms_v1 - cloudprofiler_v2 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudshell_v1alpha1 - cloudtasks_v2beta2 - cloudtrace_v1 - cloudtrace_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - content_v2 - content_v2sandbox - customsearch_v1 - dataproc_v1beta2 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dialogflow_v2 - dialogflow_v2beta1 - discovery_v1 - dlp_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - firestore_v1beta1 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - iam_v1 - iamcredentials_v1 - identitytoolkit_v3 - jobs_v2 - licensing_v1 - logging_v2 - logging_v2beta1 - mirror_v1 - ml_v1 - monitoring_v3 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - poly_v1 - pubsub_v1 - pubsub_v1beta2 - redis_v1beta1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - runtimeconfig_v1beta1 - script_v1 - servicebroker_v1 - servicebroker_v1alpha1 - servicebroker_v1beta1 - serviceconsumermanagement_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceusage_v1 - serviceusage_v1beta1 - serviceuser_v1 - sheets_v4 - site_verification_v1 - slides_v1 - sourcerepo_v1 - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - testing_v1 - texttospeech_v1beta1 - toolresults_v1beta3 - tpu_v1 - tpu_v1alpha1 - urlshortener_v1 - vault_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - webfonts_v1 - webmasters_v3 - websecurityscanner_v1alpha - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_partner_v1 - youtube_v3
2018-08-22 21:14:52 +00:00
property :trace_sampled, as: 'traceSampled'
property :url_map_entry, as: 'urlMapEntry'
property :user_agent, as: 'userAgent'
property :version_id, as: 'versionId'
property :was_loading_request, as: 'wasLoadingRequest'
end
2016-01-29 22:32:46 +00:00
end
class SourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file, as: 'file'
property :function_name, as: 'functionName'
property :line, :numeric_string => true, as: 'line'
2017-05-26 16:44:32 +00:00
end
end
class SourceReference
2017-05-26 16:44:32 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :repository, as: 'repository'
property :revision_id, as: 'revisionId'
end
end
class WriteLogEntriesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dry_run, as: 'dryRun'
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
2017-07-12 20:10:42 +00:00
hash :labels, as: 'labels'
property :log_name, as: 'logName'
property :partial_success, as: 'partialSuccess'
property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
2017-05-26 16:44:32 +00:00
2017-03-27 22:14:47 +00:00
end
end
class WriteLogEntriesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-03-10 21:11:09 +00:00
end
end
2016-01-29 22:32:46 +00:00
end
end
end