diff --git a/generated/google/apis/file_v1.rb b/generated/google/apis/file_v1.rb index d127ad18e..3ae15654b 100644 --- a/generated/google/apis/file_v1.rb +++ b/generated/google/apis/file_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1 VERSION = 'V1' - REVISION = '20191213' + REVISION = '20200109' # 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/file_v1beta1.rb b/generated/google/apis/file_v1beta1.rb index 0faa2a140..3ab54905e 100644 --- a/generated/google/apis/file_v1beta1.rb +++ b/generated/google/apis/file_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1beta1 VERSION = 'V1beta1' - REVISION = '20191213' + REVISION = '20200109' # 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/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 4ec4da885..09090cf4a 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20191206' + REVISION = '20200106' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index a2281a5e2..94bce57f6 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -2196,6 +2196,33 @@ module Google end end + # The context of a span, attached to google.api.Distribution.Exemplars + # in google.api.Distribution values during aggregation. + # It contains the name of a span with format: + # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] + class SpanContext + include Google::Apis::Core::Hashable + + # The resource name of the span in the following format: + # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project; + # it is a 32-character hexadecimal encoding of a 16-byte array. + # [SPAN_ID] is a unique identifier for a span within a trace; it + # is a 16-character hexadecimal encoding of an 8-byte array. + # Corresponds to the JSON property `spanName` + # @return [String] + attr_accessor :span_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @span_name = args[:span_name] if args.key?(:span_name) + end + end + # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is # used by [gRPC](https://github.com/grpc). Each `Status` message contains diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 6ce21353a..99f39c7af 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -268,6 +268,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SpanContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end @@ -763,6 +769,13 @@ module Google end end + class SpanContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :span_name, as: 'spanName' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation