Class: Google::Cloud::AppHub::V1::Workload

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

Overview

Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#attributes::Google::Cloud::AppHub::V1::Attributes

Returns Optional. Consumer provided attributes.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Create time.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#description::String

Returns Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.

Returns:

  • (::String)

    Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#discovered_workload::String

Returns Required. Immutable. The resource name of the original discovered workload.

Returns:

  • (::String)

    Required. Immutable. The resource name of the original discovered workload.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#display_name::String

Returns Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.

Returns:

  • (::String)

    Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#name::String

Returns Identifier. The resource name of the Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}".

Returns:

  • (::String)

    Identifier. The resource name of the Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#state::Google::Cloud::AppHub::V1::Workload::State (readonly)

Returns Output only. Workload state.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#uid::String (readonly)

Returns Output only. A universally unique identifier (UUID) for the Workload in the UUID4 format.

Returns:

  • (::String)

    Output only. A universally unique identifier (UUID) for the Workload in the UUID4 format.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Update time.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#workload_properties::Google::Cloud::AppHub::V1::WorkloadProperties (readonly)

Returns Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end

#workload_reference::Google::Cloud::AppHub::V1::WorkloadReference (readonly)

Returns Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/apphub/v1/workload.rb', line 67

class Workload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Workload state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The Workload is being created.
    CREATING = 1

    # The Workload is ready.
    ACTIVE = 2

    # The Workload is being deleted.
    DELETING = 3

    # The underlying compute resources have been deleted.
    DETACHED = 4
  end
end