class Google::Apis::MybusinessaccountmanagementV1::OrganizationInfo

Additional information stored for an organization.

Attributes

address[RW]

Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https:// github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: support. google.com/business/answer/6397478 Corresponds to the JSON property `address` @return [Google::Apis::MybusinessaccountmanagementV1::PostalAddress]

phone_number[RW]

Output only. The contact number for the organization. Corresponds to the JSON property `phoneNumber` @return [String]

registered_domain[RW]

Output only. The registered domain for the account. Corresponds to the JSON property `registeredDomain` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 363
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 368
def update!(**args)
  @address = args[:address] if args.key?(:address)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @registered_domain = args[:registered_domain] if args.key?(:registered_domain)
end