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.



1810
1811
1812
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1810

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)


1808
1809
1810
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1808

def knowledge_graph_machine_id
  @knowledge_graph_machine_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1815
1816
1817
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1815

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