Class: Google::Apis::PlusDomainsV1::Audience
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Audience
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of this response for caching purposes.
-
#item ⇒ Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource
The access control list entry.
-
#kind ⇒ String
Identifies this resource as an audience.
-
#member_count ⇒ Fixnum
The number of people in this circle.
-
#visibility ⇒ String
The circle members' visibility as chosen by the owner of the circle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Audience
constructor
A new instance of Audience.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Audience
Returns a new instance of Audience
1090 1091 1092 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1090 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of this response for caching purposes.
Corresponds to the JSON property etag
1063 1064 1065 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1063 def etag @etag end |
#item ⇒ Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource
The access control list entry.
Corresponds to the JSON property item
1068 1069 1070 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1068 def item @item end |
#kind ⇒ String
Identifies this resource as an audience. Value: "plus#audience".
Corresponds to the JSON property kind
1073 1074 1075 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1073 def kind @kind end |
#member_count ⇒ Fixnum
The number of people in this circle. This only applies if entity_type is
CIRCLE.
Corresponds to the JSON property memberCount
1079 1080 1081 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1079 def member_count @member_count end |
#visibility ⇒ String
The circle members' visibility as chosen by the owner of the circle. This only applies for items with "item.type" equals "circle". Possible values are:
- "public" - Members are visible to the public.
- "limited" - Members are visible to a limited audience.
- "private" - Members are visible to the owner only.
Corresponds to the JSON property
visibility
1088 1089 1090 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1088 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1095 1096 1097 1098 1099 1100 1101 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1095 def update!(**args) @etag = args[:etag] if args.key?(:etag) @item = args[:item] if args.key?(:item) @kind = args[:kind] if args.key?(:kind) @member_count = args[:member_count] if args.key?(:member_count) @visibility = args[:visibility] if args.key?(:visibility) end |