public class Pubsub.Projects.Schemas extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Pubsub.Projects.Schemas.Create |
class |
Pubsub.Projects.Schemas.Delete |
class |
Pubsub.Projects.Schemas.Get |
class |
Pubsub.Projects.Schemas.GetIamPolicy |
class |
Pubsub.Projects.Schemas.List |
class |
Pubsub.Projects.Schemas.SetIamPolicy |
class |
Pubsub.Projects.Schemas.TestIamPermissions |
class |
Pubsub.Projects.Schemas.Validate |
class |
Pubsub.Projects.Schemas.ValidateMessage |
| Constructor and Description |
|---|
Schemas() |
public Pubsub.Projects.Schemas.Create create(String parent, Schema content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project in which to create the schema. Format is `projects/{project-id}`.content - the SchemaIOExceptionpublic Pubsub.Projects.Schemas.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the schema to delete. Format is `projects/{project}/schemas/{schema}`.IOExceptionpublic Pubsub.Projects.Schemas.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the schema to get. Format is `projects/{project}/schemas/{schema}`.IOExceptionpublic Pubsub.Projects.Schemas.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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.IOExceptionpublic Pubsub.Projects.Schemas.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project in which to list schemas. Format is `projects/{project-id}`.IOExceptionpublic Pubsub.Projects.Schemas.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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the SetIamPolicyRequestIOExceptionpublic Pubsub.Projects.Schemas.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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the TestIamPermissionsRequestIOExceptionpublic Pubsub.Projects.Schemas.Validate validate(String parent, ValidateSchemaRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project in which to validate schemas. Format is `projects/{project-id}`.content - the ValidateSchemaRequestIOExceptionpublic Pubsub.Projects.Schemas.ValidateMessage validateMessage(String parent, ValidateMessageRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project in which to validate schemas. Format is `projects/{project-id}`.content - the ValidateMessageRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.