1. Packages
  2. Google Cloud Native
  3. API Docs
  4. logging
  5. logging/v2
  6. getBucketView

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.logging/v2.getBucketView

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 view on a log bucket.

    Using getBucketView

    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 getBucketView(args: GetBucketViewArgs, opts?: InvokeOptions): Promise<GetBucketViewResult>
    function getBucketViewOutput(args: GetBucketViewOutputArgs, opts?: InvokeOptions): Output<GetBucketViewResult>
    def get_bucket_view(bucket_id: Optional[str] = None,
                        location: Optional[str] = None,
                        project: Optional[str] = None,
                        view_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetBucketViewResult
    def get_bucket_view_output(bucket_id: Optional[pulumi.Input[str]] = None,
                        location: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        view_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetBucketViewResult]
    func LookupBucketView(ctx *Context, args *LookupBucketViewArgs, opts ...InvokeOption) (*LookupBucketViewResult, error)
    func LookupBucketViewOutput(ctx *Context, args *LookupBucketViewOutputArgs, opts ...InvokeOption) LookupBucketViewResultOutput

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

    public static class GetBucketView 
    {
        public static Task<GetBucketViewResult> InvokeAsync(GetBucketViewArgs args, InvokeOptions? opts = null)
        public static Output<GetBucketViewResult> Invoke(GetBucketViewInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBucketViewResult> getBucketView(GetBucketViewArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:logging/v2:getBucketView
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BucketId string
    Location string
    ViewId string
    Project string
    BucketId string
    Location string
    ViewId string
    Project string
    bucketId String
    location String
    viewId String
    project String
    bucketId string
    location string
    viewId string
    project string
    bucketId String
    location String
    viewId String
    project String

    getBucketView Result

    The following output properties are available:

    CreateTime string
    The creation timestamp of the view.
    Description string
    Describes this view.
    Filter string
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    Name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    UpdateTime string
    The last update timestamp of the view.
    CreateTime string
    The creation timestamp of the view.
    Description string
    Describes this view.
    Filter string
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    Name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    UpdateTime string
    The last update timestamp of the view.
    createTime String
    The creation timestamp of the view.
    description String
    Describes this view.
    filter String
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    name String
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    updateTime String
    The last update timestamp of the view.
    createTime string
    The creation timestamp of the view.
    description string
    Describes this view.
    filter string
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    updateTime string
    The last update timestamp of the view.
    create_time str
    The creation timestamp of the view.
    description str
    Describes this view.
    filter str
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    name str
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    update_time str
    The last update timestamp of the view.
    createTime String
    The creation timestamp of the view.
    description String
    Describes this view.
    filter String
    Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
    name String
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    updateTime String
    The last update timestamp of the view.

    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