Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceInsightsEntity

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

A Knowledge Graph entity, represented by its machine id.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceInsightsEntity

Returns a new instance of GoogleAdsSearchads360V23CommonAudienceInsightsEntity.



1750
1751
1752
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1750

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

Instance Attribute Details

#knowledge_graph_machine_idString

Required. The machine ID (mid) of the Knowledge Graph entity. Corresponds to the JSON property knowledgeGraphMachineId

Returns:

  • (String)


1748
1749
1750
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1748

def knowledge_graph_machine_id
  @knowledge_graph_machine_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1755
1756
1757
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1755

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