Skip to content

Commit

Permalink
refactor: remove unused IAM protobuf objects (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jan 14, 2019
1 parent a86454c commit 8053e64
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,48 +115,4 @@ const Policy = {
*/
const Binding = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The difference delta between two policies.
*
* @property {Object[]} bindingDeltas
* The delta for Bindings between two policies.
*
* This object should have the same structure as [BindingDelta]{@link google.iam.v1.BindingDelta}
*
* @typedef PolicyDelta
* @memberof google.iam.v1
* @see [google.iam.v1.PolicyDelta definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/policy.proto}
*/
const PolicyDelta = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* One delta entry for Binding. Each individual change (only one member in each
* entry) to a binding will be a separate entry.
*
* @property {number} action
* The action that was performed on a Binding.
* Required
*
* The number should be among the values of [Action]{@link google.iam.v1.Action}
*
* @property {string} role
* Role that is assigned to `members`.
* For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
* Required
*
* @property {string} member
* A single identity requesting access for a Cloud Platform resource.
* Follows the same format of Binding.members.
* Required
*
* @typedef BindingDelta
* @memberof google.iam.v1
* @see [google.iam.v1.BindingDelta definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/policy.proto}
*/
const BindingDelta = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -60,88 +60,4 @@
*/
const Operation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.GetOperation.
*
* @property {string} name
* The name of the operation resource.
*
* @typedef GetOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.GetOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const GetOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.ListOperations.
*
* @property {string} name
* The name of the operation collection.
*
* @property {string} filter
* The standard list filter.
*
* @property {number} pageSize
* The standard list page size.
*
* @property {string} pageToken
* The standard list page token.
*
* @typedef ListOperationsRequest
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The response message for Operations.ListOperations.
*
* @property {Object[]} operations
* A list of operations that matches the specified filter in the request.
*
* This object should have the same structure as [Operation]{@link google.longrunning.Operation}
*
* @property {string} nextPageToken
* The standard List next-page token.
*
* @typedef ListOperationsResponse
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.CancelOperation.
*
* @property {string} name
* The name of the operation resource to be cancelled.
*
* @typedef CancelOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.CancelOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const CancelOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.DeleteOperation.
*
* @property {string} name
* The name of the operation resource to be deleted.
*
* @typedef DeleteOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.DeleteOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const DeleteOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
36 changes: 24 additions & 12 deletions packages/google-cloud-asset/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
{
"updateTime": "2019-01-03T17:55:38.797029Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.4",
"dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f",
"internalRef": "221837528"
"sha": "2a5caab4315cb5ab3d5c97c90c6d4e9441052b16",
"internalRef": "227195651"
}
},
{
"git": {
"name": "googleapis-private",
"remote": "https://github.com/googleapis/googleapis-private.git",
"sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641",
"internalRef": "221340946"
"template": {
"name": "node_library",
"origin": "synthtool.gcp",
"version": "2018.12.6"
}
},
}
],
"destinations": [
{
"generator": {
"name": "artman",
"version": "0.16.0",
"dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b"
"client": {
"source": "googleapis",
"apiName": "asset",
"apiVersion": "v1beta1",
"language": "nodejs",
"generator": "gapic",
"config": "google/cloud/asset/artman_cloudasset_v1beta1.yaml"
}
}
]
Expand Down

0 comments on commit 8053e64

Please sign in to comment.