ProjectsTopicsResource class

Constructors

ProjectsTopicsResource(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
snapshots ProjectsTopicsSnapshotsResource
no setter
subscriptions ProjectsTopicsSubscriptionsResource
no setter

Methods

create(Topic request, String name, {String? $fields}) Future<Topic>
Creates the given topic with the given name.
delete(String topic, {String? $fields}) Future<Empty>
Deletes the topic with the given name.
get(String topic, {String? $fields}) Future<Topic>
Gets the configuration of a topic.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String project, {int? pageSize, String? pageToken, String? $fields}) Future<ListTopicsResponse>
Lists matching topics.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(UpdateTopicRequest request, String name, {String? $fields}) Future<Topic>
Updates an existing topic by updating the fields specified in the update mask.
publish(PublishRequest request, String topic, {String? $fields}) Future<PublishResponse>
Adds one or more messages to the topic.
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

Operators

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