google-api-client 0.30.4 → 0.30.5
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 +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2
|
|
29
29
|
VERSION = 'V2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190629'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -42,6 +42,20 @@ module Google
|
|
|
42
42
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
|
43
43
|
attr_accessor :pub_sub
|
|
44
44
|
|
|
45
|
+
# Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
|
|
46
|
+
# results of the DlpJob will be applied to the entry for the resource scanned
|
|
47
|
+
# in Cloud Data Catalog. Any labels previously written by another DlpJob will
|
|
48
|
+
# be deleted. InfoType naming patterns are strictly enforced when using this
|
|
49
|
+
# feature. Note that the findings will be persisted in Cloud Data Catalog
|
|
50
|
+
# storage and are governed by Data Catalog service-specific policy, see
|
|
51
|
+
# https://cloud.google.com/terms/service-terms
|
|
52
|
+
# Only a single instance of this action can be specified and only allowed if
|
|
53
|
+
# all resources being scanned are BigQuery tables.
|
|
54
|
+
# Compatible with: Inspect
|
|
55
|
+
# Corresponds to the JSON property `publishFindingsToCloudDataCatalog`
|
|
56
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]
|
|
57
|
+
attr_accessor :publish_findings_to_cloud_data_catalog
|
|
58
|
+
|
|
45
59
|
# Publish the result summary of a DlpJob to the Cloud Security
|
|
46
60
|
# Command Center (CSCC Alpha).
|
|
47
61
|
# This action is only available for projects which are parts of
|
|
@@ -72,6 +86,7 @@ module Google
|
|
|
72
86
|
def update!(**args)
|
|
73
87
|
@job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails)
|
|
74
88
|
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
|
|
89
|
+
@publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog)
|
|
75
90
|
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
|
|
76
91
|
@save_findings = args[:save_findings] if args.key?(:save_findings)
|
|
77
92
|
end
|
|
@@ -1670,6 +1685,12 @@ module Google
|
|
|
1670
1685
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
|
|
1671
1686
|
attr_accessor :item
|
|
1672
1687
|
|
|
1688
|
+
# The geographic location to process de-identification. Reserved for future
|
|
1689
|
+
# extensions.
|
|
1690
|
+
# Corresponds to the JSON property `location`
|
|
1691
|
+
# @return [String]
|
|
1692
|
+
attr_accessor :location
|
|
1693
|
+
|
|
1673
1694
|
def initialize(**args)
|
|
1674
1695
|
update!(**args)
|
|
1675
1696
|
end
|
|
@@ -1681,6 +1702,7 @@ module Google
|
|
|
1681
1702
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
|
1682
1703
|
@inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name)
|
|
1683
1704
|
@item = args[:item] if args.key?(:item)
|
|
1705
|
+
@location = args[:location] if args.key?(:location)
|
|
1684
1706
|
end
|
|
1685
1707
|
end
|
|
1686
1708
|
|
|
@@ -4328,6 +4350,28 @@ module Google
|
|
|
4328
4350
|
end
|
|
4329
4351
|
end
|
|
4330
4352
|
|
|
4353
|
+
# Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
|
|
4354
|
+
# results of the DlpJob will be applied to the entry for the resource scanned
|
|
4355
|
+
# in Cloud Data Catalog. Any labels previously written by another DlpJob will
|
|
4356
|
+
# be deleted. InfoType naming patterns are strictly enforced when using this
|
|
4357
|
+
# feature. Note that the findings will be persisted in Cloud Data Catalog
|
|
4358
|
+
# storage and are governed by Data Catalog service-specific policy, see
|
|
4359
|
+
# https://cloud.google.com/terms/service-terms
|
|
4360
|
+
# Only a single instance of this action can be specified and only allowed if
|
|
4361
|
+
# all resources being scanned are BigQuery tables.
|
|
4362
|
+
# Compatible with: Inspect
|
|
4363
|
+
class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
|
|
4364
|
+
include Google::Apis::Core::Hashable
|
|
4365
|
+
|
|
4366
|
+
def initialize(**args)
|
|
4367
|
+
update!(**args)
|
|
4368
|
+
end
|
|
4369
|
+
|
|
4370
|
+
# Update properties of this object
|
|
4371
|
+
def update!(**args)
|
|
4372
|
+
end
|
|
4373
|
+
end
|
|
4374
|
+
|
|
4331
4375
|
# Publish the result summary of a DlpJob to the Cloud Security
|
|
4332
4376
|
# Command Center (CSCC Alpha).
|
|
4333
4377
|
# This action is only available for projects which are parts of
|
|
@@ -724,6 +724,12 @@ module Google
|
|
|
724
724
|
include Google::Apis::Core::JsonObjectSupport
|
|
725
725
|
end
|
|
726
726
|
|
|
727
|
+
class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
|
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
729
|
+
|
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
731
|
+
end
|
|
732
|
+
|
|
727
733
|
class GooglePrivacyDlpV2PublishSummaryToCscc
|
|
728
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
729
735
|
|
|
@@ -1073,6 +1079,8 @@ module Google
|
|
|
1073
1079
|
|
|
1074
1080
|
property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub::Representation
|
|
1075
1081
|
|
|
1082
|
+
property :publish_findings_to_cloud_data_catalog, as: 'publishFindingsToCloudDataCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog::Representation
|
|
1083
|
+
|
|
1076
1084
|
property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation
|
|
1077
1085
|
|
|
1078
1086
|
property :save_findings, as: 'saveFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings::Representation
|
|
@@ -1522,6 +1530,7 @@ module Google
|
|
|
1522
1530
|
property :inspect_template_name, as: 'inspectTemplateName'
|
|
1523
1531
|
property :item, as: 'item', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem::Representation
|
|
1524
1532
|
|
|
1533
|
+
property :location, as: 'location'
|
|
1525
1534
|
end
|
|
1526
1535
|
end
|
|
1527
1536
|
|
|
@@ -2294,6 +2303,12 @@ module Google
|
|
|
2294
2303
|
end
|
|
2295
2304
|
end
|
|
2296
2305
|
|
|
2306
|
+
class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
|
|
2307
|
+
# @private
|
|
2308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2309
|
+
end
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2297
2312
|
class GooglePrivacyDlpV2PublishSummaryToCscc
|
|
2298
2313
|
# @private
|
|
2299
2314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1669,6 +1669,49 @@ module Google
|
|
|
1669
1669
|
execute_or_queue_command(command, &block)
|
|
1670
1670
|
end
|
|
1671
1671
|
|
|
1672
|
+
# De-identifies potentially sensitive info from a ContentItem.
|
|
1673
|
+
# This method has limits on input size and output size.
|
|
1674
|
+
# See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
|
1675
|
+
# learn more.
|
|
1676
|
+
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
1677
|
+
# system will automatically choose what detectors to run. By default this may
|
|
1678
|
+
# be all types, but may change over time as detectors are updated.
|
|
1679
|
+
# @param [String] parent
|
|
1680
|
+
# The parent resource name, for example projects/my-project-id.
|
|
1681
|
+
# @param [String] location
|
|
1682
|
+
# The geographic location to process de-identification. Reserved for future
|
|
1683
|
+
# extensions.
|
|
1684
|
+
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
|
1685
|
+
# @param [String] fields
|
|
1686
|
+
# Selector specifying which fields to include in a partial response.
|
|
1687
|
+
# @param [String] quota_user
|
|
1688
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1689
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1690
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1691
|
+
# Request-specific options
|
|
1692
|
+
#
|
|
1693
|
+
# @yield [result, err] Result & error if block supplied
|
|
1694
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse] parsed result object
|
|
1695
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1696
|
+
#
|
|
1697
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse]
|
|
1698
|
+
#
|
|
1699
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1700
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1701
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1702
|
+
def deidentify_project_location_content(parent, location, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1703
|
+
command = make_simple_command(:post, 'v2/{+parent}/locations/{location}/content:deidentify', options)
|
|
1704
|
+
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation
|
|
1705
|
+
command.request_object = google_privacy_dlp_v2_deidentify_content_request_object
|
|
1706
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation
|
|
1707
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
|
|
1708
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1709
|
+
command.params['location'] = location unless location.nil?
|
|
1710
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1712
|
+
execute_or_queue_command(command, &block)
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1672
1715
|
# Creates a pre-built stored infoType to be used for inspection.
|
|
1673
1716
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
|
1674
1717
|
# learn more.
|
|
@@ -713,7 +713,7 @@ module Google
|
|
|
713
713
|
# @return [Google::Apis::DocsV1::Body]
|
|
714
714
|
attr_accessor :body
|
|
715
715
|
|
|
716
|
-
# The ID of the document.
|
|
716
|
+
# Output only. The ID of the document.
|
|
717
717
|
# Corresponds to the JSON property `documentId`
|
|
718
718
|
# @return [String]
|
|
719
719
|
attr_accessor :document_id
|
|
@@ -723,32 +723,32 @@ module Google
|
|
|
723
723
|
# @return [Google::Apis::DocsV1::DocumentStyle]
|
|
724
724
|
attr_accessor :document_style
|
|
725
725
|
|
|
726
|
-
# The footers in the document, keyed by footer ID.
|
|
726
|
+
# Output only. The footers in the document, keyed by footer ID.
|
|
727
727
|
# Corresponds to the JSON property `footers`
|
|
728
728
|
# @return [Hash<String,Google::Apis::DocsV1::Footer>]
|
|
729
729
|
attr_accessor :footers
|
|
730
730
|
|
|
731
|
-
# The footnotes in the document, keyed by footnote ID.
|
|
731
|
+
# Output only. The footnotes in the document, keyed by footnote ID.
|
|
732
732
|
# Corresponds to the JSON property `footnotes`
|
|
733
733
|
# @return [Hash<String,Google::Apis::DocsV1::Footnote>]
|
|
734
734
|
attr_accessor :footnotes
|
|
735
735
|
|
|
736
|
-
# The headers in the document, keyed by header ID.
|
|
736
|
+
# Output only. The headers in the document, keyed by header ID.
|
|
737
737
|
# Corresponds to the JSON property `headers`
|
|
738
738
|
# @return [Hash<String,Google::Apis::DocsV1::Header>]
|
|
739
739
|
attr_accessor :headers
|
|
740
740
|
|
|
741
|
-
# The inline objects in the document, keyed by object ID.
|
|
741
|
+
# Output only. The inline objects in the document, keyed by object ID.
|
|
742
742
|
# Corresponds to the JSON property `inlineObjects`
|
|
743
743
|
# @return [Hash<String,Google::Apis::DocsV1::InlineObject>]
|
|
744
744
|
attr_accessor :inline_objects
|
|
745
745
|
|
|
746
|
-
# The lists in the document, keyed by list ID.
|
|
746
|
+
# Output only. The lists in the document, keyed by list ID.
|
|
747
747
|
# Corresponds to the JSON property `lists`
|
|
748
748
|
# @return [Hash<String,Google::Apis::DocsV1::List>]
|
|
749
749
|
attr_accessor :lists
|
|
750
750
|
|
|
751
|
-
# The named ranges in the document, keyed by name.
|
|
751
|
+
# Output only. The named ranges in the document, keyed by name.
|
|
752
752
|
# Corresponds to the JSON property `namedRanges`
|
|
753
753
|
# @return [Hash<String,Google::Apis::DocsV1::NamedRanges>]
|
|
754
754
|
attr_accessor :named_ranges
|
|
@@ -760,15 +760,15 @@ module Google
|
|
|
760
760
|
# @return [Google::Apis::DocsV1::NamedStyles]
|
|
761
761
|
attr_accessor :named_styles
|
|
762
762
|
|
|
763
|
-
# The positioned objects in the document, keyed by object ID.
|
|
763
|
+
# Output only. The positioned objects in the document, keyed by object ID.
|
|
764
764
|
# Corresponds to the JSON property `positionedObjects`
|
|
765
765
|
# @return [Hash<String,Google::Apis::DocsV1::PositionedObject>]
|
|
766
766
|
attr_accessor :positioned_objects
|
|
767
767
|
|
|
768
|
-
# The revision ID of the document. Can be used in update
|
|
769
|
-
# which revision of a document to apply updates to and
|
|
770
|
-
# behave if the document has been edited since that
|
|
771
|
-
# if the user has edit access to the document.
|
|
768
|
+
# Output only. The revision ID of the document. Can be used in update
|
|
769
|
+
# requests to specify which revision of a document to apply updates to and
|
|
770
|
+
# how the request should behave if the document has been edited since that
|
|
771
|
+
# revision. Only populated if the user has edit access to the document.
|
|
772
772
|
# The format of the revision ID may change over time, so it should be treated
|
|
773
773
|
# opaquely. A returned revision ID is only guaranteed to be valid for 24
|
|
774
774
|
# hours after it has been returned and cannot be shared across users. If the
|
|
@@ -780,18 +780,19 @@ module Google
|
|
|
780
780
|
# @return [String]
|
|
781
781
|
attr_accessor :revision_id
|
|
782
782
|
|
|
783
|
-
# The suggested changes to the style of the document, keyed by
|
|
783
|
+
# Output only. The suggested changes to the style of the document, keyed by
|
|
784
|
+
# suggestion ID.
|
|
784
785
|
# Corresponds to the JSON property `suggestedDocumentStyleChanges`
|
|
785
786
|
# @return [Hash<String,Google::Apis::DocsV1::SuggestedDocumentStyle>]
|
|
786
787
|
attr_accessor :suggested_document_style_changes
|
|
787
788
|
|
|
788
|
-
# The suggested changes to the named styles of the document,
|
|
789
|
-
# suggestion ID.
|
|
789
|
+
# Output only. The suggested changes to the named styles of the document,
|
|
790
|
+
# keyed by suggestion ID.
|
|
790
791
|
# Corresponds to the JSON property `suggestedNamedStylesChanges`
|
|
791
792
|
# @return [Hash<String,Google::Apis::DocsV1::SuggestedNamedStyles>]
|
|
792
793
|
attr_accessor :suggested_named_styles_changes
|
|
793
794
|
|
|
794
|
-
# The suggestions view mode applied to the document.
|
|
795
|
+
# Output only. The suggestions view mode applied to the document.
|
|
795
796
|
# Note: When editing a document, changes must be based on a document with
|
|
796
797
|
# SUGGESTIONS_INLINE.
|
|
797
798
|
# Corresponds to the JSON property `suggestionsViewMode`
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
|
26
26
|
module FileV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190627'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -316,6 +316,11 @@ module Google
|
|
|
316
316
|
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
|
317
317
|
attr_accessor :exclusions
|
|
318
318
|
|
|
319
|
+
# The location of the node, if different from instance location.
|
|
320
|
+
# Corresponds to the JSON property `location`
|
|
321
|
+
# @return [String]
|
|
322
|
+
attr_accessor :location
|
|
323
|
+
|
|
319
324
|
# The id of the node.
|
|
320
325
|
# This should be equal to SaasInstanceNode.node_id.
|
|
321
326
|
# Corresponds to the JSON property `nodeId`
|
|
@@ -329,6 +334,7 @@ module Google
|
|
|
329
334
|
# Update properties of this object
|
|
330
335
|
def update!(**args)
|
|
331
336
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
|
337
|
+
@location = args[:location] if args.key?(:location)
|
|
332
338
|
@node_id = args[:node_id] if args.key?(:node_id)
|
|
333
339
|
end
|
|
334
340
|
end
|
|
@@ -535,8 +541,7 @@ module Google
|
|
|
535
541
|
class Instance
|
|
536
542
|
include Google::Apis::Core::Hashable
|
|
537
543
|
|
|
538
|
-
# Output only.
|
|
539
|
-
# The time when the instance was created.
|
|
544
|
+
# Output only. The time when the instance was created.
|
|
540
545
|
# Corresponds to the JSON property `createTime`
|
|
541
546
|
# @return [String]
|
|
542
547
|
attr_accessor :create_time
|
|
@@ -563,8 +568,7 @@ module Google
|
|
|
563
568
|
# @return [Hash<String,String>]
|
|
564
569
|
attr_accessor :labels
|
|
565
570
|
|
|
566
|
-
# Output only.
|
|
567
|
-
# The resource name of the instance, in the format
|
|
571
|
+
# Output only. The resource name of the instance, in the format
|
|
568
572
|
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
|
569
573
|
# Corresponds to the JSON property `name`
|
|
570
574
|
# @return [String]
|
|
@@ -576,14 +580,12 @@ module Google
|
|
|
576
580
|
# @return [Array<Google::Apis::FileV1::NetworkConfig>]
|
|
577
581
|
attr_accessor :networks
|
|
578
582
|
|
|
579
|
-
# Output only.
|
|
580
|
-
# The instance state.
|
|
583
|
+
# Output only. The instance state.
|
|
581
584
|
# Corresponds to the JSON property `state`
|
|
582
585
|
# @return [String]
|
|
583
586
|
attr_accessor :state
|
|
584
587
|
|
|
585
|
-
# Output only.
|
|
586
|
-
# Additional information about the instance state, if available.
|
|
588
|
+
# Output only. Additional information about the instance state, if available.
|
|
587
589
|
# Corresponds to the JSON property `statusMessage`
|
|
588
590
|
# @return [String]
|
|
589
591
|
attr_accessor :status_message
|
|
@@ -749,8 +751,7 @@ module Google
|
|
|
749
751
|
class NetworkConfig
|
|
750
752
|
include Google::Apis::Core::Hashable
|
|
751
753
|
|
|
752
|
-
# Output only.
|
|
753
|
-
# IPv4 addresses in the format
|
|
754
|
+
# Output only. IPv4 addresses in the format
|
|
754
755
|
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
|
|
755
756
|
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
|
|
756
757
|
# 7`:`block 8`.
|
|
@@ -199,6 +199,7 @@ module Google
|
|
|
199
199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
200
200
|
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
|
201
201
|
|
|
202
|
+
property :location, as: 'location'
|
|
202
203
|
property :node_id, as: 'nodeId'
|
|
203
204
|
end
|
|
204
205
|
end
|
|
@@ -267,8 +267,7 @@ module Google
|
|
|
267
267
|
|
|
268
268
|
# Updates the settings of a specific instance.
|
|
269
269
|
# @param [String] name
|
|
270
|
-
# Output only.
|
|
271
|
-
# The resource name of the instance, in the format
|
|
270
|
+
# Output only. The resource name of the instance, in the format
|
|
272
271
|
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
|
273
272
|
# @param [Google::Apis::FileV1::Instance] instance_object
|
|
274
273
|
# @param [String] update_mask
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
|
26
26
|
module FileV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190627'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -316,6 +316,11 @@ module Google
|
|
|
316
316
|
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
|
317
317
|
attr_accessor :exclusions
|
|
318
318
|
|
|
319
|
+
# The location of the node, if different from instance location.
|
|
320
|
+
# Corresponds to the JSON property `location`
|
|
321
|
+
# @return [String]
|
|
322
|
+
attr_accessor :location
|
|
323
|
+
|
|
319
324
|
# The id of the node.
|
|
320
325
|
# This should be equal to SaasInstanceNode.node_id.
|
|
321
326
|
# Corresponds to the JSON property `nodeId`
|
|
@@ -329,6 +334,7 @@ module Google
|
|
|
329
334
|
# Update properties of this object
|
|
330
335
|
def update!(**args)
|
|
331
336
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
|
337
|
+
@location = args[:location] if args.key?(:location)
|
|
332
338
|
@node_id = args[:node_id] if args.key?(:node_id)
|
|
333
339
|
end
|
|
334
340
|
end
|
|
@@ -535,8 +541,7 @@ module Google
|
|
|
535
541
|
class Instance
|
|
536
542
|
include Google::Apis::Core::Hashable
|
|
537
543
|
|
|
538
|
-
# Output only.
|
|
539
|
-
# The time when the instance was created.
|
|
544
|
+
# Output only. The time when the instance was created.
|
|
540
545
|
# Corresponds to the JSON property `createTime`
|
|
541
546
|
# @return [String]
|
|
542
547
|
attr_accessor :create_time
|
|
@@ -563,8 +568,7 @@ module Google
|
|
|
563
568
|
# @return [Hash<String,String>]
|
|
564
569
|
attr_accessor :labels
|
|
565
570
|
|
|
566
|
-
# Output only.
|
|
567
|
-
# The resource name of the instance, in the format
|
|
571
|
+
# Output only. The resource name of the instance, in the format
|
|
568
572
|
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
|
569
573
|
# Corresponds to the JSON property `name`
|
|
570
574
|
# @return [String]
|
|
@@ -576,14 +580,12 @@ module Google
|
|
|
576
580
|
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
|
|
577
581
|
attr_accessor :networks
|
|
578
582
|
|
|
579
|
-
# Output only.
|
|
580
|
-
# The instance state.
|
|
583
|
+
# Output only. The instance state.
|
|
581
584
|
# Corresponds to the JSON property `state`
|
|
582
585
|
# @return [String]
|
|
583
586
|
attr_accessor :state
|
|
584
587
|
|
|
585
|
-
# Output only.
|
|
586
|
-
# Additional information about the instance state, if available.
|
|
588
|
+
# Output only. Additional information about the instance state, if available.
|
|
587
589
|
# Corresponds to the JSON property `statusMessage`
|
|
588
590
|
# @return [String]
|
|
589
591
|
attr_accessor :status_message
|
|
@@ -749,8 +751,7 @@ module Google
|
|
|
749
751
|
class NetworkConfig
|
|
750
752
|
include Google::Apis::Core::Hashable
|
|
751
753
|
|
|
752
|
-
# Output only.
|
|
753
|
-
# IPv4 addresses in the format
|
|
754
|
+
# Output only. IPv4 addresses in the format
|
|
754
755
|
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
|
|
755
756
|
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
|
|
756
757
|
# 7`:`block 8`.
|