Skip to content

Commit

Permalink
fix!: [google-cloud-parallelstore] An existing field create_time is…
Browse files Browse the repository at this point in the history
… removed from message `.google.cloud.parallelstore.v1beta.TransferOperationMetadata` (#12700)

- [ ] Regenerate this pull request now.


BEGIN_COMMIT_OVERRIDE
fix!: [google-cloud-parallelstore] An existing field `create_time` is
removed from message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
fix!: An existing field `end_time` is removed from message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
fix!: An existing field `source` is removed from message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
fix!: An existing field `destination` is removed from message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
feat: A new field `create_time` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `end_time` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `target` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `verb` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `status_message` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `requested_cancellation` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `api_version` is added to message
`.google.cloud.parallelstore.v1beta.ImportDataMetadata`
feat: A new field `create_time` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `end_time` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `target` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `verb` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `status_message` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `requested_cancellation` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `api_version` is added to message
`.google.cloud.parallelstore.v1beta.ExportDataMetadata`
feat: A new field `source_parallelstore` is added to message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
feat: A new field `source_gcs_bucket` is added to message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
feat: A new field `destination_gcs_bucket` is added to message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
feat: A new field `destination_parallelstore` is added to message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata`
docs: A comment for field `counters` in message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata` is
changed
docs: A comment for field `transfer_type` in message
`.google.cloud.parallelstore.v1beta.TransferOperationMetadata` is
changed
END_COMMIT_OVERRIDE



PiperOrigin-RevId: 634007169

Source-Link:
googleapis/googleapis@07dfcda

Source-Link:
googleapis/googleapis-gen@afd2967
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXBhcmFsbGVsc3RvcmUvLk93bEJvdC55YW1sIiwiaCI6ImFmZDI5NjdmY2NhNDMwYWQ0NmYzMjkxOTliN2JhNTU2OGEyZGZkYTcifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed May 15, 2024
1 parent b2853c6 commit 2f57a44
Showing 1 changed file with 154 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,13 +724,67 @@ class ImportDataMetadata(proto.Message):
operation_metadata (google.cloud.parallelstore_v1beta.types.TransferOperationMetadata):
Contains the data transfer operation
metadata.
create_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The time the operation was
created.
end_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The time the operation finished
running.
target (str):
Output only. Server-defined resource path for
the target of the operation.
verb (str):
Output only. Name of the verb executed by the
operation.
status_message (str):
Output only. Human-readable status of the
operation, if any.
requested_cancellation (bool):
Output only. Identifies whether the user has requested
cancellation of the operation. Operations that have
successfully been cancelled have [Operation.error][] value
with a [google.rpc.Status.code][google.rpc.Status.code] of
1, corresponding to ``Code.CANCELLED``.
api_version (str):
Output only. API version used to start the
operation.
"""

operation_metadata: "TransferOperationMetadata" = proto.Field(
proto.MESSAGE,
number=1,
message="TransferOperationMetadata",
)
create_time: timestamp_pb2.Timestamp = proto.Field(
proto.MESSAGE,
number=2,
message=timestamp_pb2.Timestamp,
)
end_time: timestamp_pb2.Timestamp = proto.Field(
proto.MESSAGE,
number=3,
message=timestamp_pb2.Timestamp,
)
target: str = proto.Field(
proto.STRING,
number=4,
)
verb: str = proto.Field(
proto.STRING,
number=5,
)
status_message: str = proto.Field(
proto.STRING,
number=6,
)
requested_cancellation: bool = proto.Field(
proto.BOOL,
number=7,
)
api_version: str = proto.Field(
proto.STRING,
number=8,
)


class ExportDataResponse(proto.Message):
Expand All @@ -747,60 +801,132 @@ class ExportDataMetadata(proto.Message):
operation_metadata (google.cloud.parallelstore_v1beta.types.TransferOperationMetadata):
Contains the data transfer operation
metadata.
create_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The time the operation was
created.
end_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The time the operation finished
running.
target (str):
Output only. Server-defined resource path for
the target of the operation.
verb (str):
Output only. Name of the verb executed by the
operation.
status_message (str):
Output only. Human-readable status of the
operation, if any.
requested_cancellation (bool):
Output only. Identifies whether the user has requested
cancellation of the operation. Operations that have
successfully been cancelled have [Operation.error][] value
with a [google.rpc.Status.code][google.rpc.Status.code] of
1, corresponding to ``Code.CANCELLED``.
api_version (str):
Output only. API version used to start the
operation.
"""

operation_metadata: "TransferOperationMetadata" = proto.Field(
proto.MESSAGE,
number=1,
message="TransferOperationMetadata",
)
create_time: timestamp_pb2.Timestamp = proto.Field(
proto.MESSAGE,
number=2,
message=timestamp_pb2.Timestamp,
)
end_time: timestamp_pb2.Timestamp = proto.Field(
proto.MESSAGE,
number=3,
message=timestamp_pb2.Timestamp,
)
target: str = proto.Field(
proto.STRING,
number=4,
)
verb: str = proto.Field(
proto.STRING,
number=5,
)
status_message: str = proto.Field(
proto.STRING,
number=6,
)
requested_cancellation: bool = proto.Field(
proto.BOOL,
number=7,
)
api_version: str = proto.Field(
proto.STRING,
number=8,
)


class TransferOperationMetadata(proto.Message):
r"""Represents the metadata of the long-running operation.
This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes:
create_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. CCFE supplied fields BEGIN
The time the operation was created.
end_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The time the operation finished
running.
source_parallelstore (google.cloud.parallelstore_v1beta.types.SourceParallelstore):
Output only. Parallelstore source.
This field is a member of `oneof`_ ``source``.
source_gcs_bucket (google.cloud.parallelstore_v1beta.types.SourceGcsBucket):
Output only. Cloud Storage source.
This field is a member of `oneof`_ ``source``.
destination_gcs_bucket (google.cloud.parallelstore_v1beta.types.DestinationGcsBucket):
Output only. Cloud Storage destination.
This field is a member of `oneof`_ ``destination``.
destination_parallelstore (google.cloud.parallelstore_v1beta.types.DestinationParallelstore):
Output only. Parallelstore destination.
This field is a member of `oneof`_ ``destination``.
counters (google.cloud.parallelstore_v1beta.types.TransferCounters):
Information about the progress of the
transfer operation.
source (str):
Required. The origin of the data transfer.
destination (str):
Required. The destination of the data
transfer.
Output only. Information about the progress
of the transfer operation.
transfer_type (google.cloud.parallelstore_v1beta.types.TransferType):
The type of transfer occurring.
Output only. The type of transfer occurring.
"""

create_time: timestamp_pb2.Timestamp = proto.Field(
source_parallelstore: "SourceParallelstore" = proto.Field(
proto.MESSAGE,
number=1,
message=timestamp_pb2.Timestamp,
number=7,
oneof="source",
message="SourceParallelstore",
)
end_time: timestamp_pb2.Timestamp = proto.Field(
source_gcs_bucket: "SourceGcsBucket" = proto.Field(
proto.MESSAGE,
number=2,
message=timestamp_pb2.Timestamp,
number=8,
oneof="source",
message="SourceGcsBucket",
)
destination_gcs_bucket: "DestinationGcsBucket" = proto.Field(
proto.MESSAGE,
number=9,
oneof="destination",
message="DestinationGcsBucket",
)
destination_parallelstore: "DestinationParallelstore" = proto.Field(
proto.MESSAGE,
number=10,
oneof="destination",
message="DestinationParallelstore",
)
counters: "TransferCounters" = proto.Field(
proto.MESSAGE,
number=3,
message="TransferCounters",
)
source: str = proto.Field(
proto.STRING,
number=4,
)
destination: str = proto.Field(
proto.STRING,
number=5,
)
transfer_type: "TransferType" = proto.Field(
proto.ENUM,
number=6,
Expand Down

0 comments on commit 2f57a44

Please sign in to comment.