google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -268,6 +268,12 @@ module Google
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
+
class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
271
277
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
@@ -677,6 +683,7 @@ module Google
|
|
677
683
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
678
684
|
property :region, as: 'region'
|
679
685
|
property :requested_address, as: 'requestedAddress'
|
686
|
+
collection :requested_ranges, as: 'requestedRanges'
|
680
687
|
collection :secondary_ip_range_specs, as: 'secondaryIpRangeSpecs', class: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec::Representation
|
681
688
|
|
682
689
|
property :subnetwork, as: 'subnetwork'
|
@@ -811,7 +818,8 @@ module Google
|
|
811
818
|
property :producer_import_custom_routes, as: 'producerImportCustomRoutes'
|
812
819
|
property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp'
|
813
820
|
property :producer_network, as: 'producerNetwork'
|
814
|
-
collection :reserved_ranges, as: 'reservedRanges'
|
821
|
+
collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation
|
822
|
+
|
815
823
|
end
|
816
824
|
end
|
817
825
|
|
@@ -997,6 +1005,15 @@ module Google
|
|
997
1005
|
end
|
998
1006
|
end
|
999
1007
|
|
1008
|
+
class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
|
1009
|
+
# @private
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
|
+
property :address, as: 'address'
|
1012
|
+
property :ip_prefix_length, as: 'ipPrefixLength'
|
1013
|
+
property :name, as: 'name'
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
1000
1017
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
1001
1018
|
# @private
|
1002
1019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1292,6 +1309,7 @@ module Google
|
|
1292
1309
|
# @private
|
1293
1310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1294
1311
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
1312
|
+
collection :requested_ranges, as: 'requestedRanges'
|
1295
1313
|
collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
|
1296
1314
|
end
|
1297
1315
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201117'
|
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'
|
@@ -748,10 +748,10 @@ module Google
|
|
748
748
|
# @return [String]
|
749
749
|
attr_accessor :producer_network
|
750
750
|
|
751
|
-
# Output only. The
|
752
|
-
#
|
751
|
+
# Output only. The reserved ranges associated with this private service access
|
752
|
+
# connection.
|
753
753
|
# Corresponds to the JSON property `reservedRanges`
|
754
|
-
# @return [Array<
|
754
|
+
# @return [Array<Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>]
|
755
755
|
attr_accessor :reserved_ranges
|
756
756
|
|
757
757
|
def initialize(**args)
|
@@ -1374,6 +1374,39 @@ module Google
|
|
1374
1374
|
end
|
1375
1375
|
end
|
1376
1376
|
|
1377
|
+
# Allocated IP address ranges for this private service access connection.
|
1378
|
+
class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
|
1379
|
+
include Google::Apis::Core::Hashable
|
1380
|
+
|
1381
|
+
# The starting address of the reserved range. The address must be a valid IPv4
|
1382
|
+
# address in the x.x.x.x format. This value combined with the IP prefix length
|
1383
|
+
# is the CIDR range for the reserved range.
|
1384
|
+
# Corresponds to the JSON property `address`
|
1385
|
+
# @return [String]
|
1386
|
+
attr_accessor :address
|
1387
|
+
|
1388
|
+
# The prefix length of the reserved range.
|
1389
|
+
# Corresponds to the JSON property `ipPrefixLength`
|
1390
|
+
# @return [Fixnum]
|
1391
|
+
attr_accessor :ip_prefix_length
|
1392
|
+
|
1393
|
+
# The name of the reserved range.
|
1394
|
+
# Corresponds to the JSON property `name`
|
1395
|
+
# @return [String]
|
1396
|
+
attr_accessor :name
|
1397
|
+
|
1398
|
+
def initialize(**args)
|
1399
|
+
update!(**args)
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
# Update properties of this object
|
1403
|
+
def update!(**args)
|
1404
|
+
@address = args[:address] if args.key?(:address)
|
1405
|
+
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
1406
|
+
@name = args[:name] if args.key?(:name)
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1377
1410
|
# Represents a subnet that was created or discovered by a private access
|
1378
1411
|
# management service.
|
1379
1412
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
@@ -220,6 +220,12 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
223
229
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
@@ -667,7 +673,8 @@ module Google
|
|
667
673
|
property :producer_import_custom_routes, as: 'producerImportCustomRoutes'
|
668
674
|
property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp'
|
669
675
|
property :producer_network, as: 'producerNetwork'
|
670
|
-
collection :reserved_ranges, as: 'reservedRanges'
|
676
|
+
collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation
|
677
|
+
|
671
678
|
end
|
672
679
|
end
|
673
680
|
|
@@ -826,6 +833,15 @@ module Google
|
|
826
833
|
end
|
827
834
|
end
|
828
835
|
|
836
|
+
class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
|
837
|
+
# @private
|
838
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
839
|
+
property :address, as: 'address'
|
840
|
+
property :ip_prefix_length, as: 'ipPrefixLength'
|
841
|
+
property :name, as: 'name'
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
829
845
|
class GoogleCloudServicenetworkingV1betaSubnetwork
|
830
846
|
# @private
|
831
847
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/sheets/
|
26
26
|
module SheetsV4
|
27
27
|
VERSION = 'V4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201130'
|
29
29
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -1191,16 +1191,34 @@ module Google
|
|
1191
1191
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
1192
1192
|
attr_accessor :color_style
|
1193
1193
|
|
1194
|
+
# Settings for one set of data labels. Data labels are annotations that appear
|
1195
|
+
# next to a set of data, such as the points on a line chart, and provide
|
1196
|
+
# additional information about what the data represents, such as a text
|
1197
|
+
# representation of the value behind that point on the graph.
|
1198
|
+
# Corresponds to the JSON property `dataLabel`
|
1199
|
+
# @return [Google::Apis::SheetsV4::DataLabel]
|
1200
|
+
attr_accessor :data_label
|
1201
|
+
|
1194
1202
|
# Properties that describe the style of a line.
|
1195
1203
|
# Corresponds to the JSON property `lineStyle`
|
1196
1204
|
# @return [Google::Apis::SheetsV4::LineStyle]
|
1197
1205
|
attr_accessor :line_style
|
1198
1206
|
|
1207
|
+
# The style of a point on the chart.
|
1208
|
+
# Corresponds to the JSON property `pointStyle`
|
1209
|
+
# @return [Google::Apis::SheetsV4::PointStyle]
|
1210
|
+
attr_accessor :point_style
|
1211
|
+
|
1199
1212
|
# The data included in a domain or series.
|
1200
1213
|
# Corresponds to the JSON property `series`
|
1201
1214
|
# @return [Google::Apis::SheetsV4::ChartData]
|
1202
1215
|
attr_accessor :series
|
1203
1216
|
|
1217
|
+
# Style override settings for series data points.
|
1218
|
+
# Corresponds to the JSON property `styleOverrides`
|
1219
|
+
# @return [Array<Google::Apis::SheetsV4::BasicSeriesDataPointStyleOverride>]
|
1220
|
+
attr_accessor :style_overrides
|
1221
|
+
|
1204
1222
|
# The minor axis that will specify the range of values for this series. For
|
1205
1223
|
# example, if charting stocks over time, the "Volume" series may want to be
|
1206
1224
|
# pinned to the right with the prices pinned to the left, because the scale of
|
@@ -1225,8 +1243,11 @@ module Google
|
|
1225
1243
|
def update!(**args)
|
1226
1244
|
@color = args[:color] if args.key?(:color)
|
1227
1245
|
@color_style = args[:color_style] if args.key?(:color_style)
|
1246
|
+
@data_label = args[:data_label] if args.key?(:data_label)
|
1228
1247
|
@line_style = args[:line_style] if args.key?(:line_style)
|
1248
|
+
@point_style = args[:point_style] if args.key?(:point_style)
|
1229
1249
|
@series = args[:series] if args.key?(:series)
|
1250
|
+
@style_overrides = args[:style_overrides] if args.key?(:style_overrides)
|
1230
1251
|
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
1231
1252
|
@type = args[:type] if args.key?(:type)
|
1232
1253
|
end
|
@@ -1303,6 +1324,14 @@ module Google
|
|
1303
1324
|
attr_accessor :three_dimensional
|
1304
1325
|
alias_method :three_dimensional?, :three_dimensional
|
1305
1326
|
|
1327
|
+
# Settings for one set of data labels. Data labels are annotations that appear
|
1328
|
+
# next to a set of data, such as the points on a line chart, and provide
|
1329
|
+
# additional information about what the data represents, such as a text
|
1330
|
+
# representation of the value behind that point on the graph.
|
1331
|
+
# Corresponds to the JSON property `totalDataLabel`
|
1332
|
+
# @return [Google::Apis::SheetsV4::DataLabel]
|
1333
|
+
attr_accessor :total_data_label
|
1334
|
+
|
1306
1335
|
def initialize(**args)
|
1307
1336
|
update!(**args)
|
1308
1337
|
end
|
@@ -1320,6 +1349,7 @@ module Google
|
|
1320
1349
|
@series = args[:series] if args.key?(:series)
|
1321
1350
|
@stacked_type = args[:stacked_type] if args.key?(:stacked_type)
|
1322
1351
|
@three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional)
|
1352
|
+
@total_data_label = args[:total_data_label] if args.key?(:total_data_label)
|
1323
1353
|
end
|
1324
1354
|
end
|
1325
1355
|
|
@@ -1377,6 +1407,87 @@ module Google
|
|
1377
1407
|
end
|
1378
1408
|
end
|
1379
1409
|
|
1410
|
+
# Style override settings for a single series data point.
|
1411
|
+
class BasicSeriesDataPointStyleOverride
|
1412
|
+
include Google::Apis::Core::Hashable
|
1413
|
+
|
1414
|
+
# Represents a color in the RGBA color space. This representation is designed
|
1415
|
+
# for simplicity of conversion to/from color representations in various
|
1416
|
+
# languages over compactness; for example, the fields of this representation can
|
1417
|
+
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
1418
|
+
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
1419
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
1420
|
+
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
1421
|
+
# information about the absolute color space that should be used to interpret
|
1422
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
1423
|
+
# applications SHOULD assume the sRGB color space. Note: when color equality
|
1424
|
+
# needs to be decided, implementations, unless documented otherwise, will treat
|
1425
|
+
# two colors to be equal if all their red, green, blue and alpha values each
|
1426
|
+
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
1427
|
+
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
1428
|
+
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
1429
|
+
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
1430
|
+
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
1431
|
+
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
1432
|
+
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
1433
|
+
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
1434
|
+
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
1435
|
+
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
1436
|
+
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
1437
|
+
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
1438
|
+
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
1439
|
+
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
1440
|
+
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
1441
|
+
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
1442
|
+
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
1443
|
+
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
1444
|
+
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
1445
|
+
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
1446
|
+
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
1447
|
+
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
1448
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
1449
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
1450
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
1451
|
+
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
1452
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
1453
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
1454
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
1455
|
+
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
1456
|
+
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
1457
|
+
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
1458
|
+
# join(''); `; // ...
|
1459
|
+
# Corresponds to the JSON property `color`
|
1460
|
+
# @return [Google::Apis::SheetsV4::Color]
|
1461
|
+
attr_accessor :color
|
1462
|
+
|
1463
|
+
# A color value.
|
1464
|
+
# Corresponds to the JSON property `colorStyle`
|
1465
|
+
# @return [Google::Apis::SheetsV4::ColorStyle]
|
1466
|
+
attr_accessor :color_style
|
1467
|
+
|
1468
|
+
# Zero based index of the series data point.
|
1469
|
+
# Corresponds to the JSON property `index`
|
1470
|
+
# @return [Fixnum]
|
1471
|
+
attr_accessor :index
|
1472
|
+
|
1473
|
+
# The style of a point on the chart.
|
1474
|
+
# Corresponds to the JSON property `pointStyle`
|
1475
|
+
# @return [Google::Apis::SheetsV4::PointStyle]
|
1476
|
+
attr_accessor :point_style
|
1477
|
+
|
1478
|
+
def initialize(**args)
|
1479
|
+
update!(**args)
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Update properties of this object
|
1483
|
+
def update!(**args)
|
1484
|
+
@color = args[:color] if args.key?(:color)
|
1485
|
+
@color_style = args[:color_style] if args.key?(:color_style)
|
1486
|
+
@index = args[:index] if args.key?(:index)
|
1487
|
+
@point_style = args[:point_style] if args.key?(:point_style)
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1380
1491
|
# The request for clearing more than one range selected by a DataFilter in a
|
1381
1492
|
# spreadsheet.
|
1382
1493
|
class BatchClearValuesByDataFilterRequest
|
@@ -3603,6 +3714,47 @@ module Google
|
|
3603
3714
|
end
|
3604
3715
|
end
|
3605
3716
|
|
3717
|
+
# Settings for one set of data labels. Data labels are annotations that appear
|
3718
|
+
# next to a set of data, such as the points on a line chart, and provide
|
3719
|
+
# additional information about what the data represents, such as a text
|
3720
|
+
# representation of the value behind that point on the graph.
|
3721
|
+
class DataLabel
|
3722
|
+
include Google::Apis::Core::Hashable
|
3723
|
+
|
3724
|
+
# The data included in a domain or series.
|
3725
|
+
# Corresponds to the JSON property `customLabelData`
|
3726
|
+
# @return [Google::Apis::SheetsV4::ChartData]
|
3727
|
+
attr_accessor :custom_label_data
|
3728
|
+
|
3729
|
+
# The placement of the data label relative to the labeled data.
|
3730
|
+
# Corresponds to the JSON property `placement`
|
3731
|
+
# @return [String]
|
3732
|
+
attr_accessor :placement
|
3733
|
+
|
3734
|
+
# The format of a run of text in a cell. Absent values indicate that the field
|
3735
|
+
# isn't specified.
|
3736
|
+
# Corresponds to the JSON property `textFormat`
|
3737
|
+
# @return [Google::Apis::SheetsV4::TextFormat]
|
3738
|
+
attr_accessor :text_format
|
3739
|
+
|
3740
|
+
# The type of the data label.
|
3741
|
+
# Corresponds to the JSON property `type`
|
3742
|
+
# @return [String]
|
3743
|
+
attr_accessor :type
|
3744
|
+
|
3745
|
+
def initialize(**args)
|
3746
|
+
update!(**args)
|
3747
|
+
end
|
3748
|
+
|
3749
|
+
# Update properties of this object
|
3750
|
+
def update!(**args)
|
3751
|
+
@custom_label_data = args[:custom_label_data] if args.key?(:custom_label_data)
|
3752
|
+
@placement = args[:placement] if args.key?(:placement)
|
3753
|
+
@text_format = args[:text_format] if args.key?(:text_format)
|
3754
|
+
@type = args[:type] if args.key?(:type)
|
3755
|
+
end
|
3756
|
+
end
|
3757
|
+
|
3606
3758
|
# Information about an external data source in the spreadsheet.
|
3607
3759
|
class DataSource
|
3608
3760
|
include Google::Apis::Core::Hashable
|
@@ -5050,6 +5202,11 @@ module Google
|
|
5050
5202
|
class EmbeddedChart
|
5051
5203
|
include Google::Apis::Core::Hashable
|
5052
5204
|
|
5205
|
+
# A border along an embedded object.
|
5206
|
+
# Corresponds to the JSON property `border`
|
5207
|
+
# @return [Google::Apis::SheetsV4::EmbeddedObjectBorder]
|
5208
|
+
attr_accessor :border
|
5209
|
+
|
5053
5210
|
# The ID of the chart.
|
5054
5211
|
# Corresponds to the JSON property `chartId`
|
5055
5212
|
# @return [Fixnum]
|
@@ -5071,12 +5228,82 @@ module Google
|
|
5071
5228
|
|
5072
5229
|
# Update properties of this object
|
5073
5230
|
def update!(**args)
|
5231
|
+
@border = args[:border] if args.key?(:border)
|
5074
5232
|
@chart_id = args[:chart_id] if args.key?(:chart_id)
|
5075
5233
|
@position = args[:position] if args.key?(:position)
|
5076
5234
|
@spec = args[:spec] if args.key?(:spec)
|
5077
5235
|
end
|
5078
5236
|
end
|
5079
5237
|
|
5238
|
+
# A border along an embedded object.
|
5239
|
+
class EmbeddedObjectBorder
|
5240
|
+
include Google::Apis::Core::Hashable
|
5241
|
+
|
5242
|
+
# Represents a color in the RGBA color space. This representation is designed
|
5243
|
+
# for simplicity of conversion to/from color representations in various
|
5244
|
+
# languages over compactness; for example, the fields of this representation can
|
5245
|
+
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
5246
|
+
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
5247
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5248
|
+
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
5249
|
+
# information about the absolute color space that should be used to interpret
|
5250
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
5251
|
+
# applications SHOULD assume the sRGB color space. Note: when color equality
|
5252
|
+
# needs to be decided, implementations, unless documented otherwise, will treat
|
5253
|
+
# two colors to be equal if all their red, green, blue and alpha values each
|
5254
|
+
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
5255
|
+
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
5256
|
+
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
5257
|
+
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
5258
|
+
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
5259
|
+
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
5260
|
+
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
5261
|
+
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
5262
|
+
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
5263
|
+
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
5264
|
+
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
5265
|
+
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
5266
|
+
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
5267
|
+
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
5268
|
+
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
5269
|
+
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
5270
|
+
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
5271
|
+
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
5272
|
+
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
5273
|
+
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
5274
|
+
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
5275
|
+
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
5276
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
5277
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
5278
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
5279
|
+
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
5280
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
5281
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
5282
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
5283
|
+
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
5284
|
+
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
5285
|
+
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
5286
|
+
# join(''); `; // ...
|
5287
|
+
# Corresponds to the JSON property `color`
|
5288
|
+
# @return [Google::Apis::SheetsV4::Color]
|
5289
|
+
attr_accessor :color
|
5290
|
+
|
5291
|
+
# A color value.
|
5292
|
+
# Corresponds to the JSON property `colorStyle`
|
5293
|
+
# @return [Google::Apis::SheetsV4::ColorStyle]
|
5294
|
+
attr_accessor :color_style
|
5295
|
+
|
5296
|
+
def initialize(**args)
|
5297
|
+
update!(**args)
|
5298
|
+
end
|
5299
|
+
|
5300
|
+
# Update properties of this object
|
5301
|
+
def update!(**args)
|
5302
|
+
@color = args[:color] if args.key?(:color)
|
5303
|
+
@color_style = args[:color_style] if args.key?(:color_style)
|
5304
|
+
end
|
5305
|
+
end
|
5306
|
+
|
5080
5307
|
# The position of an embedded object such as a chart.
|
5081
5308
|
class EmbeddedObjectPosition
|
5082
5309
|
include Google::Apis::Core::Hashable
|
@@ -7325,6 +7552,31 @@ module Google
|
|
7325
7552
|
end
|
7326
7553
|
end
|
7327
7554
|
|
7555
|
+
# The style of a point on the chart.
|
7556
|
+
class PointStyle
|
7557
|
+
include Google::Apis::Core::Hashable
|
7558
|
+
|
7559
|
+
# The point shape. If empty or unspecified, a default shape is used.
|
7560
|
+
# Corresponds to the JSON property `shape`
|
7561
|
+
# @return [String]
|
7562
|
+
attr_accessor :shape
|
7563
|
+
|
7564
|
+
# The point size. If empty, a default size is used.
|
7565
|
+
# Corresponds to the JSON property `size`
|
7566
|
+
# @return [Float]
|
7567
|
+
attr_accessor :size
|
7568
|
+
|
7569
|
+
def initialize(**args)
|
7570
|
+
update!(**args)
|
7571
|
+
end
|
7572
|
+
|
7573
|
+
# Update properties of this object
|
7574
|
+
def update!(**args)
|
7575
|
+
@shape = args[:shape] if args.key?(:shape)
|
7576
|
+
@size = args[:size] if args.key?(:size)
|
7577
|
+
end
|
7578
|
+
end
|
7579
|
+
|
7328
7580
|
# A protected range.
|
7329
7581
|
class ProtectedRange
|
7330
7582
|
include Google::Apis::Core::Hashable
|
@@ -7946,6 +8198,11 @@ module Google
|
|
7946
8198
|
# @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest]
|
7947
8199
|
attr_accessor :update_dimension_properties
|
7948
8200
|
|
8201
|
+
# Updates an embedded object's border property.
|
8202
|
+
# Corresponds to the JSON property `updateEmbeddedObjectBorder`
|
8203
|
+
# @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectBorderRequest]
|
8204
|
+
attr_accessor :update_embedded_object_border
|
8205
|
+
|
7949
8206
|
# Update an embedded object's position (such as a moving or resizing a chart or
|
7950
8207
|
# image).
|
7951
8208
|
# Corresponds to the JSON property `updateEmbeddedObjectPosition`
|
@@ -8046,6 +8303,7 @@ module Google
|
|
8046
8303
|
@update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata)
|
8047
8304
|
@update_dimension_group = args[:update_dimension_group] if args.key?(:update_dimension_group)
|
8048
8305
|
@update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties)
|
8306
|
+
@update_embedded_object_border = args[:update_embedded_object_border] if args.key?(:update_embedded_object_border)
|
8049
8307
|
@update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
|
8050
8308
|
@update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view)
|
8051
8309
|
@update_named_range = args[:update_named_range] if args.key?(:update_named_range)
|
@@ -10368,6 +10626,39 @@ module Google
|
|
10368
10626
|
end
|
10369
10627
|
end
|
10370
10628
|
|
10629
|
+
# Updates an embedded object's border property.
|
10630
|
+
class UpdateEmbeddedObjectBorderRequest
|
10631
|
+
include Google::Apis::Core::Hashable
|
10632
|
+
|
10633
|
+
# A border along an embedded object.
|
10634
|
+
# Corresponds to the JSON property `border`
|
10635
|
+
# @return [Google::Apis::SheetsV4::EmbeddedObjectBorder]
|
10636
|
+
attr_accessor :border
|
10637
|
+
|
10638
|
+
# The fields that should be updated. At least one field must be specified. The
|
10639
|
+
# root `border` is implied and should not be specified. A single `"*"` can be
|
10640
|
+
# used as short-hand for listing every field.
|
10641
|
+
# Corresponds to the JSON property `fields`
|
10642
|
+
# @return [String]
|
10643
|
+
attr_accessor :fields
|
10644
|
+
|
10645
|
+
# The ID of the embedded object to update.
|
10646
|
+
# Corresponds to the JSON property `objectId`
|
10647
|
+
# @return [Fixnum]
|
10648
|
+
attr_accessor :object_id_prop
|
10649
|
+
|
10650
|
+
def initialize(**args)
|
10651
|
+
update!(**args)
|
10652
|
+
end
|
10653
|
+
|
10654
|
+
# Update properties of this object
|
10655
|
+
def update!(**args)
|
10656
|
+
@border = args[:border] if args.key?(:border)
|
10657
|
+
@fields = args[:fields] if args.key?(:fields)
|
10658
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
10659
|
+
end
|
10660
|
+
end
|
10661
|
+
|
10371
10662
|
# Update an embedded object's position (such as a moving or resizing a chart or
|
10372
10663
|
# image).
|
10373
10664
|
class UpdateEmbeddedObjectPositionRequest
|
@@ -10891,6 +11182,14 @@ module Google
|
|
10891
11182
|
# @return [Google::Apis::SheetsV4::ChartData]
|
10892
11183
|
attr_accessor :data
|
10893
11184
|
|
11185
|
+
# Settings for one set of data labels. Data labels are annotations that appear
|
11186
|
+
# next to a set of data, such as the points on a line chart, and provide
|
11187
|
+
# additional information about what the data represents, such as a text
|
11188
|
+
# representation of the value behind that point on the graph.
|
11189
|
+
# Corresponds to the JSON property `dataLabel`
|
11190
|
+
# @return [Google::Apis::SheetsV4::DataLabel]
|
11191
|
+
attr_accessor :data_label
|
11192
|
+
|
10894
11193
|
# True to hide the subtotal column from the end of the series. By default, a
|
10895
11194
|
# subtotal column will appear at the end of each series. Setting this field to
|
10896
11195
|
# true will hide that subtotal column for this series.
|
@@ -10922,6 +11221,7 @@ module Google
|
|
10922
11221
|
def update!(**args)
|
10923
11222
|
@custom_subtotals = args[:custom_subtotals] if args.key?(:custom_subtotals)
|
10924
11223
|
@data = args[:data] if args.key?(:data)
|
11224
|
+
@data_label = args[:data_label] if args.key?(:data_label)
|
10925
11225
|
@hide_trailing_subtotal = args[:hide_trailing_subtotal] if args.key?(:hide_trailing_subtotal)
|
10926
11226
|
@negative_columns_style = args[:negative_columns_style] if args.key?(:negative_columns_style)
|
10927
11227
|
@positive_columns_style = args[:positive_columns_style] if args.key?(:positive_columns_style)
|
@@ -10965,6 +11265,14 @@ module Google
|
|
10965
11265
|
# @return [String]
|
10966
11266
|
attr_accessor :stacked_type
|
10967
11267
|
|
11268
|
+
# Settings for one set of data labels. Data labels are annotations that appear
|
11269
|
+
# next to a set of data, such as the points on a line chart, and provide
|
11270
|
+
# additional information about what the data represents, such as a text
|
11271
|
+
# representation of the value behind that point on the graph.
|
11272
|
+
# Corresponds to the JSON property `totalDataLabel`
|
11273
|
+
# @return [Google::Apis::SheetsV4::DataLabel]
|
11274
|
+
attr_accessor :total_data_label
|
11275
|
+
|
10968
11276
|
def initialize(**args)
|
10969
11277
|
update!(**args)
|
10970
11278
|
end
|
@@ -10977,6 +11285,7 @@ module Google
|
|
10977
11285
|
@hide_connector_lines = args[:hide_connector_lines] if args.key?(:hide_connector_lines)
|
10978
11286
|
@series = args[:series] if args.key?(:series)
|
10979
11287
|
@stacked_type = args[:stacked_type] if args.key?(:stacked_type)
|
11288
|
+
@total_data_label = args[:total_data_label] if args.key?(:total_data_label)
|
10980
11289
|
end
|
10981
11290
|
end
|
10982
11291
|
end
|