google-api-client 0.44.1 → 0.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +119 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +6 -4
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +26 -0
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +7 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +7 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +81 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +22 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +217 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +270 -2
- data/generated/google/apis/cloudidentity_v1/representations.rb +139 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +759 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +20 -7
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +59 -57
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +23 -22
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +18 -18
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -8
- data/generated/google/apis/container_v1beta1/representations.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +14 -3
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +7 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -9
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +22 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +42 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +53 -34
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +458 -320
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +42 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +2 -2
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -5
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +414 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +72 -0
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +182 -16
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +231 -16
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +9 -5
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +78 -78
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +54 -4
|
@@ -40,18 +40,6 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class ExecResource
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
class ExecResourceExec
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
43
|
class ExecStep
|
|
56
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
45
|
|
|
@@ -70,36 +58,6 @@ module Google
|
|
|
70
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
59
|
end
|
|
72
60
|
|
|
73
|
-
class ExtractArchiveResource
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class File
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
class FileGcs
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class FileRemote
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class FileResource
|
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
-
|
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
-
end
|
|
102
|
-
|
|
103
61
|
class FixedOrPercent
|
|
104
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
63
|
|
|
@@ -148,54 +106,6 @@ module Google
|
|
|
148
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
107
|
end
|
|
150
108
|
|
|
151
|
-
class PackageResource
|
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
-
|
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
class PackageResourceApt
|
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
-
|
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
class PackageResourceDeb
|
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
-
|
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
class PackageResourceGooGet
|
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
-
|
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
class PackageResourceMsi
|
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
-
|
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
-
end
|
|
180
|
-
|
|
181
|
-
class PackageResourceRpm
|
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
-
|
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
class PackageResourceYum
|
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
-
|
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
class PackageResourceZypper
|
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
-
|
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
-
end
|
|
198
|
-
|
|
199
109
|
class PatchConfig
|
|
200
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
111
|
|
|
@@ -250,42 +160,6 @@ module Google
|
|
|
250
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
161
|
end
|
|
252
162
|
|
|
253
|
-
class RepositoryResource
|
|
254
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
-
|
|
256
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
class RepositoryResourceAptRepository
|
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
-
|
|
262
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
class RepositoryResourceGooRepository
|
|
266
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
-
|
|
268
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
class RepositoryResourceYumRepository
|
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
-
|
|
274
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
class RepositoryResourceZypperRepository
|
|
278
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
-
|
|
280
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
-
end
|
|
282
|
-
|
|
283
|
-
class ServiceResource
|
|
284
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
-
|
|
286
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
-
end
|
|
288
|
-
|
|
289
163
|
class TimeOfDay
|
|
290
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
165
|
|
|
@@ -349,28 +223,6 @@ module Google
|
|
|
349
223
|
end
|
|
350
224
|
end
|
|
351
225
|
|
|
352
|
-
class ExecResource
|
|
353
|
-
# @private
|
|
354
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
355
|
-
property :enforce, as: 'enforce', class: Google::Apis::OsconfigV1::ExecResourceExec, decorator: Google::Apis::OsconfigV1::ExecResourceExec::Representation
|
|
356
|
-
|
|
357
|
-
property :validate, as: 'validate', class: Google::Apis::OsconfigV1::ExecResourceExec, decorator: Google::Apis::OsconfigV1::ExecResourceExec::Representation
|
|
358
|
-
|
|
359
|
-
end
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
class ExecResourceExec
|
|
363
|
-
# @private
|
|
364
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
365
|
-
collection :allowed_success_codes, as: 'allowedSuccessCodes'
|
|
366
|
-
collection :args, as: 'args'
|
|
367
|
-
property :file, as: 'file', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
368
|
-
|
|
369
|
-
property :interpreter, as: 'interpreter'
|
|
370
|
-
property :script, as: 'script'
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
|
|
374
226
|
class ExecStep
|
|
375
227
|
# @private
|
|
376
228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -408,59 +260,6 @@ module Google
|
|
|
408
260
|
end
|
|
409
261
|
end
|
|
410
262
|
|
|
411
|
-
class ExtractArchiveResource
|
|
412
|
-
# @private
|
|
413
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
414
|
-
property :creates, as: 'creates'
|
|
415
|
-
property :destination, as: 'destination'
|
|
416
|
-
property :overwrite, as: 'overwrite'
|
|
417
|
-
property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
418
|
-
|
|
419
|
-
property :type, as: 'type'
|
|
420
|
-
end
|
|
421
|
-
end
|
|
422
|
-
|
|
423
|
-
class File
|
|
424
|
-
# @private
|
|
425
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
426
|
-
property :allow_insecure, as: 'allowInsecure'
|
|
427
|
-
property :gcs, as: 'gcs', class: Google::Apis::OsconfigV1::FileGcs, decorator: Google::Apis::OsconfigV1::FileGcs::Representation
|
|
428
|
-
|
|
429
|
-
property :local_path, as: 'localPath'
|
|
430
|
-
property :remote, as: 'remote', class: Google::Apis::OsconfigV1::FileRemote, decorator: Google::Apis::OsconfigV1::FileRemote::Representation
|
|
431
|
-
|
|
432
|
-
end
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
class FileGcs
|
|
436
|
-
# @private
|
|
437
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
438
|
-
property :bucket, as: 'bucket'
|
|
439
|
-
property :generation, :numeric_string => true, as: 'generation'
|
|
440
|
-
property :object, as: 'object'
|
|
441
|
-
end
|
|
442
|
-
end
|
|
443
|
-
|
|
444
|
-
class FileRemote
|
|
445
|
-
# @private
|
|
446
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
447
|
-
property :sha256_checksum, as: 'sha256Checksum'
|
|
448
|
-
property :uri, as: 'uri'
|
|
449
|
-
end
|
|
450
|
-
end
|
|
451
|
-
|
|
452
|
-
class FileResource
|
|
453
|
-
# @private
|
|
454
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
455
|
-
property :content, as: 'content'
|
|
456
|
-
property :file, as: 'file', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
457
|
-
|
|
458
|
-
property :path, as: 'path'
|
|
459
|
-
property :permissions, as: 'permissions'
|
|
460
|
-
property :state, as: 'state'
|
|
461
|
-
end
|
|
462
|
-
end
|
|
463
|
-
|
|
464
263
|
class FixedOrPercent
|
|
465
264
|
# @private
|
|
466
265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -527,83 +326,6 @@ module Google
|
|
|
527
326
|
end
|
|
528
327
|
end
|
|
529
328
|
|
|
530
|
-
class PackageResource
|
|
531
|
-
# @private
|
|
532
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
533
|
-
property :apt, as: 'apt', class: Google::Apis::OsconfigV1::PackageResourceApt, decorator: Google::Apis::OsconfigV1::PackageResourceApt::Representation
|
|
534
|
-
|
|
535
|
-
property :deb, as: 'deb', class: Google::Apis::OsconfigV1::PackageResourceDeb, decorator: Google::Apis::OsconfigV1::PackageResourceDeb::Representation
|
|
536
|
-
|
|
537
|
-
property :desired_state, as: 'desiredState'
|
|
538
|
-
property :googet, as: 'googet', class: Google::Apis::OsconfigV1::PackageResourceGooGet, decorator: Google::Apis::OsconfigV1::PackageResourceGooGet::Representation
|
|
539
|
-
|
|
540
|
-
property :msi, as: 'msi', class: Google::Apis::OsconfigV1::PackageResourceMsi, decorator: Google::Apis::OsconfigV1::PackageResourceMsi::Representation
|
|
541
|
-
|
|
542
|
-
property :rpm, as: 'rpm', class: Google::Apis::OsconfigV1::PackageResourceRpm, decorator: Google::Apis::OsconfigV1::PackageResourceRpm::Representation
|
|
543
|
-
|
|
544
|
-
property :yum, as: 'yum', class: Google::Apis::OsconfigV1::PackageResourceYum, decorator: Google::Apis::OsconfigV1::PackageResourceYum::Representation
|
|
545
|
-
|
|
546
|
-
property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::PackageResourceZypper, decorator: Google::Apis::OsconfigV1::PackageResourceZypper::Representation
|
|
547
|
-
|
|
548
|
-
end
|
|
549
|
-
end
|
|
550
|
-
|
|
551
|
-
class PackageResourceApt
|
|
552
|
-
# @private
|
|
553
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
554
|
-
property :name, as: 'name'
|
|
555
|
-
end
|
|
556
|
-
end
|
|
557
|
-
|
|
558
|
-
class PackageResourceDeb
|
|
559
|
-
# @private
|
|
560
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
561
|
-
property :pull_deps, as: 'pullDeps'
|
|
562
|
-
property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
563
|
-
|
|
564
|
-
end
|
|
565
|
-
end
|
|
566
|
-
|
|
567
|
-
class PackageResourceGooGet
|
|
568
|
-
# @private
|
|
569
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
570
|
-
property :name, as: 'name'
|
|
571
|
-
end
|
|
572
|
-
end
|
|
573
|
-
|
|
574
|
-
class PackageResourceMsi
|
|
575
|
-
# @private
|
|
576
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
577
|
-
collection :allowed_success_codes, as: 'allowedSuccessCodes'
|
|
578
|
-
collection :flags, as: 'flags'
|
|
579
|
-
property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
580
|
-
|
|
581
|
-
end
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
class PackageResourceRpm
|
|
585
|
-
# @private
|
|
586
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
587
|
-
property :pull_deps, as: 'pullDeps'
|
|
588
|
-
property :source, as: 'source', class: Google::Apis::OsconfigV1::File, decorator: Google::Apis::OsconfigV1::File::Representation
|
|
589
|
-
|
|
590
|
-
end
|
|
591
|
-
end
|
|
592
|
-
|
|
593
|
-
class PackageResourceYum
|
|
594
|
-
# @private
|
|
595
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
596
|
-
property :name, as: 'name'
|
|
597
|
-
end
|
|
598
|
-
end
|
|
599
|
-
|
|
600
|
-
class PackageResourceZypper
|
|
601
|
-
# @private
|
|
602
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
603
|
-
property :name, as: 'name'
|
|
604
|
-
end
|
|
605
|
-
end
|
|
606
|
-
|
|
607
329
|
class PatchConfig
|
|
608
330
|
# @private
|
|
609
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -751,65 +473,6 @@ module Google
|
|
|
751
473
|
end
|
|
752
474
|
end
|
|
753
475
|
|
|
754
|
-
class RepositoryResource
|
|
755
|
-
# @private
|
|
756
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
757
|
-
property :apt, as: 'apt', class: Google::Apis::OsconfigV1::RepositoryResourceAptRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceAptRepository::Representation
|
|
758
|
-
|
|
759
|
-
property :goo, as: 'goo', class: Google::Apis::OsconfigV1::RepositoryResourceGooRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceGooRepository::Representation
|
|
760
|
-
|
|
761
|
-
property :yum, as: 'yum', class: Google::Apis::OsconfigV1::RepositoryResourceYumRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceYumRepository::Representation
|
|
762
|
-
|
|
763
|
-
property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::RepositoryResourceZypperRepository, decorator: Google::Apis::OsconfigV1::RepositoryResourceZypperRepository::Representation
|
|
764
|
-
|
|
765
|
-
end
|
|
766
|
-
end
|
|
767
|
-
|
|
768
|
-
class RepositoryResourceAptRepository
|
|
769
|
-
# @private
|
|
770
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
771
|
-
property :archive_type, as: 'archiveType'
|
|
772
|
-
collection :components, as: 'components'
|
|
773
|
-
property :distribution, as: 'distribution'
|
|
774
|
-
property :gpg_key, as: 'gpgKey'
|
|
775
|
-
property :uri, as: 'uri'
|
|
776
|
-
end
|
|
777
|
-
end
|
|
778
|
-
|
|
779
|
-
class RepositoryResourceGooRepository
|
|
780
|
-
# @private
|
|
781
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
782
|
-
property :name, as: 'name'
|
|
783
|
-
property :url, as: 'url'
|
|
784
|
-
end
|
|
785
|
-
end
|
|
786
|
-
|
|
787
|
-
class RepositoryResourceYumRepository
|
|
788
|
-
# @private
|
|
789
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
790
|
-
property :base_url, as: 'baseUrl'
|
|
791
|
-
property :display_name, as: 'displayName'
|
|
792
|
-
collection :gpg_keys, as: 'gpgKeys'
|
|
793
|
-
property :id, as: 'id'
|
|
794
|
-
end
|
|
795
|
-
end
|
|
796
|
-
|
|
797
|
-
class RepositoryResourceZypperRepository
|
|
798
|
-
# @private
|
|
799
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
800
|
-
property :base_url, as: 'baseUrl'
|
|
801
|
-
property :display_name, as: 'displayName'
|
|
802
|
-
collection :gpg_keys, as: 'gpgKeys'
|
|
803
|
-
property :id, as: 'id'
|
|
804
|
-
end
|
|
805
|
-
end
|
|
806
|
-
|
|
807
|
-
class ServiceResource
|
|
808
|
-
# @private
|
|
809
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
810
|
-
end
|
|
811
|
-
end
|
|
812
|
-
|
|
813
476
|
class TimeOfDay
|
|
814
477
|
# @private
|
|
815
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/
|
|
27
27
|
module OsconfigV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200903'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -373,74 +373,6 @@ module Google
|
|
|
373
373
|
end
|
|
374
374
|
end
|
|
375
375
|
|
|
376
|
-
# A resource that contains custom validation and enforcement steps.
|
|
377
|
-
class ExecResource
|
|
378
|
-
include Google::Apis::Core::Hashable
|
|
379
|
-
|
|
380
|
-
# A file or script to execute.
|
|
381
|
-
# Corresponds to the JSON property `enforce`
|
|
382
|
-
# @return [Google::Apis::OsconfigV1beta::ExecResourceExec]
|
|
383
|
-
attr_accessor :enforce
|
|
384
|
-
|
|
385
|
-
# A file or script to execute.
|
|
386
|
-
# Corresponds to the JSON property `validate`
|
|
387
|
-
# @return [Google::Apis::OsconfigV1beta::ExecResourceExec]
|
|
388
|
-
attr_accessor :validate
|
|
389
|
-
|
|
390
|
-
def initialize(**args)
|
|
391
|
-
update!(**args)
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
# Update properties of this object
|
|
395
|
-
def update!(**args)
|
|
396
|
-
@enforce = args[:enforce] if args.key?(:enforce)
|
|
397
|
-
@validate = args[:validate] if args.key?(:validate)
|
|
398
|
-
end
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
# A file or script to execute.
|
|
402
|
-
class ExecResourceExec
|
|
403
|
-
include Google::Apis::Core::Hashable
|
|
404
|
-
|
|
405
|
-
# Exit codes that indicate success.
|
|
406
|
-
# Corresponds to the JSON property `allowedSuccessCodes`
|
|
407
|
-
# @return [Array<Fixnum>]
|
|
408
|
-
attr_accessor :allowed_success_codes
|
|
409
|
-
|
|
410
|
-
# Arguments to use.
|
|
411
|
-
# Corresponds to the JSON property `args`
|
|
412
|
-
# @return [Array<String>]
|
|
413
|
-
attr_accessor :args
|
|
414
|
-
|
|
415
|
-
# A remote or local file.
|
|
416
|
-
# Corresponds to the JSON property `file`
|
|
417
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
418
|
-
attr_accessor :file
|
|
419
|
-
|
|
420
|
-
# The script interpreter to use.
|
|
421
|
-
# Corresponds to the JSON property `interpreter`
|
|
422
|
-
# @return [String]
|
|
423
|
-
attr_accessor :interpreter
|
|
424
|
-
|
|
425
|
-
# An inline script.
|
|
426
|
-
# Corresponds to the JSON property `script`
|
|
427
|
-
# @return [String]
|
|
428
|
-
attr_accessor :script
|
|
429
|
-
|
|
430
|
-
def initialize(**args)
|
|
431
|
-
update!(**args)
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
# Update properties of this object
|
|
435
|
-
def update!(**args)
|
|
436
|
-
@allowed_success_codes = args[:allowed_success_codes] if args.key?(:allowed_success_codes)
|
|
437
|
-
@args = args[:args] if args.key?(:args)
|
|
438
|
-
@file = args[:file] if args.key?(:file)
|
|
439
|
-
@interpreter = args[:interpreter] if args.key?(:interpreter)
|
|
440
|
-
@script = args[:script] if args.key?(:script)
|
|
441
|
-
end
|
|
442
|
-
end
|
|
443
|
-
|
|
444
376
|
# A step that runs an executable for a PatchJob.
|
|
445
377
|
class ExecStep
|
|
446
378
|
include Google::Apis::Core::Hashable
|
|
@@ -568,200 +500,6 @@ module Google
|
|
|
568
500
|
end
|
|
569
501
|
end
|
|
570
502
|
|
|
571
|
-
# A resource that extracts an archive
|
|
572
|
-
class ExtractArchiveResource
|
|
573
|
-
include Google::Apis::Core::Hashable
|
|
574
|
-
|
|
575
|
-
# Local file path that signals this resource is in the desired state. The
|
|
576
|
-
# absence of this file will indicate whether the archive needs to be extracted.
|
|
577
|
-
# Corresponds to the JSON property `creates`
|
|
578
|
-
# @return [String]
|
|
579
|
-
attr_accessor :creates
|
|
580
|
-
|
|
581
|
-
# Directory to extract archive to.
|
|
582
|
-
# Corresponds to the JSON property `destination`
|
|
583
|
-
# @return [String]
|
|
584
|
-
attr_accessor :destination
|
|
585
|
-
|
|
586
|
-
# Whether to overwrite existing files during extraction. If this is set to true,
|
|
587
|
-
# any existing files in the destination location will be overwritten by the
|
|
588
|
-
# extraction.
|
|
589
|
-
# Corresponds to the JSON property `overwrite`
|
|
590
|
-
# @return [Boolean]
|
|
591
|
-
attr_accessor :overwrite
|
|
592
|
-
alias_method :overwrite?, :overwrite
|
|
593
|
-
|
|
594
|
-
# A remote or local file.
|
|
595
|
-
# Corresponds to the JSON property `source`
|
|
596
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
597
|
-
attr_accessor :source
|
|
598
|
-
|
|
599
|
-
# The type of the archive to extract.
|
|
600
|
-
# Corresponds to the JSON property `type`
|
|
601
|
-
# @return [String]
|
|
602
|
-
attr_accessor :type
|
|
603
|
-
|
|
604
|
-
def initialize(**args)
|
|
605
|
-
update!(**args)
|
|
606
|
-
end
|
|
607
|
-
|
|
608
|
-
# Update properties of this object
|
|
609
|
-
def update!(**args)
|
|
610
|
-
@creates = args[:creates] if args.key?(:creates)
|
|
611
|
-
@destination = args[:destination] if args.key?(:destination)
|
|
612
|
-
@overwrite = args[:overwrite] if args.key?(:overwrite)
|
|
613
|
-
@source = args[:source] if args.key?(:source)
|
|
614
|
-
@type = args[:type] if args.key?(:type)
|
|
615
|
-
end
|
|
616
|
-
end
|
|
617
|
-
|
|
618
|
-
# A remote or local file.
|
|
619
|
-
class File
|
|
620
|
-
include Google::Apis::Core::Hashable
|
|
621
|
-
|
|
622
|
-
# Defaults to false. When false, files will be subject to validations based on
|
|
623
|
-
# the file type: Remote: A checksum must be specified. GCS: An object generation
|
|
624
|
-
# number must be specified.
|
|
625
|
-
# Corresponds to the JSON property `allowInsecure`
|
|
626
|
-
# @return [Boolean]
|
|
627
|
-
attr_accessor :allow_insecure
|
|
628
|
-
alias_method :allow_insecure?, :allow_insecure
|
|
629
|
-
|
|
630
|
-
# Specifies a file available as a GCS Object.
|
|
631
|
-
# Corresponds to the JSON property `gcs`
|
|
632
|
-
# @return [Google::Apis::OsconfigV1beta::FileGcs]
|
|
633
|
-
attr_accessor :gcs
|
|
634
|
-
|
|
635
|
-
# A local path to use.
|
|
636
|
-
# Corresponds to the JSON property `localPath`
|
|
637
|
-
# @return [String]
|
|
638
|
-
attr_accessor :local_path
|
|
639
|
-
|
|
640
|
-
# Specifies a file available via some URI.
|
|
641
|
-
# Corresponds to the JSON property `remote`
|
|
642
|
-
# @return [Google::Apis::OsconfigV1beta::FileRemote]
|
|
643
|
-
attr_accessor :remote
|
|
644
|
-
|
|
645
|
-
def initialize(**args)
|
|
646
|
-
update!(**args)
|
|
647
|
-
end
|
|
648
|
-
|
|
649
|
-
# Update properties of this object
|
|
650
|
-
def update!(**args)
|
|
651
|
-
@allow_insecure = args[:allow_insecure] if args.key?(:allow_insecure)
|
|
652
|
-
@gcs = args[:gcs] if args.key?(:gcs)
|
|
653
|
-
@local_path = args[:local_path] if args.key?(:local_path)
|
|
654
|
-
@remote = args[:remote] if args.key?(:remote)
|
|
655
|
-
end
|
|
656
|
-
end
|
|
657
|
-
|
|
658
|
-
# Specifies a file available as a GCS Object.
|
|
659
|
-
class FileGcs
|
|
660
|
-
include Google::Apis::Core::Hashable
|
|
661
|
-
|
|
662
|
-
# Bucket of the GCS object.
|
|
663
|
-
# Corresponds to the JSON property `bucket`
|
|
664
|
-
# @return [String]
|
|
665
|
-
attr_accessor :bucket
|
|
666
|
-
|
|
667
|
-
# Generation number of the GCS object.
|
|
668
|
-
# Corresponds to the JSON property `generation`
|
|
669
|
-
# @return [Fixnum]
|
|
670
|
-
attr_accessor :generation
|
|
671
|
-
|
|
672
|
-
# Name of the GCS object.
|
|
673
|
-
# Corresponds to the JSON property `object`
|
|
674
|
-
# @return [String]
|
|
675
|
-
attr_accessor :object
|
|
676
|
-
|
|
677
|
-
def initialize(**args)
|
|
678
|
-
update!(**args)
|
|
679
|
-
end
|
|
680
|
-
|
|
681
|
-
# Update properties of this object
|
|
682
|
-
def update!(**args)
|
|
683
|
-
@bucket = args[:bucket] if args.key?(:bucket)
|
|
684
|
-
@generation = args[:generation] if args.key?(:generation)
|
|
685
|
-
@object = args[:object] if args.key?(:object)
|
|
686
|
-
end
|
|
687
|
-
end
|
|
688
|
-
|
|
689
|
-
# Specifies a file available via some URI.
|
|
690
|
-
class FileRemote
|
|
691
|
-
include Google::Apis::Core::Hashable
|
|
692
|
-
|
|
693
|
-
# SHA256 checksum of the remote file.
|
|
694
|
-
# Corresponds to the JSON property `sha256Checksum`
|
|
695
|
-
# @return [String]
|
|
696
|
-
attr_accessor :sha256_checksum
|
|
697
|
-
|
|
698
|
-
# URI from which to fetch the object. It should contain both the protocol and
|
|
699
|
-
# path following the format `protocol`://`location`.
|
|
700
|
-
# Corresponds to the JSON property `uri`
|
|
701
|
-
# @return [String]
|
|
702
|
-
attr_accessor :uri
|
|
703
|
-
|
|
704
|
-
def initialize(**args)
|
|
705
|
-
update!(**args)
|
|
706
|
-
end
|
|
707
|
-
|
|
708
|
-
# Update properties of this object
|
|
709
|
-
def update!(**args)
|
|
710
|
-
@sha256_checksum = args[:sha256_checksum] if args.key?(:sha256_checksum)
|
|
711
|
-
@uri = args[:uri] if args.key?(:uri)
|
|
712
|
-
end
|
|
713
|
-
end
|
|
714
|
-
|
|
715
|
-
# A resource that manages the state of a file.
|
|
716
|
-
class FileResource
|
|
717
|
-
include Google::Apis::Core::Hashable
|
|
718
|
-
|
|
719
|
-
# A a file with this content.
|
|
720
|
-
# Corresponds to the JSON property `content`
|
|
721
|
-
# @return [String]
|
|
722
|
-
attr_accessor :content
|
|
723
|
-
|
|
724
|
-
# A remote or local file.
|
|
725
|
-
# Corresponds to the JSON property `file`
|
|
726
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
727
|
-
attr_accessor :file
|
|
728
|
-
|
|
729
|
-
# The absolute path of the file.
|
|
730
|
-
# Corresponds to the JSON property `path`
|
|
731
|
-
# @return [String]
|
|
732
|
-
attr_accessor :path
|
|
733
|
-
|
|
734
|
-
# Consists of three octal digits which represent, in order, the permissions of
|
|
735
|
-
# the owner, group, and other users for the file (similarly to the numeric mode
|
|
736
|
-
# used in the linux chmod utility). Each digit represents a three bit number
|
|
737
|
-
# with the 4 bit corresponding to the read permissions, the 2 bit corresponds to
|
|
738
|
-
# the write bit, and the one bit corresponds to the execute permission. Default
|
|
739
|
-
# behavior is 755. Below are some examples of permissions and their associated
|
|
740
|
-
# values: read, write, and execute: 7 read and execute: 5 read and write: 6 read
|
|
741
|
-
# only: 4
|
|
742
|
-
# Corresponds to the JSON property `permissions`
|
|
743
|
-
# @return [String]
|
|
744
|
-
attr_accessor :permissions
|
|
745
|
-
|
|
746
|
-
# Desired state of the file.
|
|
747
|
-
# Corresponds to the JSON property `state`
|
|
748
|
-
# @return [String]
|
|
749
|
-
attr_accessor :state
|
|
750
|
-
|
|
751
|
-
def initialize(**args)
|
|
752
|
-
update!(**args)
|
|
753
|
-
end
|
|
754
|
-
|
|
755
|
-
# Update properties of this object
|
|
756
|
-
def update!(**args)
|
|
757
|
-
@content = args[:content] if args.key?(:content)
|
|
758
|
-
@file = args[:file] if args.key?(:file)
|
|
759
|
-
@path = args[:path] if args.key?(:path)
|
|
760
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
|
761
|
-
@state = args[:state] if args.key?(:state)
|
|
762
|
-
end
|
|
763
|
-
end
|
|
764
|
-
|
|
765
503
|
# Message encapsulating a value that can be either absolute ("fixed") or
|
|
766
504
|
# relative ("percent") to a value.
|
|
767
505
|
class FixedOrPercent
|
|
@@ -1213,242 +951,6 @@ module Google
|
|
|
1213
951
|
end
|
|
1214
952
|
end
|
|
1215
953
|
|
|
1216
|
-
# A resource that manages a system package.
|
|
1217
|
-
class PackageResource
|
|
1218
|
-
include Google::Apis::Core::Hashable
|
|
1219
|
-
|
|
1220
|
-
# A package managed by APT. install: `apt-get update && apt-get -y install [name]
|
|
1221
|
-
# ` remove: `apt-get -y remove [name]`
|
|
1222
|
-
# Corresponds to the JSON property `apt`
|
|
1223
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceApt]
|
|
1224
|
-
attr_accessor :apt
|
|
1225
|
-
|
|
1226
|
-
# A deb package file. dpkg packages only support INSTALLED state.
|
|
1227
|
-
# Corresponds to the JSON property `deb`
|
|
1228
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceDeb]
|
|
1229
|
-
attr_accessor :deb
|
|
1230
|
-
|
|
1231
|
-
# The desired_state the agent should maintain for this package. The default is
|
|
1232
|
-
# to ensure the package is installed.
|
|
1233
|
-
# Corresponds to the JSON property `desiredState`
|
|
1234
|
-
# @return [String]
|
|
1235
|
-
attr_accessor :desired_state
|
|
1236
|
-
|
|
1237
|
-
# A package managed by GooGet. install: `googet -noconfirm install package`
|
|
1238
|
-
# remove: `googet -noconfirm remove package`
|
|
1239
|
-
# Corresponds to the JSON property `googet`
|
|
1240
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceGooGet]
|
|
1241
|
-
attr_accessor :googet
|
|
1242
|
-
|
|
1243
|
-
# An MSI package. MSI packages only support INSTALLED state. Install msiexec /i /
|
|
1244
|
-
# qn /norestart
|
|
1245
|
-
# Corresponds to the JSON property `msi`
|
|
1246
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceMsi]
|
|
1247
|
-
attr_accessor :msi
|
|
1248
|
-
|
|
1249
|
-
# An RPM package file. RPM packages only support INSTALLED state.
|
|
1250
|
-
# Corresponds to the JSON property `rpm`
|
|
1251
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceRpm]
|
|
1252
|
-
attr_accessor :rpm
|
|
1253
|
-
|
|
1254
|
-
# A package managed by YUM. install: `yum -y install package` remove: `yum -y
|
|
1255
|
-
# remove package`
|
|
1256
|
-
# Corresponds to the JSON property `yum`
|
|
1257
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceYum]
|
|
1258
|
-
attr_accessor :yum
|
|
1259
|
-
|
|
1260
|
-
# A package managed by Zypper. install: `zypper -y install package` remove: `
|
|
1261
|
-
# zypper -y rm package`
|
|
1262
|
-
# Corresponds to the JSON property `zypper`
|
|
1263
|
-
# @return [Google::Apis::OsconfigV1beta::PackageResourceZypper]
|
|
1264
|
-
attr_accessor :zypper
|
|
1265
|
-
|
|
1266
|
-
def initialize(**args)
|
|
1267
|
-
update!(**args)
|
|
1268
|
-
end
|
|
1269
|
-
|
|
1270
|
-
# Update properties of this object
|
|
1271
|
-
def update!(**args)
|
|
1272
|
-
@apt = args[:apt] if args.key?(:apt)
|
|
1273
|
-
@deb = args[:deb] if args.key?(:deb)
|
|
1274
|
-
@desired_state = args[:desired_state] if args.key?(:desired_state)
|
|
1275
|
-
@googet = args[:googet] if args.key?(:googet)
|
|
1276
|
-
@msi = args[:msi] if args.key?(:msi)
|
|
1277
|
-
@rpm = args[:rpm] if args.key?(:rpm)
|
|
1278
|
-
@yum = args[:yum] if args.key?(:yum)
|
|
1279
|
-
@zypper = args[:zypper] if args.key?(:zypper)
|
|
1280
|
-
end
|
|
1281
|
-
end
|
|
1282
|
-
|
|
1283
|
-
# A package managed by APT. install: `apt-get update && apt-get -y install [name]
|
|
1284
|
-
# ` remove: `apt-get -y remove [name]`
|
|
1285
|
-
class PackageResourceApt
|
|
1286
|
-
include Google::Apis::Core::Hashable
|
|
1287
|
-
|
|
1288
|
-
# Package name.
|
|
1289
|
-
# Corresponds to the JSON property `name`
|
|
1290
|
-
# @return [String]
|
|
1291
|
-
attr_accessor :name
|
|
1292
|
-
|
|
1293
|
-
def initialize(**args)
|
|
1294
|
-
update!(**args)
|
|
1295
|
-
end
|
|
1296
|
-
|
|
1297
|
-
# Update properties of this object
|
|
1298
|
-
def update!(**args)
|
|
1299
|
-
@name = args[:name] if args.key?(:name)
|
|
1300
|
-
end
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
# A deb package file. dpkg packages only support INSTALLED state.
|
|
1304
|
-
class PackageResourceDeb
|
|
1305
|
-
include Google::Apis::Core::Hashable
|
|
1306
|
-
|
|
1307
|
-
# Whether dependencies should also be installed. install when false: `dpkg -i
|
|
1308
|
-
# package` install when true: `apt-get update && apt-get -y install package.deb`
|
|
1309
|
-
# Corresponds to the JSON property `pullDeps`
|
|
1310
|
-
# @return [Boolean]
|
|
1311
|
-
attr_accessor :pull_deps
|
|
1312
|
-
alias_method :pull_deps?, :pull_deps
|
|
1313
|
-
|
|
1314
|
-
# A remote or local file.
|
|
1315
|
-
# Corresponds to the JSON property `source`
|
|
1316
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
1317
|
-
attr_accessor :source
|
|
1318
|
-
|
|
1319
|
-
def initialize(**args)
|
|
1320
|
-
update!(**args)
|
|
1321
|
-
end
|
|
1322
|
-
|
|
1323
|
-
# Update properties of this object
|
|
1324
|
-
def update!(**args)
|
|
1325
|
-
@pull_deps = args[:pull_deps] if args.key?(:pull_deps)
|
|
1326
|
-
@source = args[:source] if args.key?(:source)
|
|
1327
|
-
end
|
|
1328
|
-
end
|
|
1329
|
-
|
|
1330
|
-
# A package managed by GooGet. install: `googet -noconfirm install package`
|
|
1331
|
-
# remove: `googet -noconfirm remove package`
|
|
1332
|
-
class PackageResourceGooGet
|
|
1333
|
-
include Google::Apis::Core::Hashable
|
|
1334
|
-
|
|
1335
|
-
# Package name.
|
|
1336
|
-
# Corresponds to the JSON property `name`
|
|
1337
|
-
# @return [String]
|
|
1338
|
-
attr_accessor :name
|
|
1339
|
-
|
|
1340
|
-
def initialize(**args)
|
|
1341
|
-
update!(**args)
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
|
-
# Update properties of this object
|
|
1345
|
-
def update!(**args)
|
|
1346
|
-
@name = args[:name] if args.key?(:name)
|
|
1347
|
-
end
|
|
1348
|
-
end
|
|
1349
|
-
|
|
1350
|
-
# An MSI package. MSI packages only support INSTALLED state. Install msiexec /i /
|
|
1351
|
-
# qn /norestart
|
|
1352
|
-
class PackageResourceMsi
|
|
1353
|
-
include Google::Apis::Core::Hashable
|
|
1354
|
-
|
|
1355
|
-
# Return codes that indicate that the software installed or updated successfully.
|
|
1356
|
-
# Behaviour defaults to [0]
|
|
1357
|
-
# Corresponds to the JSON property `allowedSuccessCodes`
|
|
1358
|
-
# @return [Array<Fixnum>]
|
|
1359
|
-
attr_accessor :allowed_success_codes
|
|
1360
|
-
|
|
1361
|
-
# Flags to use during package install. Appended to the defalts of "/i /qn /
|
|
1362
|
-
# norestart"
|
|
1363
|
-
# Corresponds to the JSON property `flags`
|
|
1364
|
-
# @return [Array<String>]
|
|
1365
|
-
attr_accessor :flags
|
|
1366
|
-
|
|
1367
|
-
# A remote or local file.
|
|
1368
|
-
# Corresponds to the JSON property `source`
|
|
1369
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
1370
|
-
attr_accessor :source
|
|
1371
|
-
|
|
1372
|
-
def initialize(**args)
|
|
1373
|
-
update!(**args)
|
|
1374
|
-
end
|
|
1375
|
-
|
|
1376
|
-
# Update properties of this object
|
|
1377
|
-
def update!(**args)
|
|
1378
|
-
@allowed_success_codes = args[:allowed_success_codes] if args.key?(:allowed_success_codes)
|
|
1379
|
-
@flags = args[:flags] if args.key?(:flags)
|
|
1380
|
-
@source = args[:source] if args.key?(:source)
|
|
1381
|
-
end
|
|
1382
|
-
end
|
|
1383
|
-
|
|
1384
|
-
# An RPM package file. RPM packages only support INSTALLED state.
|
|
1385
|
-
class PackageResourceRpm
|
|
1386
|
-
include Google::Apis::Core::Hashable
|
|
1387
|
-
|
|
1388
|
-
# Whether dependencies should also be installed. install when false: `rpm --
|
|
1389
|
-
# upgrade --replacepkgs package.rpm` install when true: `yum -y install package.
|
|
1390
|
-
# rpm` or `zypper -y install package.rpm`
|
|
1391
|
-
# Corresponds to the JSON property `pullDeps`
|
|
1392
|
-
# @return [Boolean]
|
|
1393
|
-
attr_accessor :pull_deps
|
|
1394
|
-
alias_method :pull_deps?, :pull_deps
|
|
1395
|
-
|
|
1396
|
-
# A remote or local file.
|
|
1397
|
-
# Corresponds to the JSON property `source`
|
|
1398
|
-
# @return [Google::Apis::OsconfigV1beta::File]
|
|
1399
|
-
attr_accessor :source
|
|
1400
|
-
|
|
1401
|
-
def initialize(**args)
|
|
1402
|
-
update!(**args)
|
|
1403
|
-
end
|
|
1404
|
-
|
|
1405
|
-
# Update properties of this object
|
|
1406
|
-
def update!(**args)
|
|
1407
|
-
@pull_deps = args[:pull_deps] if args.key?(:pull_deps)
|
|
1408
|
-
@source = args[:source] if args.key?(:source)
|
|
1409
|
-
end
|
|
1410
|
-
end
|
|
1411
|
-
|
|
1412
|
-
# A package managed by YUM. install: `yum -y install package` remove: `yum -y
|
|
1413
|
-
# remove package`
|
|
1414
|
-
class PackageResourceYum
|
|
1415
|
-
include Google::Apis::Core::Hashable
|
|
1416
|
-
|
|
1417
|
-
# Package name.
|
|
1418
|
-
# Corresponds to the JSON property `name`
|
|
1419
|
-
# @return [String]
|
|
1420
|
-
attr_accessor :name
|
|
1421
|
-
|
|
1422
|
-
def initialize(**args)
|
|
1423
|
-
update!(**args)
|
|
1424
|
-
end
|
|
1425
|
-
|
|
1426
|
-
# Update properties of this object
|
|
1427
|
-
def update!(**args)
|
|
1428
|
-
@name = args[:name] if args.key?(:name)
|
|
1429
|
-
end
|
|
1430
|
-
end
|
|
1431
|
-
|
|
1432
|
-
# A package managed by Zypper. install: `zypper -y install package` remove: `
|
|
1433
|
-
# zypper -y rm package`
|
|
1434
|
-
class PackageResourceZypper
|
|
1435
|
-
include Google::Apis::Core::Hashable
|
|
1436
|
-
|
|
1437
|
-
# Package name.
|
|
1438
|
-
# Corresponds to the JSON property `name`
|
|
1439
|
-
# @return [String]
|
|
1440
|
-
attr_accessor :name
|
|
1441
|
-
|
|
1442
|
-
def initialize(**args)
|
|
1443
|
-
update!(**args)
|
|
1444
|
-
end
|
|
1445
|
-
|
|
1446
|
-
# Update properties of this object
|
|
1447
|
-
def update!(**args)
|
|
1448
|
-
@name = args[:name] if args.key?(:name)
|
|
1449
|
-
end
|
|
1450
|
-
end
|
|
1451
|
-
|
|
1452
954
|
# Patch configuration specifications. Contains details on how to apply the patch(
|
|
1453
955
|
# es) to a VM instance.
|
|
1454
956
|
class PatchConfig
|
|
@@ -2059,212 +1561,6 @@ module Google
|
|
|
2059
1561
|
end
|
|
2060
1562
|
end
|
|
2061
1563
|
|
|
2062
|
-
# A resource that manages a package repository.
|
|
2063
|
-
class RepositoryResource
|
|
2064
|
-
include Google::Apis::Core::Hashable
|
|
2065
|
-
|
|
2066
|
-
# Represents a single apt package repository. These will be added to a repo file
|
|
2067
|
-
# that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
|
|
2068
|
-
# Corresponds to the JSON property `apt`
|
|
2069
|
-
# @return [Google::Apis::OsconfigV1beta::RepositoryResourceAptRepository]
|
|
2070
|
-
attr_accessor :apt
|
|
2071
|
-
|
|
2072
|
-
# Represents a Goo package repository. These will be added to a repo file that
|
|
2073
|
-
# will be managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
|
|
2074
|
-
# Corresponds to the JSON property `goo`
|
|
2075
|
-
# @return [Google::Apis::OsconfigV1beta::RepositoryResourceGooRepository]
|
|
2076
|
-
attr_accessor :goo
|
|
2077
|
-
|
|
2078
|
-
# Represents a single yum package repository. These will be added to a repo file
|
|
2079
|
-
# that will be managed at /etc/yum.repos.d/google_osconfig.repo.
|
|
2080
|
-
# Corresponds to the JSON property `yum`
|
|
2081
|
-
# @return [Google::Apis::OsconfigV1beta::RepositoryResourceYumRepository]
|
|
2082
|
-
attr_accessor :yum
|
|
2083
|
-
|
|
2084
|
-
# Represents a single zypper package repository. These will be added to a repo
|
|
2085
|
-
# file that will be managed at /etc/zypp/repos.d/google_osconfig.repo.
|
|
2086
|
-
# Corresponds to the JSON property `zypper`
|
|
2087
|
-
# @return [Google::Apis::OsconfigV1beta::RepositoryResourceZypperRepository]
|
|
2088
|
-
attr_accessor :zypper
|
|
2089
|
-
|
|
2090
|
-
def initialize(**args)
|
|
2091
|
-
update!(**args)
|
|
2092
|
-
end
|
|
2093
|
-
|
|
2094
|
-
# Update properties of this object
|
|
2095
|
-
def update!(**args)
|
|
2096
|
-
@apt = args[:apt] if args.key?(:apt)
|
|
2097
|
-
@goo = args[:goo] if args.key?(:goo)
|
|
2098
|
-
@yum = args[:yum] if args.key?(:yum)
|
|
2099
|
-
@zypper = args[:zypper] if args.key?(:zypper)
|
|
2100
|
-
end
|
|
2101
|
-
end
|
|
2102
|
-
|
|
2103
|
-
# Represents a single apt package repository. These will be added to a repo file
|
|
2104
|
-
# that will be managed at /etc/apt/sources.list.d/google_osconfig.list.
|
|
2105
|
-
class RepositoryResourceAptRepository
|
|
2106
|
-
include Google::Apis::Core::Hashable
|
|
2107
|
-
|
|
2108
|
-
# Type of archive files in this repository. The default behavior is DEB.
|
|
2109
|
-
# Corresponds to the JSON property `archiveType`
|
|
2110
|
-
# @return [String]
|
|
2111
|
-
attr_accessor :archive_type
|
|
2112
|
-
|
|
2113
|
-
# List of components for this repository. Must contain at least one item.
|
|
2114
|
-
# Corresponds to the JSON property `components`
|
|
2115
|
-
# @return [Array<String>]
|
|
2116
|
-
attr_accessor :components
|
|
2117
|
-
|
|
2118
|
-
# Distribution of this repository.
|
|
2119
|
-
# Corresponds to the JSON property `distribution`
|
|
2120
|
-
# @return [String]
|
|
2121
|
-
attr_accessor :distribution
|
|
2122
|
-
|
|
2123
|
-
# URI of the key file for this repository. The agent will maintain a keyring at /
|
|
2124
|
-
# etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg.
|
|
2125
|
-
# Corresponds to the JSON property `gpgKey`
|
|
2126
|
-
# @return [String]
|
|
2127
|
-
attr_accessor :gpg_key
|
|
2128
|
-
|
|
2129
|
-
# URI for this repository.
|
|
2130
|
-
# Corresponds to the JSON property `uri`
|
|
2131
|
-
# @return [String]
|
|
2132
|
-
attr_accessor :uri
|
|
2133
|
-
|
|
2134
|
-
def initialize(**args)
|
|
2135
|
-
update!(**args)
|
|
2136
|
-
end
|
|
2137
|
-
|
|
2138
|
-
# Update properties of this object
|
|
2139
|
-
def update!(**args)
|
|
2140
|
-
@archive_type = args[:archive_type] if args.key?(:archive_type)
|
|
2141
|
-
@components = args[:components] if args.key?(:components)
|
|
2142
|
-
@distribution = args[:distribution] if args.key?(:distribution)
|
|
2143
|
-
@gpg_key = args[:gpg_key] if args.key?(:gpg_key)
|
|
2144
|
-
@uri = args[:uri] if args.key?(:uri)
|
|
2145
|
-
end
|
|
2146
|
-
end
|
|
2147
|
-
|
|
2148
|
-
# Represents a Goo package repository. These will be added to a repo file that
|
|
2149
|
-
# will be managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.
|
|
2150
|
-
class RepositoryResourceGooRepository
|
|
2151
|
-
include Google::Apis::Core::Hashable
|
|
2152
|
-
|
|
2153
|
-
# The name of the repository.
|
|
2154
|
-
# Corresponds to the JSON property `name`
|
|
2155
|
-
# @return [String]
|
|
2156
|
-
attr_accessor :name
|
|
2157
|
-
|
|
2158
|
-
# The url of the repository.
|
|
2159
|
-
# Corresponds to the JSON property `url`
|
|
2160
|
-
# @return [String]
|
|
2161
|
-
attr_accessor :url
|
|
2162
|
-
|
|
2163
|
-
def initialize(**args)
|
|
2164
|
-
update!(**args)
|
|
2165
|
-
end
|
|
2166
|
-
|
|
2167
|
-
# Update properties of this object
|
|
2168
|
-
def update!(**args)
|
|
2169
|
-
@name = args[:name] if args.key?(:name)
|
|
2170
|
-
@url = args[:url] if args.key?(:url)
|
|
2171
|
-
end
|
|
2172
|
-
end
|
|
2173
|
-
|
|
2174
|
-
# Represents a single yum package repository. These will be added to a repo file
|
|
2175
|
-
# that will be managed at /etc/yum.repos.d/google_osconfig.repo.
|
|
2176
|
-
class RepositoryResourceYumRepository
|
|
2177
|
-
include Google::Apis::Core::Hashable
|
|
2178
|
-
|
|
2179
|
-
# The location of the repository directory.
|
|
2180
|
-
# Corresponds to the JSON property `baseUrl`
|
|
2181
|
-
# @return [String]
|
|
2182
|
-
attr_accessor :base_url
|
|
2183
|
-
|
|
2184
|
-
# The display name of the repository.
|
|
2185
|
-
# Corresponds to the JSON property `displayName`
|
|
2186
|
-
# @return [String]
|
|
2187
|
-
attr_accessor :display_name
|
|
2188
|
-
|
|
2189
|
-
# URIs of GPG keys.
|
|
2190
|
-
# Corresponds to the JSON property `gpgKeys`
|
|
2191
|
-
# @return [Array<String>]
|
|
2192
|
-
attr_accessor :gpg_keys
|
|
2193
|
-
|
|
2194
|
-
# A one word, unique name for this repository. This will be the `repo id` in the
|
|
2195
|
-
# yum config file and also the `display_name` if `display_name` is omitted. This
|
|
2196
|
-
# id is also used as the unique identifier when checking for resource conflicts.
|
|
2197
|
-
# Corresponds to the JSON property `id`
|
|
2198
|
-
# @return [String]
|
|
2199
|
-
attr_accessor :id
|
|
2200
|
-
|
|
2201
|
-
def initialize(**args)
|
|
2202
|
-
update!(**args)
|
|
2203
|
-
end
|
|
2204
|
-
|
|
2205
|
-
# Update properties of this object
|
|
2206
|
-
def update!(**args)
|
|
2207
|
-
@base_url = args[:base_url] if args.key?(:base_url)
|
|
2208
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2209
|
-
@gpg_keys = args[:gpg_keys] if args.key?(:gpg_keys)
|
|
2210
|
-
@id = args[:id] if args.key?(:id)
|
|
2211
|
-
end
|
|
2212
|
-
end
|
|
2213
|
-
|
|
2214
|
-
# Represents a single zypper package repository. These will be added to a repo
|
|
2215
|
-
# file that will be managed at /etc/zypp/repos.d/google_osconfig.repo.
|
|
2216
|
-
class RepositoryResourceZypperRepository
|
|
2217
|
-
include Google::Apis::Core::Hashable
|
|
2218
|
-
|
|
2219
|
-
# The location of the repository directory.
|
|
2220
|
-
# Corresponds to the JSON property `baseUrl`
|
|
2221
|
-
# @return [String]
|
|
2222
|
-
attr_accessor :base_url
|
|
2223
|
-
|
|
2224
|
-
# The display name of the repository.
|
|
2225
|
-
# Corresponds to the JSON property `displayName`
|
|
2226
|
-
# @return [String]
|
|
2227
|
-
attr_accessor :display_name
|
|
2228
|
-
|
|
2229
|
-
# URIs of GPG keys.
|
|
2230
|
-
# Corresponds to the JSON property `gpgKeys`
|
|
2231
|
-
# @return [Array<String>]
|
|
2232
|
-
attr_accessor :gpg_keys
|
|
2233
|
-
|
|
2234
|
-
# A one word, unique name for this repository. This will be the `repo id` in the
|
|
2235
|
-
# zypper config file and also the `display_name` if `display_name` is omitted.
|
|
2236
|
-
# This id is also used as the unique identifier when checking for GuestPolicy
|
|
2237
|
-
# conflicts.
|
|
2238
|
-
# Corresponds to the JSON property `id`
|
|
2239
|
-
# @return [String]
|
|
2240
|
-
attr_accessor :id
|
|
2241
|
-
|
|
2242
|
-
def initialize(**args)
|
|
2243
|
-
update!(**args)
|
|
2244
|
-
end
|
|
2245
|
-
|
|
2246
|
-
# Update properties of this object
|
|
2247
|
-
def update!(**args)
|
|
2248
|
-
@base_url = args[:base_url] if args.key?(:base_url)
|
|
2249
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2250
|
-
@gpg_keys = args[:gpg_keys] if args.key?(:gpg_keys)
|
|
2251
|
-
@id = args[:id] if args.key?(:id)
|
|
2252
|
-
end
|
|
2253
|
-
end
|
|
2254
|
-
|
|
2255
|
-
# A resource that manages a system service.
|
|
2256
|
-
class ServiceResource
|
|
2257
|
-
include Google::Apis::Core::Hashable
|
|
2258
|
-
|
|
2259
|
-
def initialize(**args)
|
|
2260
|
-
update!(**args)
|
|
2261
|
-
end
|
|
2262
|
-
|
|
2263
|
-
# Update properties of this object
|
|
2264
|
-
def update!(**args)
|
|
2265
|
-
end
|
|
2266
|
-
end
|
|
2267
|
-
|
|
2268
1564
|
# A software recipe is a set of instructions for installing and configuring a
|
|
2269
1565
|
# piece of software. It consists of a set of artifacts that are downloaded, and
|
|
2270
1566
|
# a set of steps that install, configure, and/or update the software. Recipes
|