Autogenerated update (2018-03-18)

Update:
- logging_v2
- testing_v1
This commit is contained in:
Google APIs 2018-03-18 00:36:13 +00:00
parent 1f6da3ffe8
commit ec6beeca78
8 changed files with 66 additions and 3 deletions

View File

@ -53901,6 +53901,7 @@
"/logging:v2/LogEntry/protoPayload/proto_payload": proto_payload
"/logging:v2/LogEntry/receiveTimestamp": receive_timestamp
"/logging:v2/LogEntry/resource": resource
"/logging:v2/LogEntry/secondaryResource": secondary_resource
"/logging:v2/LogEntry/severity": severity
"/logging:v2/LogEntry/sourceLocation": source_location
"/logging:v2/LogEntry/spanId": span_id
@ -54017,6 +54018,7 @@
"/logging:v2/WriteLogEntriesRequest/logName": log_name
"/logging:v2/WriteLogEntriesRequest/partialSuccess": partial_success
"/logging:v2/WriteLogEntriesRequest/resource": resource
"/logging:v2/WriteLogEntriesRequest/secondaryResource": secondary_resource
"/logging:v2/WriteLogEntriesResponse": write_log_entries_response
"/logging:v2/fields": fields
"/logging:v2/key": key
@ -69226,6 +69228,7 @@
"/testing:v1/AndroidModel/supportedVersionIds/supported_version_id": supported_version_id
"/testing:v1/AndroidModel/tags": tags
"/testing:v1/AndroidModel/tags/tag": tag
"/testing:v1/AndroidModel/videoRecordingNotSupported": video_recording_not_supported
"/testing:v1/AndroidRoboTest": android_robo_test
"/testing:v1/AndroidRoboTest/appApk": app_apk
"/testing:v1/AndroidRoboTest/appInitialActivity": app_initial_activity
@ -69355,6 +69358,7 @@
"/testing:v1/TestDetails/errorMessage": error_message
"/testing:v1/TestDetails/progressMessages": progress_messages
"/testing:v1/TestDetails/progressMessages/progress_message": progress_message
"/testing:v1/TestDetails/videoRecordingDisabled": video_recording_disabled
"/testing:v1/TestEnvironmentCatalog": test_environment_catalog
"/testing:v1/TestEnvironmentCatalog/androidDeviceCatalog": android_device_catalog
"/testing:v1/TestEnvironmentCatalog/networkConfigurationCatalog": network_configuration_catalog

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20180213'
REVISION = '20180313'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -673,6 +673,22 @@ module Google
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :resource
# An object representing a resource that can be used for monitoring, logging,
# billing, or other purposes. Examples include virtual machine instances,
# databases, and storage devices such as disks. The type field identifies a
# MonitoredResourceDescriptor object that describes the resource's schema.
# Information in the labels field identifies the actual resource and its
# attributes according to the schema. For example, a particular Compute Engine
# VM instance could be represented by the following object, because the
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
# zone":
# ` "type": "gce_instance",
# "labels": ` "instance_id": "12345678901234",
# "zone": "us-central1-a" ``
# Corresponds to the JSON property `secondaryResource`
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :secondary_resource
# Optional. The severity of the log entry. The default value is LogSeverity.
# DEFAULT.
# Corresponds to the JSON property `severity`
@ -733,6 +749,7 @@ module Google
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
@resource = args[:resource] if args.key?(:resource)
@secondary_resource = args[:secondary_resource] if args.key?(:secondary_resource)
@severity = args[:severity] if args.key?(:severity)
@source_location = args[:source_location] if args.key?(:source_location)
@span_id = args[:span_id] if args.key?(:span_id)
@ -1707,6 +1724,22 @@ module Google
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :resource
# An object representing a resource that can be used for monitoring, logging,
# billing, or other purposes. Examples include virtual machine instances,
# databases, and storage devices such as disks. The type field identifies a
# MonitoredResourceDescriptor object that describes the resource's schema.
# Information in the labels field identifies the actual resource and its
# attributes according to the schema. For example, a particular Compute Engine
# VM instance could be represented by the following object, because the
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
# zone":
# ` "type": "gce_instance",
# "labels": ` "instance_id": "12345678901234",
# "zone": "us-central1-a" ``
# Corresponds to the JSON property `secondaryResource`
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :secondary_resource
def initialize(**args)
update!(**args)
end
@ -1719,6 +1752,7 @@ module Google
@log_name = args[:log_name] if args.key?(:log_name)
@partial_success = args[:partial_success] if args.key?(:partial_success)
@resource = args[:resource] if args.key?(:resource)
@secondary_resource = args[:secondary_resource] if args.key?(:secondary_resource)
end
end

View File

@ -349,6 +349,8 @@ module Google
property :receive_timestamp, as: 'receiveTimestamp'
property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
property :secondary_resource, as: 'secondaryResource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
property :severity, as: 'severity'
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation
@ -532,6 +534,8 @@ module Google
property :partial_success, as: 'partialSuccess'
property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
property :secondary_resource, as: 'secondaryResource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
end
end

View File

@ -43,7 +43,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://logging.googleapis.com/', '')
super('https://content-logging.googleapis.com/', '')
@batch_path = 'batch'
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20180307'
REVISION = '20180316'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -363,6 +363,14 @@ module Google
# @return [Array<String>]
attr_accessor :tags
# True if and only if tests with this model DO NOT have video output.
# See also TestSpecification.disable_video_recording
# @OutputOnly
# Corresponds to the JSON property `videoRecordingNotSupported`
# @return [Boolean]
attr_accessor :video_recording_not_supported
alias_method :video_recording_not_supported?, :video_recording_not_supported
def initialize(**args)
update!(**args)
end
@ -381,6 +389,7 @@ module Google
@supported_abis = args[:supported_abis] if args.key?(:supported_abis)
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
@tags = args[:tags] if args.key?(:tags)
@video_recording_not_supported = args[:video_recording_not_supported] if args.key?(:video_recording_not_supported)
end
end
@ -1420,6 +1429,15 @@ module Google
# @return [Array<String>]
attr_accessor :progress_messages
# Indicates that video will not be recorded for this execution either because
# the user chose to disable it or the device does not support it.
# See AndroidModel.video_recording_not_supported
# @OutputOnly
# Corresponds to the JSON property `videoRecordingDisabled`
# @return [Boolean]
attr_accessor :video_recording_disabled
alias_method :video_recording_disabled?, :video_recording_disabled
def initialize(**args)
update!(**args)
end
@ -1428,6 +1446,7 @@ module Google
def update!(**args)
@error_message = args[:error_message] if args.key?(:error_message)
@progress_messages = args[:progress_messages] if args.key?(:progress_messages)
@video_recording_disabled = args[:video_recording_disabled] if args.key?(:video_recording_disabled)
end
end

View File

@ -394,6 +394,7 @@ module Google
collection :supported_abis, as: 'supportedAbis'
collection :supported_version_ids, as: 'supportedVersionIds'
collection :tags, as: 'tags'
property :video_recording_not_supported, as: 'videoRecordingNotSupported'
end
end
@ -701,6 +702,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
collection :progress_messages, as: 'progressMessages'
property :video_recording_disabled, as: 'videoRecordingDisabled'
end
end