Class: Google::Apis::ContentV2::ProductAspect

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductAspect

Returns a new instance of ProductAspect.



9400
9401
9402
# File 'lib/google/apis/content_v2/classes.rb', line 9400

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

Instance Attribute Details

#aspect_nameString

Deprecated. Corresponds to the JSON property aspectName

Returns:

  • (String)


9388
9389
9390
# File 'lib/google/apis/content_v2/classes.rb', line 9388

def aspect_name
  @aspect_name
end

#destination_nameString

Deprecated. Corresponds to the JSON property destinationName

Returns:

  • (String)


9393
9394
9395
# File 'lib/google/apis/content_v2/classes.rb', line 9393

def destination_name
  @destination_name
end

#intentionString

Deprecated. Corresponds to the JSON property intention

Returns:

  • (String)


9398
9399
9400
# File 'lib/google/apis/content_v2/classes.rb', line 9398

def intention
  @intention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9405
9406
9407
9408
9409
# File 'lib/google/apis/content_v2/classes.rb', line 9405

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