Class: Google::Apis::LoggingV2::DeleteLinkRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb

Overview

The parameters to DeleteLink.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteLinkRequest

Returns a new instance of DeleteLinkRequest.



695
696
697
# File 'lib/google/apis/logging_v2/classes.rb', line 695

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Required. The full resource name of the link to delete. "projects/[PROJECT_ID]/ locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" " billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[ BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/ buckets/[BUCKET_ID]/links/[LINK_ID]" Corresponds to the JSON property name

Returns:

  • (String)


693
694
695
# File 'lib/google/apis/logging_v2/classes.rb', line 693

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



700
701
702
# File 'lib/google/apis/logging_v2/classes.rb', line 700

def update!(**args)
  @name = args[:name] if args.key?(:name)
end