martinzink commented on code in PR #1297:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1297#discussion_r874707687
##########
PROCESSORS.md:
##########
@@ -970,6 +1046,59 @@ In the list below, the names of required properties
appear in bold. Any other pr
|success|All FlowFiles that are received are routed to success|
+## ListGCSBucket
+
+### Description
+
+Retrieves a listing of objects from an GCS bucket.
+For each object that is listed, creates a FlowFile that represents the object
so that it can be fetched or deleted in conjunction with
FetchGCSObject/DeleteGCSObject.
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other
properties (not in bold) are considered optional. The table also indicates any
default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values
| Description
|
+|--------------------------------------|---------------|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
+| **Bucket** | |
| Bucket of the
object.<br>**Supports Expression Language: true** |
+| **Number Of retries** | 6 | integers
| How many retry
attempts should be made before routing to the failure relationship. |
+| **GCP Credentials Provider Service** | |
[GCPCredentialsControllerService](CONTROLLERS.md#GCPCredentialsControllerService)
| The Controller Service used to obtain Google Cloud Platform credentials.
|
+| Endpoint Override URL | |
| Overrides the
default Google Cloud Storage endpoints |
+| List all versions | false | false<br>true
| Set this option
to `true` to get all the previous versions separately. |
+
+
+### Relationships
+
+| Name | Description
|
+|---------|-----------------------------------------------------------------------------------------------|
+| success | FlowFiles are routed to this relationship after a successful
Google Cloud Storage operation. |
+
+### Output Attributes
+
+| Attribute | Relationship | Description
|
+|----------------------------|--------------|--------------------------------------------------------------------|
+| _gcs.bucket_ | success | Bucket of the object.
|
+| _gcs.key, filename_ | success | Name of the object.
|
+| _gcs.size_ | success | Size of the object.
|
+| _gcs.crc32c_ | success | The CRC32C checksum of object's
data, encoded in base64 |
+| _gcs.md5_ | success | The MD5 hash of the object's
data encoded in base64. |
+| _gcs.owner.entity_ | success | The owner entity, in the form
"user-emailAddress". |
+| _gcs.owner.entity.id_ | success | The ID for the entity.
|
+| _gcs.content.encoding_ | success | The content encoding of the
object. |
+| _gcs.content.language_ | success | The content language of the
object. |
+| _gcs.content.disposition_ | success | The data content disposition of
the object. |
+| _gcs.media.link_ | success | The media download link to the
object. |
+| _gcs.self.link_ | success | The link to this object.
|
+| _gcs.etag_ | success | The HTTP 1.1 Entity tag for the
object. |
+| _gcs.generated.id_ | success | The service-generated ID for the
object |
+| _gcs.generation_ | success | The content generation of this
object. Used for object versioning. |
+| _gcs.metageneration_ | success | The metageneration of the
object. |
+| _gcs.create.time_ | success | The creation time of the object
(milliseconds) |
+| _gcs.update.time_ | success | The last modification time of
the object (milliseconds) |
+| _gcs.delete.time_ | success | The deletion time of the object
(milliseconds) |
Review Comment:
Same as before I copied the way nifi described these. But I think we can do
better.
https://github.com/apache/nifi-minifi-cpp/pull/1297/commits/f8ebe927d2303bddbc7a8e963b2692061e8ab384
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]