Reference documentation and code samples for the Cloud Controls Partner V1BETA API class Google::Cloud::CloudControlsPartner::V1beta::Workload.
Contains metadata around the Workload resource in the Assured Workloads API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time the resource was created.
#folder
def folder() -> ::String
Returns
- (::String) — Output only. The name of container folder of the assured workload
#folder_id
def folder_id() -> ::Integer
Returns
- (::Integer) — Output only. Folder id this workload is associated with
#is_onboarded
def is_onboarded() -> ::Boolean
Returns
- (::Boolean) — Indicates whether a workload is fully onboarded.
#is_onboarded=
def is_onboarded=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates whether a workload is fully onboarded.
Returns
- (::Boolean) — Indicates whether a workload is fully onboarded.
#key_management_project_id
def key_management_project_id() -> ::String
Returns
- (::String) — The project id of the key management project for the workload
#key_management_project_id=
def key_management_project_id=(value) -> ::String
Parameter
- value (::String) — The project id of the key management project for the workload
Returns
- (::String) — The project id of the key management project for the workload
#location
def location() -> ::String
Returns
- (::String) — The Google Cloud location of the workload
#location=
def location=(value) -> ::String
Parameter
- value (::String) — The Google Cloud location of the workload
Returns
- (::String) — The Google Cloud location of the workload
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
Returns
-
(::String) — Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
#partner
def partner() -> ::Google::Cloud::CloudControlsPartner::V1beta::Workload::Partner
Returns
- (::Google::Cloud::CloudControlsPartner::V1beta::Workload::Partner) — Partner associated with this workload.
#partner=
def partner=(value) -> ::Google::Cloud::CloudControlsPartner::V1beta::Workload::Partner
Parameter
- value (::Google::Cloud::CloudControlsPartner::V1beta::Workload::Partner) — Partner associated with this workload.
Returns
- (::Google::Cloud::CloudControlsPartner::V1beta::Workload::Partner) — Partner associated with this workload.
#workload_onboarding_state
def workload_onboarding_state() -> ::Google::Cloud::CloudControlsPartner::V1beta::WorkloadOnboardingState
Returns
- (::Google::Cloud::CloudControlsPartner::V1beta::WorkloadOnboardingState) — Container for workload onboarding steps.
#workload_onboarding_state=
def workload_onboarding_state=(value) -> ::Google::Cloud::CloudControlsPartner::V1beta::WorkloadOnboardingState
Parameter
- value (::Google::Cloud::CloudControlsPartner::V1beta::WorkloadOnboardingState) — Container for workload onboarding steps.
Returns
- (::Google::Cloud::CloudControlsPartner::V1beta::WorkloadOnboardingState) — Container for workload onboarding steps.