class Google::Apis::AdminDirectoryV1::CalendarResource
JSON template for Calendar Resource object in Directory API.
Attributes
The type of the resource. For calendar resources, the value is admin#directory# resources#calendars#CalendarResource. Corresponds to the JSON property `kind` @return [String]
The brief description of the calendar resource. Corresponds to the JSON property `resourceDescription` @return [String]
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]
The unique ID for the calendar resource. Corresponds to the JSON property `resourceId` @return [String]
The name of the calendar resource. For example, Training Room 1A Corresponds to the JSON property `resourceName` @return [String]
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
# File generated/google/apis/admin_directory_v1/classes.rb, line 228 def initialize(**args) update!(**args) end
Public Instance Methods
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