| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, 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 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, 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="artifactregistry_v1.html">Artifact Registry API</a> . <a href="artifactregistry_v1.projects.html">projects</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="artifactregistry_v1.projects.locations.html">locations()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the locations Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="#close">close()</a></code></p> |
| 84 |
<p class="firstline">Close httplib2 connections.</p> |
| 85 |
<p class="toc_element"> |
| 86 |
<code><a href="#getProjectSettings">getProjectSettings(name, x__xgafv=None)</a></code></p> |
| 87 |
<p class="firstline">Retrieves the Settings for the Project.</p> |
| 88 |
<p class="toc_element"> |
| 89 |
<code><a href="#updateProjectSettings">updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> |
| 90 |
<p class="firstline">Updates the Settings for the Project.</p> |
| 91 |
<h3>Method Details</h3> |
| 92 |
<div class="method"> |
| 93 |
<code class="details" id="close">close()</code> |
| 94 |
<pre>Close httplib2 connections.</pre> |
| 95 |
</div> |
| 96 |
|
| 97 |
<div class="method"> |
| 98 |
<code class="details" id="getProjectSettings">getProjectSettings(name, x__xgafv=None)</code> |
| 99 |
<pre>Retrieves the Settings for the Project. |
| 100 |
|
| 101 |
Args: |
| 102 |
name: string, Required. The name of the projectSettings resource. (required) |
| 103 |
x__xgafv: string, V1 error format. |
| 104 |
Allowed values |
| 105 |
1 - v1 error format |
| 106 |
2 - v2 error format |
| 107 |
|
| 108 |
Returns: |
| 109 |
An object of the form: |
| 110 |
|
| 111 |
{ # The Artifact Registry settings that apply to a Project. |
| 112 |
"legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. |
| 113 |
"name": "A String", # The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set |
| 114 |
"pullPercent": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. |
| 115 |
}</pre> |
| 116 |
</div> |
| 117 |
|
| 118 |
<div class="method"> |
| 119 |
<code class="details" id="updateProjectSettings">updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)</code> |
| 120 |
<pre>Updates the Settings for the Project. |
| 121 |
|
| 122 |
Args: |
| 123 |
name: string, The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set (required) |
| 124 |
body: object, The request body. |
| 125 |
The object takes the form of: |
| 126 |
|
| 127 |
{ # The Artifact Registry settings that apply to a Project. |
| 128 |
"legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. |
| 129 |
"name": "A String", # The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set |
| 130 |
"pullPercent": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. |
| 131 |
} |
| 132 |
|
| 133 |
updateMask: string, Field mask to support partial updates. |
| 134 |
x__xgafv: string, V1 error format. |
| 135 |
Allowed values |
| 136 |
1 - v1 error format |
| 137 |
2 - v2 error format |
| 138 |
|
| 139 |
Returns: |
| 140 |
An object of the form: |
| 141 |
|
| 142 |
{ # The Artifact Registry settings that apply to a Project. |
| 143 |
"legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. |
| 144 |
"name": "A String", # The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set |
| 145 |
"pullPercent": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. |
| 146 |
}</pre> |
| 147 |
</div> |
| 148 |
|
| 149 |
</body></html> |