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.storage/v1.getNotification
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
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
- User
Project string
- Bucket string
- Notification string
- User
Project string
- bucket String
- notification String
- user
Project String
- bucket string
- notification string
- user
Project string
- bucket str
- notification str
- user_
project str
- bucket String
- notification String
- user
Project String
getNotification Result
The following output properties are available:
- Custom
Attributes 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.
- Event
Types 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.
- Object
Name stringPrefix - If present, only apply this notification configuration to object names that begin with this prefix.
- Payload
Format string - The desired content of the Payload.
- Self
Link 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 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.
- Event
Types []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.
- Object
Name stringPrefix - If present, only apply this notification configuration to object names that begin with this prefix.
- Payload
Format string - The desired content of the Payload.
- Self
Link 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 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.
- event
Types 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.
- object
Name StringPrefix - If present, only apply this notification configuration to object names that begin with this prefix.
- payload
Format String - The desired content of the Payload.
- self
Link 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 {[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.
- event
Types 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.
- object
Name stringPrefix - If present, only apply this notification configuration to object names that begin with this prefix.
- payload
Format string - The desired content of the Payload.
- self
Link 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_ strprefix - 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}'
- custom
Attributes 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.
- event
Types 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.
- object
Name StringPrefix - If present, only apply this notification configuration to object names that begin with this prefix.
- payload
Format String - The desired content of the Payload.
- self
Link 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
- 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