Skip to content

Commit 62dd7ae

Browse files
feat: Automated regeneration of osconfig v1 client (googleapis#20445)
Auto-created at 2024-10-27 09:16:17 +0000 using the toys pull request generator.
1 parent ed242bc commit 62dd7ae

File tree

5 files changed

+92
-2
lines changed

5 files changed

+92
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269477,6 +269477,14 @@
269477269477
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutStartTime": rollout_start_time
269478269478
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutState": rollout_state
269479269479
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/rolloutUpdateTime": rollout_update_time
269480+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata": google_cloud_osconfig_v2beta__operation_metadata
269481+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/apiVersion": api_version
269482+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/createTime": create_time
269483+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/endTime": end_time
269484+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/requestedCancellation": requested_cancellation
269485+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/statusMessage": status_message
269486+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/target": target
269487+
"/osconfig:v1/GoogleCloudOsconfigV2beta__OperationMetadata/verb": verb
269480269488
"/osconfig:v1/Inventory": inventory
269481269489
"/osconfig:v1/Inventory/items": items
269482269490
"/osconfig:v1/Inventory/items/item": item

generated/google-apis-osconfig_v1/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-osconfig_v1
22

3+
### v0.44.0 (2024-10-27)
4+
5+
* Regenerated from discovery document revision 20241021
6+
37
### v0.43.0 (2024-10-06)
48

59
* Regenerated from discovery document revision 20241002

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

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,65 @@ def update!(**args)
477477
end
478478
end
479479

480+
# Represents the metadata of the long-running operation.
481+
class GoogleCloudOsconfigV2betaOperationMetadata
482+
include Google::Apis::Core::Hashable
483+
484+
# Output only. API version used to start the operation.
485+
# Corresponds to the JSON property `apiVersion`
486+
# @return [String]
487+
attr_accessor :api_version
488+
489+
# Output only. The time the operation was created.
490+
# Corresponds to the JSON property `createTime`
491+
# @return [String]
492+
attr_accessor :create_time
493+
494+
# Output only. The time the operation finished running.
495+
# Corresponds to the JSON property `endTime`
496+
# @return [String]
497+
attr_accessor :end_time
498+
499+
# Output only. Identifies whether the user has requested cancellation of the
500+
# operation. Operations that have been cancelled successfully have Operation.
501+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
502+
# CANCELLED`.
503+
# Corresponds to the JSON property `requestedCancellation`
504+
# @return [Boolean]
505+
attr_accessor :requested_cancellation
506+
alias_method :requested_cancellation?, :requested_cancellation
507+
508+
# Output only. Human-readable status of the operation, if any.
509+
# Corresponds to the JSON property `statusMessage`
510+
# @return [String]
511+
attr_accessor :status_message
512+
513+
# Output only. Server-defined resource path for the target of the operation.
514+
# Corresponds to the JSON property `target`
515+
# @return [String]
516+
attr_accessor :target
517+
518+
# Output only. Name of the verb executed by the operation.
519+
# Corresponds to the JSON property `verb`
520+
# @return [String]
521+
attr_accessor :verb
522+
523+
def initialize(**args)
524+
update!(**args)
525+
end
526+
527+
# Update properties of this object
528+
def update!(**args)
529+
@api_version = args[:api_version] if args.key?(:api_version)
530+
@create_time = args[:create_time] if args.key?(:create_time)
531+
@end_time = args[:end_time] if args.key?(:end_time)
532+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
533+
@status_message = args[:status_message] if args.key?(:status_message)
534+
@target = args[:target] if args.key?(:target)
535+
@verb = args[:verb] if args.key?(:verb)
536+
end
537+
end
538+
480539
# This API resource represents the available inventory data for a Compute Engine
481540
# virtual machine (VM) instance at a given point in time. You can use this API
482541
# resource to determine the inventory data of your VM. For more information, see

generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/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 OsconfigV1
1818
# Version of the google-apis-osconfig_v1 gem
19-
GEM_VERSION = "0.43.0"
19+
GEM_VERSION = "0.44.0"
2020

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

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
100100
include Google::Apis::Core::JsonObjectSupport
101101
end
102102

103+
class GoogleCloudOsconfigV2betaOperationMetadata
104+
class Representation < Google::Apis::Core::JsonRepresentation; end
105+
106+
include Google::Apis::Core::JsonObjectSupport
107+
end
108+
103109
class Inventory
104110
class Representation < Google::Apis::Core::JsonRepresentation; end
105111

@@ -704,6 +710,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
704710
end
705711
end
706712

713+
class GoogleCloudOsconfigV2betaOperationMetadata
714+
# @private
715+
class Representation < Google::Apis::Core::JsonRepresentation
716+
property :api_version, as: 'apiVersion'
717+
property :create_time, as: 'createTime'
718+
property :end_time, as: 'endTime'
719+
property :requested_cancellation, as: 'requestedCancellation'
720+
property :status_message, as: 'statusMessage'
721+
property :target, as: 'target'
722+
property :verb, as: 'verb'
723+
end
724+
end
725+
707726
class Inventory
708727
# @private
709728
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)