Autogenerated update (2018-04-28)
Update: - bigquery_v2 - logging_v2 - logging_v2beta1
This commit is contained in:
1 parent
18beef0ef7
commit
6762be3c20
9 files changed
+168
-16
No files matched your search
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180422'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
||||
@@ -370,7 +370,7 @@ module Google
|
||||
attr_accessor :last_modified_time
|
||||
|
||||
# The geographic location where the dataset should reside. The default value is
|
||||
# US.
|
||||
# US. See details at https://cloud.google.com/bigquery/docs/dataset-locations.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
@@ -700,7 +700,7 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :compute_ratio_max
|
||||
|
||||
# Stage end time in milliseconds.
|
||||
# Stage end time represented as milliseconds since epoch.
|
||||
# Corresponds to the JSON property `endMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_ms
|
||||
@@ -765,7 +765,7 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :shuffle_output_bytes_spilled
|
||||
|
||||
# Stage start time in milliseconds.
|
||||
# Stage start time represented as milliseconds since epoch.
|
||||
# Corresponds to the JSON property `startMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_ms
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180424'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -640,6 +640,16 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :log_name
|
||||
|
||||
# Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
|
||||
# contain the minimum set of information to uniquely identify a monitored
|
||||
# resource instance. There is some other useful auxiliary metadata. Google
|
||||
# Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
|
||||
# metadata for cloud resources of all types , and stores the metadata in this
|
||||
# message.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Google::Apis::LoggingV2::MonitoredResourceMetadata]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Additional information about a potentially long-running operation with which a
|
||||
# log entry is associated.
|
||||
# Corresponds to the JSON property `operation`
|
||||
@@ -701,11 +711,12 @@ module Google
|
||||
# Optional. The time the event described by the log entry occurred. This time is
|
||||
# used to compute the log entry's age and to enforce the logs retention period.
|
||||
# If this field is omitted in a new log entry, then Stackdriver Logging assigns
|
||||
# it the current time.Incoming log entries should have timestamps that are no
|
||||
# more than the logs retention period in the past, and no more than 24 hours in
|
||||
# the future. Log entries outside those time boundaries will not be available
|
||||
# when calling entries.list, but those log entries can still be exported with
|
||||
# LogSinks.
|
||||
# it the current time. Timestamps have nanosecond accuracy, but trailing zeros
|
||||
# in the fractional seconds might be omitted when the timestamp is displayed.
|
||||
# Incoming log entries should have timestamps that are no more than the logs
|
||||
# retention period in the past, and no more than 24 hours in the future. Log
|
||||
# entries outside those time boundaries will not be available when calling
|
||||
# entries.list, but those log entries can still be exported with LogSinks.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
@@ -729,6 +740,7 @@ module Google
|
||||
@json_payload = args[:json_payload] if args.key?(:json_payload)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@log_name = args[:log_name] if args.key?(:log_name)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@operation = args[:operation] if args.key?(:operation)
|
||||
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
||||
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
|
||||
@@ -1343,6 +1355,44 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
|
||||
# contain the minimum set of information to uniquely identify a monitored
|
||||
# resource instance. There is some other useful auxiliary metadata. Google
|
||||
# Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
|
||||
# metadata for cloud resources of all types , and stores the metadata in this
|
||||
# message.
|
||||
class MonitoredResourceMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Values for predefined system metadata labels. System labels are a
|
||||
# kind of metadata extracted by Google Stackdriver. Stackdriver determines what
|
||||
# system labels are useful and how to obtain their values. Some examples: "
|
||||
# machine_image", "vpc", "subnet_id", "security_group", "name", etc. System
|
||||
# label values can be only strings, Boolean values, or a list of strings. For
|
||||
# example:
|
||||
# ` "name": "my-test-instance",
|
||||
# "security_group": ["a", "b", "c"],
|
||||
# "spot_instance": false `
|
||||
# Corresponds to the JSON property `systemLabels`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :system_labels
|
||||
|
||||
# Output only. A map of user-defined metadata labels.
|
||||
# Corresponds to the JSON property `userLabels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :user_labels
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@system_labels = args[:system_labels] if args.key?(:system_labels)
|
||||
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
||||
end
|
||||
end
|
||||
|
||||
# Complete log information about a single HTTP request to an App Engine
|
||||
# application.
|
||||
class RequestLog
|
||||
|
||||
@@ -166,6 +166,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
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
|
||||
|
||||
@@ -343,6 +349,8 @@ module Google
|
||||
hash :json_payload, as: 'jsonPayload'
|
||||
hash :labels, as: 'labels'
|
||||
property :log_name, as: 'logName'
|
||||
property :metadata, as: 'metadata', class: Google::Apis::LoggingV2::MonitoredResourceMetadata, decorator: Google::Apis::LoggingV2::MonitoredResourceMetadata::Representation
|
||||
|
||||
property :operation, as: 'operation', class: Google::Apis::LoggingV2::LogEntryOperation, decorator: Google::Apis::LoggingV2::LogEntryOperation::Representation
|
||||
|
||||
hash :proto_payload, as: 'protoPayload'
|
||||
@@ -464,6 +472,14 @@ module Google
|
||||
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
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180416'
|
||||
REVISION = '20180424'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -613,6 +613,16 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :log_name
|
||||
|
||||
# Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
|
||||
# contain the minimum set of information to uniquely identify a monitored
|
||||
# resource instance. There is some other useful auxiliary metadata. Google
|
||||
# Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
|
||||
# metadata for cloud resources of all types , and stores the metadata in this
|
||||
# message.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Google::Apis::LoggingV2beta1::MonitoredResourceMetadata]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Additional information about a potentially long-running operation with which a
|
||||
# log entry is associated.
|
||||
# Corresponds to the JSON property `operation`
|
||||
@@ -674,11 +684,12 @@ module Google
|
||||
# Optional. The time the event described by the log entry occurred. This time is
|
||||
# used to compute the log entry's age and to enforce the logs retention period.
|
||||
# If this field is omitted in a new log entry, then Stackdriver Logging assigns
|
||||
# it the current time.Incoming log entries should have timestamps that are no
|
||||
# more than the logs retention period in the past, and no more than 24 hours in
|
||||
# the future. Log entries outside those time boundaries will not be available
|
||||
# when calling entries.list, but those log entries can still be exported with
|
||||
# LogSinks.
|
||||
# it the current time. Timestamps have nanosecond accuracy, but trailing zeros
|
||||
# in the fractional seconds might be omitted when the timestamp is displayed.
|
||||
# Incoming log entries should have timestamps that are no more than the logs
|
||||
# retention period in the past, and no more than 24 hours in the future. Log
|
||||
# entries outside those time boundaries will not be available when calling
|
||||
# entries.list, but those log entries can still be exported with LogSinks.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
@@ -702,6 +713,7 @@ module Google
|
||||
@json_payload = args[:json_payload] if args.key?(:json_payload)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@log_name = args[:log_name] if args.key?(:log_name)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@operation = args[:operation] if args.key?(:operation)
|
||||
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
||||
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
|
||||
@@ -1266,6 +1278,44 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
|
||||
# contain the minimum set of information to uniquely identify a monitored
|
||||
# resource instance. There is some other useful auxiliary metadata. Google
|
||||
# Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
|
||||
# metadata for cloud resources of all types , and stores the metadata in this
|
||||
# message.
|
||||
class MonitoredResourceMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Values for predefined system metadata labels. System labels are a
|
||||
# kind of metadata extracted by Google Stackdriver. Stackdriver determines what
|
||||
# system labels are useful and how to obtain their values. Some examples: "
|
||||
# machine_image", "vpc", "subnet_id", "security_group", "name", etc. System
|
||||
# label values can be only strings, Boolean values, or a list of strings. For
|
||||
# example:
|
||||
# ` "name": "my-test-instance",
|
||||
# "security_group": ["a", "b", "c"],
|
||||
# "spot_instance": false `
|
||||
# Corresponds to the JSON property `systemLabels`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :system_labels
|
||||
|
||||
# Output only. A map of user-defined metadata labels.
|
||||
# Corresponds to the JSON property `userLabels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :user_labels
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@system_labels = args[:system_labels] if args.key?(:system_labels)
|
||||
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
||||
end
|
||||
end
|
||||
|
||||
# Complete log information about a single HTTP request to an App Engine
|
||||
# application.
|
||||
class RequestLog
|
||||
|
||||
@@ -154,6 +154,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
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
|
||||
|
||||
@@ -322,6 +328,8 @@ module Google
|
||||
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'
|
||||
@@ -433,6 +441,14 @@ module Google
|
||||
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
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user