Class: Google::Apis::PlusDomainsV1::Circle

Inherits:
Object
  • Object
show all
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

Defined Under Namespace

Classes: People

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Circle

Returns a new instance of Circle



1189
1190
1191
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1189

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

The description of this circle. Corresponds to the JSON property description

Returns:

  • (String)


1157
1158
1159
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1157

def description
  @description
end

#display_nameString

The circle name. Corresponds to the JSON property displayName

Returns:

  • (String)


1162
1163
1164
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1162

def display_name
  @display_name
end

#etagString

ETag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)


1167
1168
1169
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1167

def etag
  @etag
end

#idString

The ID of the circle. Corresponds to the JSON property id

Returns:

  • (String)


1172
1173
1174
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1172

def id
  @id
end

#kindString

Identifies this resource as a circle. Value: "plus#circle". Corresponds to the JSON property kind

Returns:

  • (String)


1177
1178
1179
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1177

def kind
  @kind
end

#peopleGoogle::Apis::PlusDomainsV1::Circle::People

The people in this circle. Corresponds to the JSON property people



1182
1183
1184
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1182

def people
  @people
end

Link to this circle resource Corresponds to the JSON property selfLink

Returns:

  • (String)


1187
1188
1189
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1187

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
1198
1199
1200
1201
1202
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1194

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @people = args[:people] if args.key?(:people)
  @self_link = args[:self_link] if args.key?(:self_link)
end