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 workstations v1 client #19771

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
3 changes: 3 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327344,6 +327344,8 @@
"/workstations:v1/GceInstance/shieldedInstanceConfig": shielded_instance_config
"/workstations:v1/GceInstance/tags": tags
"/workstations:v1/GceInstance/tags/tag": tag
"/workstations:v1/GceInstance/vmTags": vm_tags
"/workstations:v1/GceInstance/vmTags/vm_tag": vm_tag
"/workstations:v1/GcePersistentDisk": gce_persistent_disk
"/workstations:v1/GcePersistentDisk/diskType": disk_type
"/workstations:v1/GcePersistentDisk/readOnly": read_only
Expand All @@ -327361,6 +327363,7 @@
"/workstations:v1/GceShieldedInstanceConfig/enableVtpm": enable_vtpm
"/workstations:v1/GenerateAccessTokenRequest": generate_access_token_request
"/workstations:v1/GenerateAccessTokenRequest/expireTime": expire_time
"/workstations:v1/GenerateAccessTokenRequest/port": port
"/workstations:v1/GenerateAccessTokenRequest/ttl": ttl
"/workstations:v1/GenerateAccessTokenResponse": generate_access_token_response
"/workstations:v1/GenerateAccessTokenResponse/accessToken": access_token
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-workstations_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-workstations_v1

### v0.13.0 (2024-06-26)

* Regenerated from discovery document revision 20240619

### v0.12.0 (2024-06-02)

* Regenerated from discovery document revision 20240528
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,14 @@ class GceInstance
# @return [Array<String>]
attr_accessor :tags

# Optional. Resource manager tags to be bound to this instance. Tag keys and
# values have the same definition as https://cloud.google.com/resource-manager/
# docs/tags/tags-overview Keys must be in the format `tagKeys/`tag_key_id``, and
# values are in the format `tagValues/456`.
# Corresponds to the JSON property `vmTags`
# @return [Hash<String,String>]
attr_accessor :vm_tags

def initialize(**args)
update!(**args)
end
Expand All @@ -590,6 +598,7 @@ def update!(**args)
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@tags = args[:tags] if args.key?(:tags)
@vm_tags = args[:vm_tags] if args.key?(:vm_tags)
end
end

Expand Down Expand Up @@ -740,6 +749,15 @@ class GenerateAccessTokenRequest
# @return [String]
attr_accessor :expire_time

# Optional. Port for which the access token should be generated. If specified,
# the generated access token grants access only to the specified port of the
# workstation. If specified, values must be within the range [1 - 65535]. If not
# specified, the generated access token grants access to all ports of the
# workstation.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port

# Desired lifetime duration of the access token. This value must be at most 24
# hours. If a value is not specified, the token's lifetime will be set to a
# default value of 1 hour.
Expand All @@ -754,6 +772,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@expire_time = args[:expire_time] if args.key?(:expire_time)
@port = args[:port] if args.key?(:port)
@ttl = args[:ttl] if args.key?(:ttl)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module WorkstationsV1
# Version of the google-apis-workstations_v1 gem
GEM_VERSION = "0.12.0"
GEM_VERSION = "0.13.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240528"
REVISION = "20240619"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig::Representation

collection :tags, as: 'tags'
hash :vm_tags, as: 'vmTags'
end
end

Expand Down Expand Up @@ -424,6 +425,7 @@ class GenerateAccessTokenRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :expire_time, as: 'expireTime'
property :port, as: 'port'
property :ttl, as: 'ttl'
end
end
Expand Down
Loading