Class: Google::Apis::CloudsearchV1::BabelPlaceholderMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Annotation metadata for Babel-only items that signals which type of placeholder message should be displayed in Babel clients.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BabelPlaceholderMetadata

Returns a new instance of BabelPlaceholderMetadata.



5044
5045
5046
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5044

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delete_metadataGoogle::Apis::CloudsearchV1::DeleteMetadata

A message delete in Dynamite inserts a Babel-only item containing this field. This is only inserted for messages before the source-of-truth flip. See go/hsc- message-deletions for more details. Corresponds to the JSON property deleteMetadata



5032
5033
5034
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5032

def 
  @delete_metadata
end

#edit_metadataGoogle::Apis::CloudsearchV1::EditMetadata

A message edit in Dynamite inserts a Babel-only item containing this field. Corresponds to the JSON property editMetadata



5037
5038
5039
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5037

def 
  @edit_metadata
end

#hangout_video_metadataGoogle::Apis::CloudsearchV1::HangoutVideoEventMetadata

A message representing the Hangout video start/end events in Babel Corresponds to the JSON property hangoutVideoMetadata



5042
5043
5044
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5042

def 
  @hangout_video_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5049
5050
5051
5052
5053
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5049

def update!(**args)
  @delete_metadata = args[:delete_metadata] if args.key?(:delete_metadata)
  @edit_metadata = args[:edit_metadata] if args.key?(:edit_metadata)
  @hangout_video_metadata = args[:hangout_video_metadata] if args.key?(:hangout_video_metadata)
end