[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata) \nReference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata.\n\nOS policy assignment operation metadata provided by OS policy assignment API\nmethods that return long running operations. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #api_method\n\n def api_method() -\u003e ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-APIMethod)) --- The OS policy assignment API method.\n\n### #api_method=\n\n def api_method=(value) -\u003e ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-APIMethod)) --- The OS policy assignment API method. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::APIMethod](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-APIMethod)) --- The OS policy assignment API method.\n\n### #os_policy_assignment\n\n def os_policy_assignment() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Reference to the `OSPolicyAssignment` API resource.\n\n\n Format:\n `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`\n\n### #os_policy_assignment=\n\n def os_policy_assignment=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Reference to the `OSPolicyAssignment` API resource.\n\n\n Format:\n`projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}` \n**Returns**\n\n- (::String) --- Reference to the `OSPolicyAssignment` API resource.\n\n\n Format:\n `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`\n\n### #rollout_start_time\n\n def rollout_start_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout start time\n\n### #rollout_start_time=\n\n def rollout_start_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout start time \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout start time\n\n### #rollout_state\n\n def rollout_state() -\u003e ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-RolloutState)) --- State of the rollout\n\n### #rollout_state=\n\n def rollout_state=(value) -\u003e ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-RolloutState)) --- State of the rollout \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::OSPolicyAssignmentOperationMetadata::RolloutState](./Google-Cloud-OsConfig-V1-OSPolicyAssignmentOperationMetadata-RolloutState)) --- State of the rollout\n\n### #rollout_update_time\n\n def rollout_update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout update time\n\n### #rollout_update_time=\n\n def rollout_update_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout update time \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Rollout update time"]]