class Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer

Status of the activity as seen by the viewer.

Attributes

can_comment[RW]

Whether the viewer can comment on the activity. Corresponds to the JSON property `canComment` @return [Boolean]

can_comment?[RW]

Whether the viewer can comment on the activity. Corresponds to the JSON property `canComment` @return [Boolean]

can_plusone[RW]

Whether the viewer can +1 the activity. Corresponds to the JSON property `canPlusone` @return [Boolean]

can_plusone?[RW]

Whether the viewer can +1 the activity. Corresponds to the JSON property `canPlusone` @return [Boolean]

can_update[RW]

Whether the viewer can edit or delete the activity. Corresponds to the JSON property `canUpdate` @return [Boolean]

can_update?[RW]

Whether the viewer can edit or delete the activity. Corresponds to the JSON property `canUpdate` @return [Boolean]

is_plus_oned[RW]

Whether the viewer has +1'd the activity. Corresponds to the JSON property `isPlusOned` @return [Boolean]

is_plus_oned?[RW]

Whether the viewer has +1'd the activity. Corresponds to the JSON property `isPlusOned` @return [Boolean]

resharing_disabled[RW]

Whether reshares are disabled for the activity. Corresponds to the JSON property `resharingDisabled` @return [Boolean]

resharing_disabled?[RW]

Whether reshares are disabled for the activity. Corresponds to the JSON property `resharingDisabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_domains_v1/classes.rb, line 950
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_domains_v1/classes.rb, line 955
def update!(**args)
  @can_comment = args[:can_comment] if args.key?(:can_comment)
  @can_plusone = args[:can_plusone] if args.key?(:can_plusone)
  @can_update = args[:can_update] if args.key?(:can_update)
  @is_plus_oned = args[:is_plus_oned] if args.key?(:is_plus_oned)
  @resharing_disabled = args[:resharing_disabled] if args.key?(:resharing_disabled)
end