(::String) — REQUIRED: The resource for which the policy is being requested.
See the operation documentation for the appropriate value for this field.
#resource=
defresource=(value)->::String
Parameter
value (::String) — REQUIRED: The resource for which the policy is being requested.
See the operation documentation for the appropriate value for this field.
Returns
(::String) — REQUIRED: The resource for which the policy is being requested.
See the operation documentation for the appropriate value for this field.
[[["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-08-28 UTC."],[],[],null,["# BigQuery Data Policy Service V1 API - Class Google::Iam::V1::GetIamPolicyRequest (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/latest/Google-Iam-V1-GetIamPolicyRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/1.0.1/Google-Iam-V1-GetIamPolicyRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.10.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.9.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.8.1/Google-Iam-V1-GetIamPolicyRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.7.2/Google-Iam-V1-GetIamPolicyRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.6.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.5.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.4.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.3.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.3.1/Google-Iam-V1-GetIamPolicyRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.2.0/Google-Iam-V1-GetIamPolicyRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.1.0/Google-Iam-V1-GetIamPolicyRequest) \nReference documentation and code samples for the BigQuery Data Policy Service V1 API class Google::Iam::V1::GetIamPolicyRequest.\n\nRequest message for `GetIamPolicy` method. \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### #options\n\n def options() -\u003e ::Google::Iam::V1::GetPolicyOptions\n\n**Returns**\n\n- ([::Google::Iam::V1::GetPolicyOptions](./Google-Iam-V1-GetPolicyOptions)) --- OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.\n\n### #options=\n\n def options=(value) -\u003e ::Google::Iam::V1::GetPolicyOptions\n\n**Parameter**\n\n- **value** ([::Google::Iam::V1::GetPolicyOptions](./Google-Iam-V1-GetPolicyOptions)) --- OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. \n**Returns**\n\n- ([::Google::Iam::V1::GetPolicyOptions](./Google-Iam-V1-GetPolicyOptions)) --- OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.\n\n### #resource\n\n def resource() -\u003e ::String\n\n**Returns**\n\n- (::String) --- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.\n\n### #resource=\n\n def resource=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. \n**Returns**\n\n- (::String) --- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field."]]