Class: Google::Apis::MerchantapiAccountsV1beta::About

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

Overview

Collection of information related to the about page (impressum).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ About

Returns a new instance of About.



41
42
43
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 41

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

Instance Attribute Details

#stateString

Output only. The state of the URI. Corresponds to the JSON property state

Returns:

  • (String)


34
35
36
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 34

def state
  @state
end

#uriString

Required. The about page URI. Corresponds to the JSON property uri

Returns:

  • (String)


39
40
41
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 39

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46
47
48
49
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 46

def update!(**args)
  @state = args[:state] if args.key?(:state)
  @uri = args[:uri] if args.key?(:uri)
end