lib/google/apis/logging_v2/representations.rb in google-apis-logging_v2-0.57.0 vs lib/google/apis/logging_v2/representations.rb in google-apis-logging_v2-0.58.0

- old
+ new

@@ -86,10 +86,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DefaultSinkConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DeleteLinkRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -206,10 +212,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListRecentQueriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListSavedQueriesResponse + 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 @@ -296,10 +314,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LoggingQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MetricDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -332,16 +356,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class OpsAnalyticsQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecentQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RequestLog class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SavedQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Settings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -362,10 +404,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SummaryField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SuppressionInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -510,10 +558,20 @@ property :link_id, as: 'linkId' property :parent, as: 'parent' end end + class DefaultSinkConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exclusions, as: 'exclusions', class: Google::Apis::LoggingV2::LogExclusion, decorator: Google::Apis::LoggingV2::LogExclusion::Representation + + property :filter, as: 'filter' + property :mode, as: 'mode' + end + end + class DeleteLinkRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' end @@ -704,10 +762,30 @@ collection :operations, as: 'operations', class: Google::Apis::LoggingV2::Operation, decorator: Google::Apis::LoggingV2::Operation::Representation end end + class ListRecentQueriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :recent_queries, as: 'recentQueries', class: Google::Apis::LoggingV2::RecentQuery, decorator: Google::Apis::LoggingV2::RecentQuery::Representation + + collection :unreachable, as: 'unreachable' + end + end + + class ListSavedQueriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :saved_queries, as: 'savedQueries', class: Google::Apis::LoggingV2::SavedQuery, decorator: Google::Apis::LoggingV2::SavedQuery::Representation + + collection :unreachable, as: 'unreachable' + end + 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 @@ -900,10 +978,21 @@ property :name, as: 'name' property :update_time, as: 'updateTime' end end + class LoggingQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter' + property :summary_field_end, as: 'summaryFieldEnd' + property :summary_field_start, as: 'summaryFieldStart' + collection :summary_fields, as: 'summaryFields', class: Google::Apis::LoggingV2::SummaryField, decorator: Google::Apis::LoggingV2::SummaryField::Representation + + end + end + class MetricDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :display_name, as: 'displayName' @@ -969,10 +1058,29 @@ property :name, as: 'name' hash :response, as: 'response' end end + class OpsAnalyticsQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sql_query_text, as: 'sqlQueryText' + end + end + + class RecentQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_run_time, as: 'lastRunTime' + property :logging_query, as: 'loggingQuery', class: Google::Apis::LoggingV2::LoggingQuery, decorator: Google::Apis::LoggingV2::LoggingQuery::Representation + + property :name, as: 'name' + property :ops_analytics_query, as: 'opsAnalyticsQuery', class: Google::Apis::LoggingV2::OpsAnalyticsQuery, decorator: Google::Apis::LoggingV2::OpsAnalyticsQuery::Representation + + end + end + class RequestLog # @private class Representation < Google::Apis::Core::JsonRepresentation property :app_engine_release, as: 'appEngineRelease' property :app_id, as: 'appId' @@ -1011,13 +1119,30 @@ property :version_id, as: 'versionId' property :was_loading_request, as: 'wasLoadingRequest' end end + class SavedQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :logging_query, as: 'loggingQuery', class: Google::Apis::LoggingV2::LoggingQuery, decorator: Google::Apis::LoggingV2::LoggingQuery::Representation + + property :name, as: 'name' + property :ops_analytics_query, as: 'opsAnalyticsQuery', class: Google::Apis::LoggingV2::OpsAnalyticsQuery, decorator: Google::Apis::LoggingV2::OpsAnalyticsQuery::Representation + + property :update_time, as: 'updateTime' + end + end + class Settings # @private class Representation < Google::Apis::Core::JsonRepresentation + property :default_sink_config, as: 'defaultSinkConfig', class: Google::Apis::LoggingV2::DefaultSinkConfig, decorator: Google::Apis::LoggingV2::DefaultSinkConfig::Representation + property :disable_default_sink, as: 'disableDefaultSink' property :kms_key_name, as: 'kmsKeyName' property :kms_service_account_id, as: 'kmsServiceAccountId' property :logging_service_account_id, as: 'loggingServiceAccountId' property :name, as: 'name' @@ -1046,9 +1171,16 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' collection :details, as: 'details' property :message, as: 'message' + end + end + + class SummaryField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' end end class SuppressionInfo # @private