-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(samples): include metadata file, add exclusions for samples to h…
…andwritten libraries (#106) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 429395631 Source-Link: googleapis/googleapis@84594b3 Source-Link: googleapis/googleapis-gen@ed74f97 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWQ3NGY5NzBmZDgyOTE0ODc0ZTZiMjdiMDQ3NjNjZmE2NmJhZmU5YiJ9
- Loading branch information
1 parent
ee81b06
commit c937f4a
Showing
4 changed files
with
98 additions
and
7 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
...le-cloud-policytroubleshooter/samples/generated/v1/iam_checker.troubleshoot_iam_policy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...leshooter/samples/generated/v1/snippet_metadata.google.cloud.policytroubleshooter.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-policytroubleshooter", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.policytroubleshooter.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "policytroubleshooter_v1_generated_IamChecker_TroubleshootIamPolicy_async", | ||
"title": "IamChecker troubleshootIamPolicy Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Checks whether a member has a specific permission for a specific resource, and explains why the member does or does not have that permission.", | ||
"canonical": true, | ||
"file": "iam_checker.troubleshoot_iam_policy.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 50, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "TroubleshootIamPolicy", | ||
"fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "access_tuple", | ||
"type": ".google.cloud.policytroubleshooter.v1.AccessTuple" | ||
} | ||
], | ||
"resultType": ".google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse", | ||
"client": { | ||
"shortName": "IamCheckerClient", | ||
"fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient" | ||
}, | ||
"method": { | ||
"shortName": "TroubleshootIamPolicy", | ||
"fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", | ||
"service": { | ||
"shortName": "IamChecker", | ||
"fullName": "google.cloud.policytroubleshooter.v1.IamChecker" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters