public class Dataproc.Projects.Locations.AutoscalingPolicies
extends java.lang.Object
Constructor and Description |
---|
AutoscalingPolicies() |
Modifier and Type | Method and Description |
---|---|
Dataproc.Projects.Locations.AutoscalingPolicies.Create |
create(java.lang.String parent,
AutoscalingPolicy content)
Creates new autoscaling policy.
|
Dataproc.Projects.Locations.AutoscalingPolicies.Delete |
delete(java.lang.String name)
Deletes an autoscaling policy.
|
Dataproc.Projects.Locations.AutoscalingPolicies.Get |
get(java.lang.String name)
Retrieves autoscaling policy.
|
Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
|
Dataproc.Projects.Locations.AutoscalingPolicies.List |
list(java.lang.String parent)
Lists autoscaling policies in the project.
|
Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
Dataproc.Projects.Locations.AutoscalingPolicies.Update |
update(java.lang.String name,
AutoscalingPolicy content)
Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be
full replacements.
|
public Dataproc.Projects.Locations.AutoscalingPolicies.Create create(java.lang.String parent, AutoscalingPolicy content) throws java.io.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 of the region has the
following format: projects/{project_id}/regions/{region}
For
projects.locations.autoscalingPolicies.create, the resource name of the location has the
following format: projects/{project_id}/locations/{location}content
- the AutoscalingPolicy
java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Delete delete(java.lang.String name) throws java.io.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}java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Get get(java.lang.String name) throws java.io.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}java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy getIamPolicy(java.lang.String resource, GetIamPolicyRequest content) throws java.io.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.content
- the GetIamPolicyRequest
java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.List list(java.lang.String parent) throws java.io.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}java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy setIamPolicy(java.lang.String resource, SetIamPolicyRequest content) throws java.io.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
java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions testIamPermissions(java.lang.String resource, TestIamPermissionsRequest content) throws java.io.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
java.io.IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.Update update(java.lang.String name, AutoscalingPolicy content) throws java.io.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
java.io.IOException