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="securitycenter_v1.html">Security Command Center API</a> . <a href="securitycenter_v1.organizations.html">organizations</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="securitycenter_v1.organizations.assets.html">assets()</a></code> 79</p> 80<p class="firstline">Returns the assets Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="securitycenter_v1.organizations.findings.html">findings()</a></code> 84</p> 85<p class="firstline">Returns the findings Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="securitycenter_v1.organizations.muteConfigs.html">muteConfigs()</a></code> 89</p> 90<p class="firstline">Returns the muteConfigs Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="securitycenter_v1.organizations.notificationConfigs.html">notificationConfigs()</a></code> 94</p> 95<p class="firstline">Returns the notificationConfigs Resource.</p> 96 97<p class="toc_element"> 98 <code><a href="securitycenter_v1.organizations.operations.html">operations()</a></code> 99</p> 100<p class="firstline">Returns the operations Resource.</p> 101 102<p class="toc_element"> 103 <code><a href="securitycenter_v1.organizations.sources.html">sources()</a></code> 104</p> 105<p class="firstline">Returns the sources Resource.</p> 106 107<p class="toc_element"> 108 <code><a href="#close">close()</a></code></p> 109<p class="firstline">Close httplib2 connections.</p> 110<p class="toc_element"> 111 <code><a href="#getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</a></code></p> 112<p class="firstline">Gets the settings for an organization.</p> 113<p class="toc_element"> 114 <code><a href="#updateOrganizationSettings">updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 115<p class="firstline">Updates an organization's settings.</p> 116<h3>Method Details</h3> 117<div class="method"> 118 <code class="details" id="close">close()</code> 119 <pre>Close httplib2 connections.</pre> 120</div> 121 122<div class="method"> 123 <code class="details" id="getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</code> 124 <pre>Gets the settings for an organization. 125 126Args: 127 name: string, Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings". (required) 128 x__xgafv: string, V1 error format. 129 Allowed values 130 1 - v1 error format 131 2 - v2 error format 132 133Returns: 134 An object of the form: 135 136 { # User specified settings that are attached to the Security Command Center organization. 137 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 138 "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966. 139 "A String", 140 ], 141 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 142 "projectIds": [ # The project ids to use for filtering asset discovery. 143 "A String", 144 ], 145 }, 146 "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur. 147 "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings". 148}</pre> 149</div> 150 151<div class="method"> 152 <code class="details" id="updateOrganizationSettings">updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 153 <pre>Updates an organization's settings. 154 155Args: 156 name: string, The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings". (required) 157 body: object, The request body. 158 The object takes the form of: 159 160{ # User specified settings that are attached to the Security Command Center organization. 161 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 162 "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966. 163 "A String", 164 ], 165 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 166 "projectIds": [ # The project ids to use for filtering asset discovery. 167 "A String", 168 ], 169 }, 170 "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur. 171 "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings". 172} 173 174 updateMask: string, The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated. 175 x__xgafv: string, V1 error format. 176 Allowed values 177 1 - v1 error format 178 2 - v2 error format 179 180Returns: 181 An object of the form: 182 183 { # User specified settings that are attached to the Security Command Center organization. 184 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 185 "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966. 186 "A String", 187 ], 188 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 189 "projectIds": [ # The project ids to use for filtering asset discovery. 190 "A String", 191 ], 192 }, 193 "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur. 194 "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings". 195}</pre> 196</div> 197 198</body></html>