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.



7543
7544
7545
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7543

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)


7531
7532
7533
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7531

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)


7541
7542
7543
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7541

def member_type
  @member_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7548
7549
7550
7551
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7548

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