Class: Google::Apis::ServiceusageV1beta1::ServiceValue

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

ServiceValue contains information of a service.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_addressString

The DNS address at which this service is available. Corresponds to the JSON property dnsAddress

Returns:

  • (String)


4640
4641
4642
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4640

def dns_address
  @dns_address
end

#nameString

The name of the value. Example: services/storage.googleapis.com. Corresponds to the JSON property name

Returns:

  • (String)


4645
4646
4647
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4645

def name
  @name
end

A link to pricing information for the service, such as https://cloud.google. com/bigquery/pricing. Corresponds to the JSON property pricingLink

Returns:

  • (String)


4651
4652
4653
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4651

def pricing_link
  @pricing_link
end

#tosArray<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