Skip to content

Commit 0885e17

Browse files
feat: Automated regeneration of ChromeManagement client (googleapis#12969)
Auto-created at 2025-02-15 13:09:54 +0000 using the toys pull request generator.
1 parent 2454496 commit 0885e17

7 files changed

+242
-1
lines changed

clients/chrome_management/lib/google_api/chrome_management/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.ChromeManagement.V1 do
2020
API client metadata for GoogleApi.ChromeManagement.V1.
2121
"""
2222

23-
@discovery_revision "20250126"
23+
@discovery_revision "20250212"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/chrome_management/lib/google_api/chrome_management/v1/model/google_chrome_management_versions_v1_certificate_provisioning_process.ex

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1Ce
2525
* `chromeOsDevice` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1ChromeOsDevice.t`, *default:* `nil`) - Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.
2626
* `chromeOsUserSession` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1ChromeOsUserSession.t`, *default:* `nil`) - Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.
2727
* `failureMessage` (*type:* `String.t`, *default:* `nil`) - Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.
28+
* `genericCaConnection` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection.t`, *default:* `nil`) - Output only. The CA connection is a generic CA connection.
29+
* `genericProfile` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile.t`, *default:* `nil`) - Output only. The profile is a generic certificate provisioning profile.
2830
* `issuedCertificate` (*type:* `String.t`, *default:* `nil`) - Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.
2931
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` with `{customer}` being the obfuscated customer id and `{certificate_provisioning_process}` being the certificate provisioning process id.
3032
* `profileAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
@@ -47,6 +49,12 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1Ce
4749
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1ChromeOsUserSession.t()
4850
| nil,
4951
:failureMessage => String.t() | nil,
52+
:genericCaConnection =>
53+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection.t()
54+
| nil,
55+
:genericProfile =>
56+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile.t()
57+
| nil,
5058
:issuedCertificate => String.t() | nil,
5159
:name => String.t() | nil,
5260
:profileAdapterConfigReference => String.t() | nil,
@@ -69,6 +77,15 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1Ce
6977
)
7078

7179
field(:failureMessage)
80+
81+
field(:genericCaConnection,
82+
as: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection
83+
)
84+
85+
field(:genericProfile,
86+
as: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile
87+
)
88+
7289
field(:issuedCertificate)
7390
field(:name)
7491
field(:profileAdapterConfigReference)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection do
19+
@moduledoc """
20+
Describes a generic Certificate Authority Connection.
21+
22+
## Attributes
23+
24+
* `caConnectionAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A string that references the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:caConnectionAdapterConfigReference => String.t() | nil
31+
}
32+
33+
field(:caConnectionAdapterConfigReference)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection do
38+
def decode(value, options) do
39+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection.decode(
40+
value,
41+
options
42+
)
43+
end
44+
end
45+
46+
defimpl Poison.Encoder,
47+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericCaConnection do
48+
def encode(value, options) do
49+
GoogleApi.Gax.ModelBase.encode(value, options)
50+
end
51+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile do
19+
@moduledoc """
20+
Describes a generic certificate provisioning profile.
21+
22+
## Attributes
23+
24+
* `profileAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A string that references the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:profileAdapterConfigReference => String.t() | nil
31+
}
32+
33+
field(:profileAdapterConfigReference)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile do
38+
def decode(value, options) do
39+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile.decode(
40+
value,
41+
options
42+
)
43+
end
44+
end
45+
46+
defimpl Poison.Encoder,
47+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1GenericProfile do
48+
def encode(value, options) do
49+
GoogleApi.Gax.ModelBase.encode(value, options)
50+
end
51+
end

clients/chrome_management/lib/google_api/chrome_management/v1/model/google_chrome_management_versions_v1alpha1_certificate_provisioning_process.ex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1al
2525
* `chromeOsDevice` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1ChromeOsDevice.t`, *default:* `nil`) - Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.
2626
* `chromeOsUserSession` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession.t`, *default:* `nil`) - Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.
2727
* `failureMessage` (*type:* `String.t`, *default:* `nil`) - Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.
28+
* `genericCaConnection` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection.t`, *default:* `nil`) - Output only. The CA connection is a generic CA connection.
29+
* `genericProfile` (*type:* `GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile.t`, *default:* `nil`) - Output only. The profile is a generic certificate provisioning profile.
2830
* `issuedCertificate` (*type:* `String.t`, *default:* `nil`) - Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.
2931
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` with `{customer}` being the obfuscated customer id and `{certificate_provisioning_process}` being the certificate provisioning process id.
3032
* `profileAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
@@ -47,6 +49,12 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1al
4749
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession.t()
4850
| nil,
4951
:failureMessage => String.t() | nil,
52+
:genericCaConnection =>
53+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection.t()
54+
| nil,
55+
:genericProfile =>
56+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile.t()
57+
| nil,
5058
:issuedCertificate => String.t() | nil,
5159
:name => String.t() | nil,
5260
:profileAdapterConfigReference => String.t() | nil,
@@ -70,6 +78,16 @@ defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1al
7078
)
7179

7280
field(:failureMessage)
81+
82+
field(:genericCaConnection,
83+
as:
84+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection
85+
)
86+
87+
field(:genericProfile,
88+
as: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile
89+
)
90+
7391
field(:issuedCertificate)
7492
field(:name)
7593
field(:profileAdapterConfigReference)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection do
19+
@moduledoc """
20+
Describes a generic Certificate Authority Connection.
21+
22+
## Attributes
23+
24+
* `caConnectionAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A string that references the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:caConnectionAdapterConfigReference => String.t() | nil
31+
}
32+
33+
field(:caConnectionAdapterConfigReference)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for:
38+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection do
39+
def decode(value, options) do
40+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection.decode(
41+
value,
42+
options
43+
)
44+
end
45+
end
46+
47+
defimpl Poison.Encoder,
48+
for:
49+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericCaConnection do
50+
def encode(value, options) do
51+
GoogleApi.Gax.ModelBase.encode(value, options)
52+
end
53+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile do
19+
@moduledoc """
20+
Describes a generic certificate provisioning profile.
21+
22+
## Attributes
23+
24+
* `profileAdapterConfigReference` (*type:* `String.t`, *default:* `nil`) - Output only. A string that references the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:profileAdapterConfigReference => String.t() | nil
31+
}
32+
33+
field(:profileAdapterConfigReference)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile do
38+
def decode(value, options) do
39+
GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile.decode(
40+
value,
41+
options
42+
)
43+
end
44+
end
45+
46+
defimpl Poison.Encoder,
47+
for: GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementVersionsV1alpha1GenericProfile do
48+
def encode(value, options) do
49+
GoogleApi.Gax.ModelBase.encode(value, options)
50+
end
51+
end

0 commit comments

Comments
 (0)