lib/fire_cloud_client.rb
# update an individual workspace metadata entity
#
# * *params*
#   - +workspace_namespace+ (String) => namespace of workspace
#   - +workspace_name+ (String) => name of requested workspace
#   - +entity_type+ (String) => type of requested entity
#   - +entity_name+ (String) => name of requested entity
#   - +operation_type+ (String) => type of operation requested (add/update)
#   - +attribute_name+ (String) => name of attribute being changed
#   - +attribute_value+ (String) => value of attribute being changed
#
# * *return*
#   - +Array+ of workspace metadata entities with type and attribute information


*return
+Array+ of workspace metadata entities with type and attribute information
* return + Array + of workspace metadata entities with type and attribute information
def update_workspace_entity(workspace_namespace, workspace_name, entity_type, entity_name, operation_type, attribute_name, attribute_value)
    update = {
        op: operation_type,
        attributeName: attribute_name,
        addUpdateAttribute: attribute_value
    }.to_json
    path = self.api_root + "/api/workspaces/#{workspace_namespace}/#{workspace_name}/entities/#{entity_type}/#{entity_name}"
    process_firecloud_request(:patch, path, update)
  end
def update_workspace_entity ( workspace_namespace , workspace_name , entity_type , entity_name , operation_type , attribute_name , attribute_value ) update = { op : operation_type , attributeName : attribute_name , addUpdateAttribute : attribute_value } . to_json path = self . api_root + "/api/workspaces/#{workspace_namespace}/#{workspace_name}/entities/#{entity_type}/#{entity_name}" process_firecloud_request ( :patch , path , update ) end
update an individual workspace metadata entity
 *params
 +workspace_namespace+ (String) => namespace of workspace
 +workspace_name+ (String) => name of requested workspace
 +entity_type+ (String) => type of requested entity
 +entity_name+ (String) => name of requested entity
 +operation_type+ (String) => type of operation requested (add/update)
 +attribute_name+ (String) => name of attribute being changed
 +attribute_value+ (String) => value of attribute being changed
update an individual workspace metadata entity * params + workspace_namespace + ( String ) = > namespace of workspace + workspace_name + ( String ) = > name of requested workspace + entity_type + ( String ) = > type of requested entity + entity_name + ( String ) = > name of requested entity + operation_type + ( String ) = > type of operation requested ( add / update ) + attribute_name + ( String ) = > name of attribute being changed + attribute_value + ( String ) = > value of attribute being changed
workspace_namespace
<not_specific>
workspace_name
<not_specific>
entity_type
<not_specific>
entity_name
<not_specific>
operation_type
<not_specific>
attribute_name
<not_specific>
attribute_value
<not_specific>