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.



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

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



11157
11158
11159
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11157

def category
  @category
end

#update_maskString

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

Returns:

  • (String)


11162
11163
11164
# File 'lib/google/apis/dataplex_v1/classes.rb', line 11162

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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