Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1TargetResourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1TargetResourceDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
The details for a target resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The create time of the target resource.
-
#framework_deployment ⇒ String
The framework deployment name for the target resource.
-
#major_revision_id ⇒ Fixnum
The major revision ID of the framework for the target resource.
-
#minor_revision_id ⇒ Fixnum
The minor revision ID of the framework for the target resource.
-
#target_resource ⇒ String
The target resource.
-
#target_resource_display_name ⇒ String
The display name of the target resource.
-
#update_time ⇒ String
The update time of the target resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1TargetResourceDetails
constructor
A new instance of GoogleCloudAssuredworkloadsV1TargetResourceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1TargetResourceDetails
Returns a new instance of GoogleCloudAssuredworkloadsV1TargetResourceDetails.
1624 1625 1626 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1624 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The create time of the target resource.
Corresponds to the JSON property createTime
1588 1589 1590 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1588 def create_time @create_time end |
#framework_deployment ⇒ String
The framework deployment name for the target resource. For example,
organizations/organization_id/locations/location/frameworkDeployments/
framework_deployment_id`
Corresponds to the JSON propertyframeworkDeployment`
1595 1596 1597 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1595 def framework_deployment @framework_deployment end |
#major_revision_id ⇒ Fixnum
The major revision ID of the framework for the target resource.
Corresponds to the JSON property majorRevisionId
1600 1601 1602 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1600 def major_revision_id @major_revision_id end |
#minor_revision_id ⇒ Fixnum
The minor revision ID of the framework for the target resource.
Corresponds to the JSON property minorRevisionId
1605 1606 1607 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1605 def minor_revision_id @minor_revision_id end |
#target_resource ⇒ String
The target resource. For example, organizations/1234567890, projects/
1234567890, or folders/1234567890.
Corresponds to the JSON property targetResource
1611 1612 1613 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1611 def target_resource @target_resource end |
#target_resource_display_name ⇒ String
The display name of the target resource. For example, google.com, staging-
project, or development-folder.
Corresponds to the JSON property targetResourceDisplayName
1617 1618 1619 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1617 def target_resource_display_name @target_resource_display_name end |
#update_time ⇒ String
The update time of the target resource.
Corresponds to the JSON property updateTime
1622 1623 1624 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1622 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1629 1630 1631 1632 1633 1634 1635 1636 1637 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1629 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @framework_deployment = args[:framework_deployment] if args.key?(:framework_deployment) @major_revision_id = args[:major_revision_id] if args.key?(:major_revision_id) @minor_revision_id = args[:minor_revision_id] if args.key?(:minor_revision_id) @target_resource = args[:target_resource] if args.key?(:target_resource) @target_resource_display_name = args[:target_resource_display_name] if args.key?(:target_resource_display_name) @update_time = args[:update_time] if args.key?(:update_time) end |