Autogenerated update (2017-09-01)

Update:
- cloudtrace_v2
- content_v2
- dlp_v2beta1
This commit is contained in:
Google APIs committed 2017-09-01 00:37:19 +00:00
1 parent a1e0c23a20
commit 1482f5e71d
9 files changed
+47 -17

No files matched your search

+12 -6
View File
@@ -300,16 +300,16 @@ module Google
class NetworkEvent
include Google::Apis::Core::Hashable
# The number of compressed bytes sent or received.
# Corresponds to the JSON property `compressedMessageSize`
# @return [Fixnum]
attr_accessor :compressed_message_size
# An identifier for the message, which must be unique in this span.
# Corresponds to the JSON property `messageId`
# @return [Fixnum]
attr_accessor :message_id
# The number of bytes sent or received.
# Corresponds to the JSON property `messageSize`
# @return [Fixnum]
attr_accessor :message_size
# For sent messages, this is the time at which the first bit was sent.
# For received messages, this is the time at which the last bit was
# received.
@@ -323,16 +323,22 @@ module Google
# @return [String]
attr_accessor :type
# The number of uncompressed bytes sent or received.
# Corresponds to the JSON property `uncompressedMessageSize`
# @return [Fixnum]
attr_accessor :uncompressed_message_size
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@compressed_message_size = args[:compressed_message_size] if args.key?(:compressed_message_size)
@message_id = args[:message_id] if args.key?(:message_id)
@message_size = args[:message_size] if args.key?(:message_size)
@time = args[:time] if args.key?(:time)
@type = args[:type] if args.key?(:type)
@uncompressed_message_size = args[:uncompressed_message_size] if args.key?(:uncompressed_message_size)
end
end