Class: Google::Apis::CloudsearchV1::ContactGroupProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ContactGroupProto
- 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
A group of contacts for a given user, as described in http://cs/p#google3/ focus/backend/proto/backend.proto Historically (and in still-existing ACLs), this was used to represent Google+ circles as well as contact groups, but this use is now deprecated. New code should use the CIRCLE principal type to represent Google+ circles.
Instance Attribute Summary collapse
-
#group_id ⇒ Fixnum
Group ID is unique only relative to the owner's Gaia ID.
-
#owner_gaia_id ⇒ Fixnum
Corresponds to the JSON property
ownerGaiaId
. -
#required_consistency_timestamp_usec ⇒ Fixnum
If present, then tests for membership in this ContactGroup must use data known to be at least as fresh as the given (FBS-assigned) timestamp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContactGroupProto
constructor
A new instance of ContactGroupProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContactGroupProto
Returns a new instance of ContactGroupProto.
6643 6644 6645 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ Fixnum
Group ID is unique only relative to the owner's Gaia ID.
Corresponds to the JSON property groupId
6625 6626 6627 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6625 def group_id @group_id end |
#owner_gaia_id ⇒ Fixnum
Corresponds to the JSON property ownerGaiaId
6630 6631 6632 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6630 def owner_gaia_id @owner_gaia_id end |
#required_consistency_timestamp_usec ⇒ Fixnum
If present, then tests for membership in this ContactGroup must use data known
to be at least as fresh as the given (FBS-assigned) timestamp. See http://go/
fbs-consistent-read-after-important-write Before using this, be sure that any
service checking authorization against this group supports checking
consistency timestamps. For example, as of 12/2011, Keystore only supports
this for the Moonshine configuration, and in others authorization checks will
fail if the timestamp is present.
Corresponds to the JSON property requiredConsistencyTimestampUsec
6641 6642 6643 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6641 def @required_consistency_timestamp_usec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6648 6649 6650 6651 6652 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6648 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @owner_gaia_id = args[:owner_gaia_id] if args.key?(:owner_gaia_id) @required_consistency_timestamp_usec = args[:required_consistency_timestamp_usec] if args.key?(:required_consistency_timestamp_usec) end |