Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent
Instance Attribute Summary collapse
-
#id ⇒ String
Required.
-
#resource ⇒ Hash<String,Object>
Specific details for the resource.
-
#status ⇒ String
Overall health status.
-
#sub ⇒ Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo>
List of Info for the sub level resources.
-
#time ⇒ String
The timestamp to collect the info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
constructor
A new instance of GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo.
1877 1878 1879 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Required. Unique Id for the resource.
Corresponds to the JSON property id
1853 1854 1855 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1853 def id @id end |
#resource ⇒ Hash<String,Object>
Specific details for the resource. This is for internal use only.
Corresponds to the JSON property resource
1858 1859 1860 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1858 def resource @resource end |
#status ⇒ String
Overall health status. Overall status is derived based on the status of each
sub level resources.
Corresponds to the JSON property status
1864 1865 1866 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1864 def status @status end |
#sub ⇒ Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo>
List of Info for the sub level resources.
Corresponds to the JSON property sub
1869 1870 1871 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1869 def sub @sub end |
#time ⇒ String
The timestamp to collect the info. It is suggested to be set by the topmost
level resource only.
Corresponds to the JSON property time
1875 1876 1877 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1875 def time @time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1882 1883 1884 1885 1886 1887 1888 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1882 def update!(**args) @id = args[:id] if args.key?(:id) @resource = args[:resource] if args.key?(:resource) @status = args[:status] if args.key?(:status) @sub = args[:sub] if args.key?(:sub) @time = args[:time] if args.key?(:time) end |