Class: Google::Apis::ApimV1alpha::ObservationJob
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::ObservationJob
- 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 ObservationJob object
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#sources ⇒ Array<String>
Optional.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ObservationJob
constructor
A new instance of ObservationJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ObservationJob
Returns a new instance of ObservationJob.
672 673 674 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
649 650 651 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 649 def create_time @create_time end |
#name ⇒ String
Identifier. name of resource Format: projects/project
/locations/location
/
observationJobs/observation_job
Corresponds to the JSON property name
655 656 657 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 655 def name @name end |
#sources ⇒ Array<String>
Optional. These should be of the same kind of source.
Corresponds to the JSON property sources
660 661 662 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 660 def sources @sources end |
#state ⇒ String
Output only. The observation job state
Corresponds to the JSON property state
665 666 667 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 665 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
670 671 672 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 670 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
677 678 679 680 681 682 683 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 677 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @sources = args[:sources] if args.key?(:sources) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |