Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerClient
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerClient
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A link between the given customer and a client customer. CustomerClients only exist for manager customers. All direct and indirect client customers are included, as well as the manager itself.
Instance Attribute Summary collapse
-
#applied_labels ⇒ Array<String>
Output only.
-
#client_customer ⇒ String
Output only.
-
#currency_code ⇒ String
Output only.
-
#descriptive_name ⇒ String
Output only.
-
#hidden ⇒ Boolean
(also: #hidden?)
Output only.
-
#id ⇒ Fixnum
Output only.
-
#level ⇒ Fixnum
Output only.
-
#manager ⇒ Boolean
(also: #manager?)
Output only.
-
#resource_name ⇒ String
Output only.
-
#status ⇒ String
Output only.
-
#test_account ⇒ Boolean
(also: #test_account?)
Output only.
-
#time_zone ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerClient
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCustomerClient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerClient
Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomerClient.
7014 7015 7016 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#applied_labels ⇒ Array<String>
Output only. The resource names of the labels owned by the requesting customer
that are applied to the client customer. Label resource names have the form:
customers/
customer_id/labels/
label_id`
Corresponds to the JSON property
appliedLabels`
6948 6949 6950 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6948 def applied_labels @applied_labels end |
#client_customer ⇒ String
Output only. The resource name of the client-customer which is linked to the
given customer. Read only.
Corresponds to the JSON property clientCustomer
6954 6955 6956 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6954 def client_customer @client_customer end |
#currency_code ⇒ String
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
only.
Corresponds to the JSON property currencyCode
6960 6961 6962 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6960 def currency_code @currency_code end |
#descriptive_name ⇒ String
Output only. Descriptive name for the client. Read only.
Corresponds to the JSON property descriptiveName
6965 6966 6967 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6965 def descriptive_name @descriptive_name end |
#hidden ⇒ Boolean Also known as:
Output only. Specifies whether this is a hidden account. Read only.
Corresponds to the JSON property hidden
6970 6971 6972 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6970 def hidden @hidden end |
#id ⇒ Fixnum
Output only. The ID of the client customer. Read only.
Corresponds to the JSON property id
6976 6977 6978 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6976 def id @id end |
#level ⇒ Fixnum
Output only. Distance between given customer and client. For self link, the
level value will be 0. Read only.
Corresponds to the JSON property level
6982 6983 6984 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6982 def level @level end |
#manager ⇒ Boolean Also known as: manager?
Output only. Identifies if the client is a manager. Read only.
Corresponds to the JSON property manager
6987 6988 6989 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6987 def manager @manager end |
#resource_name ⇒ String
Output only. The resource name of the customer client. CustomerClient resource
names have the form: customers/
customer_id/customerClients/
client_customer_id`
Corresponds to the JSON property
resourceName`
6995 6996 6997 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6995 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the client customer. Read only.
Corresponds to the JSON property status
7000 7001 7002 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7000 def status @status end |
#test_account ⇒ Boolean Also known as: test_account?
Output only. Identifies if the client is a test account. Read only.
Corresponds to the JSON property testAccount
7005 7006 7007 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7005 def test_account @test_account end |
#time_zone ⇒ String
Output only. Common Locale Data Repository (CLDR) string representation of the
time zone of the client, for example, America/Los_Angeles. Read only.
Corresponds to the JSON property timeZone
7012 7013 7014 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7012 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7019 def update!(**args) @applied_labels = args[:applied_labels] if args.key?(:applied_labels) @client_customer = args[:client_customer] if args.key?(:client_customer) @currency_code = args[:currency_code] if args.key?(:currency_code) @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name) @hidden = args[:hidden] if args.key?(:hidden) @id = args[:id] if args.key?(:id) @level = args[:level] if args.key?(:level) @manager = args[:manager] if args.key?(:manager) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) @test_account = args[:test_account] if args.key?(:test_account) @time_zone = args[:time_zone] if args.key?(:time_zone) end |