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.



10994
10995
10996
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10994

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

Instance Attribute Details

#hangout_duration_secsFixnum

Corresponds to the JSON property hangoutDurationSecs

Returns:

  • (Fixnum)


10977
10978
10979
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10977

def hangout_duration_secs
  @hangout_duration_secs
end

#media_typeString

Corresponds to the JSON property mediaType

Returns:

  • (String)


10982
10983
10984
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10982

def media_type
  @media_type
end

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

Corresponds to the JSON property participantId



10987
10988
10989
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10987

def participant_id
  @participant_id
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


10992
10993
10994
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10992

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10999
11000
11001
11002
11003
11004
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10999

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