class Google::Apis::AdminDirectoryV1::CalendarResource

JSON template for Calendar Resource object in Directory API.

Attributes

etags[RW]

ETag of the resource. Corresponds to the JSON property `etags` @return [String]

kind[RW]

The type of the resource. For calendar resources, the value is admin#directory# resources#calendars#CalendarResource. Corresponds to the JSON property `kind` @return [String]

resource_description[RW]

The brief description of the calendar resource. Corresponds to the JSON property `resourceDescription` @return [String]

resource_email[RW]

The read-only email ID for the calendar resource. Generated as part of creating a new calendar resource. Corresponds to the JSON property `resourceEmail` @return [String]

resource_id[RW]

The unique ID for the calendar resource. Corresponds to the JSON property `resourceId` @return [String]

resource_name[RW]

The name of the calendar resource. For example, Training Room 1A Corresponds to the JSON property `resourceName` @return [String]

resource_type[RW]

The type of the calendar resource. Used for grouping resources in the calendar user interface. Corresponds to the JSON property `resourceType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 233
def update!(**args)
  @etags = args[:etags] if args.key?(:etags)
  @kind = args[:kind] if args.key?(:kind)
  @resource_description = args[:resource_description] if args.key?(:resource_description)
  @resource_email = args[:resource_email] if args.key?(:resource_email)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end