Autogenerated update (2018-04-28)

Update:
- bigquery_v2
- logging_v2
- logging_v2beta1
This commit is contained in:
Google APIs 2018-04-28 00:36:34 +00:00
parent 18beef0ef7
commit 6762be3c20
9 changed files with 168 additions and 16 deletions

View File

@ -22768,6 +22768,13 @@
"/compute:beta/GlobalSetLabelsRequest/labels/label": label
"/compute:beta/GuestOsFeature": guest_os_feature
"/compute:beta/GuestOsFeature/type": type
"/compute:beta/HTTP2HealthCheck": http2_health_check
"/compute:beta/HTTP2HealthCheck/host": host
"/compute:beta/HTTP2HealthCheck/port": port
"/compute:beta/HTTP2HealthCheck/portName": port_name
"/compute:beta/HTTP2HealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTP2HealthCheck/requestPath": request_path
"/compute:beta/HTTP2HealthCheck/response": response
"/compute:beta/HTTPHealthCheck": http_health_check
"/compute:beta/HTTPHealthCheck/host": host
"/compute:beta/HTTPHealthCheck/port": port
@ -22787,6 +22794,7 @@
"/compute:beta/HealthCheck/creationTimestamp": creation_timestamp
"/compute:beta/HealthCheck/description": description
"/compute:beta/HealthCheck/healthyThreshold": healthy_threshold
"/compute:beta/HealthCheck/http2HealthCheck": http2_health_check
"/compute:beta/HealthCheck/httpHealthCheck": http_health_check
"/compute:beta/HealthCheck/httpsHealthCheck": https_health_check
"/compute:beta/HealthCheck/id": id
@ -56631,6 +56639,7 @@
"/logging:v2/LogEntry/labels": labels
"/logging:v2/LogEntry/labels/label": label
"/logging:v2/LogEntry/logName": log_name
"/logging:v2/LogEntry/metadata": metadata
"/logging:v2/LogEntry/operation": operation
"/logging:v2/LogEntry/protoPayload": proto_payload
"/logging:v2/LogEntry/protoPayload/proto_payload": proto_payload
@ -56702,6 +56711,11 @@
"/logging:v2/MonitoredResourceDescriptor/labels/label": label
"/logging:v2/MonitoredResourceDescriptor/name": name
"/logging:v2/MonitoredResourceDescriptor/type": type
"/logging:v2/MonitoredResourceMetadata": monitored_resource_metadata
"/logging:v2/MonitoredResourceMetadata/systemLabels": system_labels
"/logging:v2/MonitoredResourceMetadata/systemLabels/system_label": system_label
"/logging:v2/MonitoredResourceMetadata/userLabels": user_labels
"/logging:v2/MonitoredResourceMetadata/userLabels/user_label": user_label
"/logging:v2/RequestLog": request_log
"/logging:v2/RequestLog/appEngineRelease": app_engine_release
"/logging:v2/RequestLog/appId": app_id
@ -57034,6 +57048,7 @@
"/logging:v2beta1/LogEntry/labels": labels
"/logging:v2beta1/LogEntry/labels/label": label
"/logging:v2beta1/LogEntry/logName": log_name
"/logging:v2beta1/LogEntry/metadata": metadata
"/logging:v2beta1/LogEntry/operation": operation
"/logging:v2beta1/LogEntry/protoPayload": proto_payload
"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload
@ -57099,6 +57114,11 @@
"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label
"/logging:v2beta1/MonitoredResourceDescriptor/name": name
"/logging:v2beta1/MonitoredResourceDescriptor/type": type
"/logging:v2beta1/MonitoredResourceMetadata": monitored_resource_metadata
"/logging:v2beta1/MonitoredResourceMetadata/systemLabels": system_labels
"/logging:v2beta1/MonitoredResourceMetadata/systemLabels/system_label": system_label
"/logging:v2beta1/MonitoredResourceMetadata/userLabels": user_labels
"/logging:v2beta1/MonitoredResourceMetadata/userLabels/user_label": user_label
"/logging:v2beta1/RequestLog": request_log
"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release
"/logging:v2beta1/RequestLog/appId": app_id

View File

@ -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'

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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