class Google::Apis::SheetsV4::OrgChartSpec
President“, ”VP Sales“.
parent_labels contain ”“, ”Alice“, ”Alice“ and tooltips contain ”CEO“, ”
reporting to Alice), have labels contain “Alice”, “Bob”, “Cathy”,
CEO, Bob as the President (reporting to Alice) and Cathy as VP of Sales (also
an optional tooltip. For example, to describe an OrgChart with Alice as the
node, the label identifying the parent node. tooltips contain, for each node,
optionally include parent_labels and tooltips. parent_labels contain, for each
An org chart. Org charts require a unique set of labels in labels and may
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @labels = args[:labels] if args.key?(:labels) @node_color = args[:node_color] if args.key?(:node_color) @node_color_style = args[:node_color_style] if args.key?(:node_color_style) @node_size = args[:node_size] if args.key?(:node_size) @parent_labels = args[:parent_labels] if args.key?(:parent_labels) @selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color) @selected_node_color_style = args[:selected_node_color_style] if args.key?(:selected_node_color_style) @tooltips = args[:tooltips] if args.key?(:tooltips) end