| Modifier and Type | Class and Description |
|---|---|
class |
Dns.Policies.Create |
class |
Dns.Policies.Delete |
class |
Dns.Policies.Get |
class |
Dns.Policies.List |
class |
Dns.Policies.Patch |
class |
Dns.Policies.Update |
| Constructor and Description |
|---|
Policies() |
| Modifier and Type | Method and Description |
|---|---|
Dns.Policies.Create |
create(String project,
String location,
Policy content)
Creates a new Policy.
|
Dns.Policies.Delete |
delete(String project,
String location,
String policy)
Deletes a previously created Policy.
|
Dns.Policies.Get |
get(String project,
String location,
String policy)
Fetches the representation of an existing Policy.
|
Dns.Policies.List |
list(String project,
String location)
Enumerates all Policies associated with a project.
|
Dns.Policies.Patch |
patch(String project,
String location,
String policy,
Policy content)
Applies a partial update to an existing Policy.
|
Dns.Policies.Update |
update(String project,
String location,
String policy,
Policy content)
Updates an existing Policy.
|
public Dns.Policies.Create create(String project, String location, Policy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]content - the PolicyIOExceptionpublic Dns.Policies.Delete delete(String project, String location, String policy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]policy - User given friendly name of the policy addressed by this request.IOExceptionpublic Dns.Policies.Get get(String project, String location, String policy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]policy - User given friendly name of the policy addressed by this request.IOExceptionpublic Dns.Policies.List list(String project, String location) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]IOExceptionpublic Dns.Policies.Patch patch(String project, String location, String policy, Policy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]policy - User given friendly name of the policy addressed by this request.content - the PolicyIOExceptionpublic Dns.Policies.Update update(String project, String location, String policy, Policy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Identifies the project addressed by this request.location - Specifies the location of the resource. This information will be used for routing and will be part
of the resource name.
[default: global]policy - User given friendly name of the policy addressed by this request.content - the PolicyIOExceptionCopyright © 2011–2022 Google. All rights reserved.