Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1TargetResourceDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeString

The create time of the target resource. Corresponds to the JSON property createTime

Returns:

  • (String)


1588
1589
1590
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1588

def create_time
  @create_time
end

#framework_deploymentString

The framework deployment name for the target resource. For example, organizations/organization_id/locations/location/frameworkDeployments/ framework_deployment_id` Corresponds to the JSON propertyframeworkDeployment`

Returns:

  • (String)


1595
1596
1597
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1595

def framework_deployment
  @framework_deployment
end

#major_revision_idFixnum

The major revision ID of the framework for the target resource. Corresponds to the JSON property majorRevisionId

Returns:

  • (Fixnum)


1600
1601
1602
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1600

def major_revision_id
  @major_revision_id
end

#minor_revision_idFixnum

The minor revision ID of the framework for the target resource. Corresponds to the JSON property minorRevisionId

Returns:

  • (Fixnum)


1605
1606
1607
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1605

def minor_revision_id
  @minor_revision_id
end

#target_resourceString

The target resource. For example, organizations/1234567890, projects/ 1234567890, or folders/1234567890. Corresponds to the JSON property targetResource

Returns:

  • (String)


1611
1612
1613
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1611

def target_resource
  @target_resource
end

#target_resource_display_nameString

The display name of the target resource. For example, google.com, staging- project, or development-folder. Corresponds to the JSON property targetResourceDisplayName

Returns:

  • (String)


1617
1618
1619
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1617

def target_resource_display_name
  @target_resource_display_name
end

#update_timeString

The update time of the target resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


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