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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiaInventorySettings

Returns a new instance of LiaInventorySettings.



2990
2991
2992
# File 'generated/google/apis/content_v2_1/classes.rb', line 2990

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)


2965
2966
2967
# File 'generated/google/apis/content_v2_1/classes.rb', line 2965

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)


2970
2971
2972
# File 'generated/google/apis/content_v2_1/classes.rb', line 2970

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)


2979
2980
2981
# File 'generated/google/apis/content_v2_1/classes.rb', line 2979

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)


2988
2989
2990
# File 'generated/google/apis/content_v2_1/classes.rb', line 2988

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2995
2996
2997
2998
2999
3000
# File 'generated/google/apis/content_v2_1/classes.rb', line 2995

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