Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/dyn/androidenterprise_v1.enterprises.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ <h3>Method Details</h3>

{ # A service account identity, including the name and credentials that can be used to authenticate as the service account.
&quot;key&quot;: { # *Deprecated:* New integrations cannot use this method and can refer to our new recommendations # Credentials that can be used to authenticate as this ServiceAccount.
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is &quot;pkcs12&quot;, the contents of the data field is base64 encoded and has the password &quot;notasecret&quot;.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

The documentation mentions a hardcoded password notasecret. This is a significant security risk as it encourages the use of weak and well-known credentials. Hardcoded secrets should not be present in documentation. Please remove the mention of this password or add a strong warning that it is insecure and must not be used in production environments.

&quot;id&quot;: &quot;A String&quot;, # An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
&quot;publicData&quot;: &quot;A String&quot;, # Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.
&quot;type&quot;: &quot;A String&quot;, # The file format of the generated key data.
Expand Down
6 changes: 3 additions & 3 deletions docs/dyn/androidenterprise_v1.serviceaccountkeys.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # *Deprecated:* New integrations cannot use this method and can refer to our new recommendations
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is &quot;pkcs12&quot;, the contents of the data field is base64 encoded and has the password &quot;notasecret&quot;.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

The documentation mentions a hardcoded password notasecret. This is a significant security risk as it encourages the use of weak and well-known credentials. Hardcoded secrets should not be present in documentation. Please remove the mention of this password or add a strong warning that it is insecure and must not be used in production environments. This issue is also present on lines 134 and 158.

&quot;id&quot;: &quot;A String&quot;, # An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
&quot;publicData&quot;: &quot;A String&quot;, # Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.
&quot;type&quot;: &quot;A String&quot;, # The file format of the generated key data.
Expand All @@ -131,7 +131,7 @@ <h3>Method Details</h3>
An object of the form:

{ # *Deprecated:* New integrations cannot use this method and can refer to our new recommendations
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is &quot;pkcs12&quot;, the contents of the data field is base64 encoded and has the password &quot;notasecret&quot;.
&quot;id&quot;: &quot;A String&quot;, # An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
&quot;publicData&quot;: &quot;A String&quot;, # Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.
&quot;type&quot;: &quot;A String&quot;, # The file format of the generated key data.
Expand All @@ -155,7 +155,7 @@ <h3>Method Details</h3>
{
&quot;serviceAccountKey&quot;: [ # The service account credentials.
{ # *Deprecated:* New integrations cannot use this method and can refer to our new recommendations
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.
&quot;data&quot;: &quot;A String&quot;, # The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is &quot;pkcs12&quot;, the contents of the data field is base64 encoded and has the password &quot;notasecret&quot;.
&quot;id&quot;: &quot;A String&quot;, # An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
&quot;publicData&quot;: &quot;A String&quot;, # Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.
&quot;type&quot;: &quot;A String&quot;, # The file format of the generated key data.
Expand Down
72 changes: 72 additions & 0 deletions docs/dyn/ces_v1.projects.locations.apps.deployments.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
}
Expand Down Expand Up @@ -179,6 +191,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
}</pre>
Expand Down Expand Up @@ -245,6 +269,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
}</pre>
Expand Down Expand Up @@ -297,6 +333,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
},
Expand Down Expand Up @@ -356,6 +404,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
}
Expand Down Expand Up @@ -397,6 +457,18 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was created.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the deployment.
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag used to ensure the object hasn&#x27;t changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
&quot;experimentConfig&quot;: { # Experiment for the deployment. # Optional. Experiment configuration for the deployment.
&quot;versionRelease&quot;: { # Version release for the experiment. # Optional. Version release for the experiment.
&quot;state&quot;: &quot;A String&quot;, # Optional. State of the version release.
&quot;trafficAllocations&quot;: [ # Optional. Traffic allocations for the version release.
{ # Traffic allocation for the version release.
&quot;appVersion&quot;: &quot;A String&quot;, # Optional. App version of the traffic allocation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
&quot;id&quot;: &quot;A String&quot;, # Optional. Id of the traffic allocation. Free format string, up to 128 characters.
&quot;trafficPercentage&quot;: 42, # Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
},
],
},
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this deployment was last updated.
}</pre>
Expand Down
Loading
Loading