Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

getNotification

View a notification configuration.

Using getNotification

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 getNotification(args: GetNotificationArgs, opts?: InvokeOptions): Promise<GetNotificationResult>
function getNotificationOutput(args: GetNotificationOutputArgs, opts?: InvokeOptions): Output<GetNotificationResult>
def get_notification(bucket: Optional[str] = None,
                     notification: Optional[str] = None,
                     user_project: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetNotificationResult
def get_notification_output(bucket: Optional[pulumi.Input[str]] = None,
                     notification: Optional[pulumi.Input[str]] = None,
                     user_project: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetNotificationResult]
func LookupNotification(ctx *Context, args *LookupNotificationArgs, opts ...InvokeOption) (*LookupNotificationResult, error)
func LookupNotificationOutput(ctx *Context, args *LookupNotificationOutputArgs, opts ...InvokeOption) LookupNotificationResultOutput

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

public static class GetNotification 
{
    public static Task<GetNotificationResult> InvokeAsync(GetNotificationArgs args, InvokeOptions? opts = null)
    public static Output<GetNotificationResult> Invoke(GetNotificationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationResult> getNotification(GetNotificationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:storage/v1:getNotification
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Bucket string
Notification string
UserProject string
Bucket string
Notification string
UserProject string
bucket String
notification String
userProject String
bucket string
notification string
userProject string
bucket String
notification String
userProject String

getNotification Result

The following output properties are available:

CustomAttributes Dictionary<string, string>

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

Etag string

HTTP 1.1 Entity tag for this subscription notification.

EventTypes List<string>

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

Kind string

The kind of item this is. For notifications, this is always storage#notification.

ObjectNamePrefix string

If present, only apply this notification configuration to object names that begin with this prefix.

PayloadFormat string

The desired content of the Payload.

SelfLink string

The canonical URL of this notification.

Topic string

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

CustomAttributes map[string]string

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

Etag string

HTTP 1.1 Entity tag for this subscription notification.

EventTypes []string

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

Kind string

The kind of item this is. For notifications, this is always storage#notification.

ObjectNamePrefix string

If present, only apply this notification configuration to object names that begin with this prefix.

PayloadFormat string

The desired content of the Payload.

SelfLink string

The canonical URL of this notification.

Topic string

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

customAttributes Map<String,String>

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

etag String

HTTP 1.1 Entity tag for this subscription notification.

eventTypes List<String>

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

kind String

The kind of item this is. For notifications, this is always storage#notification.

objectNamePrefix String

If present, only apply this notification configuration to object names that begin with this prefix.

payloadFormat String

The desired content of the Payload.

selfLink String

The canonical URL of this notification.

topic String

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

customAttributes {[key: string]: string}

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

etag string

HTTP 1.1 Entity tag for this subscription notification.

eventTypes string[]

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

kind string

The kind of item this is. For notifications, this is always storage#notification.

objectNamePrefix string

If present, only apply this notification configuration to object names that begin with this prefix.

payloadFormat string

The desired content of the Payload.

selfLink string

The canonical URL of this notification.

topic string

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

custom_attributes Mapping[str, str]

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

etag str

HTTP 1.1 Entity tag for this subscription notification.

event_types Sequence[str]

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

kind str

The kind of item this is. For notifications, this is always storage#notification.

object_name_prefix str

If present, only apply this notification configuration to object names that begin with this prefix.

payload_format str

The desired content of the Payload.

self_link str

The canonical URL of this notification.

topic str

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

customAttributes Map<String>

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

etag String

HTTP 1.1 Entity tag for this subscription notification.

eventTypes List<String>

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

kind String

The kind of item this is. For notifications, this is always storage#notification.

objectNamePrefix String

If present, only apply this notification configuration to object names that begin with this prefix.

payloadFormat String

The desired content of the Payload.

selfLink String

The canonical URL of this notification.

topic String

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0