google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.essentialcontacts/v1.getContact

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:

ContactId string
Project string
ContactId string
Project string
contactId String
project String
contactId string
project string
contactId String
project String

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.

LanguageTag 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}

NotificationCategorySubscriptions List<string>

The categories of notifications that the contact will receive communications for.

ValidateTime 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.

ValidationState 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.

LanguageTag 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}

NotificationCategorySubscriptions []string

The categories of notifications that the contact will receive communications for.

ValidateTime 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.

ValidationState 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.

languageTag 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}

notificationCategorySubscriptions List<String>

The categories of notifications that the contact will receive communications for.

validateTime 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.

validationState 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.

languageTag 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}

notificationCategorySubscriptions string[]

The categories of notifications that the contact will receive communications for.

validateTime 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.

validationState 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_subscriptions Sequence[str]

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.

languageTag 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}

notificationCategorySubscriptions List<String>

The categories of notifications that the contact will receive communications for.

validateTime 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.

validationState 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