Class: Google::Cloud::Channel::V1::OperationMetadata

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

Overview

Provides contextual information about a google.longrunning.Operation.

Defined Under Namespace

Modules: OperationType

Instance Attribute Summary collapse

Instance Attribute Details

#operation_type::Google::Cloud::Channel::V1::OperationMetadata::OperationType

Returns The RPC that initiated this Long Running Operation.

Returns:



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'proto_docs/google/cloud/channel/v1/operations.rb', line 29

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

  # RPCs that return a Long Running Operation.
  module OperationType
    # Not used.
    OPERATION_TYPE_UNSPECIFIED = 0

    # Long Running Operation was triggered by CreateEntitlement.
    CREATE_ENTITLEMENT = 1

    # Long Running Operation was triggered by ChangeRenewalSettings.
    CHANGE_RENEWAL_SETTINGS = 3

    # Long Running Operation was triggered by StartPaidService.
    START_PAID_SERVICE = 5

    # Long Running Operation was triggered by ActivateEntitlement.
    ACTIVATE_ENTITLEMENT = 7

    # Long Running Operation was triggered by SuspendEntitlement.
    SUSPEND_ENTITLEMENT = 8

    # Long Running Operation was triggered by CancelEntitlement.
    CANCEL_ENTITLEMENT = 9

    # Long Running Operation was triggered by TransferEntitlements.
    TRANSFER_ENTITLEMENTS = 10

    # Long Running Operation was triggered by TransferEntitlementsToGoogle.
    TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11

    # Long Running Operation was triggered by ChangeOffer.
    CHANGE_OFFER = 14

    # Long Running Operation was triggered by ChangeParameters.
    CHANGE_PARAMETERS = 15

    # Long Running Operation was triggered by ProvisionCloudIdentity.
    PROVISION_CLOUD_IDENTITY = 16
  end
end