ProjectsSchemasResource class

Constructors

ProjectsSchemasResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

commit(CommitSchemaRequest request, String name, {String? $fields}) Future<Schema>
Commits a new schema revision to an existing schema.
create(Schema request, String parent, {String? schemaId, String? $fields}) Future<Schema>
Creates a schema.
delete(String name, {String? $fields}) Future<Empty>
Deletes a schema.
deleteRevision(String name, {String? revisionId, String? $fields}) Future<Schema>
Deletes a specific schema revision.
get(String name, {String? view, String? $fields}) Future<Schema>
Gets a schema.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {int? pageSize, String? pageToken, String? view, String? $fields}) Future<ListSchemasResponse>
Lists schemas in a project.
listRevisions(String name, {int? pageSize, String? pageToken, String? view, String? $fields}) Future<ListSchemaRevisionsResponse>
Lists all schema revisions for the named schema.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rollback(RollbackSchemaRequest request, String name, {String? $fields}) Future<Schema>
Creates a new schema revision that is a copy of the provided revision_id.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited
validate(ValidateSchemaRequest request, String parent, {String? $fields}) Future<ValidateSchemaResponse>
Validates a schema.
validateMessage(ValidateMessageRequest request, String parent, {String? $fields}) Future<ValidateMessageResponse>
Validates a message against a schema.

Operators

operator ==(Object other) bool
The equality operator.
inherited