Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.cloudchannel/v1.getCustomer
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the requested Customer resource. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer resource doesn’t exist. Usually the result of an invalid name parameter. Return value: The Customer resource.
Using getCustomer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomer(args: GetCustomerArgs, opts?: InvokeOptions): Promise<GetCustomerResult>
function getCustomerOutput(args: GetCustomerOutputArgs, opts?: InvokeOptions): Output<GetCustomerResult>
def get_customer(account_id: Optional[str] = None,
channel_partner_link_id: Optional[str] = None,
customer_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomerResult
def get_customer_output(account_id: Optional[pulumi.Input[str]] = None,
channel_partner_link_id: Optional[pulumi.Input[str]] = None,
customer_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomerResult]
func LookupCustomer(ctx *Context, args *LookupCustomerArgs, opts ...InvokeOption) (*LookupCustomerResult, error)
func LookupCustomerOutput(ctx *Context, args *LookupCustomerOutputArgs, opts ...InvokeOption) LookupCustomerResultOutput
> Note: This function is named LookupCustomer
in the Go SDK.
public static class GetCustomer
{
public static Task<GetCustomerResult> InvokeAsync(GetCustomerArgs args, InvokeOptions? opts = null)
public static Output<GetCustomerResult> Invoke(GetCustomerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomerResult> getCustomer(GetCustomerArgs args, InvokeOptions options)
public static Output<GetCustomerResult> getCustomer(GetCustomerArgs args, InvokeOptions options)
fn::invoke:
function: google-native:cloudchannel/v1:getCustomer
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id This property is required. string - Channel
Partner Link Id This property is required. string - Customer
Id This property is required. string
- Account
Id This property is required. string - Channel
Partner Link Id This property is required. string - Customer
Id This property is required. string
- account
Id This property is required. String - channel
Partner Link Id This property is required. String - customer
Id This property is required. String
- account
Id This property is required. string - channel
Partner Link Id This property is required. string - customer
Id This property is required. string
- account_
id This property is required. str - channel_
partner_ link_ id This property is required. str - customer_
id This property is required. str
- account
Id This property is required. String - channel
Partner Link Id This property is required. String - customer
Id This property is required. String
getCustomer Result
The following output properties are available:
- Alternate
Email string - Secondary 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.
- Channel
Partner stringId - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- Cloud
Identity stringId - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- Cloud
Identity Pulumi.Info Google Native. Cloud Channel. V1. Outputs. Google Cloud Channel V1Cloud Identity Info Response - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- Correlation
Id string - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- Create
Time string - Time when the customer was created.
- Domain string
- The customer's primary domain. Must match the primary contact email's domain.
- Language
Code string - Optional. 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.
- Name string
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- Org
Display stringName - Name of the organization that the customer entity represents.
- Org
Postal Pulumi.Address Google Native. Cloud Channel. V1. Outputs. Google Type Postal Address Response - 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.
- Primary
Contact Pulumi.Info Google Native. Cloud Channel. V1. Outputs. Google Cloud Channel V1Contact Info Response - Primary contact info.
- Update
Time string - Time when the customer was updated.
- Alternate
Email string - Secondary 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.
- Channel
Partner stringId - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- Cloud
Identity stringId - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- Cloud
Identity GoogleInfo Cloud Channel V1Cloud Identity Info Response - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- Correlation
Id string - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- Create
Time string - Time when the customer was created.
- Domain string
- The customer's primary domain. Must match the primary contact email's domain.
- Language
Code string - Optional. 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.
- Name string
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- Org
Display stringName - Name of the organization that the customer entity represents.
- Org
Postal GoogleAddress Type Postal Address Response - 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.
- Primary
Contact GoogleInfo Cloud Channel V1Contact Info Response - Primary contact info.
- Update
Time string - Time when the customer was updated.
- alternate
Email String - Secondary 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.
- channel
Partner StringId - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- cloud
Identity StringId - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- cloud
Identity GoogleInfo Cloud Channel V1Cloud Identity Info Response - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- correlation
Id String - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- create
Time String - Time when the customer was created.
- domain String
- The customer's primary domain. Must match the primary contact email's domain.
- language
Code String - Optional. 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.
- name String
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- org
Display StringName - Name of the organization that the customer entity represents.
- org
Postal GoogleAddress Type Postal Address Response - 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.
- primary
Contact GoogleInfo Cloud Channel V1Contact Info Response - Primary contact info.
- update
Time String - Time when the customer was updated.
- alternate
Email string - Secondary 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.
- channel
Partner stringId - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- cloud
Identity stringId - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- cloud
Identity GoogleInfo Cloud Channel V1Cloud Identity Info Response - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- correlation
Id string - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- create
Time string - Time when the customer was created.
- domain string
- The customer's primary domain. Must match the primary contact email's domain.
- language
Code string - Optional. 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.
- name string
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- org
Display stringName - Name of the organization that the customer entity represents.
- org
Postal GoogleAddress Type Postal Address Response - 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.
- primary
Contact GoogleInfo Cloud Channel V1Contact Info Response - Primary contact info.
- update
Time string - Time when the customer was updated.
- alternate_
email str - Secondary 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.
- channel_
partner_ strid - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- cloud_
identity_ strid - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- cloud_
identity_ Googleinfo Cloud Channel V1Cloud Identity Info Response - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- correlation_
id str - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- create_
time str - Time when the customer was created.
- domain str
- The customer's primary domain. Must match the primary contact email's domain.
- language_
code str - Optional. 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.
- name str
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- org_
display_ strname - Name of the organization that the customer entity represents.
- org_
postal_ Googleaddress Type Postal Address Response - 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.
- primary_
contact_ Googleinfo Cloud Channel V1Contact Info Response - Primary contact info.
- update_
time str - Time when the customer was updated.
- alternate
Email String - Secondary 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.
- channel
Partner StringId - Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
- cloud
Identity StringId - The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
- cloud
Identity Property MapInfo - Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
- correlation
Id String - Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
- create
Time String - Time when the customer was created.
- domain String
- The customer's primary domain. Must match the primary contact email's domain.
- language
Code String - Optional. 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.
- name String
- Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
- org
Display StringName - Name of the organization that the customer entity represents.
- org
Postal Property MapAddress - 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.
- primary
Contact Property MapInfo - Primary contact info.
- update
Time String - Time when the customer was updated.
Supporting Types
GoogleCloudChannelV1CloudIdentityInfoResponse
- Admin
Console Uri This property is required. string - URI of Customer's Admin console dashboard.
- Alternate
Email This property is required. string - The alternate email.
- Customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- Edu
Data This property is required. Pulumi.Google Native. Cloud Channel. V1. Inputs. Google Cloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain Verified This property is required. bool - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- Language
Code This property is required. string - Language code.
- Phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- Primary
Domain This property is required. string - The primary domain name.
- Admin
Console Uri This property is required. string - URI of Customer's Admin console dashboard.
- Alternate
Email This property is required. string - The alternate email.
- Customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- Edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain Verified This property is required. bool - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- Language
Code This property is required. string - Language code.
- Phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- Primary
Domain This property is required. string - The primary domain name.
- admin
Console Uri This property is required. String - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. String - The alternate email.
- customer
Type This property is required. String - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain Verified This property is required. Boolean - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- language
Code This property is required. String - Language code.
- phone
Number This property is required. String - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. String - The primary domain name.
- admin
Console Uri This property is required. string - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. string - The alternate email.
- customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain Verified This property is required. boolean - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- language
Code This property is required. string - Language code.
- phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. string - The primary domain name.
- admin_
console_ uri This property is required. str - URI of Customer's Admin console dashboard.
- alternate_
email This property is required. str - The alternate email.
- customer_
type This property is required. str - CustomerType indicates verification type needed for using services.
- edu_
data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is_
domain_ verified This property is required. bool - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- language_
code This property is required. str - Language code.
- phone_
number This property is required. str - Phone number associated with the Cloud Identity.
- primary_
domain This property is required. str - The primary domain name.
- admin
Console Uri This property is required. String - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. String - The alternate email.
- customer
Type This property is required. String - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. Property Map - Edu information about the customer.
- is
Domain Verified This property is required. Boolean - Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.
- language
Code This property is required. String - Language code.
- phone
Number This property is required. String - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. String - The primary domain name.
GoogleCloudChannelV1ContactInfoResponse
- Display
Name This property is required. string - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- Email
This property is required. string - The 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.
- First
Name This property is required. string - The customer account contact's first name. Optional for Team customers.
- Last
Name This property is required. string - The customer account contact's last name. Optional for Team customers.
- Phone
This property is required. string - The customer account's contact phone number.
- Title
This property is required. string - Optional. The customer account contact's job title.
- Display
Name This property is required. string - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- Email
This property is required. string - The 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.
- First
Name This property is required. string - The customer account contact's first name. Optional for Team customers.
- Last
Name This property is required. string - The customer account contact's last name. Optional for Team customers.
- Phone
This property is required. string - The customer account's contact phone number.
- Title
This property is required. string - Optional. The customer account contact's job title.
- display
Name This property is required. String - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- email
This property is required. String - The 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.
- first
Name This property is required. String - The customer account contact's first name. Optional for Team customers.
- last
Name This property is required. String - The customer account contact's last name. Optional for Team customers.
- phone
This property is required. String - The customer account's contact phone number.
- title
This property is required. String - Optional. The customer account contact's job title.
- display
Name This property is required. string - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- email
This property is required. string - The 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.
- first
Name This property is required. string - The customer account contact's first name. Optional for Team customers.
- last
Name This property is required. string - The customer account contact's last name. Optional for Team customers.
- phone
This property is required. string - The customer account's contact phone number.
- title
This property is required. string - Optional. The customer account contact's job title.
- display_
name This property is required. str - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- email
This property is required. str - The 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.
- first_
name This property is required. str - The customer account contact's first name. Optional for Team customers.
- last_
name This property is required. str - The customer account contact's last name. Optional for Team customers.
- phone
This property is required. str - The customer account's contact phone number.
- title
This property is required. str - Optional. The customer account contact's job title.
- display
Name This property is required. String - The customer account contact's display name, formatted as a combination of the customer's first and last name.
- email
This property is required. String - The 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.
- first
Name This property is required. String - The customer account contact's first name. Optional for Team customers.
- last
Name This property is required. String - The customer account contact's last name. Optional for Team customers.
- phone
This property is required. String - The customer account's contact phone number.
- title
This property is required. String - Optional. The customer account contact's job title.
GoogleCloudChannelV1EduDataResponse
- Institute
Size This property is required. string - Size of the institute.
- Institute
Type This property is required. string - Designated institute type of customer.
- Website
This property is required. string - Web address for the edu customer's institution.
- Institute
Size This property is required. string - Size of the institute.
- Institute
Type This property is required. string - Designated institute type of customer.
- Website
This property is required. string - Web address for the edu customer's institution.
- institute
Size This property is required. String - Size of the institute.
- institute
Type This property is required. String - Designated institute type of customer.
- website
This property is required. String - Web address for the edu customer's institution.
- institute
Size This property is required. string - Size of the institute.
- institute
Type This property is required. string - Designated institute type of customer.
- website
This property is required. string - Web address for the edu customer's institution.
- institute_
size This property is required. str - Size of the institute.
- institute_
type This property is required. str - Designated institute type of customer.
- website
This property is required. str - Web address for the edu customer's institution.
- institute
Size This property is required. String - Size of the institute.
- institute
Type This property is required. String - Designated institute type of customer.
- website
This property is required. String - Web address for the edu customer's institution.
GoogleTypePostalAddressResponse
- Address
Lines This property is required. List<string> - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- Administrative
Area This property is required. string - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- Language
Code This property is required. string - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- Locality
This property is required. string - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- Organization
This property is required. string - Optional. The name of the organization at the address.
- Postal
Code This property is required. string - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- Recipients
This property is required. List<string> - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- Region
Code This property is required. string - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- Revision
This property is required. int - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - Sorting
Code This property is required. string - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- Sublocality
This property is required. string - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
- Address
Lines This property is required. []string - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- Administrative
Area This property is required. string - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- Language
Code This property is required. string - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- Locality
This property is required. string - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- Organization
This property is required. string - Optional. The name of the organization at the address.
- Postal
Code This property is required. string - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- Recipients
This property is required. []string - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- Region
Code This property is required. string - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- Revision
This property is required. int - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - Sorting
Code This property is required. string - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- Sublocality
This property is required. string - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
- address
Lines This property is required. List<String> - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- administrative
Area This property is required. String - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- language
Code This property is required. String - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- locality
This property is required. String - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- organization
This property is required. String - Optional. The name of the organization at the address.
- postal
Code This property is required. String - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- recipients
This property is required. List<String> - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- region
Code This property is required. String - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- revision
This property is required. Integer - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - sorting
Code This property is required. String - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- sublocality
This property is required. String - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
- address
Lines This property is required. string[] - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- administrative
Area This property is required. string - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- language
Code This property is required. string - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- locality
This property is required. string - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- organization
This property is required. string - Optional. The name of the organization at the address.
- postal
Code This property is required. string - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- recipients
This property is required. string[] - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- region
Code This property is required. string - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- revision
This property is required. number - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - sorting
Code This property is required. string - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- sublocality
This property is required. string - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
- address_
lines This property is required. Sequence[str] - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- administrative_
area This property is required. str - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- language_
code This property is required. str - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- locality
This property is required. str - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- organization
This property is required. str - Optional. The name of the organization at the address.
- postal_
code This property is required. str - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- recipients
This property is required. Sequence[str] - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- region_
code This property is required. str - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- revision
This property is required. int - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - sorting_
code This property is required. str - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- sublocality
This property is required. str - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
- address
Lines This property is required. List<String> - Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
- administrative
Area This property is required. String - Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
- language
Code This property is required. String - Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
- locality
This property is required. String - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
- organization
This property is required. String - Optional. The name of the organization at the address.
- postal
Code This property is required. String - Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
- recipients
This property is required. List<String> - Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information.
- region
Code This property is required. String - CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland.
- revision
This property is required. Number - The schema revision of the
PostalAddress
. This must be set to 0, which is the latest revision. All new revisions must be backward compatible with old revisions. - sorting
Code This property is required. String - Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- sublocality
This property is required. String - Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.