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

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

The parameters to CreateView.

Inherits

  • Object

Extended By

  • 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. The id to use for this view.

#view_id=

def view_id=(value) -> ::String
Parameter
  • value (::String) — Required. The id to use for this view.
Returns
  • (::String) — Required. The id to use for this view.