target.apidocs.com.google.api.services.dns.Dns.ManagedZones.html Maven / Gradle / Ivy
Dns.ManagedZones (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns
Class Dns.ManagedZones
- java.lang.Object
-
- com.google.api.services.dns.Dns.ManagedZones
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dns.ManagedZones.Create
class
Dns.ManagedZones.Delete
class
Dns.ManagedZones.Get
class
Dns.ManagedZones.GetIamPolicy
class
Dns.ManagedZones.List
class
Dns.ManagedZones.Patch
class
Dns.ManagedZones.SetIamPolicy
class
Dns.ManagedZones.TestIamPermissions
class
Dns.ManagedZones.Update
-
Constructor Summary
Constructors
Constructor and Description
ManagedZones()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Dns.ManagedZones.Create
create(String project,
ManagedZone content)
Creates a new ManagedZone.
Dns.ManagedZones.Delete
delete(String project,
String managedZone)
Deletes a previously created ManagedZone.
Dns.ManagedZones.Get
get(String project,
String managedZone)
Fetches the representation of an existing ManagedZone.
Dns.ManagedZones.GetIamPolicy
getIamPolicy(String resource,
GoogleIamV1GetIamPolicyRequest content)
Gets the access control policy for a resource.
Dns.ManagedZones.List
list(String project)
Enumerates ManagedZones that have been created but not yet deleted.
Dns.ManagedZones.Patch
patch(String project,
String managedZone,
ManagedZone content)
Applies a partial update to an existing ManagedZone.
Dns.ManagedZones.SetIamPolicy
setIamPolicy(String resource,
GoogleIamV1SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
Dns.ManagedZones.TestIamPermissions
testIamPermissions(String resource,
GoogleIamV1TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
Dns.ManagedZones.Update
update(String project,
String managedZone,
ManagedZone content)
Updates an existing ManagedZone.
-
-
Method Detail
-
create
public Dns.ManagedZones.Create create(String project,
ManagedZone content)
throws IOException
Creates a new ManagedZone.
Create a request for the method "managedZones.create".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
content
- the ManagedZone
- Returns:
- the request
- Throws:
IOException
-
delete
public Dns.ManagedZones.Delete delete(String project,
String managedZone)
throws IOException
Deletes a previously created ManagedZone.
Create a request for the method "managedZones.delete".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
managedZone
- Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
- Returns:
- the request
- Throws:
IOException
-
get
public Dns.ManagedZones.Get get(String project,
String managedZone)
throws IOException
Fetches the representation of an existing ManagedZone.
Create a request for the method "managedZones.get".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
managedZone
- Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public Dns.ManagedZones.GetIamPolicy getIamPolicy(String resource,
GoogleIamV1GetIamPolicyRequest content)
throws IOException
Gets the access control policy for a resource. Returns an empty policy if the resource exists and
does not have a policy set.
Create a request for the method "managedZones.getIamPolicy".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the GoogleIamV1GetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
list
public Dns.ManagedZones.List list(String project)
throws IOException
Enumerates ManagedZones that have been created but not yet deleted.
Create a request for the method "managedZones.list".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
- Returns:
- the request
- Throws:
IOException
-
patch
public Dns.ManagedZones.Patch patch(String project,
String managedZone,
ManagedZone content)
throws IOException
Applies a partial update to an existing ManagedZone.
Create a request for the method "managedZones.patch".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
managedZone
- Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
content
- the ManagedZone
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Dns.ManagedZones.SetIamPolicy setIamPolicy(String resource,
GoogleIamV1SetIamPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Create a request for the method "managedZones.setIamPolicy".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the GoogleIamV1SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Dns.ManagedZones.TestIamPermissions testIamPermissions(String resource,
GoogleIamV1TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this returns an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Create a request for the method "managedZones.testIamPermissions".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the GoogleIamV1TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
-
update
public Dns.ManagedZones.Update update(String project,
String managedZone,
ManagedZone content)
throws IOException
Updates an existing ManagedZone.
Create a request for the method "managedZones.update".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
managedZone
- Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
content
- the ManagedZone
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy