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.



462
463
464
# File 'lib/google/apis/logging_v2/classes.rb', line 462

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)


460
461
462
# File 'lib/google/apis/logging_v2/classes.rb', line 460

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



467
468
469
# File 'lib/google/apis/logging_v2/classes.rb', line 467

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