Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.essentialcontacts/v1.FolderContact
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Adds a new contact for a resource. Auto-naming is currently not supported for this resource.
Create FolderContact Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FolderContact(name: string, args: FolderContactArgs, opts?: CustomResourceOptions);
@overload
def FolderContact(resource_name: str,
args: FolderContactArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FolderContact(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
folder_id: Optional[str] = None,
language_tag: Optional[str] = None,
notification_category_subscriptions: Optional[Sequence[FolderContactNotificationCategorySubscriptionsItem]] = None,
validate_time: Optional[str] = None,
validation_state: Optional[FolderContactValidationState] = None)
func NewFolderContact(ctx *Context, name string, args FolderContactArgs, opts ...ResourceOption) (*FolderContact, error)
public FolderContact(string name, FolderContactArgs args, CustomResourceOptions? opts = null)
public FolderContact(String name, FolderContactArgs args)
public FolderContact(String name, FolderContactArgs args, CustomResourceOptions options)
type: google-native:essentialcontacts/v1:FolderContact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FolderContactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FolderContactArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FolderContactArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FolderContactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FolderContactArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var folderContactResource = new GoogleNative.EssentialContacts.V1.FolderContact("folderContactResource", new()
{
Email = "string",
FolderId = "string",
LanguageTag = "string",
NotificationCategorySubscriptions = new[]
{
GoogleNative.EssentialContacts.V1.FolderContactNotificationCategorySubscriptionsItem.NotificationCategoryUnspecified,
},
ValidateTime = "string",
ValidationState = GoogleNative.EssentialContacts.V1.FolderContactValidationState.ValidationStateUnspecified,
});
example, err := essentialcontacts.NewFolderContact(ctx, "folderContactResource", &essentialcontacts.FolderContactArgs{
Email: pulumi.String("string"),
FolderId: pulumi.String("string"),
LanguageTag: pulumi.String("string"),
NotificationCategorySubscriptions: essentialcontacts.FolderContactNotificationCategorySubscriptionsItemArray{
essentialcontacts.FolderContactNotificationCategorySubscriptionsItemNotificationCategoryUnspecified,
},
ValidateTime: pulumi.String("string"),
ValidationState: essentialcontacts.FolderContactValidationStateValidationStateUnspecified,
})
var folderContactResource = new FolderContact("folderContactResource", FolderContactArgs.builder()
.email("string")
.folderId("string")
.languageTag("string")
.notificationCategorySubscriptions("NOTIFICATION_CATEGORY_UNSPECIFIED")
.validateTime("string")
.validationState("VALIDATION_STATE_UNSPECIFIED")
.build());
folder_contact_resource = google_native.essentialcontacts.v1.FolderContact("folderContactResource",
email="string",
folder_id="string",
language_tag="string",
notification_category_subscriptions=[google_native.essentialcontacts.v1.FolderContactNotificationCategorySubscriptionsItem.NOTIFICATION_CATEGORY_UNSPECIFIED],
validate_time="string",
validation_state=google_native.essentialcontacts.v1.FolderContactValidationState.VALIDATION_STATE_UNSPECIFIED)
const folderContactResource = new google_native.essentialcontacts.v1.FolderContact("folderContactResource", {
email: "string",
folderId: "string",
languageTag: "string",
notificationCategorySubscriptions: [google_native.essentialcontacts.v1.FolderContactNotificationCategorySubscriptionsItem.NotificationCategoryUnspecified],
validateTime: "string",
validationState: google_native.essentialcontacts.v1.FolderContactValidationState.ValidationStateUnspecified,
});
type: google-native:essentialcontacts/v1:FolderContact
properties:
email: string
folderId: string
languageTag: string
notificationCategorySubscriptions:
- NOTIFICATION_CATEGORY_UNSPECIFIED
validateTime: string
validationState: VALIDATION_STATE_UNSPECIFIED
FolderContact Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FolderContact resource accepts the following input properties:
- Email string
- The email address to send notifications to. The email address does not need to be a Google Account.
- Folder
Id string - Language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Notification
Category List<Pulumi.Subscriptions Google Native. Essential Contacts. V1. Folder Contact Notification Category Subscriptions Item> - 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 Pulumi.Google Native. Essential Contacts. V1. Folder Contact Validation State - 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.
- Folder
Id string - Language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Notification
Category []FolderSubscriptions Contact Notification Category Subscriptions Item - 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 FolderContact Validation State - 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.
- folder
Id String - language
Tag String - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category List<FolderSubscriptions Contact Notification Category Subscriptions Item> - 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 FolderContact Validation State - 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.
- folder
Id string - language
Tag string - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category FolderSubscriptions Contact Notification Category Subscriptions Item[] - 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 FolderContact Validation State - 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.
- folder_
id str - language_
tag str - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification_
category_ Sequence[Foldersubscriptions Contact Notification Category Subscriptions Item] - 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 FolderContact Validation State - 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.
- folder
Id String - language
Tag String - The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category List<"NOTIFICATION_CATEGORY_UNSPECIFIED" | "ALL" | "SUSPENSION" | "SECURITY" | "TECHNICAL" | "BILLING" | "LEGAL" | "PRODUCT_UPDATES" | "TECHNICAL_INCIDENTS">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 "VALIDATION_STATE_UNSPECIFIED" | "VALID" | "INVALID" - The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the FolderContact resource produces the following output properties:
Supporting Types
FolderContactNotificationCategorySubscriptionsItem, FolderContactNotificationCategorySubscriptionsItemArgs
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- All
- ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSIONNotifications related to imminent account suspension.
- Security
- SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Folder
Contact Notification Category Subscriptions Item Notification Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- Folder
Contact Notification Category Subscriptions Item All - ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- Folder
Contact Notification Category Subscriptions Item Suspension - SUSPENSIONNotifications related to imminent account suspension.
- Folder
Contact Notification Category Subscriptions Item Security - SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- Folder
Contact Notification Category Subscriptions Item Technical - TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- Folder
Contact Notification Category Subscriptions Item Billing - BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- Folder
Contact Notification Category Subscriptions Item Legal - LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- Folder
Contact Notification Category Subscriptions Item Product Updates - PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- Folder
Contact Notification Category Subscriptions Item Technical Incidents - TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- All
- ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSIONNotifications related to imminent account suspension.
- Security
- SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- All
- ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSIONNotifications related to imminent account suspension.
- Security
- SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- NOTIFICATION_CATEGORY_UNSPECIFIED
- NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- ALL
- ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- SUSPENSION
- SUSPENSIONNotifications related to imminent account suspension.
- SECURITY
- SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- TECHNICAL
- TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- BILLING
- BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- LEGAL
- LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- PRODUCT_UPDATES
- PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- TECHNICAL_INCIDENTS
- TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- "NOTIFICATION_CATEGORY_UNSPECIFIED"
- NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
- "ALL"
- ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
- "SUSPENSION"
- SUSPENSIONNotifications related to imminent account suspension.
- "SECURITY"
- SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
- "TECHNICAL"
- TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
- "BILLING"
- BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
- "LEGAL"
- LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
- "PRODUCT_UPDATES"
- PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
- "TECHNICAL_INCIDENTS"
- TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
FolderContactValidationState, FolderContactValidationStateArgs
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- Valid
- VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Folder
Contact Validation State Validation State Unspecified - VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- Folder
Contact Validation State Valid - VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Folder
Contact Validation State Invalid - INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- Valid
- VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- Valid
- VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- VALIDATION_STATE_UNSPECIFIED
- VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- VALID
- VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- INVALID
- INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- "VALIDATION_STATE_UNSPECIFIED"
- VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
- "VALID"
- VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- "INVALID"
- INVALIDThe contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
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.