Class: Google::Apis::ContentV2_1::AccountStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountStatus
- 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
Overview
The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the account for which the status is reported.
-
#account_level_issues ⇒ Array<Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue>
A list of account level issues.
-
#account_management ⇒ String
How the account is managed.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#products ⇒ Array<Google::Apis::ContentV2_1::AccountStatusProducts>
List of product-related data by channel, destination, and country.
-
#website_claimed ⇒ Boolean
(also: #website_claimed?)
Whether the account's website is claimed or not.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatus
constructor
A new instance of AccountStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountStatus
Returns a new instance of AccountStatus.
992 993 994 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The ID of the account for which the status is reported.
Corresponds to the JSON property accountId
961 962 963 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 961 def account_id @account_id end |
#account_level_issues ⇒ Array<Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue>
A list of account level issues.
Corresponds to the JSON property accountLevelIssues
966 967 968 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 966 def account_level_issues @account_level_issues end |
#account_management ⇒ String
How the account is managed. Acceptable values are: - "manual
" - "automatic
"
Corresponds to the JSON property accountManagement
972 973 974 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 972 def account_management @account_management end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
accountStatus
"
Corresponds to the JSON property kind
978 979 980 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 978 def kind @kind end |
#products ⇒ Array<Google::Apis::ContentV2_1::AccountStatusProducts>
List of product-related data by channel, destination, and country. Data in
this field may be delayed by up to 30 minutes.
Corresponds to the JSON property products
984 985 986 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 984 def products @products end |
#website_claimed ⇒ Boolean Also known as: website_claimed?
Whether the account's website is claimed or not.
Corresponds to the JSON property websiteClaimed
989 990 991 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 989 def website_claimed @website_claimed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 997 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues) @account_management = args[:account_management] if args.key?(:account_management) @kind = args[:kind] if args.key?(:kind) @products = args[:products] if args.key?(:products) @website_claimed = args[:website_claimed] if args.key?(:website_claimed) end |