class Google::Apis::AdminDirectoryV1::CalendarResource
Public API: Resources.calendars
Attributes
Unique ID for the building a resource is located in. Corresponds to the JSON property `buildingId` @return [String]
Capacity of a resource, number of seats in a room. Corresponds to the JSON property `capacity` @return [Fixnum]
Instances of features for the calendar resource. Corresponds to the JSON property `featureInstances` @return [Object]
Name of the floor a resource is located on. Corresponds to the JSON property `floorName` @return [String]
Name of the section within a floor a resource is located in. Corresponds to the JSON property `floorSection` @return [String]
The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, “NYC-2-Training Room 1A (16)”. Corresponds to the JSON property `generatedResourceName` @return [String]
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 category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. Corresponds to the JSON property `resourceCategory` @return [String]
Description of the resource, visible only to admins. Corresponds to the JSON property `resourceDescription` @return [String]
The read-only email 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, intended for non-room resources. Corresponds to the JSON property `resourceType` @return [String]
Description of the resource, visible to users and admins. Corresponds to the JSON property `userVisibleDescription` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 586 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 591 def update!(**args) @building_id = args[:building_id] if args.key?(:building_id) @capacity = args[:capacity] if args.key?(:capacity) @etags = args[:etags] if args.key?(:etags) @feature_instances = args[:feature_instances] if args.key?(:feature_instances) @floor_name = args[:floor_name] if args.key?(:floor_name) @floor_section = args[:floor_section] if args.key?(:floor_section) @generated_resource_name = args[:generated_resource_name] if args.key?(:generated_resource_name) @kind = args[:kind] if args.key?(:kind) @resource_category = args[:resource_category] if args.key?(:resource_category) @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) @user_visible_description = args[:user_visible_description] if args.key?(:user_visible_description) end