Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1UpdateGlossaryCategoryRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Update GlossaryCategory Request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1UpdateGlossaryCategoryRequest

Returns a new instance of GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.



11171
11172
11173
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11171

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#categoryGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GlossaryCategory

A GlossaryCategory represents a collection of GlossaryCategories and GlossaryTerms within a Glossary that are related to each other. Corresponds to the JSON property category



11164
11165
11166
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11164

def category
  @category
end

#update_maskString

Required. The list of fields to update. Corresponds to the JSON property updateMask

Returns:

  • (String)


11169
11170
11171
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11169

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11176
11177
11178
11179
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11176

def update!(**args)
  @category = args[:category] if args.key?(:category)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end