Skip to content

Commit 657a125

Browse files
feat: Automated regeneration of osconfig v1 client (googleapis#25424)
Auto-created at 2026-01-18 10:59:25 +0000 using the toys pull request generator.
1 parent 15d4d0b commit 657a125

File tree

6 files changed

+481
-2
lines changed

6 files changed

+481
-2
lines changed

api_names_out.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323162,6 +323162,30 @@
323162323162
"/osconfig:v1/GcsObject/generationNumber": generation_number
323163323163
"/osconfig:v1/GcsObject/object": object
323164323164
"/osconfig:v1/GooSettings": goo_settings
323165+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata": google_cloud_osconfig_common_v1__operation_metadata
323166+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/apiVersion": api_version
323167+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/createTime": create_time
323168+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/endTime": end_time
323169+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/requestedCancellation": requested_cancellation
323170+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/statusMessage": status_message
323171+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/target": target
323172+
"/osconfig:v1/GoogleCloudOsconfigCommonV1__OperationMetadata/verb": verb
323173+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata": google_cloud_osconfig_common_v1alpha__operation_metadata
323174+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/apiVersion": api_version
323175+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/createTime": create_time
323176+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/endTime": end_time
323177+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/requestedCancellation": requested_cancellation
323178+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/statusMessage": status_message
323179+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/target": target
323180+
"/osconfig:v1/GoogleCloudOsconfigCommonV1alpha__OperationMetadata/verb": verb
323181+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata": google_cloud_osconfig_common_v1main__operation_metadata
323182+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/apiVersion": api_version
323183+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/createTime": create_time
323184+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/endTime": end_time
323185+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/requestedCancellation": requested_cancellation
323186+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/statusMessage": status_message
323187+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/target": target
323188+
"/osconfig:v1/GoogleCloudOsconfigCommonV1main__OperationMetadata/verb": verb
323165323189
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata": google_cloud_osconfig_v1__os_policy_assignment_operation_metadata
323166323190
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/apiMethod": api_method
323167323191
"/osconfig:v1/GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata/osPolicyAssignment": os_policy_assignment
@@ -323273,6 +323297,8 @@
323273323297
"/osconfig:v1/ListOperationsResponse/nextPageToken": next_page_token
323274323298
"/osconfig:v1/ListOperationsResponse/operations": operations
323275323299
"/osconfig:v1/ListOperationsResponse/operations/operation": operation
323300+
"/osconfig:v1/ListOperationsResponse/unreachable": unreachable
323301+
"/osconfig:v1/ListOperationsResponse/unreachable/unreachable": unreachable
323276323302
"/osconfig:v1/ListPatchDeploymentsResponse": list_patch_deployments_response
323277323303
"/osconfig:v1/ListPatchDeploymentsResponse/nextPageToken": next_page_token
323278323304
"/osconfig:v1/ListPatchDeploymentsResponse/patchDeployments": patch_deployments
@@ -323744,6 +323770,18 @@
323744323770
"/osconfig:v1/osconfig.projects.locations.instances.vulnerabilityReports.list/pageSize": page_size
323745323771
"/osconfig:v1/osconfig.projects.locations.instances.vulnerabilityReports.list/pageToken": page_token
323746323772
"/osconfig:v1/osconfig.projects.locations.instances.vulnerabilityReports.list/parent": parent
323773+
"/osconfig:v1/osconfig.projects.locations.operations.cancel": cancel_project_location_operation
323774+
"/osconfig:v1/osconfig.projects.locations.operations.cancel/name": name
323775+
"/osconfig:v1/osconfig.projects.locations.operations.delete": delete_project_location_operation
323776+
"/osconfig:v1/osconfig.projects.locations.operations.delete/name": name
323777+
"/osconfig:v1/osconfig.projects.locations.operations.get": get_project_location_operation
323778+
"/osconfig:v1/osconfig.projects.locations.operations.get/name": name
323779+
"/osconfig:v1/osconfig.projects.locations.operations.list": list_project_location_operations
323780+
"/osconfig:v1/osconfig.projects.locations.operations.list/filter": filter
323781+
"/osconfig:v1/osconfig.projects.locations.operations.list/name": name
323782+
"/osconfig:v1/osconfig.projects.locations.operations.list/pageSize": page_size
323783+
"/osconfig:v1/osconfig.projects.locations.operations.list/pageToken": page_token
323784+
"/osconfig:v1/osconfig.projects.locations.operations.list/returnPartialSuccess": return_partial_success
323747323785
"/osconfig:v1/osconfig.projects.locations.osPolicyAssignments.create": create_project_location_os_policy_assignment
323748323786
"/osconfig:v1/osconfig.projects.locations.osPolicyAssignments.create/osPolicyAssignmentId": os_policy_assignment_id
323749323787
"/osconfig:v1/osconfig.projects.locations.osPolicyAssignments.create/parent": parent

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.52.0 (2026-01-18)
4+
5+
* Regenerated from discovery document revision 20260108
6+
37
### v0.51.0 (2025-11-23)
48

59
* Regenerated from discovery document revision 20251117

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

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,183 @@ def update!(**args)
431431
end
432432
end
433433

434+
# Represents the metadata of a generic long-running operation.
435+
class GoogleCloudOsconfigCommonV1OperationMetadata
436+
include Google::Apis::Core::Hashable
437+
438+
# Output only. API version used to start the operation.
439+
# Corresponds to the JSON property `apiVersion`
440+
# @return [String]
441+
attr_accessor :api_version
442+
443+
# Output only. The time the operation was created.
444+
# Corresponds to the JSON property `createTime`
445+
# @return [String]
446+
attr_accessor :create_time
447+
448+
# Output only. The time the operation finished running.
449+
# Corresponds to the JSON property `endTime`
450+
# @return [String]
451+
attr_accessor :end_time
452+
453+
# Output only. Identifies whether the user has requested cancellation of the
454+
# operation. Operations that have successfully been cancelled have Operation.
455+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
456+
# CANCELLED`.
457+
# Corresponds to the JSON property `requestedCancellation`
458+
# @return [Boolean]
459+
attr_accessor :requested_cancellation
460+
alias_method :requested_cancellation?, :requested_cancellation
461+
462+
# Output only. Human-readable status of the operation, if any.
463+
# Corresponds to the JSON property `statusMessage`
464+
# @return [String]
465+
attr_accessor :status_message
466+
467+
# Output only. Server-defined resource path for the target of the operation.
468+
# Corresponds to the JSON property `target`
469+
# @return [String]
470+
attr_accessor :target
471+
472+
# Output only. Name of the verb executed by the operation.
473+
# Corresponds to the JSON property `verb`
474+
# @return [String]
475+
attr_accessor :verb
476+
477+
def initialize(**args)
478+
update!(**args)
479+
end
480+
481+
# Update properties of this object
482+
def update!(**args)
483+
@api_version = args[:api_version] if args.key?(:api_version)
484+
@create_time = args[:create_time] if args.key?(:create_time)
485+
@end_time = args[:end_time] if args.key?(:end_time)
486+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
487+
@status_message = args[:status_message] if args.key?(:status_message)
488+
@target = args[:target] if args.key?(:target)
489+
@verb = args[:verb] if args.key?(:verb)
490+
end
491+
end
492+
493+
# Represents the metadata of a generic long-running operation.
494+
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
495+
include Google::Apis::Core::Hashable
496+
497+
# Output only. API version used to start the operation.
498+
# Corresponds to the JSON property `apiVersion`
499+
# @return [String]
500+
attr_accessor :api_version
501+
502+
# Output only. The time the operation was created.
503+
# Corresponds to the JSON property `createTime`
504+
# @return [String]
505+
attr_accessor :create_time
506+
507+
# Output only. The time the operation finished running.
508+
# Corresponds to the JSON property `endTime`
509+
# @return [String]
510+
attr_accessor :end_time
511+
512+
# Output only. Identifies whether the user has requested cancellation of the
513+
# operation. Operations that have successfully been cancelled have Operation.
514+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
515+
# CANCELLED`.
516+
# Corresponds to the JSON property `requestedCancellation`
517+
# @return [Boolean]
518+
attr_accessor :requested_cancellation
519+
alias_method :requested_cancellation?, :requested_cancellation
520+
521+
# Output only. Human-readable status of the operation, if any.
522+
# Corresponds to the JSON property `statusMessage`
523+
# @return [String]
524+
attr_accessor :status_message
525+
526+
# Output only. Server-defined resource path for the target of the operation.
527+
# Corresponds to the JSON property `target`
528+
# @return [String]
529+
attr_accessor :target
530+
531+
# Output only. Name of the verb executed by the operation.
532+
# Corresponds to the JSON property `verb`
533+
# @return [String]
534+
attr_accessor :verb
535+
536+
def initialize(**args)
537+
update!(**args)
538+
end
539+
540+
# Update properties of this object
541+
def update!(**args)
542+
@api_version = args[:api_version] if args.key?(:api_version)
543+
@create_time = args[:create_time] if args.key?(:create_time)
544+
@end_time = args[:end_time] if args.key?(:end_time)
545+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
546+
@status_message = args[:status_message] if args.key?(:status_message)
547+
@target = args[:target] if args.key?(:target)
548+
@verb = args[:verb] if args.key?(:verb)
549+
end
550+
end
551+
552+
# Represents the metadata of a generic long-running operation.
553+
class GoogleCloudOsconfigCommonV1mainOperationMetadata
554+
include Google::Apis::Core::Hashable
555+
556+
# Output only. API version used to start the operation.
557+
# Corresponds to the JSON property `apiVersion`
558+
# @return [String]
559+
attr_accessor :api_version
560+
561+
# Output only. The time the operation was created.
562+
# Corresponds to the JSON property `createTime`
563+
# @return [String]
564+
attr_accessor :create_time
565+
566+
# Output only. The time the operation finished running.
567+
# Corresponds to the JSON property `endTime`
568+
# @return [String]
569+
attr_accessor :end_time
570+
571+
# Output only. Identifies whether the user has requested cancellation of the
572+
# operation. Operations that have successfully been cancelled have Operation.
573+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
574+
# CANCELLED`.
575+
# Corresponds to the JSON property `requestedCancellation`
576+
# @return [Boolean]
577+
attr_accessor :requested_cancellation
578+
alias_method :requested_cancellation?, :requested_cancellation
579+
580+
# Output only. Human-readable status of the operation, if any.
581+
# Corresponds to the JSON property `statusMessage`
582+
# @return [String]
583+
attr_accessor :status_message
584+
585+
# Output only. Server-defined resource path for the target of the operation.
586+
# Corresponds to the JSON property `target`
587+
# @return [String]
588+
attr_accessor :target
589+
590+
# Output only. Name of the verb executed by the operation.
591+
# Corresponds to the JSON property `verb`
592+
# @return [String]
593+
attr_accessor :verb
594+
595+
def initialize(**args)
596+
update!(**args)
597+
end
598+
599+
# Update properties of this object
600+
def update!(**args)
601+
@api_version = args[:api_version] if args.key?(:api_version)
602+
@create_time = args[:create_time] if args.key?(:create_time)
603+
@end_time = args[:end_time] if args.key?(:end_time)
604+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
605+
@status_message = args[:status_message] if args.key?(:status_message)
606+
@target = args[:target] if args.key?(:target)
607+
@verb = args[:verb] if args.key?(:verb)
608+
end
609+
end
610+
434611
# OS policy assignment operation metadata provided by OS policy assignment API
435612
# methods that return long running operations.
436613
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
@@ -1195,6 +1372,40 @@ def update!(**args)
11951372
end
11961373
end
11971374

1375+
# The response message for Operations.ListOperations.
1376+
class ListOperationsResponse
1377+
include Google::Apis::Core::Hashable
1378+
1379+
# The standard List next-page token.
1380+
# Corresponds to the JSON property `nextPageToken`
1381+
# @return [String]
1382+
attr_accessor :next_page_token
1383+
1384+
# A list of operations that matches the specified filter in the request.
1385+
# Corresponds to the JSON property `operations`
1386+
# @return [Array<Google::Apis::OsconfigV1::Operation>]
1387+
attr_accessor :operations
1388+
1389+
# Unordered list. Unreachable resources. Populated when the request sets `
1390+
# ListOperationsRequest.return_partial_success` and reads across collections.
1391+
# For example, when attempting to list all resources across all supported
1392+
# locations.
1393+
# Corresponds to the JSON property `unreachable`
1394+
# @return [Array<String>]
1395+
attr_accessor :unreachable
1396+
1397+
def initialize(**args)
1398+
update!(**args)
1399+
end
1400+
1401+
# Update properties of this object
1402+
def update!(**args)
1403+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1404+
@operations = args[:operations] if args.key?(:operations)
1405+
@unreachable = args[:unreachable] if args.key?(:unreachable)
1406+
end
1407+
end
1408+
11981409
# A response message for listing patch deployments.
11991410
class ListPatchDeploymentsResponse
12001411
include Google::Apis::Core::Hashable

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.51.0"
19+
GEM_VERSION = "0.52.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 = "20251117"
25+
REVISION = "20260108"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)