• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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">Cloud 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.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_v1.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="#getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</a></code></p>
94<p class="firstline">Gets the settings for an organization.</p>
95<p class="toc_element">
96  <code><a href="#updateOrganizationSettings">updateOrganizationSettings(name, body, updateMask=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Updates an organization's settings.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="getOrganizationSettings">getOrganizationSettings(name, x__xgafv=None)</code>
101  <pre>Gets the settings for an organization.
102
103Args:
104  name: string, Name of the organization to get organization settings for. Its format is
105"organizations/[organization_id]/organizationSettings". (required)
106  x__xgafv: string, V1 error format.
107    Allowed values
108      1 - v1 error format
109      2 - v2 error format
110
111Returns:
112  An object of the form:
113
114    { # User specified settings that are attached to the Cloud Security Command
115        # Center (Cloud SCC) organization.
116      "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
117        "projectIds": [ # The project ids to use for filtering asset discovery.
118          "A String",
119        ],
120        "inclusionMode": "A String", # The mode to use for filtering asset discovery.
121      },
122      "name": "A String", # The relative resource name of the settings. See:
123          # https://cloud.google.com/apis/design/resource_names#relative_resource_name
124          # Example:
125          # "organizations/123/organizationSettings".
126      "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is
127          # set to `true`, then discovery of assets will occur. If it is set to `false,
128          # all historical assets will remain, but discovery of future assets will not
129          # occur.
130    }</pre>
131</div>
132
133<div class="method">
134    <code class="details" id="updateOrganizationSettings">updateOrganizationSettings(name, body, 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:
139https://cloud.google.com/apis/design/resource_names#relative_resource_name
140Example:
141"organizations/123/organizationSettings". (required)
142  body: object, The request body. (required)
143    The object takes the form of:
144
145{ # User specified settings that are attached to the Cloud Security Command
146      # Center (Cloud SCC) organization.
147    "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
148      "projectIds": [ # The project ids to use for filtering asset discovery.
149        "A String",
150      ],
151      "inclusionMode": "A String", # The mode to use for filtering asset discovery.
152    },
153    "name": "A String", # The relative resource name of the settings. See:
154        # https://cloud.google.com/apis/design/resource_names#relative_resource_name
155        # Example:
156        # "organizations/123/organizationSettings".
157    "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is
158        # set to `true`, then discovery of assets will occur. If it is set to `false,
159        # all historical assets will remain, but discovery of future assets will not
160        # occur.
161  }
162
163  updateMask: string, The FieldMask to use when updating the settings resource.
164
165 If empty all mutable fields will be updated.
166  x__xgafv: string, V1 error format.
167    Allowed values
168      1 - v1 error format
169      2 - v2 error format
170
171Returns:
172  An object of the form:
173
174    { # User specified settings that are attached to the Cloud Security Command
175        # Center (Cloud SCC) organization.
176      "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
177        "projectIds": [ # The project ids to use for filtering asset discovery.
178          "A String",
179        ],
180        "inclusionMode": "A String", # The mode to use for filtering asset discovery.
181      },
182      "name": "A String", # The relative resource name of the settings. See:
183          # https://cloud.google.com/apis/design/resource_names#relative_resource_name
184          # Example:
185          # "organizations/123/organizationSettings".
186      "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is
187          # set to `true`, then discovery of assets will occur. If it is set to `false,
188          # all historical assets will remain, but discovery of future assets will not
189          # occur.
190    }</pre>
191</div>
192
193</body></html>