class Google::Apis::ClouduseraccountsBeta::Group

A Group resource.

Attributes

creation_timestamp[RW]
Output Only

Creation timestamp in RFC3339 text format.

Corresponds to the JSON property `creationTimestamp` @return [String]

description[RW]

An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]

id[RW]
Output Only

Unique identifier for the resource; defined by the server.

Corresponds to the JSON property `id` @return [String]

kind[RW]
Output Only

Type of the resource. Always clouduseraccounts#group for groups.

Corresponds to the JSON property `kind` @return [String]

members[RW]
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` @return [Array<String>]

name[RW]

Name of the resource; provided by the client when the resource is created. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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