Cloud Logging V2 API - Class Google::Cloud::Logging::V2::CreateLinkRequest (v1.0.0)

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

The parameters to CreateLink.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def link() -> ::Google::Cloud::Logging::V2::Link
Returns
def link=(value) -> ::Google::Cloud::Logging::V2::Link
Parameter
Returns
def link_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
def link_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
Returns
  • (::String) — Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

#parent

def parent() -> ::String
Returns
  • (::String) —

    Required. The full resource name of the bucket to create a link for.

    "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) —

    Required. The full resource name of the bucket to create a link for.

    "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    
Returns
  • (::String) —

    Required. The full resource name of the bucket to create a link for.

    "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"