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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/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.



9375
9376
9377
# File 'generated/google/apis/content_v2/classes.rb', line 9375

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

Instance Attribute Details

#aspect_nameString

Deprecated. Corresponds to the JSON property aspectName

Returns:

  • (String)


9363
9364
9365
# File 'generated/google/apis/content_v2/classes.rb', line 9363

def aspect_name
  @aspect_name
end

#destination_nameString

Deprecated. Corresponds to the JSON property destinationName

Returns:

  • (String)


9368
9369
9370
# File 'generated/google/apis/content_v2/classes.rb', line 9368

def destination_name
  @destination_name
end

#intentionString

Deprecated. Corresponds to the JSON property intention

Returns:

  • (String)


9373
9374
9375
# File 'generated/google/apis/content_v2/classes.rb', line 9373

def intention
  @intention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9380
9381
9382
9383
9384
# File 'generated/google/apis/content_v2/classes.rb', line 9380

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