Class: Google::Cloud::AssuredWorkloads::V1beta1::CreateWorkloadRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb

Overview

Request for creating a workload.

Instance Attribute Summary collapse

Instance Attribute Details

#external_id::String

Returns Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.

Returns:

  • (::String)

    Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.



38
39
40
41
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 38

class CreateWorkloadRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.

Returns:

  • (::String)

    Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.



38
39
40
41
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 38

class CreateWorkloadRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workload::Google::Cloud::AssuredWorkloads::V1beta1::Workload

Returns Required. Assured Workload to create.

Returns:



38
39
40
41
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 38

class CreateWorkloadRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end