Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#app_version ⇒ String
Version of the application running in the pod.
-
#deployment_status ⇒ String
Status of the deployment.
-
#deployment_status_time ⇒ Fixnum
Time the deployment status was reported in milliseconds since epoch.
-
#deployment_time ⇒ Fixnum
Time the proxy was deployed in milliseconds since epoch.
-
#pod_name ⇒ String
Name of the pod which is reporting the status.
-
#pod_status ⇒ String
Overall status of the pod (not this specific deployment).
-
#pod_status_time ⇒ Fixnum
Time the pod status was reported in milliseconds since epoch.
-
#status_code ⇒ String
Code associated with the deployment status.
-
#status_code_details ⇒ String
Human-readable message associated with the status code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1PodStatus
constructor
A new instance of GoogleCloudApigeeV1PodStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1PodStatus
Returns a new instance of GoogleCloudApigeeV1PodStatus.
6776 6777 6778 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6776 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_version ⇒ String
Version of the application running in the pod.
Corresponds to the JSON property appVersion
6731 6732 6733 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6731 def app_version @app_version end |
#deployment_status ⇒ String
Status of the deployment. Valid values include: - deployed: Successful. -
error : Failed. - pending : Pod has not yet reported on the deployment.
Corresponds to the JSON property deploymentStatus
6737 6738 6739 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6737 def deployment_status @deployment_status end |
#deployment_status_time ⇒ Fixnum
Time the deployment status was reported in milliseconds since epoch.
Corresponds to the JSON property deploymentStatusTime
6742 6743 6744 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6742 def deployment_status_time @deployment_status_time end |
#deployment_time ⇒ Fixnum
Time the proxy was deployed in milliseconds since epoch.
Corresponds to the JSON property deploymentTime
6747 6748 6749 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6747 def deployment_time @deployment_time end |
#pod_name ⇒ String
Name of the pod which is reporting the status.
Corresponds to the JSON property podName
6752 6753 6754 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6752 def pod_name @pod_name end |
#pod_status ⇒ String
Overall status of the pod (not this specific deployment). Valid values include:
active: Up to date. -stale: Recently out of date. Pods that have not reported status in a long time are excluded from the output. Corresponds to the JSON propertypodStatus
6759 6760 6761 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6759 def pod_status @pod_status end |
#pod_status_time ⇒ Fixnum
Time the pod status was reported in milliseconds since epoch.
Corresponds to the JSON property podStatusTime
6764 6765 6766 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6764 def pod_status_time @pod_status_time end |
#status_code ⇒ String
Code associated with the deployment status.
Corresponds to the JSON property statusCode
6769 6770 6771 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6769 def status_code @status_code end |
#status_code_details ⇒ String
Human-readable message associated with the status code.
Corresponds to the JSON property statusCodeDetails
6774 6775 6776 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6774 def status_code_details @status_code_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6781 def update!(**args) @app_version = args[:app_version] if args.key?(:app_version) @deployment_status = args[:deployment_status] if args.key?(:deployment_status) @deployment_status_time = args[:deployment_status_time] if args.key?(:deployment_status_time) @deployment_time = args[:deployment_time] if args.key?(:deployment_time) @pod_name = args[:pod_name] if args.key?(:pod_name) @pod_status = args[:pod_status] if args.key?(:pod_status) @pod_status_time = args[:pod_status_time] if args.key?(:pod_status_time) @status_code = args[:status_code] if args.key?(:status_code) @status_code_details = args[:status_code_details] if args.key?(:status_code_details) end |