Class: Google::Apis::CloudsearchV1::EventProto

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

Represents the invitees or other users associated with a Google+ Event (see http://goto/events-backend-design).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventProto

Returns a new instance of EventProto.



8876
8877
8878
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8876

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

Instance Attribute Details

#event_idString

Event IDs consist of alphanumeric characters and colons. Currently required. Corresponds to the JSON property eventId

Returns:

  • (String)


8864
8865
8866
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8864

def event_id
  @event_id
end

#member_typeFixnum

The type of Event members to consider, e.g. "all members" vs. "owners" vs. " admins". These are defined by legacy_relation_id values in social.graph. storage.EdgeTypeEnum.EdgeType enum options in social/graph/storage/proto/id. proto. See event.pb (defined in production/config/cdd/socialgraph/mixer_config/ prod/node_type_config) for all valid edge types associated with event. Currently required. Corresponds to the JSON property memberType

Returns:

  • (Fixnum)


8874
8875
8876
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8874

def member_type
  @member_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8881
8882
8883
8884
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8881

def update!(**args)
  @event_id = args[:event_id] if args.key?(:event_id)
  @member_type = args[:member_type] if args.key?(:member_type)
end