Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,10 @@ Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-pubsub/blob/master/LICENSE)

[client-docs]: https://googleapis.dev/nodejs/pubsub/latest#reference
[client-docs]: https://googleapis.dev/nodejs/pubsub/latest
[product-docs]: https://cloud.google.com/pubsub/docs/
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=pubsub.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started

<a name="reference"></a>
224 changes: 224 additions & 0 deletions protos/protos.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,230 @@
}
}
}
},
"iam": {
"nested": {
"v1": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Google.Cloud.Iam.V1",
"go_package": "google.golang.org/genproto/googleapis/iam/v1;iam",
"java_multiple_files": true,
"java_outer_classname": "PolicyProto",
"java_package": "com.google.iam.v1",
"php_namespace": "Google\\Cloud\\Iam\\V1"
},
"nested": {
"IAMPolicy": {
"methods": {
"SetIamPolicy": {
"requestType": "SetIamPolicyRequest",
"responseType": "Policy",
"options": {
"(google.api.http).post": "/v1/{resource=**}:setIamPolicy",
"(google.api.http).body": "*"
}
},
"GetIamPolicy": {
"requestType": "GetIamPolicyRequest",
"responseType": "Policy",
"options": {
"(google.api.http).post": "/v1/{resource=**}:getIamPolicy",
"(google.api.http).body": "*"
}
},
"TestIamPermissions": {
"requestType": "TestIamPermissionsRequest",
"responseType": "TestIamPermissionsResponse",
"options": {
"(google.api.http).post": "/v1/{resource=**}:testIamPermissions",
"(google.api.http).body": "*"
}
}
}
},
"SetIamPolicyRequest": {
"fields": {
"resource": {
"type": "string",
"id": 1
},
"policy": {
"type": "Policy",
"id": 2
}
}
},
"GetIamPolicyRequest": {
"fields": {
"resource": {
"type": "string",
"id": 1
}
}
},
"TestIamPermissionsRequest": {
"fields": {
"resource": {
"type": "string",
"id": 1
},
"permissions": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"TestIamPermissionsResponse": {
"fields": {
"permissions": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Policy": {
"fields": {
"version": {
"type": "int32",
"id": 1
},
"bindings": {
"rule": "repeated",
"type": "Binding",
"id": 4
},
"etag": {
"type": "bytes",
"id": 3
}
}
},
"Binding": {
"fields": {
"role": {
"type": "string",
"id": 1
},
"members": {
"rule": "repeated",
"type": "string",
"id": 2
},
"condition": {
"type": "google.type.Expr",
"id": 3
}
}
},
"PolicyDelta": {
"fields": {
"bindingDeltas": {
"rule": "repeated",
"type": "BindingDelta",
"id": 1
},
"auditConfigDeltas": {
"rule": "repeated",
"type": "AuditConfigDelta",
"id": 2
}
}
},
"BindingDelta": {
"fields": {
"action": {
"type": "Action",
"id": 1
},
"role": {
"type": "string",
"id": 2
},
"member": {
"type": "string",
"id": 3
},
"condition": {
"type": "google.type.Expr",
"id": 4
}
},
"nested": {
"Action": {
"values": {
"ACTION_UNSPECIFIED": 0,
"ADD": 1,
"REMOVE": 2
}
}
}
},
"AuditConfigDelta": {
"fields": {
"action": {
"type": "Action",
"id": 1
},
"service": {
"type": "string",
"id": 2
},
"exemptedMember": {
"type": "string",
"id": 3
},
"logType": {
"type": "string",
"id": 4
}
},
"nested": {
"Action": {
"values": {
"ACTION_UNSPECIFIED": 0,
"ADD": 1,
"REMOVE": 2
}
}
}
}
}
}
}
},
"type": {
"options": {
"go_package": "google.golang.org/genproto/googleapis/type/expr;expr",
"java_multiple_files": true,
"java_outer_classname": "ExprProto",
"java_package": "com.google.type",
"objc_class_prefix": "GTP"
},
"nested": {
"Expr": {
"fields": {
"expression": {
"type": "string",
"id": 1
},
"title": {
"type": "string",
"id": 2
},
"description": {
"type": "string",
"id": 3
},
"location": {
"type": "string",
"id": 4
}
}
}
}
}
}
}
Expand Down
10 changes: 6 additions & 4 deletions src/v1/doc/google/protobuf/doc_timestamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@
* 01:30 UTC on January 15, 2017.
*
* In JavaScript, one can convert a Date object to this format using the
* standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
* standard
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
* method. In Python, a standard `datetime.datetime` object can be converted
* to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
* with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
* can use the Joda Time's [`ISODateTimeFormat.dateTime()`](https://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D) to obtain a formatter capable of generating timestamps in this format.
* to this format using
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
* the Joda Time's [`ISODateTimeFormat.dateTime()`](https://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D) to obtain a formatter capable of generating timestamps in this format.
*
* @property {number} seconds
* Represents seconds of UTC time since Unix epoch
Expand Down
Loading