1. Packages
  2. Google Cloud Native
  3. API Docs
  4. essentialcontacts
  5. essentialcontacts/v1
  6. getOrganizationContact

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

Explore with Pulumi AI

google-native logo

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 getOrganizationContact

    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 getOrganizationContact(args: GetOrganizationContactArgs, opts?: InvokeOptions): Promise<GetOrganizationContactResult>
    function getOrganizationContactOutput(args: GetOrganizationContactOutputArgs, opts?: InvokeOptions): Output<GetOrganizationContactResult>
    def get_organization_contact(contact_id: Optional[str] = None,
                                 organization_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOrganizationContactResult
    def get_organization_contact_output(contact_id: Optional[pulumi.Input[str]] = None,
                                 organization_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationContactResult]
    func LookupOrganizationContact(ctx *Context, args *LookupOrganizationContactArgs, opts ...InvokeOption) (*LookupOrganizationContactResult, error)
    func LookupOrganizationContactOutput(ctx *Context, args *LookupOrganizationContactOutputArgs, opts ...InvokeOption) LookupOrganizationContactResultOutput

    > Note: This function is named LookupOrganizationContact in the Go SDK.

    public static class GetOrganizationContact 
    {
        public static Task<GetOrganizationContactResult> InvokeAsync(GetOrganizationContactArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationContactResult> Invoke(GetOrganizationContactInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationContactResult> getOrganizationContact(GetOrganizationContactArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:essentialcontacts/v1:getOrganizationContact
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getOrganizationContact 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
    google-native logo

    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