Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.essentialcontacts/v1.getContact
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a single contact.
Using getContact
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 getContact(args: GetContactArgs, opts?: InvokeOptions): Promise<GetContactResult>
function getContactOutput(args: GetContactOutputArgs, opts?: InvokeOptions): Output<GetContactResult>
def get_contact(contact_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContactResult
def get_contact_output(contact_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContactResult]
func LookupContact(ctx *Context, args *LookupContactArgs, opts ...InvokeOption) (*LookupContactResult, error)
func LookupContactOutput(ctx *Context, args *LookupContactOutputArgs, opts ...InvokeOption) LookupContactResultOutput
> Note: This function is named LookupContact
in the Go SDK.
public static class GetContact
{
public static Task<GetContactResult> InvokeAsync(GetContactArgs args, InvokeOptions? opts = null)
public static Output<GetContactResult> Invoke(GetContactInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:essentialcontacts/v1:getContact
arguments:
# arguments dictionary
The following arguments are supported:
- contact_
id str - project str
getContact Result
The following output properties are available:
- Email string
- The email address to send notifications to. The email address does not need to be a Google Account.
- Language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Name string
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- Notification
Category List<string>Subscriptions - The categories of notifications that the contact will receive communications for.
- Validate
Time string - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- Validation
State string - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
- Email string
- The email address to send notifications to. The email address does not need to be a Google Account.
- Language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Name string
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- Notification
Category []stringSubscriptions - The categories of notifications that the contact will receive communications for.
- Validate
Time string - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- Validation
State string - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
- email String
- The email address to send notifications to. The email address does not need to be a Google Account.
- language
Tag String - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- name String
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- notification
Category List<String>Subscriptions - The categories of notifications that the contact will receive communications for.
- validate
Time String - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- validation
State String - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
- email string
- The email address to send notifications to. The email address does not need to be a Google Account.
- language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- name string
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- notification
Category string[]Subscriptions - The categories of notifications that the contact will receive communications for.
- validate
Time string - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- validation
State string - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
- email str
- The email address to send notifications to. The email address does not need to be a Google Account.
- language_
tag str - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- name str
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- notification_
category_ Sequence[str]subscriptions - The categories of notifications that the contact will receive communications for.
- validate_
time str - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- validation_
state str - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
- email String
- The email address to send notifications to. The email address does not need to be a Google Account.
- language
Tag String - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- name String
- The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
- notification
Category List<String>Subscriptions - The categories of notifications that the contact will receive communications for.
- validate
Time String - The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
- validation
State String - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi