Class: Google::Apis::ClouduseraccountsAlpha::Group
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsAlpha::Group
- Defined in:
- generated/google/apis/clouduseraccounts_alpha/classes.rb,
generated/google/apis/clouduseraccounts_alpha/representations.rb,
generated/google/apis/clouduseraccounts_alpha/representations.rb
Overview
A Group resource.
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ String
An optional textual description of the resource; provided by the client when the resource is created.
-
#id ⇒ Fixnum
[Output Only] Unique identifier for the resource; defined by the server.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#members ⇒ Array<String>
[Output Only] A list of URLs to User resources who belong to the group.
-
#name ⇒ String
Name of the resource; provided by the client when the resource is created.
-
#self_link ⇒ String
[Output Only] Server defined URL for the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Group
constructor
A new instance of Group.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group
211 212 213 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
Corresponds to the JSON property creationTimestamp
177 178 179 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 177 def @creation_timestamp end |
#description ⇒ String
An optional textual description of the resource; provided by the client when
the resource is created.
Corresponds to the JSON property description
183 184 185 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 183 def description @description end |
#id ⇒ Fixnum
[Output Only] Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
188 189 190 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 188 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always clouduseraccounts#group for groups.
Corresponds to the JSON property kind
193 194 195 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 193 def kind @kind end |
#members ⇒ Array<String>
[Output Only] A list of URLs to User resources who belong to the group. Users
may only be members of groups in the same project.
Corresponds to the JSON property members
199 200 201 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 199 def members @members end |
#name ⇒ String
Name of the resource; provided by the client when the resource is created.
Corresponds to the JSON property name
204 205 206 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 204 def name @name end |
#self_link ⇒ String
[Output Only] Server defined URL for the resource.
Corresponds to the JSON property selfLink
209 210 211 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 209 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
216 217 218 219 220 221 222 223 224 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 216 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @members = args[:members] if args.key?(:members) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) end |