Class: Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Represents an app in Checks.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name of the app.
-
#title ⇒ String
The app's title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksAccountV1alphaApp
constructor
A new instance of GoogleChecksAccountV1alphaApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksAccountV1alphaApp
Returns a new instance of GoogleChecksAccountV1alphaApp.
68 69 70 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 68 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name of the app. Example: accounts/123/apps/456
Corresponds to the JSON property name
61 62 63 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 61 def name @name end |
#title ⇒ String
The app's title.
Corresponds to the JSON property title
66 67 68 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 66 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 73 def update!(**args) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end |