Skip to content

Commit 6624736

Browse files
feat: Automated regeneration of apphub v1alpha client (googleapis#23696)
Auto-created at 2025-07-13 10:44:17 +0000 using the toys pull request generator.
1 parent f0f35ad commit 6624736

File tree

5 files changed

+6
-95
lines changed

5 files changed

+6
-95
lines changed

generated/google-apis-apphub_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-apphub_v1alpha
22

3+
### v0.14.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250630
6+
37
### v0.13.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250416

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/classes.rb

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,51 +1132,6 @@ def update!(**args)
11321132
end
11331133
end
11341134

1135-
# Perimeter is a boundary that describes application management on a `
1136-
# perimeter_node` (currently limited to an app-enabled folder).
1137-
class Perimeter
1138-
include Google::Apis::Core::Hashable
1139-
1140-
# Output only. Create time.
1141-
# Corresponds to the JSON property `createTime`
1142-
# @return [String]
1143-
attr_accessor :create_time
1144-
1145-
# Identifier. Name of the Perimeter resource.
1146-
# Corresponds to the JSON property `name`
1147-
# @return [String]
1148-
attr_accessor :name
1149-
1150-
# Immutable. Cloud Resource Manager node that determines the perimeter. Only `
1151-
# folders/`folder_number`` is currently supported.
1152-
# Corresponds to the JSON property `perimeterNode`
1153-
# @return [String]
1154-
attr_accessor :perimeter_node
1155-
1156-
# Output only. Perimeter state.
1157-
# Corresponds to the JSON property `state`
1158-
# @return [String]
1159-
attr_accessor :state
1160-
1161-
# Output only. Update time.
1162-
# Corresponds to the JSON property `updateTime`
1163-
# @return [String]
1164-
attr_accessor :update_time
1165-
1166-
def initialize(**args)
1167-
update!(**args)
1168-
end
1169-
1170-
# Update properties of this object
1171-
def update!(**args)
1172-
@create_time = args[:create_time] if args.key?(:create_time)
1173-
@name = args[:name] if args.key?(:name)
1174-
@perimeter_node = args[:perimeter_node] if args.key?(:perimeter_node)
1175-
@state = args[:state] if args.key?(:state)
1176-
@update_time = args[:update_time] if args.key?(:update_time)
1177-
end
1178-
end
1179-
11801135
# An Identity and Access Management (IAM) policy, which specifies access
11811136
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
11821137
# A `binding` binds one or more `members`, or principals, to a single `role`.

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ApphubV1alpha
1818
# Version of the google-apis-apphub_v1alpha gem
19-
GEM_VERSION = "0.13.0"
19+
GEM_VERSION = "0.14.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250416"
25+
REVISION = "20250630"
2626
end
2727
end
2828
end

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/representations.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
214214
include Google::Apis::Core::JsonObjectSupport
215215
end
216216

217-
class Perimeter
218-
class Representation < Google::Apis::Core::JsonRepresentation; end
219-
220-
include Google::Apis::Core::JsonObjectSupport
221-
end
222-
223217
class Policy
224218
class Representation < Google::Apis::Core::JsonRepresentation; end
225219

@@ -606,17 +600,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
606600
end
607601
end
608602

609-
class Perimeter
610-
# @private
611-
class Representation < Google::Apis::Core::JsonRepresentation
612-
property :create_time, as: 'createTime'
613-
property :name, as: 'name'
614-
property :perimeter_node, as: 'perimeterNode'
615-
property :state, as: 'state'
616-
property :update_time, as: 'updateTime'
617-
end
618-
end
619-
620603
class Policy
621604
# @private
622605
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/service.rb

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -118,37 +118,6 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
118118
execute_or_queue_command(command, &block)
119119
end
120120

121-
# Gets a perimeter
122-
# @param [String] name
123-
# Required. Fully qualified name of the Perimeter Expected format: `projects/`
124-
# project`/locations/`location`/perimeter`.
125-
# @param [String] fields
126-
# Selector specifying which fields to include in a partial response.
127-
# @param [String] quota_user
128-
# Available to use for quota purposes for server-side applications. Can be any
129-
# arbitrary string assigned to a user, but should not exceed 40 characters.
130-
# @param [Google::Apis::RequestOptions] options
131-
# Request-specific options
132-
#
133-
# @yield [result, err] Result & error if block supplied
134-
# @yieldparam result [Google::Apis::ApphubV1alpha::Perimeter] parsed result object
135-
# @yieldparam err [StandardError] error object if request failed
136-
#
137-
# @return [Google::Apis::ApphubV1alpha::Perimeter]
138-
#
139-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
140-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141-
# @raise [Google::Apis::AuthorizationError] Authorization is required
142-
def get_project_location_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
143-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
144-
command.response_representation = Google::Apis::ApphubV1alpha::Perimeter::Representation
145-
command.response_class = Google::Apis::ApphubV1alpha::Perimeter
146-
command.params['name'] = name unless name.nil?
147-
command.query['fields'] = fields unless fields.nil?
148-
command.query['quotaUser'] = quota_user unless quota_user.nil?
149-
execute_or_queue_command(command, &block)
150-
end
151-
152121
# Lists information about the supported locations for this service.
153122
# @param [String] name
154123
# The resource that owns the locations collection, if applicable.

0 commit comments

Comments
 (0)