Class: Google::Apis::ServiceusageV1beta1::ValueInfo

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

Overview

Information about the value field. Only support value type as service now.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValueInfo

Returns a new instance of ValueInfo.



5073
5074
5075
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5073

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

Instance Attribute Details

#group_valueGoogle::Apis::ServiceusageV1beta1::GroupValue

Unimplemented. Do not use. GroupValue contains information of a service group. Corresponds to the JSON property groupValue



5050
5051
5052
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5050

def group_value
  @group_value
end

For public services, it must point to the product landing page. For private services, it should point to the internal site. For service group, it is TBD. Corresponds to the JSON property learnmoreLink

Returns:

  • (String)


5056
5057
5058
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5056

def learnmore_link
  @learnmore_link
end

#service_valueGoogle::Apis::ServiceusageV1beta1::ServiceValue

ServiceValue contains information of a service. Corresponds to the JSON property serviceValue



5061
5062
5063
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5061

def service_value
  @service_value
end

#summaryString

The product summary for this value. Corresponds to the JSON property summary

Returns:

  • (String)


5066
5067
5068
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5066

def summary
  @summary
end

#titleString

The product title for this value. Corresponds to the JSON property title

Returns:

  • (String)


5071
5072
5073
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5071

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5078
5079
5080
5081
5082
5083
5084
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5078

def update!(**args)
  @group_value = args[:group_value] if args.key?(:group_value)
  @learnmore_link = args[:learnmore_link] if args.key?(:learnmore_link)
  @service_value = args[:service_value] if args.key?(:service_value)
  @summary = args[:summary] if args.key?(:summary)
  @title = args[:title] if args.key?(:title)
end