Class: Google::Apis::ServiceusageV1beta1::TermsOfService
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::TermsOfService
- 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
TermsOfService captures the metadata about a given terms of service
Instance Attribute Summary collapse
-
#title ⇒ String
Title of the terms of service.
-
#uri ⇒ String
URL/URI of the terms of service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TermsOfService
constructor
A new instance of TermsOfService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TermsOfService
Returns a new instance of TermsOfService.
4858 4859 4860 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#title ⇒ String
Title of the terms of service.
Corresponds to the JSON property title
4851 4852 4853 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4851 def title @title end |
#uri ⇒ String
URL/URI of the terms of service.
Corresponds to the JSON property uri
4856 4857 4858 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4856 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4863 4864 4865 4866 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 4863 def update!(**args) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |