GoogleCloudApihubV1ApiOperation class
Represents an operation contained in an API version in the API Hub.
An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API.
Constructors
-
GoogleCloudApihubV1ApiOperation.new({Map<
String, GoogleCloudApihubV1AttributeValues> ? attributes, String? createTime, GoogleCloudApihubV1OperationDetails? details, String? name, List<GoogleCloudApihubV1SourceMetadata> ? sourceMetadata, String? spec, String? updateTime}) - GoogleCloudApihubV1ApiOperation.fromJson(Map json_)
Properties
-
attributes
↔ Map<
String, GoogleCloudApihubV1AttributeValues> ? -
The list of user defined attributes associated with the API operation
resource.
getter/setter pair
- createTime ↔ String?
-
The time at which the operation was created.
getter/setter pair
- details ↔ GoogleCloudApihubV1OperationDetails?
-
Operation details.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Identifier.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceMetadata
↔ List<
GoogleCloudApihubV1SourceMetadata> ? -
The list of sources and metadata from the sources of the API operation.
getter/setter pair
- spec ↔ String?
-
The name of the spec will be of the format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Note:The name of the spec will be empty if the operation is created via CreateApiOperation API.getter/setter pair - updateTime ↔ String?
-
The time at which the operation was last updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited