diff --git a/api_names_out.yaml b/api_names_out.yaml index 37e051a90..e77dcaba7 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -34081,6 +34081,7 @@ "/deploymentmanager:alpha/Binding/role": role "/deploymentmanager:alpha/CollectionOverride": collection_override "/deploymentmanager:alpha/CollectionOverride/collection": collection +"/deploymentmanager:alpha/CollectionOverride/methodMap": method_map "/deploymentmanager:alpha/CollectionOverride/options": options "/deploymentmanager:alpha/CompositeType": composite_type "/deploymentmanager:alpha/CompositeType/description": description @@ -34201,6 +34202,12 @@ "/deploymentmanager:alpha/ManifestsListResponse/manifests": manifests "/deploymentmanager:alpha/ManifestsListResponse/manifests/manifest": manifest "/deploymentmanager:alpha/ManifestsListResponse/nextPageToken": next_page_token +"/deploymentmanager:alpha/MethodMap": method_map +"/deploymentmanager:alpha/MethodMap/create": create +"/deploymentmanager:alpha/MethodMap/delete": delete +"/deploymentmanager:alpha/MethodMap/get": get +"/deploymentmanager:alpha/MethodMap/setIamPolicy": set_iam_policy +"/deploymentmanager:alpha/MethodMap/update": update "/deploymentmanager:alpha/Operation": operation "/deploymentmanager:alpha/Operation/clientOperationId": client_operation_id "/deploymentmanager:alpha/Operation/creationTimestamp": creation_timestamp @@ -44146,6 +44153,7 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/results": results "/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/results/result": result "/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/transformation": transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/transformedBytes": transformed_bytes "/dlp:v2beta1/GooglePrivacyDlpV2beta1TransientCryptoKey": google_privacy_dlp_v2beta1_transient_crypto_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1TransientCryptoKey/name": name "/dlp:v2beta1/GooglePrivacyDlpV2beta1UnwrappedCryptoKey": google_privacy_dlp_v2beta1_unwrapped_crypto_key @@ -44590,6 +44598,8 @@ "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription": google_privacy_dlp_v2beta2_info_type_description "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/displayName": display_name "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/supportedBy": supported_by +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/supportedBy/supported_by": supported_by "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit": google_privacy_dlp_v2beta2_info_type_limit "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit/infoType": info_type "/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit/maxFindings": max_findings @@ -44850,6 +44860,7 @@ "/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/results": results "/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/results/result": result "/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/transformation": transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/transformedBytes": transformed_bytes "/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey": google_privacy_dlp_v2beta2_transient_crypto_key "/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey/name": name "/dlp:v2beta2/GooglePrivacyDlpV2beta2UnwrappedCryptoKey": google_privacy_dlp_v2beta2_unwrapped_crypto_key @@ -44891,6 +44902,7 @@ "/dlp:v2beta2/GoogleTypeTimeOfDay/nanos": nanos "/dlp:v2beta2/GoogleTypeTimeOfDay/seconds": seconds "/dlp:v2beta2/dlp.infoTypes.list": list_info_types +"/dlp:v2beta2/dlp.infoTypes.list/filter": filter "/dlp:v2beta2/dlp.infoTypes.list/languageCode": language_code "/dlp:v2beta2/dlp.organizations.deidentifyTemplates.create": create_organization_deidentify_template "/dlp:v2beta2/dlp.organizations.deidentifyTemplates.create/parent": parent diff --git a/generated/google/apis/deploymentmanager_alpha.rb b/generated/google/apis/deploymentmanager_alpha.rb index 9336d98e3..7d41f7665 100644 --- a/generated/google/apis/deploymentmanager_alpha.rb +++ b/generated/google/apis/deploymentmanager_alpha.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerAlpha VERSION = 'Alpha' - REVISION = '20171201' + REVISION = '20171214' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_alpha/classes.rb b/generated/google/apis/deploymentmanager_alpha/classes.rb index adfd3b983..427e75631 100644 --- a/generated/google/apis/deploymentmanager_alpha/classes.rb +++ b/generated/google/apis/deploymentmanager_alpha/classes.rb @@ -227,6 +227,12 @@ module Google # @return [String] attr_accessor :collection + # Deployment Manager will call these methods during the events of creation/ + # deletion/update/get/setIamPolicy + # Corresponds to the JSON property `methodMap` + # @return [Google::Apis::DeploymentmanagerAlpha::MethodMap] + attr_accessor :method_map + # Options allows customized resource handling by Deployment Manager. # Corresponds to the JSON property `options` # @return [Google::Apis::DeploymentmanagerAlpha::Options] @@ -239,6 +245,7 @@ module Google # Update properties of this object def update!(**args) @collection = args[:collection] if args.key?(:collection) + @method_map = args[:method_map] if args.key?(:method_map) @options = args[:options] if args.key?(:options) end end @@ -1179,6 +1186,51 @@ module Google end end + # Deployment Manager will call these methods during the events of creation/ + # deletion/update/get/setIamPolicy + class MethodMap + include Google::Apis::Core::Hashable + + # The action identifier for the create method to be used for this collection + # Corresponds to the JSON property `create` + # @return [String] + attr_accessor :create + + # The action identifier for the delete method to be used for this collection + # Corresponds to the JSON property `delete` + # @return [String] + attr_accessor :delete + + # The action identifier for the get method to be used for this collection + # Corresponds to the JSON property `get` + # @return [String] + attr_accessor :get + + # The action identifier for the setIamPolicy method to be used for this + # collection + # Corresponds to the JSON property `setIamPolicy` + # @return [String] + attr_accessor :set_iam_policy + + # The action identifier for the update method to be used for this collection + # Corresponds to the JSON property `update` + # @return [String] + attr_accessor :update + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create = args[:create] if args.key?(:create) + @delete = args[:delete] if args.key?(:delete) + @get = args[:get] if args.key?(:get) + @set_iam_policy = args[:set_iam_policy] if args.key?(:set_iam_policy) + @update = args[:update] if args.key?(:update) + end + end + # An Operation resource, used to manage asynchronous API requests. (== # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) # (== resource_for v1.regionOperations ==) (== resource_for beta. diff --git a/generated/google/apis/deploymentmanager_alpha/representations.rb b/generated/google/apis/deploymentmanager_alpha/representations.rb index bcd96f01f..f06ccf4b1 100644 --- a/generated/google/apis/deploymentmanager_alpha/representations.rb +++ b/generated/google/apis/deploymentmanager_alpha/representations.rb @@ -214,6 +214,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MethodMap + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -480,6 +486,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :collection, as: 'collection' + property :method_map, as: 'methodMap', class: Google::Apis::DeploymentmanagerAlpha::MethodMap, decorator: Google::Apis::DeploymentmanagerAlpha::MethodMap::Representation + property :options, as: 'options', class: Google::Apis::DeploymentmanagerAlpha::Options, decorator: Google::Apis::DeploymentmanagerAlpha::Options::Representation end @@ -744,6 +752,17 @@ module Google end end + class MethodMap + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create, as: 'create' + property :delete, as: 'delete' + property :get, as: 'get' + property :set_iam_policy, as: 'setIamPolicy' + property :update, as: 'update' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 86d542873..7bce5c41c 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20171212' + REVISION = '20171218' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index c988b94bb..509747f7a 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -712,6 +712,18 @@ module Google include Google::Apis::Core::Hashable # The exported agent. + # Example for how to export an agent to a zip file via a command line: + # curl \ + # 'https://dialogflow.googleapis.com/v2beta1/projects//agent: + # export'\ + # -X POST \ + # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \ + # -H 'Accept: application/json' \ + # -H 'Content-Type: application/json' \ + # --compressed \ + # --data-binary '``' \ + # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \ + # | base64 --decode > # Corresponds to the JSON property `agentContent` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -740,13 +752,17 @@ module Google # The agent to import. # Example for how to import an agent via the command line: - # curl -H "Authorization: Bearer "$(gcloud auth print-access-token) \ - # -H "Content-Type: application/json; charset=utf-8" \ - # --data "` + # curl \ + # 'https://dialogflow.googleapis.com/v2beta1/projects//agent: + # import\ + # -X POST \ + # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \ + # -H 'Accept: application/json' \ + # -H 'Content-Type: application/json' \ + # --compressed \ + # --data-binary "` # 'agentContent': '$(cat | base64 -w 0)' - # `" \ - # "https://dialogflow.googleapis.com/v2beta1/projects//agent: - # import" + # `" # Corresponds to the JSON property `agentContent` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -2240,13 +2256,17 @@ module Google # The agent to restore. # Example for how to restore an agent via the command line: - # curl -H "Authorization: Bearer "$(gcloud auth print-access-token) \ - # -H "Content-Type: application/json; charset=utf-8" \ - # --data "` + # curl \ + # 'https://dialogflow.googleapis.com/v2beta1/projects//agent: + # restore\ + # -X POST \ + # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \ + # -H 'Accept: application/json' \ + # -H 'Content-Type: application/json' \ + # --compressed \ + # --data-binary "` # 'agentContent': '$(cat | base64 -w 0)' # `" \ - # "https://dialogflow.googleapis.com/v2beta1/projects//agent: - # restore" # Corresponds to the JSON property `agentContent` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dlp_v2beta1.rb b/generated/google/apis/dlp_v2beta1.rb index ee8298737..d983768b6 100644 --- a/generated/google/apis/dlp_v2beta1.rb +++ b/generated/google/apis/dlp_v2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2beta1 VERSION = 'V2beta1' - REVISION = '20171205' + REVISION = '20171219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2beta1/classes.rb b/generated/google/apis/dlp_v2beta1/classes.rb index 00d56630e..92883acac 100644 --- a/generated/google/apis/dlp_v2beta1/classes.rb +++ b/generated/google/apis/dlp_v2beta1/classes.rb @@ -292,16 +292,31 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `max` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :max # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `min` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :min # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `replacementValue` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :replacement_value @@ -649,6 +664,11 @@ module Google attr_accessor :operator # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `value` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :value @@ -935,7 +955,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. # Corresponds to the JSON property `surrogateType` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SurrogateType] attr_accessor :surrogate_type @@ -1353,11 +1374,21 @@ module Google attr_accessor :bucket_size # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `lowerBound` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :lower_bound # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `upperBound` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :upper_bound @@ -2420,11 +2451,21 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `maxValue` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :max_value # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `minValue` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :min_value @@ -3004,6 +3045,11 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `newValue` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :new_value @@ -3206,7 +3252,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. class GooglePrivacyDlpV2beta1SurrogateType include Google::Apis::Core::Hashable @@ -3329,6 +3376,8 @@ module Google end # Summary of a single tranformation. + # Only one of 'transformation', 'field_transformation', or 'record_suppress' + # will be set. class GooglePrivacyDlpV2beta1TransformationSummary include Google::Apis::Core::Hashable @@ -3337,8 +3386,9 @@ module Google # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] attr_accessor :field - # The field transformation that was applied. This list will contain - # multiple only in the case of errors. + # The field transformation that was applied. + # If multiple field transformations are requested for a single field, + # this list will contain all of them; otherwise, only one is supplied. # Corresponds to the JSON property `fieldTransformations` # @return [Array] attr_accessor :field_transformations @@ -3364,6 +3414,11 @@ module Google # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation] attr_accessor :transformation + # Total size in bytes that were transformed in some way. + # Corresponds to the JSON property `transformedBytes` + # @return [Fixnum] + attr_accessor :transformed_bytes + def initialize(**args) update!(**args) end @@ -3376,6 +3431,7 @@ module Google @record_suppress = args[:record_suppress] if args.key?(:record_suppress) @results = args[:results] if args.key?(:results) @transformation = args[:transformation] if args.key?(:transformation) + @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes) end end @@ -3426,6 +3482,11 @@ module Google end # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. class GooglePrivacyDlpV2beta1Value include Google::Apis::Core::Hashable @@ -3499,6 +3560,11 @@ module Google attr_accessor :count # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `value` # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] attr_accessor :value diff --git a/generated/google/apis/dlp_v2beta1/representations.rb b/generated/google/apis/dlp_v2beta1/representations.rb index 36782b89e..a24509641 100644 --- a/generated/google/apis/dlp_v2beta1/representations.rb +++ b/generated/google/apis/dlp_v2beta1/representations.rb @@ -1775,6 +1775,7 @@ module Google property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation::Representation + property :transformed_bytes, :numeric_string => true, as: 'transformedBytes' end end diff --git a/generated/google/apis/dlp_v2beta2.rb b/generated/google/apis/dlp_v2beta2.rb index 9cc2fea00..cdb2114cb 100644 --- a/generated/google/apis/dlp_v2beta2.rb +++ b/generated/google/apis/dlp_v2beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2beta2 VERSION = 'V2beta2' - REVISION = '20171212' + REVISION = '20171219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2beta2/classes.rb b/generated/google/apis/dlp_v2beta2/classes.rb index f8bb99031..5f3cb0775 100644 --- a/generated/google/apis/dlp_v2beta2/classes.rb +++ b/generated/google/apis/dlp_v2beta2/classes.rb @@ -284,7 +284,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. # Corresponds to the JSON property `surrogateType` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1SurrogateType] attr_accessor :surrogate_type @@ -1069,11 +1070,21 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `maxValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] attr_accessor :max_value # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `minValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] attr_accessor :min_value @@ -1392,7 +1403,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. class GooglePrivacyDlpV2beta1SurrogateType include Google::Apis::Core::Hashable @@ -1451,6 +1463,11 @@ module Google end # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. class GooglePrivacyDlpV2beta1Value include Google::Apis::Core::Hashable @@ -1524,6 +1541,11 @@ module Google attr_accessor :count # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `value` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] attr_accessor :value @@ -1746,22 +1768,36 @@ module Google end end - # Buckets represented as ranges, along with replacement values. Ranges must - # be non-overlapping. + # Bucket is represented as a range, along with replacement values. class GooglePrivacyDlpV2beta2Bucket include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `max` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :max # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `min` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :min # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `replacementValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :replacement_value @@ -1789,7 +1825,7 @@ module Google class GooglePrivacyDlpV2beta2BucketingConfig include Google::Apis::Core::Hashable - # + # Set of buckets. Ranges must be non-overlapping. # Corresponds to the JSON property `buckets` # @return [Array] attr_accessor :buckets @@ -2072,12 +2108,17 @@ module Google # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] attr_accessor :field - # Operator used to compare the field or info type to the value. [required] + # Operator used to compare the field or infoType to the value. [required] # Corresponds to the JSON property `operator` # @return [String] attr_accessor :operator # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `value` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :value @@ -2094,7 +2135,7 @@ module Google end end - # + # A collection of conditions. class GooglePrivacyDlpV2beta2Conditions include Google::Apis::Core::Hashable @@ -2385,7 +2426,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. # Corresponds to the JSON property `surrogateType` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType] attr_accessor :surrogate_type @@ -2687,7 +2729,7 @@ module Google # @return [String] attr_accessor :start_time - # + # State of a job. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -2738,11 +2780,11 @@ module Google end end - # A collection of expressions + # An expression, consisting or an operator and conditions. class GooglePrivacyDlpV2beta2Expressions include Google::Apis::Core::Hashable - # + # A collection of conditions. # Corresponds to the JSON property `conditions` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions] attr_accessor :conditions @@ -2891,7 +2933,7 @@ module Google class GooglePrivacyDlpV2beta2FindingLimits include Google::Apis::Core::Hashable - # Configuration of findings limit given for specified info types. + # Configuration of findings limit given for specified infoTypes. # Corresponds to the JSON property `maxFindingsPerInfoType` # @return [Array] attr_accessor :max_findings_per_info_type @@ -2941,11 +2983,21 @@ module Google attr_accessor :bucket_size # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `lowerBound` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :lower_bound # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `upperBound` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :upper_bound @@ -3051,20 +3103,25 @@ module Google end end - # Info type description. + # InfoType description. class GooglePrivacyDlpV2beta2InfoTypeDescription include Google::Apis::Core::Hashable - # Human readable form of the info type name. + # Human readable form of the infoType name. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Internal name of the info type. + # Internal name of the infoType. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # Which parts of the API supports this InfoType. + # Corresponds to the JSON property `supportedBy` + # @return [Array] + attr_accessor :supported_by + def initialize(**args) update!(**args) end @@ -3073,10 +3130,11 @@ module Google def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) + @supported_by = args[:supported_by] if args.key?(:supported_by) end end - # Max findings configuration per info type, per content item or long + # Max findings configuration per infoType, per content item or long # running DlpJob. class GooglePrivacyDlpV2beta2InfoTypeLimit include Google::Apis::Core::Hashable @@ -3106,7 +3164,7 @@ module Google class GooglePrivacyDlpV2beta2InfoTypeStatistics include Google::Apis::Core::Hashable - # Number of findings for this info type. + # Number of findings for this infoType. # Corresponds to the JSON property `count` # @return [Fixnum] attr_accessor :count @@ -3132,8 +3190,8 @@ module Google class GooglePrivacyDlpV2beta2InfoTypeTransformation include Google::Apis::Core::Hashable - # Info types to apply the transformation to. Empty list will match all - # available info types for this transformation. + # InfoTypes to apply the transformation to. Empty list will match all + # available infoTypes for this transformation. # Corresponds to the JSON property `infoTypes` # @return [Array] attr_accessor :info_types @@ -3161,8 +3219,8 @@ module Google class GooglePrivacyDlpV2beta2InfoTypeTransformations include Google::Apis::Core::Hashable - # Transformation for each info type. Cannot specify more than one - # for a given info type. [required] + # Transformation for each infoType. Cannot specify more than one + # for a given infoType. [required] # Corresponds to the JSON property `transformations` # @return [Array] attr_accessor :transformations @@ -3183,7 +3241,7 @@ module Google class GooglePrivacyDlpV2beta2InspectConfig include Google::Apis::Core::Hashable - # Custom info types provided by the user. + # Custom infoTypes provided by the user. # Corresponds to the JSON property `customInfoTypes` # @return [Array] attr_accessor :custom_info_types @@ -3320,7 +3378,7 @@ module Google class GooglePrivacyDlpV2beta2InspectDataSourceRequest include Google::Apis::Core::Hashable - # + # A configuration for the job. # Corresponds to the JSON property `jobConfig` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig] attr_accessor :job_config @@ -3934,7 +3992,7 @@ module Google class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse include Google::Apis::Core::Hashable - # List of deidentifyTemplates, up to page_size in + # List of deidentify templates, up to page_size in # ListDeidentifyTemplatesRequest. # Corresponds to the JSON property `deidentifyTemplates` # @return [Array] @@ -3986,7 +4044,7 @@ module Google class GooglePrivacyDlpV2beta2ListInfoTypesResponse include Google::Apis::Core::Hashable - # Set of sensitive info types. + # Set of sensitive infoTypes. # Corresponds to the JSON property `infoTypes` # @return [Array] attr_accessor :info_types @@ -4101,11 +4159,21 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `maxValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :max_value # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `minValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :min_value @@ -4432,7 +4500,7 @@ module Google class GooglePrivacyDlpV2beta2RecordCondition include Google::Apis::Core::Hashable - # A collection of expressions + # An expression, consisting or an operator and conditions. # Corresponds to the JSON property `expressions` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions] attr_accessor :expressions @@ -4689,6 +4757,11 @@ module Google include Google::Apis::Core::Hashable # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `newValue` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :new_value @@ -4747,7 +4820,8 @@ module Google class GooglePrivacyDlpV2beta2Result include Google::Apis::Core::Hashable - # + # Statistics of how many instances of each info type were found during + # inspect job. # Corresponds to the JSON property `infoTypeStats` # @return [Array] attr_accessor :info_type_stats @@ -4894,7 +4968,8 @@ module Google # These types of transformations are # those that perform pseudonymization, thereby producing a "surrogate" as # output. This should be used in conjunction with a field on the - # transformation such as `surrogate_info_type`. + # transformation such as `surrogate_info_type`. This custom info type does + # not support the use of `detection_rules`. class GooglePrivacyDlpV2beta2SurrogateType include Google::Apis::Core::Hashable @@ -5042,6 +5117,8 @@ module Google end # Summary of a single tranformation. + # Only one of 'transformation', 'field_transformation', or 'record_suppress' + # will be set. class GooglePrivacyDlpV2beta2TransformationSummary include Google::Apis::Core::Hashable @@ -5050,8 +5127,9 @@ module Google # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] attr_accessor :field - # The field transformation that was applied. This list will contain - # multiple entries only in the case of errors. + # The field transformation that was applied. + # If multiple field transformations are requested for a single field, + # this list will contain all of them; otherwise, only one is supplied. # Corresponds to the JSON property `fieldTransformations` # @return [Array] attr_accessor :field_transformations @@ -5077,6 +5155,11 @@ module Google # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation] attr_accessor :transformation + # Total size in bytes that were transformed in some way. + # Corresponds to the JSON property `transformedBytes` + # @return [Fixnum] + attr_accessor :transformed_bytes + def initialize(**args) update!(**args) end @@ -5089,6 +5172,7 @@ module Google @record_suppress = args[:record_suppress] if args.key?(:record_suppress) @results = args[:results] if args.key?(:results) @transformation = args[:transformation] if args.key?(:transformation) + @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes) end end @@ -5191,6 +5275,11 @@ module Google end # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. class GooglePrivacyDlpV2beta2Value include Google::Apis::Core::Hashable @@ -5264,6 +5353,11 @@ module Google attr_accessor :count # Set of primitive values supported by the system. + # Note that for the purposes of inspection or transformation, the number + # of bytes considered to comprise a 'Value' is based on its representation + # as a UTF-8 encoded string. For example, if 'integer_value' is set to + # 123456789, the number of bytes would be counted as 9, even though an + # int64 only holds up to 8 bytes of data. # Corresponds to the JSON property `value` # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] attr_accessor :value diff --git a/generated/google/apis/dlp_v2beta2/representations.rb b/generated/google/apis/dlp_v2beta2/representations.rb index b78cb5946..f035b8b44 100644 --- a/generated/google/apis/dlp_v2beta2/representations.rb +++ b/generated/google/apis/dlp_v2beta2/representations.rb @@ -1980,6 +1980,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :name, as: 'name' + collection :supported_by, as: 'supportedBy' end end @@ -2630,6 +2631,7 @@ module Google property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation::Representation + property :transformed_bytes, :numeric_string => true, as: 'transformedBytes' end end diff --git a/generated/google/apis/dlp_v2beta2/service.rb b/generated/google/apis/dlp_v2beta2/service.rb index 5a8497a45..de21e7c6e 100644 --- a/generated/google/apis/dlp_v2beta2/service.rb +++ b/generated/google/apis/dlp_v2beta2/service.rb @@ -50,8 +50,11 @@ module Google end # Returns sensitive information types DLP supports. + # @param [String] filter + # Optional filter to only return infoTypes supported by certain parts of the + # API. Defaults to supported_by=INSPECT. # @param [String] language_code - # Optional BCP-47 language code for localized info type friendly + # Optional BCP-47 language code for localized infoType friendly # names. If omitted, or if localized strings are not available, # en-US strings will be returned. # @param [String] fields @@ -71,10 +74,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_info_types(language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_info_types(filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta2/infoTypes', options) command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse + command.query['filter'] = filter unless filter.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -118,8 +122,8 @@ module Google # Deletes inspect templates. # @param [String] name - # Resource name of the organization and inspectTemplate to be deleted, for - # example `organizations/433245324/deidentifyTemplates/432452342`. + # Resource name of the organization and deidentify template to be deleted, + # for example `organizations/433245324/deidentifyTemplates/432452342`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -149,7 +153,7 @@ module Google # Gets an inspect template. # @param [String] name - # Resource name of the organization and inspectTemplate to be read, for + # Resource name of the organization and deidentify template to be read, for # example `organizations/433245324/deidentifyTemplates/432452342`. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -219,7 +223,7 @@ module Google # Updates the inspect template. # @param [String] name - # Resource name of organization and inspectTemplate to be updated, for + # Resource name of organization and deidentify template to be updated, for # example `organizations/433245324/deidentifyTemplates/432452342`. # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object # @param [String] fields @@ -630,8 +634,8 @@ module Google # Deletes inspect templates. # @param [String] name - # Resource name of the organization and inspectTemplate to be deleted, for - # example `organizations/433245324/deidentifyTemplates/432452342`. + # Resource name of the organization and deidentify template to be deleted, + # for example `organizations/433245324/deidentifyTemplates/432452342`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -661,7 +665,7 @@ module Google # Gets an inspect template. # @param [String] name - # Resource name of the organization and inspectTemplate to be read, for + # Resource name of the organization and deidentify template to be read, for # example `organizations/433245324/deidentifyTemplates/432452342`. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -731,7 +735,7 @@ module Google # Updates the inspect template. # @param [String] name - # Resource name of organization and inspectTemplate to be updated, for + # Resource name of organization and deidentify template to be updated, for # example `organizations/433245324/deidentifyTemplates/432452342`. # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object # @param [String] fields diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 3b35a6fcb..92cf09340 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20171027' + REVISION = '20171214' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 92b357fce..70610201f 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -94,14 +94,6 @@ module Google # @return [String] attr_accessor :action - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - # Corresponds to the JSON property `condition` - # @return [Google::Apis::IamV1::Expr] - attr_accessor :condition - # A single identity requesting access for a Cloud Platform resource. # Follows the same format of Binding.members. # Required @@ -123,7 +115,6 @@ module Google # Update properties of this object def update!(**args) @action = args[:action] if args.key?(:action) - @condition = args[:condition] if args.key?(:condition) @member = args[:member] if args.key?(:member) @role = args[:role] if args.key?(:role) end @@ -241,53 +232,6 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class Expr - include Google::Apis::Core::Hashable - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @expression = args[:expression] if args.key?(:expression) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - end - end - # The response containing the roles defined under a resource. class ListRolesResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index e0ada1594..901148a78 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -64,12 +64,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Expr - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListRolesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -216,8 +210,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :action, as: 'action' - property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation - property :member, as: 'member' property :role, as: 'role' end @@ -255,16 +247,6 @@ module Google end end - class Expr - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :expression, as: 'expression' - property :location, as: 'location' - property :title, as: 'title' - end - end - class ListRolesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index c86266a8c..f3b52fbcd 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20171113' + REVISION = '20171219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index 689eeefac..eeced93e5 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -703,7 +703,9 @@ module Google # If this field is omitted in a new log entry, then Stackdriver Logging assigns # it the current time.Incoming log entries should have timestamps that are no # more than the logs retention period in the past, and no more than 24 hours in - # the future. See the entries.write API method for more information. + # the future. Log entries outside those time boundaries will not be available + # when calling entries.list, but those log entries can still be exported with + # LogSinks. # Corresponds to the JSON property `timestamp` # @return [String] attr_accessor :timestamp @@ -1640,11 +1642,11 @@ module Google # log entries that did not supply their own values, the entries earlier in the # list will sort before the entries later in the list. See the entries.list # method.Log entries with timestamps that are more than the logs retention - # period in the past or more than 24 hours in the future might be discarded. - # Discarding does not return an error.To improve throughput and to avoid - # exceeding the quota limit for calls to entries.write, you should try to - # include several log entries in this list, rather than calling this method for - # each individual log entry. + # period in the past or more than 24 hours in the future will not be available + # when calling entries.list. However, those log entries can still be exported + # with LogSinks.To improve throughput and to avoid exceeding the quota limit for + # calls to entries.write, you should try to include several log entries in this + # list, rather than calling this method for each individual log entry. # Corresponds to the JSON property `entries` # @return [Array] attr_accessor :entries diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index 2bdc30fbb..670dc801a 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2beta1 VERSION = 'V2beta1' - REVISION = '20171113' + REVISION = '20171219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb index fd26d24aa..cc10367d1 100644 --- a/generated/google/apis/logging_v2beta1/classes.rb +++ b/generated/google/apis/logging_v2beta1/classes.rb @@ -676,7 +676,9 @@ module Google # If this field is omitted in a new log entry, then Stackdriver Logging assigns # it the current time.Incoming log entries should have timestamps that are no # more than the logs retention period in the past, and no more than 24 hours in - # the future. See the entries.write API method for more information. + # the future. Log entries outside those time boundaries will not be available + # when calling entries.list, but those log entries can still be exported with + # LogSinks. # Corresponds to the JSON property `timestamp` # @return [String] attr_accessor :timestamp @@ -1563,11 +1565,11 @@ module Google # log entries that did not supply their own values, the entries earlier in the # list will sort before the entries later in the list. See the entries.list # method.Log entries with timestamps that are more than the logs retention - # period in the past or more than 24 hours in the future might be discarded. - # Discarding does not return an error.To improve throughput and to avoid - # exceeding the quota limit for calls to entries.write, you should try to - # include several log entries in this list, rather than calling this method for - # each individual log entry. + # period in the past or more than 24 hours in the future will not be available + # when calling entries.list. However, those log entries can still be exported + # with LogSinks.To improve throughput and to avoid exceeding the quota limit for + # calls to entries.write, you should try to include several log entries in this + # list, rather than calling this method for each individual log entry. # Corresponds to the JSON property `entries` # @return [Array] attr_accessor :entries diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index 58171d747..6ab9ef350 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20171108' + REVISION = '20171216' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 1d1e6d1ae..b83bc6635 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -4561,7 +4561,8 @@ module Google class UsageRule include Google::Apis::Core::Hashable - # True, if the method allows unregistered calls; false otherwise. + # If true, the selected method allows unregistered calls, e.g. calls + # that don't identify any user or application. # Corresponds to the JSON property `allowUnregisteredCalls` # @return [Boolean] attr_accessor :allow_unregistered_calls @@ -4574,10 +4575,10 @@ module Google # @return [String] attr_accessor :selector - # True, if the method should skip service control. If so, no control plane - # feature (like quota and billing) will be enabled. - # This flag is used by ESP to allow some Endpoints customers to bypass - # Google internal checks. + # If true, the selected method should skip service control and the control + # plane features, such as quota and billing, will not be available. + # This flag is used by Google Cloud Endpoints to bypass checks for internal + # methods, such as service health check methods. # Corresponds to the JSON property `skipServiceControl` # @return [Boolean] attr_accessor :skip_service_control diff --git a/generated/google/apis/serviceuser_v1.rb b/generated/google/apis/serviceuser_v1.rb index 316300339..b6aac3857 100644 --- a/generated/google/apis/serviceuser_v1.rb +++ b/generated/google/apis/serviceuser_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServiceuserV1 VERSION = 'V1' - REVISION = '20171108' + REVISION = '20171215' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceuser_v1/classes.rb b/generated/google/apis/serviceuser_v1/classes.rb index a64f67cf6..e9e3d1f91 100644 --- a/generated/google/apis/serviceuser_v1/classes.rb +++ b/generated/google/apis/serviceuser_v1/classes.rb @@ -3510,7 +3510,8 @@ module Google class UsageRule include Google::Apis::Core::Hashable - # True, if the method allows unregistered calls; false otherwise. + # If true, the selected method allows unregistered calls, e.g. calls + # that don't identify any user or application. # Corresponds to the JSON property `allowUnregisteredCalls` # @return [Boolean] attr_accessor :allow_unregistered_calls @@ -3523,10 +3524,10 @@ module Google # @return [String] attr_accessor :selector - # True, if the method should skip service control. If so, no control plane - # feature (like quota and billing) will be enabled. - # This flag is used by ESP to allow some Endpoints customers to bypass - # Google internal checks. + # If true, the selected method should skip service control and the control + # plane features, such as quota and billing, will not be available. + # This flag is used by Google Cloud Endpoints to bypass checks for internal + # methods, such as service health check methods. # Corresponds to the JSON property `skipServiceControl` # @return [Boolean] attr_accessor :skip_service_control diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index a45cb62d5..8acb858ae 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech/ module SpeechV1 VERSION = 'V1' - REVISION = '20171213' + REVISION = '20171219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'