From ec6beeca7876123159cff3cb369857af2d612539 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 18 Mar 2018 00:36:13 +0000 Subject: [PATCH] Autogenerated update (2018-03-18) Update: - logging_v2 - testing_v1 --- api_names_out.yaml | 4 +++ generated/google/apis/logging_v2.rb | 2 +- generated/google/apis/logging_v2/classes.rb | 34 +++++++++++++++++++ .../google/apis/logging_v2/representations.rb | 4 +++ generated/google/apis/logging_v2/service.rb | 2 +- generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 19 +++++++++++ .../google/apis/testing_v1/representations.rb | 2 ++ 8 files changed, 66 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 642eb51f6..1a6a6c6a3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index 510d87e2f..f940fd13a 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -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' diff --git a/generated/google/apis/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index 5c2a7bba5..c5a5ddb10 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -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 diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index 966ec1c68..8b3bd99da 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -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 diff --git a/generated/google/apis/logging_v2/service.rb b/generated/google/apis/logging_v2/service.rb index e0bfcb5ab..2569064a7 100644 --- a/generated/google/apis/logging_v2/service.rb +++ b/generated/google/apis/logging_v2/service.rb @@ -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 diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 98110f002..d4acc700f 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -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' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index b42b9ce7f..d77b1594e 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -363,6 +363,14 @@ module Google # @return [Array] 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] 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 diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index 7e4ae43bb..150e7b133 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -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