public class Dataproc.Projects.Locations.AutoscalingPolicies extends Object
Constructor and Description |
---|
AutoscalingPolicies() |
public Dataproc.Projects.Locations.AutoscalingPolicies.Create create(String parent, AutoscalingPolicy content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The "resource name" of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies.create, the resource name has the following format:
projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create,
the resource name has the following format: projects/{project_id}/locations/{location}content
- the AutoscalingPolicy
IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies.delete, the resource name of the policy has the
following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the
following format:
projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names. 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}IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The "resource name" of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies.list, the resource name of the region has the
following format: projects/{project_id}/regions/{region} For
projects.locations.autoscalingPolicies.list, the resource name of the location has the
following format: projects/{project_id}/locations/{location}IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Update update(String name, AutoscalingPolicy content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Output only. The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies, the resource name of the policy has the following
format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For
projects.locations.autoscalingPolicies, the resource name of the policy has the following
format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}content
- the AutoscalingPolicy
IOException
Copyright © 2011–2021 Google. All rights reserved.