Class: Google::Apis::ServiceusageV1beta1::ServiceValue
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::ServiceValue
- 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
ServiceValue contains information of a service.
Instance Attribute Summary collapse
-
#dns_address ⇒ String
The DNS address at which this service is available.
-
#name ⇒ String
The name of the value.
-
#pricing_link ⇒ String
A link to pricing information for the service, such as https://cloud.google.
-
#tos ⇒ Array<Google::Apis::ServiceusageV1beta1::TermsOfService>
Terms of Service Corresponds to the JSON property
tos.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceValue
constructor
A new instance of ServiceValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceValue
Returns a new instance of ServiceValue.
4658 4659 4660 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_address ⇒ String
The DNS address at which this service is available.
Corresponds to the JSON property dnsAddress
4640 4641 4642 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4640 def dns_address @dns_address end |
#name ⇒ String
The name of the value. Example: services/storage.googleapis.com.
Corresponds to the JSON property name
4645 4646 4647 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4645 def name @name end |
#pricing_link ⇒ String
A link to pricing information for the service, such as https://cloud.google.
com/bigquery/pricing.
Corresponds to the JSON property pricingLink
4651 4652 4653 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4651 def pricing_link @pricing_link end |
#tos ⇒ Array<Google::Apis::ServiceusageV1beta1::TermsOfService>
Terms of Service
Corresponds to the JSON property tos
4656 4657 4658 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4656 def tos @tos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4663 4664 4665 4666 4667 4668 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4663 def update!(**args) @dns_address = args[:dns_address] if args.key?(:dns_address) @name = args[:name] if args.key?(:name) @pricing_link = args[:pricing_link] if args.key?(:pricing_link) @tos = args[:tos] if args.key?(:tos) end |