Class: Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata

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

Overview

OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.

Defined Under Namespace

Modules: APIMethod, RolloutState

Instance Attribute Summary collapse

Instance Attribute Details

#api_method::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod

Returns The OS policy assignment API method.

Returns:



236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 236

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

  # The OS policy assignment API method.
  module APIMethod
    # Invalid value
    API_METHOD_UNSPECIFIED = 0

    # Create OS policy assignment API method
    CREATE = 1

    # Update OS policy assignment API method
    UPDATE = 2

    # Delete OS policy assignment API method
    DELETE = 3
  end

  # State of the rollout
  module RolloutState
    # Invalid value
    ROLLOUT_STATE_UNSPECIFIED = 0

    # The rollout is in progress.
    IN_PROGRESS = 1

    # The rollout is being cancelled.
    CANCELLING = 2

    # The rollout is cancelled.
    CANCELLED = 3

    # The rollout has completed successfully.
    SUCCEEDED = 4
  end
end

#os_policy_assignment::String

Returns Reference to the OSPolicyAssignment API resource.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}.

Returns:

  • (::String)

    Reference to the OSPolicyAssignment API resource.

    Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}



236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 236

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

  # The OS policy assignment API method.
  module APIMethod
    # Invalid value
    API_METHOD_UNSPECIFIED = 0

    # Create OS policy assignment API method
    CREATE = 1

    # Update OS policy assignment API method
    UPDATE = 2

    # Delete OS policy assignment API method
    DELETE = 3
  end

  # State of the rollout
  module RolloutState
    # Invalid value
    ROLLOUT_STATE_UNSPECIFIED = 0

    # The rollout is in progress.
    IN_PROGRESS = 1

    # The rollout is being cancelled.
    CANCELLING = 2

    # The rollout is cancelled.
    CANCELLED = 3

    # The rollout has completed successfully.
    SUCCEEDED = 4
  end
end

#rollout_start_time::Google::Protobuf::Timestamp

Returns Rollout start time.

Returns:



236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 236

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

  # The OS policy assignment API method.
  module APIMethod
    # Invalid value
    API_METHOD_UNSPECIFIED = 0

    # Create OS policy assignment API method
    CREATE = 1

    # Update OS policy assignment API method
    UPDATE = 2

    # Delete OS policy assignment API method
    DELETE = 3
  end

  # State of the rollout
  module RolloutState
    # Invalid value
    ROLLOUT_STATE_UNSPECIFIED = 0

    # The rollout is in progress.
    IN_PROGRESS = 1

    # The rollout is being cancelled.
    CANCELLING = 2

    # The rollout is cancelled.
    CANCELLED = 3

    # The rollout has completed successfully.
    SUCCEEDED = 4
  end
end

#rollout_state::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState

Returns State of the rollout.



236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 236

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

  # The OS policy assignment API method.
  module APIMethod
    # Invalid value
    API_METHOD_UNSPECIFIED = 0

    # Create OS policy assignment API method
    CREATE = 1

    # Update OS policy assignment API method
    UPDATE = 2

    # Delete OS policy assignment API method
    DELETE = 3
  end

  # State of the rollout
  module RolloutState
    # Invalid value
    ROLLOUT_STATE_UNSPECIFIED = 0

    # The rollout is in progress.
    IN_PROGRESS = 1

    # The rollout is being cancelled.
    CANCELLING = 2

    # The rollout is cancelled.
    CANCELLED = 3

    # The rollout has completed successfully.
    SUCCEEDED = 4
  end
end

#rollout_update_time::Google::Protobuf::Timestamp

Returns Rollout update time.

Returns:



236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignments.rb', line 236

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

  # The OS policy assignment API method.
  module APIMethod
    # Invalid value
    API_METHOD_UNSPECIFIED = 0

    # Create OS policy assignment API method
    CREATE = 1

    # Update OS policy assignment API method
    UPDATE = 2

    # Delete OS policy assignment API method
    DELETE = 3
  end

  # State of the rollout
  module RolloutState
    # Invalid value
    ROLLOUT_STATE_UNSPECIFIED = 0

    # The rollout is in progress.
    IN_PROGRESS = 1

    # The rollout is being cancelled.
    CANCELLING = 2

    # The rollout is cancelled.
    CANCELLED = 3

    # The rollout has completed successfully.
    SUCCEEDED = 4
  end
end