Class: Google::Apis::ApimV1alpha::ApiOperation
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::ApiOperation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb more...
Overview
Message describing ApiOperation object
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of occurrences of this API Operation.
-
#first_seen_time ⇒ String
First seen time stamp Corresponds to the JSON property
firstSeenTime
. -
#http_operation ⇒ Google::Apis::ApimV1alpha::HttpOperation
An HTTP-based API Operation, sometimes called a "REST" Operation.
-
#last_seen_time ⇒ String
Last seen time stamp Corresponds to the JSON property
lastSeenTime
. -
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiOperation
constructor
A new instance of ApiOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiOperation
Returns a new instance of ApiOperation.
130 131 132 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of occurrences of this API Operation.
Corresponds to the JSON property count
108 109 110 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 108 def count @count end |
#first_seen_time ⇒ String
First seen time stamp
Corresponds to the JSON property firstSeenTime
113 114 115 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 113 def first_seen_time @first_seen_time end |
#http_operation ⇒ Google::Apis::ApimV1alpha::HttpOperation
An HTTP-based API Operation, sometimes called a "REST" Operation.
Corresponds to the JSON property httpOperation
118 119 120 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 118 def http_operation @http_operation end |
#last_seen_time ⇒ String
Last seen time stamp
Corresponds to the JSON property lastSeenTime
123 124 125 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 123 def last_seen_time @last_seen_time end |
#name ⇒ String
Identifier. Name of resource
Corresponds to the JSON property name
128 129 130 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 128 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
135 136 137 138 139 140 141 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 135 def update!(**args) @count = args[:count] if args.key?(:count) @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) @http_operation = args[:http_operation] if args.key?(:http_operation) @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) @name = args[:name] if args.key?(:name) end |