Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata

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

Overview

Metadata associated with a Knowledge Graph Entity attribute.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata

Returns a new instance of GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata.



6140
6141
6142
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6140

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

Instance Attribute Details

#entity_capabilitiesArray<String>

The capabilities of the entity used in ContentCreatorInsightsService. Corresponds to the JSON property entityCapabilities

Returns:

  • (Array<String>)


6133
6134
6135
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6133

def entity_capabilities
  @entity_capabilities
end

A list of CATEGORY attributes related to this entity. Corresponds to the JSON property relatedCategories



6138
6139
6140
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6138

def related_categories
  @related_categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6145
6146
6147
6148
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6145

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