public class Dataproc.Projects.Regions.AutoscalingPolicies extends Object
Modifier and Type | Class and Description |
---|---|
class |
Dataproc.Projects.Regions.AutoscalingPolicies.Create |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.Delete |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.Get |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.GetIamPolicy |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.List |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.SetIamPolicy |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.TestIamPermissions |
class |
Dataproc.Projects.Regions.AutoscalingPolicies.Update |
Constructor and Description |
---|
AutoscalingPolicies() |
public Dataproc.Projects.Regions.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.Regions.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.Regions.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.Regions.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.Regions.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.Regions.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.Regions.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.Regions.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.