Skip to content

Commit 3d40081

Browse files
feat: Automated regeneration of osconfig v1beta client (googleapis#22301)
Auto-created at 2025-03-30 10:29:06 +0000 using the toys pull request generator.
1 parent f8e6aaa commit 3d40081

File tree

5 files changed

+94
-3
lines changed

5 files changed

+94
-3
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290384,6 +290384,14 @@
290384290384
"/osconfig:v1beta/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutStartTime": rollout_start_time
290385290385
"/osconfig:v1beta/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutState": rollout_state
290386290386
"/osconfig:v1beta/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutUpdateTime": rollout_update_time
290387+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata": google_cloud_osconfig_v2__operation_metadata
290388+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/apiVersion": api_version
290389+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/createTime": create_time
290390+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/endTime": end_time
290391+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/requestedCancellation": requested_cancellation
290392+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/statusMessage": status_message
290393+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/target": target
290394+
"/osconfig:v1beta/GoogleCloudOsconfigV2__OperationMetadata/verb": verb
290387290395
"/osconfig:v1beta/GoogleCloudOsconfigV2beta__OperationMetadata": google_cloud_osconfig_v2beta__operation_metadata
290388290396
"/osconfig:v1beta/GoogleCloudOsconfigV2beta__OperationMetadata/apiVersion": api_version
290389290397
"/osconfig:v1beta/GoogleCloudOsconfigV2beta__OperationMetadata/createTime": create_time

generated/google-apis-osconfig_v1beta/CHANGELOG.md

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

3+
### v0.28.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250323
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.27.0 (2024-12-08)
49

510
* Regenerated from discovery document revision 20241201

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

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,65 @@ def update!(**args)
643643
end
644644
end
645645

646+
# Represents the metadata of the long-running operation.
647+
class GoogleCloudOsconfigV2OperationMetadata
648+
include Google::Apis::Core::Hashable
649+
650+
# Output only. API version used to start the operation.
651+
# Corresponds to the JSON property `apiVersion`
652+
# @return [String]
653+
attr_accessor :api_version
654+
655+
# Output only. The time the operation was created.
656+
# Corresponds to the JSON property `createTime`
657+
# @return [String]
658+
attr_accessor :create_time
659+
660+
# Output only. The time the operation finished running.
661+
# Corresponds to the JSON property `endTime`
662+
# @return [String]
663+
attr_accessor :end_time
664+
665+
# Output only. Identifies whether the user has requested cancellation of the
666+
# operation. Operations that have been cancelled successfully have Operation.
667+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
668+
# CANCELLED`.
669+
# Corresponds to the JSON property `requestedCancellation`
670+
# @return [Boolean]
671+
attr_accessor :requested_cancellation
672+
alias_method :requested_cancellation?, :requested_cancellation
673+
674+
# Output only. Human-readable status of the operation, if any.
675+
# Corresponds to the JSON property `statusMessage`
676+
# @return [String]
677+
attr_accessor :status_message
678+
679+
# Output only. Server-defined resource path for the target of the operation.
680+
# Corresponds to the JSON property `target`
681+
# @return [String]
682+
attr_accessor :target
683+
684+
# Output only. Name of the verb executed by the operation.
685+
# Corresponds to the JSON property `verb`
686+
# @return [String]
687+
attr_accessor :verb
688+
689+
def initialize(**args)
690+
update!(**args)
691+
end
692+
693+
# Update properties of this object
694+
def update!(**args)
695+
@api_version = args[:api_version] if args.key?(:api_version)
696+
@create_time = args[:create_time] if args.key?(:create_time)
697+
@end_time = args[:end_time] if args.key?(:end_time)
698+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
699+
@status_message = args[:status_message] if args.key?(:status_message)
700+
@target = args[:target] if args.key?(:target)
701+
@verb = args[:verb] if args.key?(:verb)
702+
end
703+
end
704+
646705
# Represents the metadata of the long-running operation.
647706
class GoogleCloudOsconfigV2betaOperationMetadata
648707
include Google::Apis::Core::Hashable

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module OsconfigV1beta
1818
# Version of the google-apis-osconfig_v1beta gem
19-
GEM_VERSION = "0.27.0"
19+
GEM_VERSION = "0.28.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
136136
include Google::Apis::Core::JsonObjectSupport
137137
end
138138

139+
class GoogleCloudOsconfigV2OperationMetadata
140+
class Representation < Google::Apis::Core::JsonRepresentation; end
141+
142+
include Google::Apis::Core::JsonObjectSupport
143+
end
144+
139145
class GoogleCloudOsconfigV2betaOperationMetadata
140146
class Representation < Google::Apis::Core::JsonRepresentation; end
141147

@@ -579,6 +585,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
579585
end
580586
end
581587

588+
class GoogleCloudOsconfigV2OperationMetadata
589+
# @private
590+
class Representation < Google::Apis::Core::JsonRepresentation
591+
property :api_version, as: 'apiVersion'
592+
property :create_time, as: 'createTime'
593+
property :end_time, as: 'endTime'
594+
property :requested_cancellation, as: 'requestedCancellation'
595+
property :status_message, as: 'statusMessage'
596+
property :target, as: 'target'
597+
property :verb, as: 'verb'
598+
end
599+
end
600+
582601
class GoogleCloudOsconfigV2betaOperationMetadata
583602
# @private
584603
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)