Class: Google::Apis::CloudbillingV1beta::InteropLink

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

Overview

A link to interoperable tools (e.g., pre-filtered Cost Reports, BQE queries).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InteropLink

Returns a new instance of InteropLink.



1965
1966
1967
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1965

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

Instance Attribute Details

#labelString

Output only. The label of the link, suitable for UI rendering. Corresponds to the JSON property label

Returns:

  • (String)


1952
1953
1954
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1952

def label
  @label
end

Output only. The type of the interop link, e.g., "COST_REPORT", "BQE_QUERY", etc. Corresponds to the JSON property linkType

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1958

def link_type
  @link_type
end

#urlString

Output only. The URL of the link. Corresponds to the JSON property url

Returns:

  • (String)


1963
1964
1965
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1963

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1970
1971
1972
1973
1974
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1970

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