Class: Google::Apis::CloudsearchV1::EventProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EventProto
- 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
-
#event_id ⇒ String
Event IDs consist of alphanumeric characters and colons.
-
#member_type ⇒ Fixnum
The type of Event members to consider, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventProto
constructor
A new instance of EventProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventProto
Returns a new instance of EventProto.
8812 8813 8814 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_id ⇒ String
Event IDs consist of alphanumeric characters and colons. Currently required.
Corresponds to the JSON property eventId
8800 8801 8802 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8800 def event_id @event_id end |
#member_type ⇒ Fixnum
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
8810 8811 8812 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8810 def member_type @member_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8817 8818 8819 8820 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8817 def update!(**args) @event_id = args[:event_id] if args.key?(:event_id) @member_type = args[:member_type] if args.key?(:member_type) end |