public sealed class GetAutoscalingPolicyRequest : IMessage<GetAutoscalingPolicyRequest>, IEquatable<GetAutoscalingPolicyRequest>, IDeepCloneable<GetAutoscalingPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class GetAutoscalingPolicyRequest.
For projects.regions.autoscalingPolicies.get, the resource name
of the policy has the following format:
projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
For projects.locations.autoscalingPolicies.get, the resource name
of the policy has the following format:
projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eGetAutoscalingPolicyRequest\u003c/code\u003e class in the Google Cloud Dataproc v1 API, detailing its usage and implementation across various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the Google Cloud Dataproc v1 API is 5.17.0, with a comprehensive list of previous versions spanning from 5.16.0 down to 3.1.0, offering access to each corresponding API class version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAutoscalingPolicyRequest\u003c/code\u003e class, used to fetch an autoscaling policy, inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAutoscalingPolicyRequest\u003c/code\u003e class has two constructors, \u003ccode\u003eGetAutoscalingPolicyRequest()\u003c/code\u003e and \u003ccode\u003eGetAutoscalingPolicyRequest(GetAutoscalingPolicyRequest other)\u003c/code\u003e, and includes two properties, \u003ccode\u003eAutoscalingPolicyName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property within \u003ccode\u003eGetAutoscalingPolicyRequest\u003c/code\u003e is required and represents the resource name of the autoscaling policy, which follows a specific format depending on whether it's in \u003ccode\u003eprojects.regions.autoscalingPolicies.get\u003c/code\u003e or \u003ccode\u003eprojects.locations.autoscalingPolicies.get\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]