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.



10917
10918
10919
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10917

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

Instance Attribute Details

#hangout_duration_secsFixnum

Corresponds to the JSON property hangoutDurationSecs

Returns:

  • (Fixnum)


10900
10901
10902
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10900

def hangout_duration_secs
  @hangout_duration_secs
end

#media_typeString

Corresponds to the JSON property mediaType

Returns:

  • (String)


10905
10906
10907
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10905

def media_type
  @media_type
end

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

Corresponds to the JSON property participantId



10910
10911
10912
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10910

def participant_id
  @participant_id
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


10915
10916
10917
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10915

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10922
10923
10924
10925
10926
10927
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10922

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