Class: Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameString

The resource name of the app. Example: accounts/123/apps/456 Corresponds to the JSON property name

Returns:

  • (String)


61
62
63
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 61

def name
  @name
end

#titleString

The app's title. Corresponds to the JSON property title

Returns:

  • (String)


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