Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1PodStatus

Returns a new instance of GoogleCloudApigeeV1PodStatus.



2906
2907
2908
# File 'generated/google/apis/apigee_v1/classes.rb', line 2906

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_versionString

Version of the application running in the pod. Corresponds to the JSON property appVersion

Returns:

  • (String)


2855
2856
2857
# File 'generated/google/apis/apigee_v1/classes.rb', line 2855

def app_version
  @app_version
end

#deployment_statusString

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

Returns:

  • (String)


2864
2865
2866
# File 'generated/google/apis/apigee_v1/classes.rb', line 2864

def deployment_status
  @deployment_status
end

#deployment_status_timeFixnum

Time the deployment status was reported in milliseconds since epoch. Corresponds to the JSON property deploymentStatusTime

Returns:

  • (Fixnum)


2869
2870
2871
# File 'generated/google/apis/apigee_v1/classes.rb', line 2869

def deployment_status_time
  @deployment_status_time
end

#deployment_timeFixnum

Time the proxy was deployed in milliseconds since epoch. Corresponds to the JSON property deploymentTime

Returns:

  • (Fixnum)


2874
2875
2876
# File 'generated/google/apis/apigee_v1/classes.rb', line 2874

def deployment_time
  @deployment_time
end

#pod_nameString

Name of the pod which is reporting the status. Corresponds to the JSON property podName

Returns:

  • (String)


2879
2880
2881
# File 'generated/google/apis/apigee_v1/classes.rb', line 2879

def pod_name
  @pod_name
end

#pod_statusString

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 property podStatus

Returns:

  • (String)


2889
2890
2891
# File 'generated/google/apis/apigee_v1/classes.rb', line 2889

def pod_status
  @pod_status
end

#pod_status_timeFixnum

Time the pod status was reported in milliseconds since epoch. Corresponds to the JSON property podStatusTime

Returns:

  • (Fixnum)


2894
2895
2896
# File 'generated/google/apis/apigee_v1/classes.rb', line 2894

def pod_status_time
  @pod_status_time
end

#status_codeString

Code associated with the deployment status. Corresponds to the JSON property statusCode

Returns:

  • (String)


2899
2900
2901
# File 'generated/google/apis/apigee_v1/classes.rb', line 2899

def status_code
  @status_code
end

#status_code_detailsString

Human-readable message associated with the status code. Corresponds to the JSON property statusCodeDetails

Returns:

  • (String)


2904
2905
2906
# File 'generated/google/apis/apigee_v1/classes.rb', line 2904

def status_code_details
  @status_code_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
# File 'generated/google/apis/apigee_v1/classes.rb', line 2911

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