NAME
Google::Cloud::Channel::V1::Customers - Compiled Protocol Buffers messages for google/cloud/channel/v1/customers.proto
SYNOPSIS
use Google::Cloud::Channel::V1::Customers;
my $msg = Google::Cloud::Channel::V1::Customers::Customer->new({
name => $name,
org_display_name => $org_display_name,
org_postal_address => $org_postal_address,
primary_contact_info => $primary_contact_info,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Channel::V1::Customers::Customer->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/channel/v1/customers.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Channel::V1::Customers::Customer
Entity representing a customer of a reseller or distributor.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
$msg->org_display_name()/$msg->org_display_name($value)Type:
StringRequired. Name of the organization that the customer entity represents.
$msg->org_postal_address()/$msg->org_postal_address($value)Type:
Message(Google::Type::PostalAddress::PostalAddress)Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
$msg->primary_contact_info()/$msg->primary_contact_info($value)Type:
Message(Google::Cloud::Channel::V1::Customers::ContactInfo)Primary contact info.
$msg->alternate_email()/$msg->alternate_email($value)Type:
StringSecondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
$msg->domain()/$msg->domain($value)Type:
StringRequired. The customer's primary domain. Must match the primary contact email's domain.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when the customer was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when the customer was updated.
$msg->cloud_identity_id()/$msg->cloud_identity_id($value)Type:
StringOutput only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
$msg->language_code()/$msg->language_code($value)Type:
StringOptional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
$msg->cloud_identity_info()/$msg->cloud_identity_info($value)Type:
Message(Google::Cloud::Channel::V1::Common::CloudIdentityInfo)Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
$msg->channel_partner_id()/$msg->channel_partner_id($value)Type:
StringCloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
$msg->correlation_id()/$msg->correlation_id($value)Type:
StringOptional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
$msg->customer_attestation_state()/$msg->customer_attestation_state($value)Type:
Enum(Google::Cloud::Channel::V1::Customer::CustomerAttestationState)Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
Enum: Customer::CustomerAttestationState
CUSTOMER_ATTESTATION_STATE_UNSPECIFIED=>0EXEMPT=>1NON_EXEMPT_AND_INFO_VERIFIED=>2
Google::Cloud::Channel::V1::Customers::ContactInfo
Contact information for a customer account.
Inherits from Protobuf::Message.
Accessors
$msg->first_name()/$msg->first_name($value)Type:
StringThe customer account contact's first name. Optional for Team customers.
$msg->last_name()/$msg->last_name($value)Type:
StringThe customer account contact's last name. Optional for Team customers.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
$msg->email()/$msg->email($value)Type:
StringThe customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
$msg->title()/$msg->title($value)Type:
StringOptional. The customer account contact's job title.
$msg->phone()/$msg->phone($value)Type:
StringThe customer account's contact phone number.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Channel::V1::Customers::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.