1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="sasportal_v1alpha1.html">SAS Portal API</a> . <a href="sasportal_v1alpha1.policies.html">policies</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(body=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p> 83<p class="toc_element"> 84 <code><a href="#set">set(body=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy.</p> 86<p class="toc_element"> 87 <code><a href="#test">test(body=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Returns permissions that a caller has on the specified resource.</p> 89<h3>Method Details</h3> 90<div class="method"> 91 <code class="details" id="close">close()</code> 92 <pre>Close httplib2 connections.</pre> 93</div> 94 95<div class="method"> 96 <code class="details" id="get">get(body=None, x__xgafv=None)</code> 97 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. 98 99Args: 100 body: object, The request body. 101 The object takes the form of: 102 103{ # Request message for `GetPolicy` method. 104 "resource": "A String", # Required. The resource for which the policy is being requested. 105} 106 107 x__xgafv: string, V1 error format. 108 Allowed values 109 1 - v1 error format 110 2 - v2 error format 111 112Returns: 113 An object of the form: 114 115 { # Defines an access control policy to the resources. 116 "assignments": [ # List of assignments 117 { # Associates `members` with a `role`. 118 "members": [ # The identities the role is assigned to. It can have the following values: * `{user_email}`: An email address that represents a specific Google account. For example: `[email protected]`. * `{group_email}`: An email address that represents a Google group. For example, `[email protected]`. 119 "A String", 120 ], 121 "role": "A String", # Required. Role that is assigned to `members`. 122 }, 123 ], 124 "etag": "A String", # The etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that their change will be applied to the same version of the policy. If no etag is provided in the call to GetPolicy, then the existing policy is overwritten blindly. 125}</pre> 126</div> 127 128<div class="method"> 129 <code class="details" id="set">set(body=None, x__xgafv=None)</code> 130 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. 131 132Args: 133 body: object, The request body. 134 The object takes the form of: 135 136{ # Request message for `SetPolicy` method. 137 "disableNotification": True or False, # Optional. Set the field as true when we would like to disable the onboarding notification. 138 "policy": { # Defines an access control policy to the resources. # Required. The policy to be applied to the `resource`. 139 "assignments": [ # List of assignments 140 { # Associates `members` with a `role`. 141 "members": [ # The identities the role is assigned to. It can have the following values: * `{user_email}`: An email address that represents a specific Google account. For example: `[email protected]`. * `{group_email}`: An email address that represents a Google group. For example, `[email protected]`. 142 "A String", 143 ], 144 "role": "A String", # Required. Role that is assigned to `members`. 145 }, 146 ], 147 "etag": "A String", # The etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that their change will be applied to the same version of the policy. If no etag is provided in the call to GetPolicy, then the existing policy is overwritten blindly. 148 }, 149 "resource": "A String", # Required. The resource for which the policy is being specified. This policy replaces any existing policy. 150} 151 152 x__xgafv: string, V1 error format. 153 Allowed values 154 1 - v1 error format 155 2 - v2 error format 156 157Returns: 158 An object of the form: 159 160 { # Defines an access control policy to the resources. 161 "assignments": [ # List of assignments 162 { # Associates `members` with a `role`. 163 "members": [ # The identities the role is assigned to. It can have the following values: * `{user_email}`: An email address that represents a specific Google account. For example: `[email protected]`. * `{group_email}`: An email address that represents a Google group. For example, `[email protected]`. 164 "A String", 165 ], 166 "role": "A String", # Required. Role that is assigned to `members`. 167 }, 168 ], 169 "etag": "A String", # The etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that their change will be applied to the same version of the policy. If no etag is provided in the call to GetPolicy, then the existing policy is overwritten blindly. 170}</pre> 171</div> 172 173<div class="method"> 174 <code class="details" id="test">test(body=None, x__xgafv=None)</code> 175 <pre>Returns permissions that a caller has on the specified resource. 176 177Args: 178 body: object, The request body. 179 The object takes the form of: 180 181{ # Request message for `TestPermissions` method. 182 "permissions": [ # The set of permissions to check for the `resource`. 183 "A String", 184 ], 185 "resource": "A String", # Required. The resource for which the permissions are being requested. 186} 187 188 x__xgafv: string, V1 error format. 189 Allowed values 190 1 - v1 error format 191 2 - v2 error format 192 193Returns: 194 An object of the form: 195 196 { # Response message for `TestPermissions` method. 197 "permissions": [ # A set of permissions that the caller is allowed. 198 "A String", 199 ], 200}</pre> 201</div> 202 203</body></html>