diff --git a/generated/google/apis/analyticsreporting_v4.rb b/generated/google/apis/analyticsreporting_v4.rb index a33e47535..9612dc9c7 100644 --- a/generated/google/apis/analyticsreporting_v4.rb +++ b/generated/google/apis/analyticsreporting_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/devguides/reporting/core/v4/ module AnalyticsreportingV4 VERSION = 'V4' - REVISION = '20190318' + REVISION = '20190710' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analyticsreporting_v4/classes.rb b/generated/google/apis/analyticsreporting_v4/classes.rb index 8e6c8f606..e210f0ce0 100644 --- a/generated/google/apis/analyticsreporting_v4/classes.rb +++ b/generated/google/apis/analyticsreporting_v4/classes.rb @@ -235,8 +235,8 @@ module Google # - The cohort definition date ranges need not be aligned to the calendar # week and month boundaries. # - The `viewId` must be an - # [app view ID](https://support.google.com/analytics/answer/2649553# - # WebVersusAppViews) + # [app view + # ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews) # Corresponds to the JSON property `lifetimeValue` # @return [Boolean] attr_accessor :lifetime_value @@ -613,15 +613,18 @@ module Google attr_accessor :report_requests # Enables - # [resource based quotas](/analytics/devguides/reporting/core/v4/limits-quotas# + # [resource based + # quotas](/analytics/devguides/reporting/core/v4/limits-quotas# # analytics_reporting_api_v4), # (defaults to `False`). If this field is set to `True` the # per view (profile) quotas are governed by the computational # cost of the request. Note that using cost based quotas will # higher enable sampling rates. (10 Million for `SMALL`, # 100M for `LARGE`. See the - # [limits and quotas documentation](/analytics/devguides/reporting/core/v4/ - # limits-quotas#analytics_reporting_api_v4) for details. + # [limits and quotas + # documentation](/analytics/devguides/reporting/core/v4/limits-quotas# + # analytics_reporting_api_v4) + # for details. # Corresponds to the JSON property `useResourceQuotas` # @return [Boolean] attr_accessor :use_resource_quotas @@ -1358,8 +1361,9 @@ module Google # following expression selects `ga:browser` dimension which starts with # Firefox; `ga:browser=~^Firefox`. For more information on dimensions # and metric filters, see - # [Filters reference](https://developers.google.com/analytics/devguides/ - # reporting/core/v3/reference#filters). + # [Filters + # reference](https://developers.google.com/analytics/devguides/reporting/core/v3/ + # reference#filters). # Corresponds to the JSON property `filtersExpression` # @return [String] attr_accessor :filters_expression diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index a072fd3af..48ccfddfd 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20190605' + REVISION = '20190701' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index f5c14e2b4..8f8c6c178 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -3095,7 +3095,7 @@ module Google # @return [String] attr_accessor :title - # The current version of the app.

Note that the version can automatically + # The current version of the app.Note that the version can automatically # increase during the lifetime of the web app, while Google does internal # housekeeping to keep the web app up-to-date. # Corresponds to the JSON property `versionCode` @@ -3157,7 +3157,7 @@ module Google attr_accessor :parent_frame_url # Permissions available to an admin in the embedded UI. An admin must have all - # of these permissions in order to view the UI. + # of these permissions in order to view the UI. This field is deprecated. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb index fa95bd888..fc4966648 100644 --- a/generated/google/apis/cloudasset_v1.rb +++ b/generated/google/apis/cloudasset_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory module CloudassetV1 VERSION = 'V1' - REVISION = '20190625' + REVISION = '20190709' # 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/cloudasset_v1/classes.rb b/generated/google/apis/cloudasset_v1/classes.rb index 843a72142..5a9ac3b3c 100644 --- a/generated/google/apis/cloudasset_v1/classes.rb +++ b/generated/google/apis/cloudasset_v1/classes.rb @@ -126,7 +126,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -138,7 +138,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -146,16 +146,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -189,7 +189,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -198,7 +198,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -209,6 +209,14 @@ module Google # @return [Array] attr_accessor :exempted_members + # Specifies whether principals can be exempted for the same LogType in + # lower-level resource policies. If true, any lower-level exemptions will + # be ignored. + # Corresponds to the JSON property `ignoreChildExemptions` + # @return [Boolean] + attr_accessor :ignore_child_exemptions + alias_method :ignore_child_exemptions?, :ignore_child_exemptions + # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -221,6 +229,7 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end @@ -263,7 +272,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -902,7 +911,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/cloudasset_v1/representations.rb b/generated/google/apis/cloudasset_v1/representations.rb index bad5cca86..55972dd3c 100644 --- a/generated/google/apis/cloudasset_v1/representations.rb +++ b/generated/google/apis/cloudasset_v1/representations.rb @@ -163,6 +163,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' + property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end diff --git a/generated/google/apis/cloudasset_v1beta1.rb b/generated/google/apis/cloudasset_v1beta1.rb index 7ce65e14a..c24962ddb 100644 --- a/generated/google/apis/cloudasset_v1beta1.rb +++ b/generated/google/apis/cloudasset_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory module CloudassetV1beta1 VERSION = 'V1beta1' - REVISION = '20190615' + REVISION = '20190709' # 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/cloudasset_v1beta1/classes.rb b/generated/google/apis/cloudasset_v1beta1/classes.rb index 4508bd263..081af95c6 100644 --- a/generated/google/apis/cloudasset_v1beta1/classes.rb +++ b/generated/google/apis/cloudasset_v1beta1/classes.rb @@ -118,7 +118,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -130,7 +130,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -138,16 +138,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -181,7 +181,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -190,7 +190,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -201,6 +201,14 @@ module Google # @return [Array] attr_accessor :exempted_members + # Specifies whether principals can be exempted for the same LogType in + # lower-level resource policies. If true, any lower-level exemptions will + # be ignored. + # Corresponds to the JSON property `ignoreChildExemptions` + # @return [Boolean] + attr_accessor :ignore_child_exemptions + alias_method :ignore_child_exemptions?, :ignore_child_exemptions + # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -213,6 +221,7 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end @@ -255,7 +264,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -556,7 +565,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/cloudasset_v1beta1/representations.rb b/generated/google/apis/cloudasset_v1beta1/representations.rb index 4703cecc1..c3722ecc7 100644 --- a/generated/google/apis/cloudasset_v1beta1/representations.rb +++ b/generated/google/apis/cloudasset_v1beta1/representations.rb @@ -137,6 +137,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' + property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end diff --git a/generated/google/apis/cloudresourcemanager_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb index 81649ec15..11e0fe0f1 100644 --- a/generated/google/apis/cloudresourcemanager_v1.rb +++ b/generated/google/apis/cloudresourcemanager_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1 VERSION = 'V1' - REVISION = '20190701' + REVISION = '20190708' # 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/cloudresourcemanager_v1/classes.rb b/generated/google/apis/cloudresourcemanager_v1/classes.rb index c0c453abc..2c6bb0e5b 100644 --- a/generated/google/apis/cloudresourcemanager_v1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1/classes.rb @@ -61,7 +61,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -73,7 +73,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -81,16 +81,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -124,7 +124,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -133,7 +133,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -179,7 +179,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -1349,7 +1349,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/cloudresourcemanager_v1/service.rb b/generated/google/apis/cloudresourcemanager_v1/service.rb index d13fe7fe8..7dbf95fe5 100644 --- a/generated/google/apis/cloudresourcemanager_v1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1/service.rb @@ -853,12 +853,10 @@ module Google end # Request that a new Project be created. The result is an Operation which - # can be used to track the creation process. It is automatically deleted - # after a few hours, so there is no need to call DeleteOperation. - # Our SLO permits Project creation to take up to 30 seconds at the 90th - # percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile - # latency. 95th percentile latency is around 11 seconds. We recommend - # polling at the 5th second with an exponential backoff. + # can be used to track the creation process. This process usually takes a few + # seconds, but can sometimes take much longer. The tracking Operation is + # automatically deleted after a few hours, so there is no need to call + # DeleteOperation. # Authorization requires the Google IAM permission # `resourcemanager.projects.create` on the specified parent for the new # project. The parent is identified by a specified ResourceId, diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index a662a9a30..7b68f6c78 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1beta1 VERSION = 'V1beta1' - REVISION = '20190701' + REVISION = '20190708' # 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/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index 43ad6fba7..712fd69d6 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -61,7 +61,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -73,7 +73,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -81,16 +81,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -124,7 +124,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -133,7 +133,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -179,7 +179,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -620,7 +620,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/cloudresourcemanager_v2.rb b/generated/google/apis/cloudresourcemanager_v2.rb index a6121c0f2..657790ca1 100644 --- a/generated/google/apis/cloudresourcemanager_v2.rb +++ b/generated/google/apis/cloudresourcemanager_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV2 VERSION = 'V2' - REVISION = '20190701' + REVISION = '20190708' # 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/cloudresourcemanager_v2/classes.rb b/generated/google/apis/cloudresourcemanager_v2/classes.rb index 8bc0ba10c..ba7a6f920 100644 --- a/generated/google/apis/cloudresourcemanager_v2/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v2/classes.rb @@ -39,7 +39,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -51,7 +51,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -59,16 +59,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -102,7 +102,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -111,7 +111,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -157,7 +157,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -560,7 +560,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/cloudresourcemanager_v2beta1.rb b/generated/google/apis/cloudresourcemanager_v2beta1.rb index 53cf7b6f4..82a85288d 100644 --- a/generated/google/apis/cloudresourcemanager_v2beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV2beta1 VERSION = 'V2beta1' - REVISION = '20190701' + REVISION = '20190708' # 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/cloudresourcemanager_v2beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb index d10ac897d..f6aaa0086 100644 --- a/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb @@ -39,7 +39,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -51,7 +51,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -59,16 +59,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -102,7 +102,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -111,7 +111,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -157,7 +157,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -560,7 +560,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 7435efd0f..3755a505a 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20190629' + REVISION = '20190708' # 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_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 4267251f0..10a8e6988 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -2154,6 +2154,10 @@ module Google # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # This value is for informational purpose only and is only used to + # help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. # If there are `multiple knowledge_answers` messages, this value is set to # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` @@ -2675,6 +2679,26 @@ module Google end end + # Metadata for article suggestion models. + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + include Google::Apis::Core::Hashable + + # Optional. Type of the article suggestion model. The available values are: + # * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model. + # Corresponds to the JSON property `modelType` + # @return [String] + attr_accessor :model_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @model_type = args[:model_type] if args.key?(:model_type) + end + end + # The response message for EntityTypes.BatchUpdateEntityTypes. class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse include Google::Apis::Core::Hashable @@ -2757,6 +2781,63 @@ module Google end end + # Represents a conversation model. + class GoogleCloudDialogflowV2beta1ConversationModel + include Google::Apis::Core::Hashable + + # Metadata for article suggestion models. + # Corresponds to the JSON property `articleSuggestionModelMetadata` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata] + attr_accessor :article_suggestion_model_metadata + + # Output only. Creation time of this model. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. Datasets used to create model. + # Corresponds to the JSON property `datasets` + # @return [Array] + attr_accessor :datasets + + # Required. The display name of the model. At most 64 bytes long. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. ConversationModel resource name. Format: + # `projects//conversationModels/` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Metadata for smart reply models. + # Corresponds to the JSON property `smartReplyModelMetadata` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata] + attr_accessor :smart_reply_model_metadata + + # Output only. State of the model. A model can only serve prediction requests + # after it gets deployed. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata) + @create_time = args[:create_time] if args.key?(:create_time) + @datasets = args[:datasets] if args.key?(:datasets) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata) + @state = args[:state] if args.key?(:state) + end + end + # Represents an entity type. # Entity types serve as a tool for extracting parameter values from natural # language queries. @@ -2920,6 +3001,29 @@ module Google end end + # InputDataset used to create model or do evaluation. + class GoogleCloudDialogflowV2beta1InputDataset + include Google::Apis::Core::Hashable + + # Required. ConversationDataset resource name. Format: + # `projects//conversationDatasets/` + # or + # `projects//conversationDatasets//annotatedConversationDatasets/` + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + end + end + # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. @@ -4575,6 +4679,10 @@ module Google # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # This value is for informational purpose only and is only used to + # help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. # If there are `multiple knowledge_answers` messages, this value is set to # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` @@ -4723,6 +4831,19 @@ module Google end end + # Metadata for smart reply models. + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # The request message for a webhook call. class GoogleCloudDialogflowV2beta1WebhookRequest include Google::Apis::Core::Hashable @@ -4858,6 +4979,31 @@ module Google end end + # The response message for Operations.ListOperations. + class GoogleLongrunningListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class GoogleLongrunningOperation diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index 2fd74af0c..253c61ee5 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -424,6 +424,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -442,6 +448,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1ConversationModel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1EntityType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -466,6 +478,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1InputDataset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1Intent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -736,6 +754,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -748,6 +772,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningOperation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1467,6 +1497,13 @@ module Google end end + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :model_type, as: 'modelType' + end + end + class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1492,6 +1529,22 @@ module Google end end + class GoogleCloudDialogflowV2beta1ConversationModel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :article_suggestion_model_metadata, as: 'articleSuggestionModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata::Representation + + property :create_time, as: 'createTime' + collection :datasets, as: 'datasets', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset::Representation + + property :display_name, as: 'displayName' + property :name, as: 'name' + property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation + + property :state, as: 'state' + end + end + class GoogleCloudDialogflowV2beta1EntityType # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1529,6 +1582,13 @@ module Google end end + class GoogleCloudDialogflowV2beta1InputDataset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + end + end + class GoogleCloudDialogflowV2beta1Intent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2004,6 +2064,12 @@ module Google end end + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudDialogflowV2beta1WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2034,6 +2100,15 @@ module Google end end + class GoogleLongrunningListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DialogflowV2::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation + + end + end + class GoogleLongrunningOperation # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2/service.rb b/generated/google/apis/dialogflow_v2/service.rb index 41b7577b2..fae31209a 100644 --- a/generated/google/apis/dialogflow_v2/service.rb +++ b/generated/google/apis/dialogflow_v2/service.rb @@ -1460,6 +1460,53 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Lists operations that match the specified filter in the request. If the + # server doesn't support this method, it returns `UNIMPLEMENTED`. + # NOTE: the `name` binding allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse] + # + # @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_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+name}/operations', options) + command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 59c5c4013..4bf096200 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/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20190629' + REVISION = '20190708' # 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 7d659f783..d42d23a27 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -1291,6 +1291,10 @@ module Google # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # This value is for informational purpose only and is only used to + # help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. # If there are `multiple knowledge_answers` messages, this value is set to # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` @@ -1661,6 +1665,26 @@ module Google end end + # Metadata for article suggestion models. + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + include Google::Apis::Core::Hashable + + # Optional. Type of the article suggestion model. The available values are: + # * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model. + # Corresponds to the JSON property `modelType` + # @return [String] + attr_accessor :model_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @model_type = args[:model_type] if args.key?(:model_type) + end + end + # The request message for EntityTypes.BatchCreateEntities. class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest include Google::Apis::Core::Hashable @@ -1976,6 +2000,63 @@ module Google end end + # Represents a conversation model. + class GoogleCloudDialogflowV2beta1ConversationModel + include Google::Apis::Core::Hashable + + # Metadata for article suggestion models. + # Corresponds to the JSON property `articleSuggestionModelMetadata` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata] + attr_accessor :article_suggestion_model_metadata + + # Output only. Creation time of this model. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. Datasets used to create model. + # Corresponds to the JSON property `datasets` + # @return [Array] + attr_accessor :datasets + + # Required. The display name of the model. At most 64 bytes long. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. ConversationModel resource name. Format: + # `projects//conversationModels/` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Metadata for smart reply models. + # Corresponds to the JSON property `smartReplyModelMetadata` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata] + attr_accessor :smart_reply_model_metadata + + # Output only. State of the model. A model can only serve prediction requests + # after it gets deployed. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata) + @create_time = args[:create_time] if args.key?(:create_time) + @datasets = args[:datasets] if args.key?(:datasets) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata) + @state = args[:state] if args.key?(:state) + end + end + # The request to detect user's intent. class GoogleCloudDialogflowV2beta1DetectIntentRequest include Google::Apis::Core::Hashable @@ -2504,6 +2585,29 @@ module Google end end + # InputDataset used to create model or do evaluation. + class GoogleCloudDialogflowV2beta1InputDataset + include Google::Apis::Core::Hashable + + # Required. ConversationDataset resource name. Format: + # `projects//conversationDatasets/` + # or + # `projects//conversationDatasets//annotatedConversationDatasets/` + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + end + end + # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. @@ -4518,6 +4622,10 @@ module Google # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # This value is for informational purpose only and is only used to + # help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. # If there are `multiple knowledge_answers` messages, this value is set to # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` @@ -4813,6 +4921,19 @@ module Google end end + # Metadata for smart reply models. + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Configuration of how speech should be synthesized. class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig include Google::Apis::Core::Hashable @@ -5077,6 +5198,31 @@ module Google end end + # The response message for Operations.ListOperations. + class GoogleLongrunningListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class GoogleLongrunningOperation diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index d6ddb9a43..e038192a3 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -250,6 +250,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -310,6 +316,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1ConversationModel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1DetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -376,6 +388,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1InputDataset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1Intent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -742,6 +760,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -778,6 +802,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningOperation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1219,6 +1249,13 @@ module Google end end + class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :model_type, as: 'modelType' + end + end + class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1309,6 +1346,22 @@ module Google end end + class GoogleCloudDialogflowV2beta1ConversationModel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :article_suggestion_model_metadata, as: 'articleSuggestionModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata::Representation + + property :create_time, as: 'createTime' + collection :datasets, as: 'datasets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset::Representation + + property :display_name, as: 'displayName' + property :name, as: 'name' + property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation + + property :state, as: 'state' + end + end + class GoogleCloudDialogflowV2beta1DetectIntentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1425,6 +1478,13 @@ module Google end end + class GoogleCloudDialogflowV2beta1InputDataset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + end + end + class GoogleCloudDialogflowV2beta1Intent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2050,6 +2110,12 @@ module Google end end + class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2114,6 +2180,15 @@ module Google end end + class GoogleLongrunningListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation + + end + end + class GoogleLongrunningOperation # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index eb3a6f172..7a1bb403c 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -2819,6 +2819,53 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Lists operations that match the specified filter in the request. If the + # server doesn't support this method, it returns `UNIMPLEMENTED`. + # NOTE: the `name` binding allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse] + # + # @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_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+name}/operations', options) + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/healthcare_v1alpha2.rb b/generated/google/apis/healthcare_v1alpha2.rb index b4ca0b64c..22c35d281 100644 --- a/generated/google/apis/healthcare_v1alpha2.rb +++ b/generated/google/apis/healthcare_v1alpha2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1alpha2 VERSION = 'V1alpha2' - REVISION = '20190628' + REVISION = '20190708' # 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/healthcare_v1alpha2/classes.rb b/generated/google/apis/healthcare_v1alpha2/classes.rb index 105e3ad15..9fc9cf3aa 100644 --- a/generated/google/apis/healthcare_v1alpha2/classes.rb +++ b/generated/google/apis/healthcare_v1alpha2/classes.rb @@ -139,7 +139,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -151,7 +151,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -159,16 +159,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -202,7 +202,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -211,7 +211,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -222,6 +222,14 @@ module Google # @return [Array] attr_accessor :exempted_members + # Specifies whether principals can be exempted for the same LogType in + # lower-level resource policies. If true, any lower-level exemptions will + # be ignored. + # Corresponds to the JSON property `ignoreChildExemptions` + # @return [Boolean] + attr_accessor :ignore_child_exemptions + alias_method :ignore_child_exemptions?, :ignore_child_exemptions + # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -234,6 +242,7 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end @@ -257,7 +266,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -2369,7 +2378,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/healthcare_v1alpha2/representations.rb b/generated/google/apis/healthcare_v1alpha2/representations.rb index 3c1dfdbe5..1e04485a0 100644 --- a/generated/google/apis/healthcare_v1alpha2/representations.rb +++ b/generated/google/apis/healthcare_v1alpha2/representations.rb @@ -594,6 +594,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' + property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end diff --git a/generated/google/apis/healthcare_v1alpha2/service.rb b/generated/google/apis/healthcare_v1alpha2/service.rb index 77db836ce..2e7ea5cfb 100644 --- a/generated/google/apis/healthcare_v1alpha2/service.rb +++ b/generated/google/apis/healthcare_v1alpha2/service.rb @@ -560,7 +560,8 @@ module Google # the resource does not exist. Returns an empty policy if the resource exists # but does not have a policy set. # Authorization requires the Google IAM permission - # `healthcare.AnnotationStores.getIamPolicy` on the specified resource + # `healthcare.AnnotationStores.getIamPolicy` on the specified + # resource # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. @@ -681,7 +682,8 @@ module Google # Sets the access control policy for a resource. Replaces any existing # policy. # Authorization requires the Google IAM permission - # 'healthcare.annotationStores.setIamPolicy' on the specified resource + # `healthcare.annotationStores.setIamPolicy` on the specified + # resource # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. @@ -2256,8 +2258,8 @@ module Google # FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns # an empty policy if the resource exists but does not have a policy set. # Authorization requires the Google IAM permission - # 'healthcare.fhirStores.getIamPolicy' for a FHIR store or - # 'healthcare.securityLabels.getIamPolicy' for a security label + # `healthcare.fhirStores.getIamPolicy` for a FHIR store or + # `healthcare.securityLabels.getIamPolicy` for a security label # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. @@ -2438,8 +2440,8 @@ module Google # Sets the access control policy for a FHIR store or security label within a # FHIR store. Replaces any existing policy. # Authorization requires the Google IAM permission - # 'healthcare.fhirStores.setIamPolicy' for a FHIR store or - # 'healthcare.securityLabels.setIamPolicy' for a security label + # `healthcare.fhirStores.setIamPolicy` for a FHIR store or + # `healthcare.securityLabels.setIamPolicy` for a security label # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. @@ -3298,8 +3300,8 @@ module Google # FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns # an empty policy if the resource exists but does not have a policy set. # Authorization requires the Google IAM permission - # 'healthcare.fhirStores.getIamPolicy' for a FHIR store or - # 'healthcare.securityLabels.getIamPolicy' for a security label + # `healthcare.fhirStores.getIamPolicy` for a FHIR store or + # `healthcare.securityLabels.getIamPolicy` for a security label # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. @@ -3339,8 +3341,8 @@ module Google # Sets the access control policy for a FHIR store or security label within a # FHIR store. Replaces any existing policy. # Authorization requires the Google IAM permission - # 'healthcare.fhirStores.setIamPolicy' for a FHIR store or - # 'healthcare.securityLabels.setIamPolicy' for a security label + # `healthcare.fhirStores.setIamPolicy` for a FHIR store or + # `healthcare.securityLabels.setIamPolicy` for a security label # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index e10002ae3..4ea1d7f4d 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 = '20190627' + REVISION = '20190704' # 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 15237708a..f3121c494 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -61,7 +61,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -73,7 +73,7 @@ module Google # ] # `, # ` - # "service": "fooservice.googleapis.com" + # "service": "sampleservice.googleapis.com" # "audit_log_configs": [ # ` # "log_type": "DATA_READ", @@ -81,16 +81,16 @@ module Google # ` # "log_type": "DATA_WRITE", # "exempted_members": [ - # "user:bar@gmail.com" + # "user:aliya@example.com" # ] # ` # ] # ` # ] # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts jose@example.com from DATA_READ logging, and + # aliya@example.com from DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -145,7 +145,7 @@ module Google # ` # "log_type": "DATA_READ", # "exempted_members": [ - # "user:foo@gmail.com" + # "user:jose@example.com" # ] # `, # ` @@ -154,7 +154,7 @@ module Google # ] # ` # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. + # jose@example.com from DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable @@ -220,7 +220,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -922,7 +922,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -1147,7 +1147,7 @@ module Google attr_accessor :deleted alias_method :deleted?, :deleted - # Optional. A human-readable description for the role. + # Optional. A human-readable description for the role. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -1179,7 +1179,7 @@ module Google # @return [String] attr_accessor :stage - # Optional. A human-readable title for the role. Typically this + # Optional. A human-readable title for the role. Typically this # is limited to 100 UTF-8 bytes. # Corresponds to the JSON property `title` # @return [String] diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index e2a3a40e9..45fdeb8bc 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1 VERSION = 'V1' - REVISION = '20190603' + REVISION = '20190704' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb index fd485c0a9..c0e689113 100644 --- a/generated/google/apis/language_v1beta2.rb +++ b/generated/google/apis/language_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta2 VERSION = 'V1beta2' - REVISION = '20190603' + REVISION = '20190704' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/runtimeconfig_v1beta1.rb b/generated/google/apis/runtimeconfig_v1beta1.rb index 591b093d8..2f24cdef2 100644 --- a/generated/google/apis/runtimeconfig_v1beta1.rb +++ b/generated/google/apis/runtimeconfig_v1beta1.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1beta1 VERSION = 'V1beta1' - REVISION = '20190603' + REVISION = '20190708' # 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/runtimeconfig_v1beta1/classes.rb b/generated/google/apis/runtimeconfig_v1beta1/classes.rb index 998f6e9ba..2f9fe8c33 100644 --- a/generated/google/apis/runtimeconfig_v1beta1/classes.rb +++ b/generated/google/apis/runtimeconfig_v1beta1/classes.rb @@ -41,7 +41,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -412,7 +412,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/runtimeconfig_v1beta1/service.rb b/generated/google/apis/runtimeconfig_v1beta1/service.rb index 9c3c268d7..e90e519f8 100644 --- a/generated/google/apis/runtimeconfig_v1beta1/service.rb +++ b/generated/google/apis/runtimeconfig_v1beta1/service.rb @@ -164,6 +164,11 @@ module Google # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The policy format version to be returned. + # Acceptable values are 0 and 1. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -181,11 +186,12 @@ 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 get_project_config_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + def get_project_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::RuntimeconfigV1beta1::Policy::Representation command.response_class = Google::Apis::RuntimeconfigV1beta1::Policy command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/servicebroker_v1.rb b/generated/google/apis/servicebroker_v1.rb index ef725f301..332230d4c 100644 --- a/generated/google/apis/servicebroker_v1.rb +++ b/generated/google/apis/servicebroker_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker module ServicebrokerV1 VERSION = 'V1' - REVISION = '20190415' + REVISION = '20190708' # 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/servicebroker_v1/classes.rb b/generated/google/apis/servicebroker_v1/classes.rb index e2ecdb095..6b246c61d 100644 --- a/generated/google/apis/servicebroker_v1/classes.rb +++ b/generated/google/apis/servicebroker_v1/classes.rb @@ -41,7 +41,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -124,7 +124,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/servicebroker_v1/service.rb b/generated/google/apis/servicebroker_v1/service.rb index aab7ef7a6..73c41a2a3 100644 --- a/generated/google/apis/servicebroker_v1/service.rb +++ b/generated/google/apis/servicebroker_v1/service.rb @@ -55,6 +55,11 @@ module Google # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The policy format version to be returned. + # Acceptable values are 0 and 1. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -72,11 +77,12 @@ 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 get_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + def get_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::ServicebrokerV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::ServicebrokerV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/servicebroker_v1alpha1.rb b/generated/google/apis/servicebroker_v1alpha1.rb index 37a3014e6..a06cd27fe 100644 --- a/generated/google/apis/servicebroker_v1alpha1.rb +++ b/generated/google/apis/servicebroker_v1alpha1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker module ServicebrokerV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190415' + REVISION = '20190708' # 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/servicebroker_v1alpha1/classes.rb b/generated/google/apis/servicebroker_v1alpha1/classes.rb index be8318c16..4da8a3957 100644 --- a/generated/google/apis/servicebroker_v1alpha1/classes.rb +++ b/generated/google/apis/servicebroker_v1alpha1/classes.rb @@ -39,8 +39,7 @@ module Google # @return [String] attr_accessor :binding_id - # Output only. - # Timestamp for when the binding was created. + # Output only. Timestamp for when the binding was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time @@ -613,14 +612,13 @@ module Google # @return [Hash] attr_accessor :context - # Output only. - # Timestamp for when the instance was created. + # Output only. Timestamp for when the instance was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Output only. - # Name of the Deployment Manager deployment used for provisioning of this + # Output only. Name of the Deployment Manager deployment used for provisioning + # of this # service instance. # Corresponds to the JSON property `deploymentName` # @return [String] @@ -659,8 +657,7 @@ module Google # @return [Hash] attr_accessor :previous_values - # Output only. - # The resource name of the instance, e.g. + # Output only. The resource name of the instance, e.g. # projects/project_id/brokers/broker_id/service_instances/instance_id # Corresponds to the JSON property `resourceName` # @return [String] @@ -748,7 +745,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -831,7 +828,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/servicebroker_v1alpha1/service.rb b/generated/google/apis/servicebroker_v1alpha1/service.rb index cb5197e45..2cf7af939 100644 --- a/generated/google/apis/servicebroker_v1alpha1/service.rb +++ b/generated/google/apis/servicebroker_v1alpha1/service.rb @@ -615,6 +615,11 @@ module Google # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The policy format version to be returned. + # Acceptable values are 0 and 1. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -632,11 +637,12 @@ 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 get_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + def get_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/servicebroker_v1beta1.rb b/generated/google/apis/servicebroker_v1beta1.rb index 47501eed3..25ba06a94 100644 --- a/generated/google/apis/servicebroker_v1beta1.rb +++ b/generated/google/apis/servicebroker_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker module ServicebrokerV1beta1 VERSION = 'V1beta1' - REVISION = '20190415' + REVISION = '20190708' # 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/servicebroker_v1beta1/classes.rb b/generated/google/apis/servicebroker_v1beta1/classes.rb index f110f4f92..95e81a29f 100644 --- a/generated/google/apis/servicebroker_v1beta1/classes.rb +++ b/generated/google/apis/servicebroker_v1beta1/classes.rb @@ -39,14 +39,13 @@ module Google # @return [String] attr_accessor :binding_id - # Output only. - # Timestamp for when the binding was created. + # Output only. Timestamp for when the binding was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Output only. - # String containing the Deployment Manager deployment name that was created + # Output only. String containing the Deployment Manager deployment name that was + # created # for this binding, # Corresponds to the JSON property `deploymentName` # @return [String] @@ -64,8 +63,7 @@ module Google # @return [String] attr_accessor :plan_id - # Output only. - # The resource name of the binding, e.g. + # Output only. The resource name of the binding, e.g. # projects/project_id/brokers/broker_id/service_instances/instance_id/bindings/ # binding_id. # Corresponds to the JSON property `resourceName` @@ -102,8 +100,7 @@ module Google class GoogleCloudServicebrokerV1beta1Broker include Google::Apis::Core::Hashable - # Output only. - # Timestamp for when the broker was created. + # Output only. Timestamp for when the broker was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time @@ -122,8 +119,7 @@ module Google # @return [String] attr_accessor :title - # Output only. - # URL of the broker OSB-compliant endpoint, for example: + # Output only. URL of the broker OSB-compliant endpoint, for example: # https://servicebroker.googleapis.com/projects//brokers/ # Corresponds to the JSON property `url` # @return [String] @@ -340,8 +336,7 @@ module Google # @return [String] attr_accessor :description - # Output only. - # The resource name of the binding, e.g. + # Output only. The resource name of the binding, e.g. # projects/project_id/brokers/broker_id/service_instances/instance_id/bindings/ # binding_id. # Corresponds to the JSON property `resourceName` @@ -727,14 +722,13 @@ module Google # @return [Hash] attr_accessor :context - # Output only. - # Timestamp for when the instance was created. + # Output only. Timestamp for when the instance was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Output only. - # String containing the Deployment Manager deployment name that was created + # Output only. String containing the Deployment Manager deployment name that was + # created # for this instance, # Corresponds to the JSON property `deploymentName` # @return [String] @@ -779,8 +773,7 @@ module Google # @return [Hash] attr_accessor :previous_values - # Output only. - # The resource name of the instance, e.g. + # Output only. The resource name of the instance, e.g. # projects/project_id/brokers/broker_id/service_instances/instance_id # Corresponds to the JSON property `resourceName` # @return [String] @@ -869,7 +862,7 @@ module Google # * `allAuthenticatedUsers`: A special identifier that represents anyone # who is authenticated with a Google account or a service account. # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` . + # account. For example, `alice@example.com` . # * `serviceAccount:`emailid``: An email address that represents a service # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. @@ -952,7 +945,7 @@ module Google # systems are expected to put that etag in the request to `setIamPolicy` to # ensure that their change will be applied to the same version of the policy. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. + # policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/servicebroker_v1beta1/service.rb b/generated/google/apis/servicebroker_v1beta1/service.rb index 39b4acd5e..884962af6 100644 --- a/generated/google/apis/servicebroker_v1beta1/service.rb +++ b/generated/google/apis/servicebroker_v1beta1/service.rb @@ -804,6 +804,11 @@ module Google # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The policy format version to be returned. + # Acceptable values are 0 and 1. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -821,11 +826,12 @@ 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 get_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + def get_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index 6ecbe3146..c90f5993f 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 = '20190628' + REVISION = '20190704' # 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 02aafdcde..d8e3fd195 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -223,6 +223,14 @@ module Google # @return [Array] attr_accessor :exempted_members + # Specifies whether principals can be exempted for the same LogType in + # lower-level resource policies. If true, any lower-level exemptions will + # be ignored. + # Corresponds to the JSON property `ignoreChildExemptions` + # @return [Boolean] + attr_accessor :ignore_child_exemptions + alias_method :ignore_child_exemptions?, :ignore_child_exemptions + # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -235,6 +243,7 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end @@ -1169,6 +1178,14 @@ module Google # @return [Array] attr_accessor :rules + # Specifies the service root url if the default one (the service name + # from the yaml file) is not suitable. This can be seen in any fully + # specified service urls as well as sections that show a base that other + # urls are relative to. + # Corresponds to the JSON property `serviceRootUrl` + # @return [String] + attr_accessor :service_root_url + # A short summary of what the service does. Can only be provided by # plain text. # Corresponds to the JSON property `summary` @@ -1185,6 +1202,7 @@ module Google @overview = args[:overview] if args.key?(:overview) @pages = args[:pages] if args.key?(:pages) @rules = args[:rules] if args.key?(:rules) + @service_root_url = args[:service_root_url] if args.key?(:service_root_url) @summary = args[:summary] if args.key?(:summary) end end diff --git a/generated/google/apis/servicemanagement_v1/representations.rb b/generated/google/apis/servicemanagement_v1/representations.rb index 6843c27d2..b7ccff03f 100644 --- a/generated/google/apis/servicemanagement_v1/representations.rb +++ b/generated/google/apis/servicemanagement_v1/representations.rb @@ -575,6 +575,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' + property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end @@ -794,6 +795,7 @@ module Google collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::DocumentationRule, decorator: Google::Apis::ServicemanagementV1::DocumentationRule::Representation + property :service_root_url, as: 'serviceRootUrl' property :summary, as: 'summary' end end diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index 062f12aff..992857474 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20190508' + REVISION = '20190708' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'