Class: Google::Apis::LoggingV2::AppHubApplication
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::AppHubApplication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb
Overview
Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations// applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below.
Instance Attribute Summary collapse
-
#container ⇒ String
Resource container that owns the application.
-
#id ⇒ String
Application Id.
-
#location ⇒ String
Location associated with the Application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppHubApplication
constructor
A new instance of AppHubApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppHubApplication
Returns a new instance of AppHubApplication.
82 83 84 |
# File 'lib/google/apis/logging_v2/classes.rb', line 82 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container ⇒ String
Resource container that owns the application. Example: "projects/
management_project"
Corresponds to the JSON property container
70 71 72 |
# File 'lib/google/apis/logging_v2/classes.rb', line 70 def container @container end |
#id ⇒ String
Application Id. Example: "my-app"
Corresponds to the JSON property id
75 76 77 |
# File 'lib/google/apis/logging_v2/classes.rb', line 75 def id @id end |
#location ⇒ String
Location associated with the Application. Example: "us-east1"
Corresponds to the JSON property location
80 81 82 |
# File 'lib/google/apis/logging_v2/classes.rb', line 80 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
87 88 89 90 91 |
# File 'lib/google/apis/logging_v2/classes.rb', line 87 def update!(**args) @container = args[:container] if args.key?(:container) @id = args[:id] if args.key?(:id) @location = args[:location] if args.key?(:location) end |