Skip to content

Commit

Permalink
feat: add Cloud Asset List API, add access time as condition context …
Browse files Browse the repository at this point in the history
…in request and evaluation value in response for Cloud Asset AnalyzeIamPolicy API, add more info (folders, organizations, kms_key, create_time, update_time, state, parent_full_resource_name, parent_asset_type) in response for Cloud Asset SearchAllResources API (#491)

* feat: add Cloud Asset List API, add access time as condition context in request and evaluation value in response for Cloud Asset AnalyzeIamPolicy API, add more info (folders, organizations, kms_key, create_time, update_time, state, parent_full_resource_name, parent_asset_type) in response for Cloud Asset SearchAllResources API

Committer: @peter-zheng-g
PiperOrigin-RevId: 375731640

Source-Link: googleapis/googleapis@de04592

Source-Link: googleapis/googleapis-gen@7b343f4

* 🦉 Updates from OwlBot

* 🦉 Updates from OwlBot

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people authored May 26, 2021
1 parent e7c4137 commit b55c6af
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 23 deletions.
2 changes: 0 additions & 2 deletions packages/google-cloud-asset/src/v1/asset_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ export class AssetServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
[
"../../protos/google/cloud/asset/v1/asset_service.proto",
"../../protos/google/cloud/asset/v1/assets.proto",
"../../protos/google/cloud/orgpolicy/v1/orgpolicy.proto",
"../../protos/google/cloud/osconfig/v1/inventory.proto",
"../../protos/google/identity/accesscontextmanager/type/device_resources.proto",
"../../protos/google/identity/accesscontextmanager/v1/access_level.proto",
"../../protos/google/identity/accesscontextmanager/v1/access_policy.proto",
"../../protos/google/identity/accesscontextmanager/v1/service_perimeter.proto"
"../../protos/google/cloud/asset/v1/assets.proto"
]
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ export class AssetServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ export class AssetServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ export class AssetServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ export class AssetServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[
"../../protos/google/cloud/asset/v1p5beta1/asset_service.proto",
"../../protos/google/cloud/asset/v1p5beta1/assets.proto",
"../../protos/google/cloud/orgpolicy/v1/orgpolicy.proto",
"../../protos/google/identity/accesscontextmanager/type/device_resources.proto",
"../../protos/google/identity/accesscontextmanager/v1/access_level.proto",
"../../protos/google/identity/accesscontextmanager/v1/access_policy.proto",
"../../protos/google/identity/accesscontextmanager/v1/service_perimeter.proto"
"../../protos/google/cloud/asset/v1p5beta1/assets.proto"
]

0 comments on commit b55c6af

Please sign in to comment.