google-apis-migrationcenter_v1alpha1 0.29.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +313 -3
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +166 -0
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +178 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e898a85a659254b1b3cf4ee5f3ce0c573093da5fe9ae5de1c8f43406152989fa
|
4
|
+
data.tar.gz: 6cab870fb265160e8b26e44776c515acda232da4821025f7a12e315f866ac2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004f2b95689768164a3f9e7d568bc6c989472d2fb65f754e0e375ba293c7e4e9e007b0983b5be07663e8a7e481a81fd718646fb666742a791d05de2a6e156b50
|
7
|
+
data.tar.gz: b992df51245bb2738692fd35de19bfb73c58cab2f59ee654656f2242ffde3440a1cadc965aaee32d25cbef1de9efa7dbfc02310c7bb55d04aab872c3e65ce742
|
data/CHANGELOG.md
CHANGED
@@ -603,6 +603,186 @@ module Google
|
|
603
603
|
end
|
604
604
|
end
|
605
605
|
|
606
|
+
# Assets export job message.
|
607
|
+
class AssetsExportJob
|
608
|
+
include Google::Apis::Core::Hashable
|
609
|
+
|
610
|
+
# Conditions for selecting assets to export.
|
611
|
+
# Corresponds to the JSON property `condition`
|
612
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition]
|
613
|
+
attr_accessor :condition
|
614
|
+
|
615
|
+
# Output only. Resource creation time.
|
616
|
+
# Corresponds to the JSON property `createTime`
|
617
|
+
# @return [String]
|
618
|
+
attr_accessor :create_time
|
619
|
+
|
620
|
+
# Optional. Labels as key value pairs. Labels must meet the following
|
621
|
+
# constraints: * Keys and values can contain only lowercase letters, numeric
|
622
|
+
# characters, underscores, and dashes. * All characters must use UTF-8 encoding,
|
623
|
+
# and international characters are allowed. * Keys must start with a lowercase
|
624
|
+
# letter or international character. * Each resource is limited to a maximum of
|
625
|
+
# 64 labels. Both keys and values are additionally constrained to be <= 128
|
626
|
+
# bytes.
|
627
|
+
# Corresponds to the JSON property `labels`
|
628
|
+
# @return [Hash<String,String>]
|
629
|
+
attr_accessor :labels
|
630
|
+
|
631
|
+
# Output only. Identifier. Resource name.
|
632
|
+
# Corresponds to the JSON property `name`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :name
|
635
|
+
|
636
|
+
# Configuration for network dependencies exports.
|
637
|
+
# Corresponds to the JSON property `networkDependencies`
|
638
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies]
|
639
|
+
attr_accessor :network_dependencies
|
640
|
+
|
641
|
+
# Output only. Recent non expired executions of the job.
|
642
|
+
# Corresponds to the JSON property `recentExecutions`
|
643
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution>]
|
644
|
+
attr_accessor :recent_executions
|
645
|
+
|
646
|
+
# Signed URI destination configuration.
|
647
|
+
# Corresponds to the JSON property `signedUriDestination`
|
648
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::SignedUriDestination]
|
649
|
+
attr_accessor :signed_uri_destination
|
650
|
+
|
651
|
+
# Output only. Resource update time.
|
652
|
+
# Corresponds to the JSON property `updateTime`
|
653
|
+
# @return [String]
|
654
|
+
attr_accessor :update_time
|
655
|
+
|
656
|
+
def initialize(**args)
|
657
|
+
update!(**args)
|
658
|
+
end
|
659
|
+
|
660
|
+
# Update properties of this object
|
661
|
+
def update!(**args)
|
662
|
+
@condition = args[:condition] if args.key?(:condition)
|
663
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
664
|
+
@labels = args[:labels] if args.key?(:labels)
|
665
|
+
@name = args[:name] if args.key?(:name)
|
666
|
+
@network_dependencies = args[:network_dependencies] if args.key?(:network_dependencies)
|
667
|
+
@recent_executions = args[:recent_executions] if args.key?(:recent_executions)
|
668
|
+
@signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
|
669
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
# Execution status of assets export job.
|
674
|
+
class AssetsExportJobExecution
|
675
|
+
include Google::Apis::Core::Hashable
|
676
|
+
|
677
|
+
# Output only. Completion time of the export.
|
678
|
+
# Corresponds to the JSON property `endTime`
|
679
|
+
# @return [String]
|
680
|
+
attr_accessor :end_time
|
681
|
+
|
682
|
+
# Output only. Globally unique identifier of the execution.
|
683
|
+
# Corresponds to the JSON property `executionId`
|
684
|
+
# @return [String]
|
685
|
+
attr_accessor :execution_id
|
686
|
+
|
687
|
+
# Output only. Expiration time for the export and artifacts.
|
688
|
+
# Corresponds to the JSON property `expireTime`
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :expire_time
|
691
|
+
|
692
|
+
# Contains the result of the assets export.
|
693
|
+
# Corresponds to the JSON property `result`
|
694
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult]
|
695
|
+
attr_accessor :result
|
696
|
+
|
697
|
+
# Output only. Execution timestamp.
|
698
|
+
# Corresponds to the JSON property `startTime`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :start_time
|
701
|
+
|
702
|
+
def initialize(**args)
|
703
|
+
update!(**args)
|
704
|
+
end
|
705
|
+
|
706
|
+
# Update properties of this object
|
707
|
+
def update!(**args)
|
708
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
709
|
+
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
710
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
711
|
+
@result = args[:result] if args.key?(:result)
|
712
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
# Contains the result of the assets export.
|
717
|
+
class AssetsExportJobExecutionResult
|
718
|
+
include Google::Apis::Core::Hashable
|
719
|
+
|
720
|
+
# The `Status` type defines a logical error model that is suitable for different
|
721
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
722
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
723
|
+
# data: error code, error message, and error details. You can find out more
|
724
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
725
|
+
# //cloud.google.com/apis/design/errors).
|
726
|
+
# Corresponds to the JSON property `error`
|
727
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Status]
|
728
|
+
attr_accessor :error
|
729
|
+
|
730
|
+
# Contains a list of Signed URIs.
|
731
|
+
# Corresponds to the JSON property `signedUris`
|
732
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::SignedUris]
|
733
|
+
attr_accessor :signed_uris
|
734
|
+
|
735
|
+
def initialize(**args)
|
736
|
+
update!(**args)
|
737
|
+
end
|
738
|
+
|
739
|
+
# Update properties of this object
|
740
|
+
def update!(**args)
|
741
|
+
@error = args[:error] if args.key?(:error)
|
742
|
+
@signed_uris = args[:signed_uris] if args.key?(:signed_uris)
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# Conditions for selecting assets to export.
|
747
|
+
class AssetsExportJobExportCondition
|
748
|
+
include Google::Apis::Core::Hashable
|
749
|
+
|
750
|
+
# Optional. Assets filter, supports the same syntax as asset listing.
|
751
|
+
# Corresponds to the JSON property `filter`
|
752
|
+
# @return [String]
|
753
|
+
attr_accessor :filter
|
754
|
+
|
755
|
+
def initialize(**args)
|
756
|
+
update!(**args)
|
757
|
+
end
|
758
|
+
|
759
|
+
# Update properties of this object
|
760
|
+
def update!(**args)
|
761
|
+
@filter = args[:filter] if args.key?(:filter)
|
762
|
+
end
|
763
|
+
end
|
764
|
+
|
765
|
+
# Configuration for network dependencies exports.
|
766
|
+
class AssetsExportJobNetworkDependencies
|
767
|
+
include Google::Apis::Core::Hashable
|
768
|
+
|
769
|
+
# Optional. When this value is set to a positive integer, network connections
|
770
|
+
# data will be returned for the most recent days for which data is available.
|
771
|
+
# When this value is unset (or set to zero), all available data is returned.
|
772
|
+
# Corresponds to the JSON property `maxDays`
|
773
|
+
# @return [Fixnum]
|
774
|
+
attr_accessor :max_days
|
775
|
+
|
776
|
+
def initialize(**args)
|
777
|
+
update!(**args)
|
778
|
+
end
|
779
|
+
|
780
|
+
# Update properties of this object
|
781
|
+
def update!(**args)
|
782
|
+
@max_days = args[:max_days] if args.key?(:max_days)
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
606
786
|
# AWS EC2 specific details.
|
607
787
|
class AwsEc2PlatformDetails
|
608
788
|
include Google::Apis::Core::Hashable
|
@@ -1024,9 +1204,10 @@ module Google
|
|
1024
1204
|
class ComputeEnginePreferences
|
1025
1205
|
include Google::Apis::Core::Hashable
|
1026
1206
|
|
1027
|
-
#
|
1028
|
-
# when calculating costs for virtual machine insights and
|
1029
|
-
# unspecified, costs are calculated based on the default
|
1207
|
+
# If os_pricing_preferences is specified, it overrides this field. License type
|
1208
|
+
# to consider when calculating costs for virtual machine insights and
|
1209
|
+
# recommendations. If unspecified, costs are calculated based on the default
|
1210
|
+
# licensing plan.
|
1030
1211
|
# Corresponds to the JSON property `licenseType`
|
1031
1212
|
# @return [String]
|
1032
1213
|
attr_accessor :license_type
|
@@ -3400,6 +3581,31 @@ module Google
|
|
3400
3581
|
end
|
3401
3582
|
end
|
3402
3583
|
|
3584
|
+
# Response message for listing assets export jobs.
|
3585
|
+
class ListAssetsExportJobsResponse
|
3586
|
+
include Google::Apis::Core::Hashable
|
3587
|
+
|
3588
|
+
# Output only. The list of assets export jobs.
|
3589
|
+
# Corresponds to the JSON property `assetsExportJobs`
|
3590
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJob>]
|
3591
|
+
attr_accessor :assets_export_jobs
|
3592
|
+
|
3593
|
+
# Output only. A token identifying a page of results the server should return.
|
3594
|
+
# Corresponds to the JSON property `nextPageToken`
|
3595
|
+
# @return [String]
|
3596
|
+
attr_accessor :next_page_token
|
3597
|
+
|
3598
|
+
def initialize(**args)
|
3599
|
+
update!(**args)
|
3600
|
+
end
|
3601
|
+
|
3602
|
+
# Update properties of this object
|
3603
|
+
def update!(**args)
|
3604
|
+
@assets_export_jobs = args[:assets_export_jobs] if args.key?(:assets_export_jobs)
|
3605
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3606
|
+
end
|
3607
|
+
end
|
3608
|
+
|
3403
3609
|
# Response message for listing assets.
|
3404
3610
|
class ListAssetsResponse
|
3405
3611
|
include Google::Apis::Core::Hashable
|
@@ -5860,6 +6066,53 @@ module Google
|
|
5860
6066
|
end
|
5861
6067
|
end
|
5862
6068
|
|
6069
|
+
# A request to run an assets export job.
|
6070
|
+
class RunAssetsExportJobRequest
|
6071
|
+
include Google::Apis::Core::Hashable
|
6072
|
+
|
6073
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
6074
|
+
# request ID so that if you must retry your request, the server will know to
|
6075
|
+
# ignore the request if it has already been completed. The server will guarantee
|
6076
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
6077
|
+
# situation where you make an initial request and the request times out. If you
|
6078
|
+
# make the request again with the same request ID, the server can check if
|
6079
|
+
# original operation with the same request ID was received, and if so, will
|
6080
|
+
# ignore the second request. This prevents clients from accidentally creating
|
6081
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
6082
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
6083
|
+
# Corresponds to the JSON property `requestId`
|
6084
|
+
# @return [String]
|
6085
|
+
attr_accessor :request_id
|
6086
|
+
|
6087
|
+
def initialize(**args)
|
6088
|
+
update!(**args)
|
6089
|
+
end
|
6090
|
+
|
6091
|
+
# Update properties of this object
|
6092
|
+
def update!(**args)
|
6093
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
6094
|
+
end
|
6095
|
+
end
|
6096
|
+
|
6097
|
+
# Response message for running an assets export job.
|
6098
|
+
class RunAssetsExportJobResponse
|
6099
|
+
include Google::Apis::Core::Hashable
|
6100
|
+
|
6101
|
+
# Execution status of assets export job.
|
6102
|
+
# Corresponds to the JSON property `assetsExportJobExecution`
|
6103
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution]
|
6104
|
+
attr_accessor :assets_export_job_execution
|
6105
|
+
|
6106
|
+
def initialize(**args)
|
6107
|
+
update!(**args)
|
6108
|
+
end
|
6109
|
+
|
6110
|
+
# Update properties of this object
|
6111
|
+
def update!(**args)
|
6112
|
+
@assets_export_job_execution = args[:assets_export_job_execution] if args.key?(:assets_export_job_execution)
|
6113
|
+
end
|
6114
|
+
end
|
6115
|
+
|
5863
6116
|
# A request to run an import job.
|
5864
6117
|
class RunImportJobRequest
|
5865
6118
|
include Google::Apis::Core::Hashable
|
@@ -6152,6 +6405,63 @@ module Google
|
|
6152
6405
|
end
|
6153
6406
|
end
|
6154
6407
|
|
6408
|
+
# Contains a signed URI.
|
6409
|
+
class SignedUri
|
6410
|
+
include Google::Apis::Core::Hashable
|
6411
|
+
|
6412
|
+
# Output only. Name of the file the Signed URI references.
|
6413
|
+
# Corresponds to the JSON property `file`
|
6414
|
+
# @return [String]
|
6415
|
+
attr_accessor :file
|
6416
|
+
|
6417
|
+
# Output only. Download URI for the file.
|
6418
|
+
# Corresponds to the JSON property `uri`
|
6419
|
+
# @return [String]
|
6420
|
+
attr_accessor :uri
|
6421
|
+
|
6422
|
+
def initialize(**args)
|
6423
|
+
update!(**args)
|
6424
|
+
end
|
6425
|
+
|
6426
|
+
# Update properties of this object
|
6427
|
+
def update!(**args)
|
6428
|
+
@file = args[:file] if args.key?(:file)
|
6429
|
+
@uri = args[:uri] if args.key?(:uri)
|
6430
|
+
end
|
6431
|
+
end
|
6432
|
+
|
6433
|
+
# Signed URI destination configuration.
|
6434
|
+
class SignedUriDestination
|
6435
|
+
include Google::Apis::Core::Hashable
|
6436
|
+
|
6437
|
+
def initialize(**args)
|
6438
|
+
update!(**args)
|
6439
|
+
end
|
6440
|
+
|
6441
|
+
# Update properties of this object
|
6442
|
+
def update!(**args)
|
6443
|
+
end
|
6444
|
+
end
|
6445
|
+
|
6446
|
+
# Contains a list of Signed URIs.
|
6447
|
+
class SignedUris
|
6448
|
+
include Google::Apis::Core::Hashable
|
6449
|
+
|
6450
|
+
# Output only. List of signed URIs.
|
6451
|
+
# Corresponds to the JSON property `signedUris`
|
6452
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::SignedUri>]
|
6453
|
+
attr_accessor :signed_uris
|
6454
|
+
|
6455
|
+
def initialize(**args)
|
6456
|
+
update!(**args)
|
6457
|
+
end
|
6458
|
+
|
6459
|
+
# Update properties of this object
|
6460
|
+
def update!(**args)
|
6461
|
+
@signed_uris = args[:signed_uris] if args.key?(:signed_uris)
|
6462
|
+
end
|
6463
|
+
end
|
6464
|
+
|
6155
6465
|
# An insight regarding software detected on an asset.
|
6156
6466
|
class SoftwareInsight
|
6157
6467
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MigrationcenterV1alpha1
|
18
18
|
# Version of the google-apis-migrationcenter_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240523"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,36 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class AssetsExportJob
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class AssetsExportJobExecution
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class AssetsExportJobExecutionResult
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class AssetsExportJobExportCondition
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class AssetsExportJobNetworkDependencies
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
133
163
|
class AwsEc2PlatformDetails
|
134
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
165
|
|
@@ -610,6 +640,12 @@ module Google
|
|
610
640
|
include Google::Apis::Core::JsonObjectSupport
|
611
641
|
end
|
612
642
|
|
643
|
+
class ListAssetsExportJobsResponse
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
613
649
|
class ListAssetsResponse
|
614
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
651
|
|
@@ -1030,6 +1066,18 @@ module Google
|
|
1030
1066
|
include Google::Apis::Core::JsonObjectSupport
|
1031
1067
|
end
|
1032
1068
|
|
1069
|
+
class RunAssetsExportJobRequest
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1071
|
+
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
class RunAssetsExportJobResponse
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1077
|
+
|
1078
|
+
include Google::Apis::Core::JsonObjectSupport
|
1079
|
+
end
|
1080
|
+
|
1033
1081
|
class RunImportJobRequest
|
1034
1082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
1083
|
|
@@ -1084,6 +1132,24 @@ module Google
|
|
1084
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1085
1133
|
end
|
1086
1134
|
|
1135
|
+
class SignedUri
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
class SignedUriDestination
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
class SignedUris
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1087
1153
|
class SoftwareInsight
|
1088
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
1155
|
|
@@ -1422,6 +1488,60 @@ module Google
|
|
1422
1488
|
end
|
1423
1489
|
end
|
1424
1490
|
|
1491
|
+
class AssetsExportJob
|
1492
|
+
# @private
|
1493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1494
|
+
property :condition, as: 'condition', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition::Representation
|
1495
|
+
|
1496
|
+
property :create_time, as: 'createTime'
|
1497
|
+
hash :labels, as: 'labels'
|
1498
|
+
property :name, as: 'name'
|
1499
|
+
property :network_dependencies, as: 'networkDependencies', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies::Representation
|
1500
|
+
|
1501
|
+
collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
|
1502
|
+
|
1503
|
+
property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
|
1504
|
+
|
1505
|
+
property :update_time, as: 'updateTime'
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
class AssetsExportJobExecution
|
1510
|
+
# @private
|
1511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1512
|
+
property :end_time, as: 'endTime'
|
1513
|
+
property :execution_id, as: 'executionId'
|
1514
|
+
property :expire_time, as: 'expireTime'
|
1515
|
+
property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult::Representation
|
1516
|
+
|
1517
|
+
property :start_time, as: 'startTime'
|
1518
|
+
end
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
class AssetsExportJobExecutionResult
|
1522
|
+
# @private
|
1523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1524
|
+
property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
|
1525
|
+
|
1526
|
+
property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
|
1527
|
+
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
class AssetsExportJobExportCondition
|
1532
|
+
# @private
|
1533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1534
|
+
property :filter, as: 'filter'
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
class AssetsExportJobNetworkDependencies
|
1539
|
+
# @private
|
1540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1541
|
+
property :max_days, as: 'maxDays'
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
|
1425
1545
|
class AwsEc2PlatformDetails
|
1426
1546
|
# @private
|
1427
1547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2266,6 +2386,15 @@ module Google
|
|
2266
2386
|
end
|
2267
2387
|
end
|
2268
2388
|
|
2389
|
+
class ListAssetsExportJobsResponse
|
2390
|
+
# @private
|
2391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2392
|
+
collection :assets_export_jobs, as: 'assetsExportJobs', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
|
2393
|
+
|
2394
|
+
property :next_page_token, as: 'nextPageToken'
|
2395
|
+
end
|
2396
|
+
end
|
2397
|
+
|
2269
2398
|
class ListAssetsResponse
|
2270
2399
|
# @private
|
2271
2400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3015,6 +3144,21 @@ module Google
|
|
3015
3144
|
end
|
3016
3145
|
end
|
3017
3146
|
|
3147
|
+
class RunAssetsExportJobRequest
|
3148
|
+
# @private
|
3149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3150
|
+
property :request_id, as: 'requestId'
|
3151
|
+
end
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
class RunAssetsExportJobResponse
|
3155
|
+
# @private
|
3156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3157
|
+
property :assets_export_job_execution, as: 'assetsExportJobExecution', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
|
3158
|
+
|
3159
|
+
end
|
3160
|
+
end
|
3161
|
+
|
3018
3162
|
class RunImportJobRequest
|
3019
3163
|
# @private
|
3020
3164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3099,6 +3243,28 @@ module Google
|
|
3099
3243
|
end
|
3100
3244
|
end
|
3101
3245
|
|
3246
|
+
class SignedUri
|
3247
|
+
# @private
|
3248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3249
|
+
property :file, as: 'file'
|
3250
|
+
property :uri, as: 'uri'
|
3251
|
+
end
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
class SignedUriDestination
|
3255
|
+
# @private
|
3256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3257
|
+
end
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
class SignedUris
|
3261
|
+
# @private
|
3262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3263
|
+
collection :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUri, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUri::Representation
|
3264
|
+
|
3265
|
+
end
|
3266
|
+
end
|
3267
|
+
|
3102
3268
|
class SoftwareInsight
|
3103
3269
|
# @private
|
3104
3270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -519,6 +519,184 @@ module Google
|
|
519
519
|
execute_or_queue_command(command, &block)
|
520
520
|
end
|
521
521
|
|
522
|
+
# Creates a new assets export job.
|
523
|
+
# @param [String] parent
|
524
|
+
# Required. The parent resource where the assts export job will be created.
|
525
|
+
# @param [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] assets_export_job_object
|
526
|
+
# @param [String] assets_export_job_id
|
527
|
+
# Required. The ID to use for the asset export job.
|
528
|
+
# @param [String] request_id
|
529
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
530
|
+
# request ID so that if you must retry your request, the server will know to
|
531
|
+
# ignore the request if it has already been completed. The server will guarantee
|
532
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
533
|
+
# situation where you make an initial request and the request times out. If you
|
534
|
+
# make the request again with the same request ID, the server can check if
|
535
|
+
# original operation with the same request ID was received, and if so, will
|
536
|
+
# ignore the second request. This prevents clients from accidentally creating
|
537
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
538
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
539
|
+
# @param [String] fields
|
540
|
+
# Selector specifying which fields to include in a partial response.
|
541
|
+
# @param [String] quota_user
|
542
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
543
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
544
|
+
# @param [Google::Apis::RequestOptions] options
|
545
|
+
# Request-specific options
|
546
|
+
#
|
547
|
+
# @yield [result, err] Result & error if block supplied
|
548
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
|
549
|
+
# @yieldparam err [StandardError] error object if request failed
|
550
|
+
#
|
551
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Operation]
|
552
|
+
#
|
553
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
554
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
555
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
556
|
+
def create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
557
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/assetsExportJobs', options)
|
558
|
+
command.request_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
|
559
|
+
command.request_object = assets_export_job_object
|
560
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
|
561
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
|
562
|
+
command.params['parent'] = parent unless parent.nil?
|
563
|
+
command.query['assetsExportJobId'] = assets_export_job_id unless assets_export_job_id.nil?
|
564
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
565
|
+
command.query['fields'] = fields unless fields.nil?
|
566
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
|
+
execute_or_queue_command(command, &block)
|
568
|
+
end
|
569
|
+
|
570
|
+
# Deletes an assets export job.
|
571
|
+
# @param [String] name
|
572
|
+
# Required. The name of the assets export job to delete.
|
573
|
+
# @param [String] fields
|
574
|
+
# Selector specifying which fields to include in a partial response.
|
575
|
+
# @param [String] quota_user
|
576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
578
|
+
# @param [Google::Apis::RequestOptions] options
|
579
|
+
# Request-specific options
|
580
|
+
#
|
581
|
+
# @yield [result, err] Result & error if block supplied
|
582
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
|
583
|
+
# @yieldparam err [StandardError] error object if request failed
|
584
|
+
#
|
585
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Operation]
|
586
|
+
#
|
587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
590
|
+
def delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
592
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
|
593
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
|
594
|
+
command.params['name'] = name unless name.nil?
|
595
|
+
command.query['fields'] = fields unless fields.nil?
|
596
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
597
|
+
execute_or_queue_command(command, &block)
|
598
|
+
end
|
599
|
+
|
600
|
+
# Gets the details of an assets export job.
|
601
|
+
# @param [String] name
|
602
|
+
# Required. Name of the resource.
|
603
|
+
# @param [String] fields
|
604
|
+
# Selector specifying which fields to include in a partial response.
|
605
|
+
# @param [String] quota_user
|
606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
608
|
+
# @param [Google::Apis::RequestOptions] options
|
609
|
+
# Request-specific options
|
610
|
+
#
|
611
|
+
# @yield [result, err] Result & error if block supplied
|
612
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] parsed result object
|
613
|
+
# @yieldparam err [StandardError] error object if request failed
|
614
|
+
#
|
615
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob]
|
616
|
+
#
|
617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
|
+
def get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
621
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
622
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
|
623
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob
|
624
|
+
command.params['name'] = name unless name.nil?
|
625
|
+
command.query['fields'] = fields unless fields.nil?
|
626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
627
|
+
execute_or_queue_command(command, &block)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Lists all the assets export jobs in a given project and location.
|
631
|
+
# @param [String] parent
|
632
|
+
# Required. Parent resource.
|
633
|
+
# @param [Fixnum] page_size
|
634
|
+
# Optional. Requested page size. The server may return fewer items than
|
635
|
+
# requested. If unspecified, the server will pick an appropriate default value.
|
636
|
+
# @param [String] page_token
|
637
|
+
# Optional. A token identifying a page of results that the server should return.
|
638
|
+
# @param [String] fields
|
639
|
+
# Selector specifying which fields to include in a partial response.
|
640
|
+
# @param [String] quota_user
|
641
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
642
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
643
|
+
# @param [Google::Apis::RequestOptions] options
|
644
|
+
# Request-specific options
|
645
|
+
#
|
646
|
+
# @yield [result, err] Result & error if block supplied
|
647
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse] parsed result object
|
648
|
+
# @yieldparam err [StandardError] error object if request failed
|
649
|
+
#
|
650
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse]
|
651
|
+
#
|
652
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
653
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
654
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
655
|
+
def list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
656
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/assetsExportJobs', options)
|
657
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse::Representation
|
658
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse
|
659
|
+
command.params['parent'] = parent unless parent.nil?
|
660
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
661
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
662
|
+
command.query['fields'] = fields unless fields.nil?
|
663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
664
|
+
execute_or_queue_command(command, &block)
|
665
|
+
end
|
666
|
+
|
667
|
+
# Runs an assets export job, returning an AssetsExportJobExecution.
|
668
|
+
# @param [String] name
|
669
|
+
# Required. Name of the resource.
|
670
|
+
# @param [Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest] run_assets_export_job_request_object
|
671
|
+
# @param [String] fields
|
672
|
+
# Selector specifying which fields to include in a partial response.
|
673
|
+
# @param [String] quota_user
|
674
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
675
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
676
|
+
# @param [Google::Apis::RequestOptions] options
|
677
|
+
# Request-specific options
|
678
|
+
#
|
679
|
+
# @yield [result, err] Result & error if block supplied
|
680
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
|
681
|
+
# @yieldparam err [StandardError] error object if request failed
|
682
|
+
#
|
683
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Operation]
|
684
|
+
#
|
685
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
686
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
687
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
688
|
+
def run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
689
|
+
command = make_simple_command(:post, 'v1alpha1/{+name}:run', options)
|
690
|
+
command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest::Representation
|
691
|
+
command.request_object = run_assets_export_job_request_object
|
692
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
|
693
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
|
694
|
+
command.params['name'] = name unless name.nil?
|
695
|
+
command.query['fields'] = fields unless fields.nil?
|
696
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
697
|
+
execute_or_queue_command(command, &block)
|
698
|
+
end
|
699
|
+
|
522
700
|
# Creates a new discovery client.
|
523
701
|
# @param [String] parent
|
524
702
|
# Required. Parent resource.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-migrationcenter_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|