Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of privateca v1 client #15965

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
feat: Automated regeneration of privateca v1 client
  • Loading branch information
yoshi-automation committed Aug 27, 2023
commit 2071f2670115101e60ddbb89c947ba40adbfffe5
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241640,6 +241640,7 @@
"/privateca:v1/CertificateTemplate/identityConstraints": identity_constraints
"/privateca:v1/CertificateTemplate/labels": labels
"/privateca:v1/CertificateTemplate/labels/label": label
"/privateca:v1/CertificateTemplate/maximumLifetime": maximum_lifetime
"/privateca:v1/CertificateTemplate/name": name
"/privateca:v1/CertificateTemplate/passthroughExtensions": passthrough_extensions
"/privateca:v1/CertificateTemplate/predefinedValues": predefined_values
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-privateca_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-privateca_v1

### v0.33.0 (2023-08-27)

* Regenerated from discovery document revision 20230816

### v0.32.0 (2023-05-14)

* Regenerated from discovery document revision 20230503
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,16 @@ class CertificateTemplate
# @return [Hash<String,String>]
attr_accessor :labels

# Optional. The maximum lifetime allowed for issued Certificates that use this
# template. If the issuing CaPool's IssuancePolicy specifies a maximum_lifetime
# the minimum of the two durations will be the maximum lifetime for issued
# Certificates. Note that if the issuing CertificateAuthority expires before a
# Certificate's requested maximum_lifetime, the effective lifetime will be
# explicitly truncated to match it.
# Corresponds to the JSON property `maximumLifetime`
# @return [String]
attr_accessor :maximum_lifetime

# Output only. The resource name for this CertificateTemplate in the format `
# projects/*/locations/*/certificateTemplates/*`.
# Corresponds to the JSON property `name`
Expand Down Expand Up @@ -961,6 +971,7 @@ def update!(**args)
@description = args[:description] if args.key?(:description)
@identity_constraints = args[:identity_constraints] if args.key?(:identity_constraints)
@labels = args[:labels] if args.key?(:labels)
@maximum_lifetime = args[:maximum_lifetime] if args.key?(:maximum_lifetime)
@name = args[:name] if args.key?(:name)
@passthrough_extensions = args[:passthrough_extensions] if args.key?(:passthrough_extensions)
@predefined_values = args[:predefined_values] if args.key?(:predefined_values)
Expand Down Expand Up @@ -1909,13 +1920,13 @@ class Operation
# @return [String]
attr_accessor :name

# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is `google.
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
# the response should be the resource. For other methods, the response should
# have the type `XxxResponse`, where `Xxx` is the original method name. For
# example, if the original method name is `TakeSnapshot()`, the inferred
# response type is `TakeSnapshotResponse`.
# The normal, successful response of the operation. If the original method
# returns no data on success, such as `Delete`, the response is `google.protobuf.
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
# response should be the resource. For other methods, the response should have
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
# if the original method name is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
Expand Down Expand Up @@ -2004,22 +2015,22 @@ def update!(**args)
# evaluates to `true`. A condition can add constraints based on attributes of
# the request, the resource, or both. To learn which resources support
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
# ], "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
# a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
# title: expirable access description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2323,22 +2334,22 @@ class SetIamPolicyRequest
# evaluates to `true`. A condition can add constraints based on attributes of
# the request, the resource, or both. To learn which resources support
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
# ], "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
# a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
# title: expirable access description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::PrivatecaV1::Policy]
attr_accessor :policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module PrivatecaV1
# Version of the google-apis-privateca_v1 gem
GEM_VERSION = "0.32.0"
GEM_VERSION = "0.33.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20230503"
REVISION = "20230816"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :identity_constraints, as: 'identityConstraints', class: Google::Apis::PrivatecaV1::CertificateIdentityConstraints, decorator: Google::Apis::PrivatecaV1::CertificateIdentityConstraints::Representation

hash :labels, as: 'labels'
property :maximum_lifetime, as: 'maximumLifetime'
property :name, as: 'name'
property :passthrough_extensions, as: 'passthroughExtensions', class: Google::Apis::PrivatecaV1::CertificateExtensionConstraints, decorator: Google::Apis::PrivatecaV1::CertificateExtensionConstraints::Representation

Expand Down