Class: Google::Apis::ContentV2_1::LiaInventorySettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiaInventorySettings

Returns a new instance of LiaInventorySettings.



3558
3559
3560
# File 'lib/google/apis/content_v2_1/classes.rb', line 3558

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

Instance Attribute Details

#inventory_verification_contact_emailString

The email of the contact for the inventory verification process. Corresponds to the JSON property inventoryVerificationContactEmail

Returns:

  • (String)


3539
3540
3541
# File 'lib/google/apis/content_v2_1/classes.rb', line 3539

def inventory_verification_contact_email
  @inventory_verification_contact_email
end

#inventory_verification_contact_nameString

The name of the contact for the inventory verification process. Corresponds to the JSON property inventoryVerificationContactName

Returns:

  • (String)


3544
3545
3546
# File 'lib/google/apis/content_v2_1/classes.rb', line 3544

def inventory_verification_contact_name
  @inventory_verification_contact_name
end

#inventory_verification_contact_statusString

The status of the verification contact. Acceptable values are: - "active" - " inactive" - "pending" Corresponds to the JSON property inventoryVerificationContactStatus

Returns:

  • (String)


3550
3551
3552
# File 'lib/google/apis/content_v2_1/classes.rb', line 3550

def inventory_verification_contact_status
  @inventory_verification_contact_status
end

#statusString

The status of the inventory verification process. Acceptable values are: - " active" - "inactive" - "pending" Corresponds to the JSON property status

Returns:

  • (String)


3556
3557
3558
# File 'lib/google/apis/content_v2_1/classes.rb', line 3556

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3563
3564
3565
3566
3567
3568
# File 'lib/google/apis/content_v2_1/classes.rb', line 3563

def update!(**args)
  @inventory_verification_contact_email = args[:inventory_verification_contact_email] if args.key?(:inventory_verification_contact_email)
  @inventory_verification_contact_name = args[:inventory_verification_contact_name] if args.key?(:inventory_verification_contact_name)
  @inventory_verification_contact_status = args[:inventory_verification_contact_status] if args.key?(:inventory_verification_contact_status)
  @status = args[:status] if args.key?(:status)
end