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_v1beta1.html">Security Command Center API</a> . <a href="securitycenter_v1beta1.organizations.html">organizations</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="securitycenter_v1beta1.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_v1beta1.organizations.operations.html">operations()</a></code> 84</p> 85<p class="firstline">Returns the operations Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="securitycenter_v1beta1.organizations.sources.html">sources()</a></code> 89</p> 90<p class="firstline">Returns the sources Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="#close">close()</a></code></p> 94<p class="firstline">Close httplib2 connections.</p> 95<p class="toc_element"> 96 <code><a href="#getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</a></code></p> 97<p class="firstline">Gets the settings for an organization.</p> 98<p class="toc_element"> 99 <code><a href="#updateOrganizationSettings">updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Updates an organization's settings.</p> 101<h3>Method Details</h3> 102<div class="method"> 103 <code class="details" id="close">close()</code> 104 <pre>Close httplib2 connections.</pre> 105</div> 106 107<div class="method"> 108 <code class="details" id="getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</code> 109 <pre>Gets the settings for an organization. 110 111Args: 112 name: string, Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings". (required) 113 x__xgafv: string, V1 error format. 114 Allowed values 115 1 - v1 error format 116 2 - v2 error format 117 118Returns: 119 An object of the form: 120 121 { # User specified settings that are attached to the Security Command Center organization. 122 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 123 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 124 "projectIds": [ # The project ids to use for filtering asset discovery. 125 "A String", 126 ], 127 }, 128 "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. 129 "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". 130}</pre> 131</div> 132 133<div class="method"> 134 <code class="details" id="updateOrganizationSettings">updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 135 <pre>Updates an organization's settings. 136 137Args: 138 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) 139 body: object, The request body. 140 The object takes the form of: 141 142{ # User specified settings that are attached to the Security Command Center organization. 143 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 144 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 145 "projectIds": [ # The project ids to use for filtering asset discovery. 146 "A String", 147 ], 148 }, 149 "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. 150 "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". 151} 152 153 updateMask: string, The FieldMask to use when updating the settings resource. 154 x__xgafv: string, V1 error format. 155 Allowed values 156 1 - v1 error format 157 2 - v2 error format 158 159Returns: 160 An object of the form: 161 162 { # User specified settings that are attached to the Security Command Center organization. 163 "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. 164 "inclusionMode": "A String", # The mode to use for filtering asset discovery. 165 "projectIds": [ # The project ids to use for filtering asset discovery. 166 "A String", 167 ], 168 }, 169 "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. 170 "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". 171}</pre> 172</div> 173 174</body></html>