Class: Google::Apis::ClouduseraccountsBeta::Group
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsBeta::Group
- Defined in:
- generated/google/apis/clouduseraccounts_beta/classes.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb,
generated/google/apis/clouduseraccounts_beta/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 ⇒ String
[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.
93 94 95 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 93 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
59 60 61 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 59 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
65 66 67 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 65 def description @description end |
#id ⇒ String
[Output Only] Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
70 71 72 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 70 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always clouduseraccounts#group for groups.
Corresponds to the JSON property kind
75 76 77 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 75 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
81 82 83 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 81 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
86 87 88 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 86 def name @name end |
#self_link ⇒ String
[Output Only] Server defined URL for the resource.
Corresponds to the JSON property selfLink
91 92 93 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 91 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
98 99 100 101 102 103 104 105 106 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 98 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 |