Cloud Logging V2 API - Class Google::Cloud::Logging::V2::CreateViewRequest (v0.11.0)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::CreateViewRequest.

The parameters to CreateView.

  • Object
  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The bucket in which to create the view

    `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    

    For example:

    "projects/my-project/locations/global/buckets/my-bucket"

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The bucket in which to create the view

    `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    

    For example:

    "projects/my-project/locations/global/buckets/my-bucket"

Returns
  • (::String) — Required. The bucket in which to create the view

    `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    

    For example:

    "projects/my-project/locations/global/buckets/my-bucket"

#view

def view() -> ::Google::Cloud::Logging::V2::LogView
Returns

#view=

def view=(value) -> ::Google::Cloud::Logging::V2::LogView
Parameter
Returns

#view_id

def view_id() -> ::String
Returns
  • (::String) — Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

#view_id=

def view_id=(value) -> ::String
Parameter
  • value (::String) — Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
Returns
  • (::String) — Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.