Class: Google::Apis::CloudsearchV1::HangoutEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HangoutEvent

Returns a new instance of HangoutEvent.



9271
9272
9273
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9271

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

Instance Attribute Details

#hangout_duration_secsFixnum

Corresponds to the JSON property hangoutDurationSecs

Returns:

  • (Fixnum)


9254
9255
9256
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9254

def hangout_duration_secs
  @hangout_duration_secs
end

#media_typeString

Corresponds to the JSON property mediaType

Returns:

  • (String)


9259
9260
9261
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9259

def media_type
  @media_type
end

#participant_idArray<Google::Apis::CloudsearchV1::StoredParticipantId>

Corresponds to the JSON property participantId



9264
9265
9266
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9264

def participant_id
  @participant_id
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


9269
9270
9271
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9269

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9276
9277
9278
9279
9280
9281
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9276

def update!(**args)
  @hangout_duration_secs = args[:hangout_duration_secs] if args.key?(:hangout_duration_secs)
  @media_type = args[:media_type] if args.key?(:media_type)
  @participant_id = args[:participant_id] if args.key?(:participant_id)
  @type = args[:type] if args.key?(:type)
end