diff --git a/api_names_out.yaml b/api_names_out.yaml index 726caa17e..9e15eab3e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -9301,6 +9301,9 @@ "/bigquery:v2/DatasetReference": dataset_reference "/bigquery:v2/DatasetReference/datasetId": dataset_id "/bigquery:v2/DatasetReference/projectId": project_id +"/bigquery:v2/DestinationTableProperties": destination_table_properties +"/bigquery:v2/DestinationTableProperties/description": description +"/bigquery:v2/DestinationTableProperties/friendlyName": friendly_name "/bigquery:v2/EncryptionConfiguration": encryption_configuration "/bigquery:v2/EncryptionConfiguration/kmsKeyName": kms_key_name "/bigquery:v2/ErrorProto": error_proto @@ -9414,6 +9417,7 @@ "/bigquery:v2/JobConfigurationLoad/createDisposition": create_disposition "/bigquery:v2/JobConfigurationLoad/destinationEncryptionConfiguration": destination_encryption_configuration "/bigquery:v2/JobConfigurationLoad/destinationTable": destination_table +"/bigquery:v2/JobConfigurationLoad/destinationTableProperties": destination_table_properties "/bigquery:v2/JobConfigurationLoad/encoding": encoding "/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter "/bigquery:v2/JobConfigurationLoad/ignoreUnknownValues": ignore_unknown_values @@ -34942,6 +34946,7 @@ "/deploymentmanager:alpha/deploymentmanager.deployments.getIamPolicy/project": project "/deploymentmanager:alpha/deploymentmanager.deployments.getIamPolicy/resource": resource "/deploymentmanager:alpha/deploymentmanager.deployments.insert": insert_deployment +"/deploymentmanager:alpha/deploymentmanager.deployments.insert/createPolicy": create_policy "/deploymentmanager:alpha/deploymentmanager.deployments.insert/preview": preview "/deploymentmanager:alpha/deploymentmanager.deployments.insert/project": project "/deploymentmanager:alpha/deploymentmanager.deployments.list": list_deployments @@ -35364,6 +35369,9 @@ "/deploymentmanager:v2/key": key "/deploymentmanager:v2/quotaUser": quota_user "/deploymentmanager:v2/userIp": user_ip +"/deploymentmanager:v2beta/AsyncOptions": async_options +"/deploymentmanager:v2beta/AsyncOptions/methodMatch": method_match +"/deploymentmanager:v2beta/AsyncOptions/pollingOptions": polling_options "/deploymentmanager:v2beta/AuditConfig": audit_config "/deploymentmanager:v2beta/AuditConfig/auditLogConfigs": audit_log_configs "/deploymentmanager:v2beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config @@ -35457,6 +35465,9 @@ "/deploymentmanager:v2beta/DeploymentsListResponse/nextPageToken": next_page_token "/deploymentmanager:v2beta/DeploymentsStopRequest": deployments_stop_request "/deploymentmanager:v2beta/DeploymentsStopRequest/fingerprint": fingerprint +"/deploymentmanager:v2beta/Diagnostic": diagnostic +"/deploymentmanager:v2beta/Diagnostic/field": field +"/deploymentmanager:v2beta/Diagnostic/level": level "/deploymentmanager:v2beta/Expr": expr "/deploymentmanager:v2beta/Expr/description": description "/deploymentmanager:v2beta/Expr/expression": expression @@ -35537,6 +35548,8 @@ "/deploymentmanager:v2beta/OperationsListResponse/operations": operations "/deploymentmanager:v2beta/OperationsListResponse/operations/operation": operation "/deploymentmanager:v2beta/Options": options +"/deploymentmanager:v2beta/Options/asyncOptions": async_options +"/deploymentmanager:v2beta/Options/asyncOptions/async_option": async_option "/deploymentmanager:v2beta/Options/inputMappings": input_mappings "/deploymentmanager:v2beta/Options/inputMappings/input_mapping": input_mapping "/deploymentmanager:v2beta/Options/validationOptions": validation_options @@ -35551,6 +35564,13 @@ "/deploymentmanager:v2beta/Policy/rules": rules "/deploymentmanager:v2beta/Policy/rules/rule": rule "/deploymentmanager:v2beta/Policy/version": version +"/deploymentmanager:v2beta/PollingOptions": polling_options +"/deploymentmanager:v2beta/PollingOptions/diagnostics": diagnostics +"/deploymentmanager:v2beta/PollingOptions/diagnostics/diagnostic": diagnostic +"/deploymentmanager:v2beta/PollingOptions/failCondition": fail_condition +"/deploymentmanager:v2beta/PollingOptions/finishCondition": finish_condition +"/deploymentmanager:v2beta/PollingOptions/pollingLink": polling_link +"/deploymentmanager:v2beta/PollingOptions/targetLink": target_link "/deploymentmanager:v2beta/Resource": resource "/deploymentmanager:v2beta/Resource/accessControl": access_control "/deploymentmanager:v2beta/Resource/finalProperties": final_properties @@ -35720,6 +35740,7 @@ "/deploymentmanager:v2beta/deploymentmanager.deployments.getIamPolicy/project": project "/deploymentmanager:v2beta/deploymentmanager.deployments.getIamPolicy/resource": resource "/deploymentmanager:v2beta/deploymentmanager.deployments.insert": insert_deployment +"/deploymentmanager:v2beta/deploymentmanager.deployments.insert/createPolicy": create_policy "/deploymentmanager:v2beta/deploymentmanager.deployments.insert/preview": preview "/deploymentmanager:v2beta/deploymentmanager.deployments.insert/project": project "/deploymentmanager:v2beta/deploymentmanager.deployments.list": list_deployments @@ -46603,6 +46624,7 @@ "/doubleclickbidmanager:v1/DownloadResponse": download_response "/doubleclickbidmanager:v1/DownloadResponse/adGroups": ad_groups "/doubleclickbidmanager:v1/DownloadResponse/ads": ads +"/doubleclickbidmanager:v1/DownloadResponse/campaigns": campaigns "/doubleclickbidmanager:v1/DownloadResponse/insertionOrders": insertion_orders "/doubleclickbidmanager:v1/DownloadResponse/lineItems": line_items "/doubleclickbidmanager:v1/FilterPair": filter_pair diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 37db3cd02..c54f70b54 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20180130' + REVISION = '20180215' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 2fb931252..c1f774411 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20180205' + REVISION = '20180211' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index a1a06c3df..895ca7017 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -562,6 +562,35 @@ module Google end end + # + class DestinationTableProperties + include Google::Apis::Core::Hashable + + # [Optional] The description for the destination table. This will only be used + # if the destination table is newly created. If the table already exists and a + # value different than the current description is provided, the job will fail. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Optional] The friendly name for the destination table. This will only be used + # if the destination table is newly created. If the table already exists and a + # value different than the current friendly name is provided, the job will fail. + # Corresponds to the JSON property `friendlyName` + # @return [String] + attr_accessor :friendly_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @friendly_name = args[:friendly_name] if args.key?(:friendly_name) + end + end + # class EncryptionConfiguration include Google::Apis::Core::Hashable @@ -1254,7 +1283,8 @@ module Google include Google::Apis::Core::Hashable # [Optional] The compression type to use for exported files. Possible values - # include GZIP and NONE. The default value is NONE. + # include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE + # and SNAPPY are only supported for Avro. # Corresponds to the JSON property `compression` # @return [String] attr_accessor :compression @@ -1349,7 +1379,7 @@ module Google # @return [String] attr_accessor :create_disposition - # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). + # Custom encryption configuration (e.g., Cloud KMS keys). # Corresponds to the JSON property `destinationEncryptionConfiguration` # @return [Google::Apis::BigqueryV2::EncryptionConfiguration] attr_accessor :destination_encryption_configuration @@ -1359,6 +1389,12 @@ module Google # @return [Google::Apis::BigqueryV2::TableReference] attr_accessor :destination_table + # [Experimental] [Optional] Properties with which to create the destination + # table if it is new. + # Corresponds to the JSON property `destinationTableProperties` + # @return [Google::Apis::BigqueryV2::DestinationTableProperties] + attr_accessor :destination_table_properties + # [Optional] The character encoding of the data. The supported values are UTF-8 # or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the # raw, binary data has been split using the values of the quote and @@ -1513,6 +1549,7 @@ module Google @create_disposition = args[:create_disposition] if args.key?(:create_disposition) @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration) @destination_table = args[:destination_table] if args.key?(:destination_table) + @destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties) @encoding = args[:encoding] if args.key?(:encoding) @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter) @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values) @@ -1562,7 +1599,7 @@ module Google # @return [Google::Apis::BigqueryV2::DatasetReference] attr_accessor :default_dataset - # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). + # Custom encryption configuration (e.g., Cloud KMS keys). # Corresponds to the JSON property `destinationEncryptionConfiguration` # @return [Google::Apis::BigqueryV2::EncryptionConfiguration] attr_accessor :destination_encryption_configuration @@ -1731,7 +1768,7 @@ module Google # @return [String] attr_accessor :create_disposition - # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). + # Custom encryption configuration (e.g., Cloud KMS keys). # Corresponds to the JSON property `destinationEncryptionConfiguration` # @return [Google::Apis::BigqueryV2::EncryptionConfiguration] attr_accessor :destination_encryption_configuration @@ -2746,7 +2783,7 @@ module Google # @return [String] attr_accessor :description - # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). + # Custom encryption configuration (e.g., Cloud KMS keys). # Corresponds to the JSON property `encryptionConfiguration` # @return [Google::Apis::BigqueryV2::EncryptionConfiguration] attr_accessor :encryption_configuration diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 95866196f..98cba0665 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -76,6 +76,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DestinationTableProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EncryptionConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -494,6 +500,14 @@ module Google end end + class DestinationTableProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :friendly_name, as: 'friendlyName' + end + end + class EncryptionConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -682,6 +696,8 @@ module Google property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation + property :destination_table_properties, as: 'destinationTableProperties', class: Google::Apis::BigqueryV2::DestinationTableProperties, decorator: Google::Apis::BigqueryV2::DestinationTableProperties::Representation + property :encoding, as: 'encoding' property :field_delimiter, as: 'fieldDelimiter' property :ignore_unknown_values, as: 'ignoreUnknownValues' @@ -983,8 +999,8 @@ module Google class QueryTimelineSample # @private class Representation < Google::Apis::Core::JsonRepresentation - property :active_inputs, as: 'activeInputs' - property :completed_inputs, as: 'completedInputs' + property :active_inputs, :numeric_string => true, as: 'activeInputs' + property :completed_inputs, :numeric_string => true, as: 'completedInputs' property :elapsed_ms, :numeric_string => true, as: 'elapsedMs' property :pending_inputs, :numeric_string => true, as: 'pendingInputs' property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs' diff --git a/generated/google/apis/cloudiot_v1.rb b/generated/google/apis/cloudiot_v1.rb index 3b2b56e3b..54ad8bd48 100644 --- a/generated/google/apis/cloudiot_v1.rb +++ b/generated/google/apis/cloudiot_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/iot module CloudiotV1 VERSION = 'V1' - REVISION = '20180131' + REVISION = '20180208' # 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/cloudiot_v1/classes.rb b/generated/google/apis/cloudiot_v1/classes.rb index 1c1143f16..411bde2cb 100644 --- a/generated/google/apis/cloudiot_v1/classes.rb +++ b/generated/google/apis/cloudiot_v1/classes.rb @@ -22,18 +22,127 @@ module Google module Apis module CloudiotV1 + # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # Example Policy with multiple AuditConfigs: + # ` + # "audit_configs": [ + # ` + # "service": "allServices" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # `, + # ` + # "log_type": "ADMIN_READ", + # ` + # ] + # `, + # ` + # "service": "fooservice.googleapis.com" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # `, + # ` + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:bar@gmail.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. + class AuditConfig + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @service = args[:service] if args.key?(:service) + end + end + + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + # Associates `members` with a `role`. class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - # Corresponds to the JSON property `condition` - # @return [Google::Apis::CloudiotV1::Expr] - attr_accessor :condition - # Specifies the identities requesting access for a Cloud Platform resource. # `members` can have the following values: # * `allUsers`: A special identifier that represents anyone who is @@ -65,7 +174,6 @@ module Google # Update properties of this object def update!(**args) - @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end @@ -174,9 +282,11 @@ module Google # @return [String] attr_accessor :last_event_time - # [Output only] The last time a heartbeat was received. Timestamps are - # periodically collected and written to storage; they may be stale by a few - # minutes. This field is only for devices connecting through MQTT. + # [Output only] The last time an MQTT `PINGREQ` was received. This field + # applies only to devices connecting through MQTT. MQTT clients usually only + # send `PINGREQ` messages if the connection is idle, and no other messages + # have been sent. Timestamps are periodically collected and written to + # storage; they may be stale by a few minutes. # Corresponds to the JSON property `lastHeartbeatTime` # @return [String] attr_accessor :last_heartbeat_time @@ -466,53 +576,6 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class Expr - include Google::Apis::Core::Hashable - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @expression = args[:expression] if args.key?(:expression) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - end - end - # Request message for `GetIamPolicy` method. class GetIamPolicyRequest include Google::Apis::Core::Hashable @@ -718,6 +781,11 @@ module Google class Policy include Google::Apis::Core::Hashable + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + # Associates a list of `members` to a `role`. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` @@ -749,6 +817,7 @@ module Google # Update properties of this object def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @version = args[:version] if args.key?(:version) diff --git a/generated/google/apis/cloudiot_v1/representations.rb b/generated/google/apis/cloudiot_v1/representations.rb index 409e6355c..d68b5992d 100644 --- a/generated/google/apis/cloudiot_v1/representations.rb +++ b/generated/google/apis/cloudiot_v1/representations.rb @@ -22,6 +22,18 @@ module Google module Apis module CloudiotV1 + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end @@ -70,12 +82,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Expr - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,11 +190,26 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudiotV1::AuditLogConfig, decorator: Google::Apis::CloudiotV1::AuditLogConfig::Representation + + property :service, as: 'service' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::CloudiotV1::Expr, decorator: Google::Apis::CloudiotV1::Expr::Representation - collection :members, as: 'members' property :role, as: 'role' end @@ -278,16 +299,6 @@ module Google end end - class Expr - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :expression, as: 'expression' - property :location, as: 'location' - property :title, as: 'title' - end - end - class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -353,6 +364,8 @@ module Google class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudiotV1::AuditConfig, decorator: Google::Apis::CloudiotV1::AuditConfig::Representation + collection :bindings, as: 'bindings', class: Google::Apis::CloudiotV1::Binding, decorator: Google::Apis::CloudiotV1::Binding::Representation property :etag, :base64 => true, as: 'etag' diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index b5dd476c2..65f73a664 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 = '20180122' + REVISION = '20180214' # 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 edbfeaa1f..bdccba8d9 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -405,9 +405,10 @@ module Google # @return [String] attr_accessor :creation_time - # A friendly string to be used to refer to the Organization in the UI. - # Assigned by the server, set to the primary domain of the G Suite - # customer that owns the organization. + # A human-readable string that refers to the Organization in the + # GCP Console UI. This string is set by the server and cannot be + # changed. The string will be set to the primary domain (for example, + # "google.com") of the G Suite customer that owns the organization. # @OutputOnly # Corresponds to the JSON property `displayName` # @return [String] @@ -429,7 +430,6 @@ module Google # An immutable id for the Organization that is assigned on creation. This # should be omitted when creating a new Organization. # This field is read-only. - # This field is deprecated and will be removed in v1. Use name instead. # Corresponds to the JSON property `organizationId` # @return [String] attr_accessor :organization_id diff --git a/generated/google/apis/deploymentmanager_alpha.rb b/generated/google/apis/deploymentmanager_alpha.rb index 389c27301..4bed0d940 100644 --- a/generated/google/apis/deploymentmanager_alpha.rb +++ b/generated/google/apis/deploymentmanager_alpha.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerAlpha VERSION = 'Alpha' - REVISION = '20180119' + REVISION = '20180214' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_alpha/service.rb b/generated/google/apis/deploymentmanager_alpha/service.rb index 28b4607e8..660d1a970 100644 --- a/generated/google/apis/deploymentmanager_alpha/service.rb +++ b/generated/google/apis/deploymentmanager_alpha/service.rb @@ -490,6 +490,8 @@ module Google # @param [String] project # The project ID for this request. # @param [Google::Apis::DeploymentmanagerAlpha::Deployment] deployment_object + # @param [String] create_policy + # # @param [Boolean] preview # If set to true, creates a deployment and creates "shell" resources but does # not actually instantiate these resources. This allows you to preview what your @@ -519,13 +521,14 @@ 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 insert_deployment(project, deployment_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments', options) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation command.request_object = deployment_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? + command.query['createPolicy'] = create_policy unless create_policy.nil? command.query['preview'] = preview unless preview.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/deploymentmanager_v2beta.rb b/generated/google/apis/deploymentmanager_v2beta.rb index 40744b2e9..48bbdb369 100644 --- a/generated/google/apis/deploymentmanager_v2beta.rb +++ b/generated/google/apis/deploymentmanager_v2beta.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/deployment-manager/ module DeploymentmanagerV2beta VERSION = 'V2beta' - REVISION = '20180119' + REVISION = '20180214' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_v2beta/classes.rb b/generated/google/apis/deploymentmanager_v2beta/classes.rb index c6b4932e2..1866cff09 100644 --- a/generated/google/apis/deploymentmanager_v2beta/classes.rb +++ b/generated/google/apis/deploymentmanager_v2beta/classes.rb @@ -22,6 +22,31 @@ module Google module Apis module DeploymentmanagerV2beta + # Async options that determine when a resource should finish. + class AsyncOptions + include Google::Apis::Core::Hashable + + # Method regex where this policy will apply. + # Corresponds to the JSON property `methodMatch` + # @return [String] + attr_accessor :method_match + + # + # Corresponds to the JSON property `pollingOptions` + # @return [Google::Apis::DeploymentmanagerV2beta::PollingOptions] + attr_accessor :polling_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_match = args[:method_match] if args.key?(:method_match) + @polling_options = args[:polling_options] if args.key?(:polling_options) + end + end + # Specifies the audit configuration for a service. The configuration determines # which permission types are logged, and what identities, if any, are exempted # from logging. An AuditConfig must have one or more AuditLogConfigs. @@ -758,6 +783,32 @@ module Google end end + # + class Diagnostic + include Google::Apis::Core::Hashable + + # JsonPath expression on the resource that if non empty, indicates that this + # field needs to be extracted as a diagnostic. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # Level to record this diagnostic. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @level = args[:level] if args.key?(:level) + end + end + # Represents an expression text. Example: # title: "User account presence" description: "Determines whether the request # has a user account" expression: "size(request.user) > 0" @@ -1409,6 +1460,11 @@ module Google class Options include Google::Apis::Core::Hashable + # Options regarding how to thread async requests. + # Corresponds to the JSON property `asyncOptions` + # @return [Array] + attr_accessor :async_options + # The mappings that apply for requests. # Corresponds to the JSON property `inputMappings` # @return [Array] @@ -1436,6 +1492,7 @@ module Google # Update properties of this object def update!(**args) + @async_options = args[:async_options] if args.key?(:async_options) @input_mappings = args[:input_mappings] if args.key?(:input_mappings) @validation_options = args[:validation_options] if args.key?(:validation_options) @virtual_properties = args[:virtual_properties] if args.key?(:virtual_properties) @@ -1520,6 +1577,51 @@ module Google end end + # + class PollingOptions + include Google::Apis::Core::Hashable + + # An array of diagnostics to be collected by Deployment Manager, these + # diagnostics will be displayed to the user. + # Corresponds to the JSON property `diagnostics` + # @return [Array] + attr_accessor :diagnostics + + # JsonPath expression that determines if the request failed. + # Corresponds to the JSON property `failCondition` + # @return [String] + attr_accessor :fail_condition + + # JsonPath expression that determines if the request is completed. + # Corresponds to the JSON property `finishCondition` + # @return [String] + attr_accessor :finish_condition + + # JsonPath expression that evaluates to string, it indicates where to poll. + # Corresponds to the JSON property `pollingLink` + # @return [String] + attr_accessor :polling_link + + # JsonPath expression, after polling is completed, indicates where to fetch the + # resource. + # Corresponds to the JSON property `targetLink` + # @return [String] + attr_accessor :target_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + @fail_condition = args[:fail_condition] if args.key?(:fail_condition) + @finish_condition = args[:finish_condition] if args.key?(:finish_condition) + @polling_link = args[:polling_link] if args.key?(:polling_link) + @target_link = args[:target_link] if args.key?(:target_link) + end + end + # class Resource include Google::Apis::Core::Hashable diff --git a/generated/google/apis/deploymentmanager_v2beta/representations.rb b/generated/google/apis/deploymentmanager_v2beta/representations.rb index 4051cc378..5421fd058 100644 --- a/generated/google/apis/deploymentmanager_v2beta/representations.rb +++ b/generated/google/apis/deploymentmanager_v2beta/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module DeploymentmanagerV2beta + class AsyncOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Diagnostic + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Expr class Representation < Google::Apis::Core::JsonRepresentation; end @@ -244,6 +256,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PollingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Resource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -400,6 +418,15 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AsyncOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_match, as: 'methodMatch' + property :polling_options, as: 'pollingOptions', class: Google::Apis::DeploymentmanagerV2beta::PollingOptions, decorator: Google::Apis::DeploymentmanagerV2beta::PollingOptions::Representation + + end + end + class AuditConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -600,6 +627,14 @@ module Google end end + class Diagnostic + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :level, as: 'level' + end + end + class Expr # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -767,6 +802,8 @@ module Google class Options # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :async_options, as: 'asyncOptions', class: Google::Apis::DeploymentmanagerV2beta::AsyncOptions, decorator: Google::Apis::DeploymentmanagerV2beta::AsyncOptions::Representation + collection :input_mappings, as: 'inputMappings', class: Google::Apis::DeploymentmanagerV2beta::InputMapping, decorator: Google::Apis::DeploymentmanagerV2beta::InputMapping::Representation property :validation_options, as: 'validationOptions', class: Google::Apis::DeploymentmanagerV2beta::ValidationOptions, decorator: Google::Apis::DeploymentmanagerV2beta::ValidationOptions::Representation @@ -790,6 +827,18 @@ module Google end end + class PollingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :diagnostics, as: 'diagnostics', class: Google::Apis::DeploymentmanagerV2beta::Diagnostic, decorator: Google::Apis::DeploymentmanagerV2beta::Diagnostic::Representation + + property :fail_condition, as: 'failCondition' + property :finish_condition, as: 'finishCondition' + property :polling_link, as: 'pollingLink' + property :target_link, as: 'targetLink' + end + end + class Resource # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/deploymentmanager_v2beta/service.rb b/generated/google/apis/deploymentmanager_v2beta/service.rb index e19b757c6..836c46460 100644 --- a/generated/google/apis/deploymentmanager_v2beta/service.rb +++ b/generated/google/apis/deploymentmanager_v2beta/service.rb @@ -490,6 +490,8 @@ module Google # @param [String] project # The project ID for this request. # @param [Google::Apis::DeploymentmanagerV2beta::Deployment] deployment_object + # @param [String] create_policy + # # @param [Boolean] preview # If set to true, creates a deployment and creates "shell" resources but does # not actually instantiate these resources. This allows you to preview what your @@ -519,13 +521,14 @@ 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 insert_deployment(project, deployment_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments', options) command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation command.request_object = deployment_object command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation command.params['project'] = project unless project.nil? + command.query['createPolicy'] = create_policy unless create_policy.nil? command.query['preview'] = preview unless preview.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index eaa9bf64f..586efc786 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20170705' + REVISION = '20180215' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1/classes.rb index 97ce6327a..2f3020320 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/classes.rb @@ -137,6 +137,11 @@ module Google # @return [String] attr_accessor :ads + # Retrieved campaigns in SDF format. + # Corresponds to the JSON property `campaigns` + # @return [String] + attr_accessor :campaigns + # Retrieved insertion orders in SDF format. # Corresponds to the JSON property `insertionOrders` # @return [String] @@ -155,6 +160,7 @@ module Google def update!(**args) @ad_groups = args[:ad_groups] if args.key?(:ad_groups) @ads = args[:ads] if args.key?(:ads) + @campaigns = args[:campaigns] if args.key?(:campaigns) @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders) @line_items = args[:line_items] if args.key?(:line_items) end diff --git a/generated/google/apis/doubleclickbidmanager_v1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1/representations.rb index eb7d07b8d..78a5624ad 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/representations.rb @@ -180,6 +180,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :ad_groups, as: 'adGroups' property :ads, as: 'ads' + property :campaigns, as: 'campaigns' property :insertion_orders, as: 'insertionOrders' property :line_items, as: 'lineItems' end diff --git a/generated/google/apis/doubleclickbidmanager_v1/service.rb b/generated/google/apis/doubleclickbidmanager_v1/service.rb index b3eae1db0..3fe69830a 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/service.rb @@ -53,7 +53,7 @@ module Google @batch_path = 'batch/doubleclickbidmanager/v1' end - # Retrieves line items in CSV format. + # Retrieves line items in CSV format. TrueView line items are not supported. # @param [Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest] download_line_items_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -88,7 +88,7 @@ module Google execute_or_queue_command(command, &block) end - # Uploads line items in CSV format. + # Uploads line items in CSV format. TrueView line items are not supported. # @param [Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest] upload_line_items_request_object # @param [String] fields # Selector specifying which fields to include in a partial response.