Autogenerated update (2018-09-27)

Update:
- adexchangebuyer2_v2beta1
- compute_alpha
- compute_beta
- compute_v1
- content_v2
- content_v2sandbox
- dlp_v2
- partners_v2
This commit is contained in:
Google APIs 2018-09-27 00:44:27 +00:00
parent 4664014ae2
commit d59753a5aa
28 changed files with 2596 additions and 217 deletions

View File

@ -18778,9 +18778,18 @@
"/compute:alpha/GlobalSetPolicyRequest/policy": policy
"/compute:alpha/GuestAttributes": guest_attributes
"/compute:alpha/GuestAttributes/kind": kind
"/compute:alpha/GuestAttributes/queryPath": query_path
"/compute:alpha/GuestAttributes/queryValue": query_value
"/compute:alpha/GuestAttributes/selfLink": self_link
"/compute:alpha/GuestAttributes/variableKey": variable_key
"/compute:alpha/GuestAttributes/variableValue": variable_value
"/compute:alpha/GuestAttributesEntry": guest_attributes_entry
"/compute:alpha/GuestAttributesEntry/key": key
"/compute:alpha/GuestAttributesEntry/namespace": namespace
"/compute:alpha/GuestAttributesEntry/value": value
"/compute:alpha/GuestAttributesValue": guest_attributes_value
"/compute:alpha/GuestAttributesValue/items": items
"/compute:alpha/GuestAttributesValue/items/item": item
"/compute:alpha/GuestOsFeature": guest_os_feature
"/compute:alpha/GuestOsFeature/type": type
"/compute:alpha/HTTP2HealthCheck": http2_health_check
@ -20007,15 +20016,19 @@
"/compute:alpha/NetworkEndpoint/port": port
"/compute:alpha/NetworkEndpointGroup": network_endpoint_group
"/compute:alpha/NetworkEndpointGroup/creationTimestamp": creation_timestamp
"/compute:alpha/NetworkEndpointGroup/defaultPort": default_port
"/compute:alpha/NetworkEndpointGroup/description": description
"/compute:alpha/NetworkEndpointGroup/id": id
"/compute:alpha/NetworkEndpointGroup/kind": kind
"/compute:alpha/NetworkEndpointGroup/loadBalancer": load_balancer
"/compute:alpha/NetworkEndpointGroup/name": name
"/compute:alpha/NetworkEndpointGroup/network": network
"/compute:alpha/NetworkEndpointGroup/networkEndpointType": network_endpoint_type
"/compute:alpha/NetworkEndpointGroup/selfLink": self_link
"/compute:alpha/NetworkEndpointGroup/size": size
"/compute:alpha/NetworkEndpointGroup/subnetwork": subnetwork
"/compute:alpha/NetworkEndpointGroup/type": type
"/compute:alpha/NetworkEndpointGroup/zone": zone
"/compute:alpha/NetworkEndpointGroupAggregatedList": network_endpoint_group_aggregated_list
"/compute:alpha/NetworkEndpointGroupAggregatedList/id": id
"/compute:alpha/NetworkEndpointGroupAggregatedList/items": items
@ -21058,6 +21071,13 @@
"/compute:alpha/ShieldedVmConfig/enableIntegrityMonitoring": enable_integrity_monitoring
"/compute:alpha/ShieldedVmConfig/enableSecureBoot": enable_secure_boot
"/compute:alpha/ShieldedVmConfig/enableVtpm": enable_vtpm
"/compute:alpha/ShieldedVmIdentity": shielded_vm_identity
"/compute:alpha/ShieldedVmIdentity/encryptionKey": encryption_key
"/compute:alpha/ShieldedVmIdentity/kind": kind
"/compute:alpha/ShieldedVmIdentity/signingKey": signing_key
"/compute:alpha/ShieldedVmIdentityEntry": shielded_vm_identity_entry
"/compute:alpha/ShieldedVmIdentityEntry/ekCert": ek_cert
"/compute:alpha/ShieldedVmIdentityEntry/ekPub": ek_pub
"/compute:alpha/ShieldedVmIntegrityPolicy": shielded_vm_integrity_policy
"/compute:alpha/ShieldedVmIntegrityPolicy/updateAutoLearnPolicy": update_auto_learn_policy
"/compute:alpha/SignedUrlKey": signed_url_key
@ -22851,6 +22871,7 @@
"/compute:alpha/compute.instances.getGuestAttributes": get_instance_guest_attributes
"/compute:alpha/compute.instances.getGuestAttributes/instance": instance
"/compute:alpha/compute.instances.getGuestAttributes/project": project
"/compute:alpha/compute.instances.getGuestAttributes/queryPath": query_path
"/compute:alpha/compute.instances.getGuestAttributes/variableKey": variable_key
"/compute:alpha/compute.instances.getGuestAttributes/zone": zone
"/compute:alpha/compute.instances.getIamPolicy": get_instance_iam_policy
@ -22863,6 +22884,10 @@
"/compute:alpha/compute.instances.getSerialPortOutput/project": project
"/compute:alpha/compute.instances.getSerialPortOutput/start": start
"/compute:alpha/compute.instances.getSerialPortOutput/zone": zone
"/compute:alpha/compute.instances.getShieldedVmIdentity": get_instance_shielded_vm_identity
"/compute:alpha/compute.instances.getShieldedVmIdentity/instance": instance
"/compute:alpha/compute.instances.getShieldedVmIdentity/project": project
"/compute:alpha/compute.instances.getShieldedVmIdentity/zone": zone
"/compute:alpha/compute.instances.insert": insert_instance
"/compute:alpha/compute.instances.insert/project": project
"/compute:alpha/compute.instances.insert/requestId": request_id
@ -25401,6 +25426,20 @@
"/compute:beta/GlobalSetPolicyRequest/bindings/binding": binding
"/compute:beta/GlobalSetPolicyRequest/etag": etag
"/compute:beta/GlobalSetPolicyRequest/policy": policy
"/compute:beta/GuestAttributes": guest_attributes
"/compute:beta/GuestAttributes/kind": kind
"/compute:beta/GuestAttributes/queryPath": query_path
"/compute:beta/GuestAttributes/queryValue": query_value
"/compute:beta/GuestAttributes/selfLink": self_link
"/compute:beta/GuestAttributes/variableKey": variable_key
"/compute:beta/GuestAttributes/variableValue": variable_value
"/compute:beta/GuestAttributesEntry": guest_attributes_entry
"/compute:beta/GuestAttributesEntry/key": key
"/compute:beta/GuestAttributesEntry/namespace": namespace
"/compute:beta/GuestAttributesEntry/value": value
"/compute:beta/GuestAttributesValue": guest_attributes_value
"/compute:beta/GuestAttributesValue/items": items
"/compute:beta/GuestAttributesValue/items/item": item
"/compute:beta/GuestOsFeature": guest_os_feature
"/compute:beta/GuestOsFeature/type": type
"/compute:beta/HTTP2HealthCheck": http2_health_check
@ -26283,15 +26322,19 @@
"/compute:beta/NetworkEndpoint/port": port
"/compute:beta/NetworkEndpointGroup": network_endpoint_group
"/compute:beta/NetworkEndpointGroup/creationTimestamp": creation_timestamp
"/compute:beta/NetworkEndpointGroup/defaultPort": default_port
"/compute:beta/NetworkEndpointGroup/description": description
"/compute:beta/NetworkEndpointGroup/id": id
"/compute:beta/NetworkEndpointGroup/kind": kind
"/compute:beta/NetworkEndpointGroup/loadBalancer": load_balancer
"/compute:beta/NetworkEndpointGroup/name": name
"/compute:beta/NetworkEndpointGroup/network": network
"/compute:beta/NetworkEndpointGroup/networkEndpointType": network_endpoint_type
"/compute:beta/NetworkEndpointGroup/selfLink": self_link
"/compute:beta/NetworkEndpointGroup/size": size
"/compute:beta/NetworkEndpointGroup/subnetwork": subnetwork
"/compute:beta/NetworkEndpointGroup/type": type
"/compute:beta/NetworkEndpointGroup/zone": zone
"/compute:beta/NetworkEndpointGroupAggregatedList": network_endpoint_group_aggregated_list
"/compute:beta/NetworkEndpointGroupAggregatedList/id": id
"/compute:beta/NetworkEndpointGroupAggregatedList/items": items
@ -27013,6 +27056,8 @@
"/compute:beta/Router/interfaces/interface": interface
"/compute:beta/Router/kind": kind
"/compute:beta/Router/name": name
"/compute:beta/Router/nats": nats
"/compute:beta/Router/nats/nat": nat
"/compute:beta/Router/network": network
"/compute:beta/Router/region": region
"/compute:beta/Router/selfLink": self_link
@ -27073,6 +27118,25 @@
"/compute:beta/RouterList/warning/data/datum/key": key
"/compute:beta/RouterList/warning/data/datum/value": value
"/compute:beta/RouterList/warning/message": message
"/compute:beta/RouterNat": router_nat
"/compute:beta/RouterNat/icmpIdleTimeoutSec": icmp_idle_timeout_sec
"/compute:beta/RouterNat/minPortsPerVm": min_ports_per_vm
"/compute:beta/RouterNat/name": name
"/compute:beta/RouterNat/natIpAllocateOption": nat_ip_allocate_option
"/compute:beta/RouterNat/natIps": nat_ips
"/compute:beta/RouterNat/natIps/nat_ip": nat_ip
"/compute:beta/RouterNat/sourceSubnetworkIpRangesToNat": source_subnetwork_ip_ranges_to_nat
"/compute:beta/RouterNat/subnetworks": subnetworks
"/compute:beta/RouterNat/subnetworks/subnetwork": subnetwork
"/compute:beta/RouterNat/tcpEstablishedIdleTimeoutSec": tcp_established_idle_timeout_sec
"/compute:beta/RouterNat/tcpTransitoryIdleTimeoutSec": tcp_transitory_idle_timeout_sec
"/compute:beta/RouterNat/udpIdleTimeoutSec": udp_idle_timeout_sec
"/compute:beta/RouterNatSubnetworkToNat": router_nat_subnetwork_to_nat
"/compute:beta/RouterNatSubnetworkToNat/name": name
"/compute:beta/RouterNatSubnetworkToNat/secondaryIpRangeNames": secondary_ip_range_names
"/compute:beta/RouterNatSubnetworkToNat/secondaryIpRangeNames/secondary_ip_range_name": secondary_ip_range_name
"/compute:beta/RouterNatSubnetworkToNat/sourceIpRangesToNat": source_ip_ranges_to_nat
"/compute:beta/RouterNatSubnetworkToNat/sourceIpRangesToNat/source_ip_ranges_to_nat": source_ip_ranges_to_nat
"/compute:beta/RouterStatus": router_status
"/compute:beta/RouterStatus/bestRoutes": best_routes
"/compute:beta/RouterStatus/bestRoutes/best_route": best_route
@ -27080,6 +27144,8 @@
"/compute:beta/RouterStatus/bestRoutesForRouter/best_routes_for_router": best_routes_for_router
"/compute:beta/RouterStatus/bgpPeerStatus": bgp_peer_status
"/compute:beta/RouterStatus/bgpPeerStatus/bgp_peer_status": bgp_peer_status
"/compute:beta/RouterStatus/natStatus": nat_status
"/compute:beta/RouterStatus/natStatus/nat_status": nat_status
"/compute:beta/RouterStatus/network": network
"/compute:beta/RouterStatusBgpPeerStatus": router_status_bgp_peer_status
"/compute:beta/RouterStatusBgpPeerStatus/advertisedRoutes": advertised_routes
@ -27093,6 +27159,16 @@
"/compute:beta/RouterStatusBgpPeerStatus/status": status
"/compute:beta/RouterStatusBgpPeerStatus/uptime": uptime
"/compute:beta/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds
"/compute:beta/RouterStatusNatStatus": router_status_nat_status
"/compute:beta/RouterStatusNatStatus/autoAllocatedNatIps": auto_allocated_nat_ips
"/compute:beta/RouterStatusNatStatus/autoAllocatedNatIps/auto_allocated_nat_ip": auto_allocated_nat_ip
"/compute:beta/RouterStatusNatStatus/minExtraNatIpsNeeded": min_extra_nat_ips_needed
"/compute:beta/RouterStatusNatStatus/name": name
"/compute:beta/RouterStatusNatStatus/numVmEndpointsWithNatMappings": num_vm_endpoints_with_nat_mappings
"/compute:beta/RouterStatusNatStatus/userAllocatedNatIpResources": user_allocated_nat_ip_resources
"/compute:beta/RouterStatusNatStatus/userAllocatedNatIpResources/user_allocated_nat_ip_resource": user_allocated_nat_ip_resource
"/compute:beta/RouterStatusNatStatus/userAllocatedNatIps": user_allocated_nat_ips
"/compute:beta/RouterStatusNatStatus/userAllocatedNatIps/user_allocated_nat_ip": user_allocated_nat_ip
"/compute:beta/RouterStatusResponse": router_status_response
"/compute:beta/RouterStatusResponse/kind": kind
"/compute:beta/RouterStatusResponse/result": result
@ -27207,6 +27283,13 @@
"/compute:beta/ShieldedVmConfig/enableIntegrityMonitoring": enable_integrity_monitoring
"/compute:beta/ShieldedVmConfig/enableSecureBoot": enable_secure_boot
"/compute:beta/ShieldedVmConfig/enableVtpm": enable_vtpm
"/compute:beta/ShieldedVmIdentity": shielded_vm_identity
"/compute:beta/ShieldedVmIdentity/encryptionKey": encryption_key
"/compute:beta/ShieldedVmIdentity/kind": kind
"/compute:beta/ShieldedVmIdentity/signingKey": signing_key
"/compute:beta/ShieldedVmIdentityEntry": shielded_vm_identity_entry
"/compute:beta/ShieldedVmIdentityEntry/ekCert": ek_cert
"/compute:beta/ShieldedVmIdentityEntry/ekPub": ek_pub
"/compute:beta/ShieldedVmIntegrityPolicy": shielded_vm_integrity_policy
"/compute:beta/ShieldedVmIntegrityPolicy/updateAutoLearnPolicy": update_auto_learn_policy
"/compute:beta/SignedUrlKey": signed_url_key
@ -27782,6 +27865,30 @@
"/compute:beta/UsageExportLocation": usage_export_location
"/compute:beta/UsageExportLocation/bucketName": bucket_name
"/compute:beta/UsageExportLocation/reportNamePrefix": report_name_prefix
"/compute:beta/VmEndpointNatMappings": vm_endpoint_nat_mappings
"/compute:beta/VmEndpointNatMappings/instanceName": instance_name
"/compute:beta/VmEndpointNatMappings/interfaceNatMappings": interface_nat_mappings
"/compute:beta/VmEndpointNatMappings/interfaceNatMappings/interface_nat_mapping": interface_nat_mapping
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings": vm_endpoint_nat_mappings_interface_nat_mappings
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings/natIpPortRanges": nat_ip_port_ranges
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings/natIpPortRanges/nat_ip_port_range": nat_ip_port_range
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings/numTotalNatPorts": num_total_nat_ports
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings/sourceAliasIpRange": source_alias_ip_range
"/compute:beta/VmEndpointNatMappingsInterfaceNatMappings/sourceVirtualIp": source_virtual_ip
"/compute:beta/VmEndpointNatMappingsList": vm_endpoint_nat_mappings_list
"/compute:beta/VmEndpointNatMappingsList/id": id
"/compute:beta/VmEndpointNatMappingsList/kind": kind
"/compute:beta/VmEndpointNatMappingsList/nextPageToken": next_page_token
"/compute:beta/VmEndpointNatMappingsList/result": result
"/compute:beta/VmEndpointNatMappingsList/result/result": result
"/compute:beta/VmEndpointNatMappingsList/selfLink": self_link
"/compute:beta/VmEndpointNatMappingsList/warning": warning
"/compute:beta/VmEndpointNatMappingsList/warning/code": code
"/compute:beta/VmEndpointNatMappingsList/warning/data": data
"/compute:beta/VmEndpointNatMappingsList/warning/data/datum": datum
"/compute:beta/VmEndpointNatMappingsList/warning/data/datum/key": key
"/compute:beta/VmEndpointNatMappingsList/warning/data/datum/value": value
"/compute:beta/VmEndpointNatMappingsList/warning/message": message
"/compute:beta/VpnTunnel": vpn_tunnel
"/compute:beta/VpnTunnel/creationTimestamp": creation_timestamp
"/compute:beta/VpnTunnel/description": description
@ -28616,6 +28723,12 @@
"/compute:beta/compute.instances.get/instance": instance
"/compute:beta/compute.instances.get/project": project
"/compute:beta/compute.instances.get/zone": zone
"/compute:beta/compute.instances.getGuestAttributes": get_instance_guest_attributes
"/compute:beta/compute.instances.getGuestAttributes/instance": instance
"/compute:beta/compute.instances.getGuestAttributes/project": project
"/compute:beta/compute.instances.getGuestAttributes/queryPath": query_path
"/compute:beta/compute.instances.getGuestAttributes/variableKey": variable_key
"/compute:beta/compute.instances.getGuestAttributes/zone": zone
"/compute:beta/compute.instances.getIamPolicy": get_instance_iam_policy
"/compute:beta/compute.instances.getIamPolicy/project": project
"/compute:beta/compute.instances.getIamPolicy/resource": resource
@ -28626,6 +28739,10 @@
"/compute:beta/compute.instances.getSerialPortOutput/project": project
"/compute:beta/compute.instances.getSerialPortOutput/start": start
"/compute:beta/compute.instances.getSerialPortOutput/zone": zone
"/compute:beta/compute.instances.getShieldedVmIdentity": get_instance_shielded_vm_identity
"/compute:beta/compute.instances.getShieldedVmIdentity/instance": instance
"/compute:beta/compute.instances.getShieldedVmIdentity/project": project
"/compute:beta/compute.instances.getShieldedVmIdentity/zone": zone
"/compute:beta/compute.instances.insert": insert_instance
"/compute:beta/compute.instances.insert/project": project
"/compute:beta/compute.instances.insert/requestId": request_id
@ -29439,6 +29556,14 @@
"/compute:beta/compute.routers.get/project": project
"/compute:beta/compute.routers.get/region": region
"/compute:beta/compute.routers.get/router": router
"/compute:beta/compute.routers.getNatMappingInfo": get_router_nat_mapping_info
"/compute:beta/compute.routers.getNatMappingInfo/filter": filter
"/compute:beta/compute.routers.getNatMappingInfo/maxResults": max_results
"/compute:beta/compute.routers.getNatMappingInfo/orderBy": order_by
"/compute:beta/compute.routers.getNatMappingInfo/pageToken": page_token
"/compute:beta/compute.routers.getNatMappingInfo/project": project
"/compute:beta/compute.routers.getNatMappingInfo/region": region
"/compute:beta/compute.routers.getNatMappingInfo/router": router
"/compute:beta/compute.routers.getRouterStatus": get_router_status
"/compute:beta/compute.routers.getRouterStatus/project": project
"/compute:beta/compute.routers.getRouterStatus/region": region
@ -29494,6 +29619,7 @@
"/compute:beta/compute.securityPolicies.addRule": add_security_policy_rule
"/compute:beta/compute.securityPolicies.addRule/project": project
"/compute:beta/compute.securityPolicies.addRule/securityPolicy": security_policy
"/compute:beta/compute.securityPolicies.addRule/validateOnly": validate_only
"/compute:beta/compute.securityPolicies.delete": delete_security_policy
"/compute:beta/compute.securityPolicies.delete/project": project
"/compute:beta/compute.securityPolicies.delete/requestId": request_id
@ -29508,6 +29634,7 @@
"/compute:beta/compute.securityPolicies.insert": insert_security_policy
"/compute:beta/compute.securityPolicies.insert/project": project
"/compute:beta/compute.securityPolicies.insert/requestId": request_id
"/compute:beta/compute.securityPolicies.insert/validateOnly": validate_only
"/compute:beta/compute.securityPolicies.list": list_security_policies
"/compute:beta/compute.securityPolicies.list/filter": filter
"/compute:beta/compute.securityPolicies.list/maxResults": max_results
@ -29528,6 +29655,7 @@
"/compute:beta/compute.securityPolicies.patchRule/priority": priority
"/compute:beta/compute.securityPolicies.patchRule/project": project
"/compute:beta/compute.securityPolicies.patchRule/securityPolicy": security_policy
"/compute:beta/compute.securityPolicies.patchRule/validateOnly": validate_only
"/compute:beta/compute.securityPolicies.removeRule": remove_security_policy_rule
"/compute:beta/compute.securityPolicies.removeRule/priority": priority
"/compute:beta/compute.securityPolicies.removeRule/project": project
@ -30403,6 +30531,7 @@
"/compute:v1/ConnectionDraining": connection_draining
"/compute:v1/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec
"/compute:v1/CustomerEncryptionKey": customer_encryption_key
"/compute:v1/CustomerEncryptionKey/kmsKeyName": kms_key_name
"/compute:v1/CustomerEncryptionKey/rawKey": raw_key
"/compute:v1/CustomerEncryptionKey/sha256": sha256
"/compute:v1/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk
@ -30669,12 +30798,14 @@
"/compute:v1/HTTPHealthCheck/portName": port_name
"/compute:v1/HTTPHealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTPHealthCheck/requestPath": request_path
"/compute:v1/HTTPHealthCheck/response": response
"/compute:v1/HTTPSHealthCheck": https_health_check
"/compute:v1/HTTPSHealthCheck/host": host
"/compute:v1/HTTPSHealthCheck/port": port
"/compute:v1/HTTPSHealthCheck/portName": port_name
"/compute:v1/HTTPSHealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTPSHealthCheck/requestPath": request_path
"/compute:v1/HTTPSHealthCheck/response": response
"/compute:v1/HealthCheck": health_check
"/compute:v1/HealthCheck/checkIntervalSec": check_interval_sec
"/compute:v1/HealthCheck/creationTimestamp": creation_timestamp
@ -36075,6 +36206,9 @@
"/content:v2/CarriersCarrier/name": name
"/content:v2/CarriersCarrier/services": services
"/content:v2/CarriersCarrier/services/service": service
"/content:v2/CustomerReturnReason": customer_return_reason
"/content:v2/CustomerReturnReason/description": description
"/content:v2/CustomerReturnReason/reasonCode": reason_code
"/content:v2/CutoffTime": cutoff_time
"/content:v2/CutoffTime/hour": hour
"/content:v2/CutoffTime/minute": minute
@ -36379,6 +36513,23 @@
"/content:v2/LoyaltyPoints/name": name
"/content:v2/LoyaltyPoints/pointsValue": points_value
"/content:v2/LoyaltyPoints/ratio": ratio
"/content:v2/MerchantOrderReturn": merchant_order_return
"/content:v2/MerchantOrderReturn/creationDate": creation_date
"/content:v2/MerchantOrderReturn/merchantOrderId": merchant_order_id
"/content:v2/MerchantOrderReturn/orderId": order_id
"/content:v2/MerchantOrderReturn/orderReturnId": order_return_id
"/content:v2/MerchantOrderReturn/returnItems": return_items
"/content:v2/MerchantOrderReturn/returnItems/return_item": return_item
"/content:v2/MerchantOrderReturn/returnShipments": return_shipments
"/content:v2/MerchantOrderReturn/returnShipments/return_shipment": return_shipment
"/content:v2/MerchantOrderReturnItem": merchant_order_return_item
"/content:v2/MerchantOrderReturnItem/customerReturnReason": customer_return_reason
"/content:v2/MerchantOrderReturnItem/itemId": item_id
"/content:v2/MerchantOrderReturnItem/merchantReturnReason": merchant_return_reason
"/content:v2/MerchantOrderReturnItem/product": product
"/content:v2/MerchantOrderReturnItem/returnShipmentIds": return_shipment_ids
"/content:v2/MerchantOrderReturnItem/returnShipmentIds/return_shipment_id": return_shipment_id
"/content:v2/MerchantOrderReturnItem/state": state
"/content:v2/Order": order
"/content:v2/Order/acknowledged": acknowledged
"/content:v2/Order/channelType": channel_type
@ -36593,11 +36744,15 @@
"/content:v2/OrderpaymentsNotifyChargeRequest": orderpayments_notify_charge_request
"/content:v2/OrderpaymentsNotifyChargeRequest/chargeState": charge_state
"/content:v2/OrderpaymentsNotifyChargeRequest/invoiceId": invoice_id
"/content:v2/OrderpaymentsNotifyChargeRequest/invoiceIds": invoice_ids
"/content:v2/OrderpaymentsNotifyChargeRequest/invoiceIds/invoice_id": invoice_id
"/content:v2/OrderpaymentsNotifyChargeResponse": orderpayments_notify_charge_response
"/content:v2/OrderpaymentsNotifyChargeResponse/executionStatus": execution_status
"/content:v2/OrderpaymentsNotifyChargeResponse/kind": kind
"/content:v2/OrderpaymentsNotifyRefundRequest": orderpayments_notify_refund_request
"/content:v2/OrderpaymentsNotifyRefundRequest/invoiceId": invoice_id
"/content:v2/OrderpaymentsNotifyRefundRequest/invoiceIds": invoice_ids
"/content:v2/OrderpaymentsNotifyRefundRequest/invoiceIds/invoice_id": invoice_id
"/content:v2/OrderpaymentsNotifyRefundRequest/refundState": refund_state
"/content:v2/OrderpaymentsNotifyRefundResponse": orderpayments_notify_refund_response
"/content:v2/OrderpaymentsNotifyRefundResponse/executionStatus": execution_status
@ -36612,6 +36767,11 @@
"/content:v2/OrderreportsListTransactionsResponse/nextPageToken": next_page_token
"/content:v2/OrderreportsListTransactionsResponse/transactions": transactions
"/content:v2/OrderreportsListTransactionsResponse/transactions/transaction": transaction
"/content:v2/OrderreturnsListResponse": orderreturns_list_response
"/content:v2/OrderreturnsListResponse/kind": kind
"/content:v2/OrderreturnsListResponse/nextPageToken": next_page_token
"/content:v2/OrderreturnsListResponse/resources": resources
"/content:v2/OrderreturnsListResponse/resources/resource": resource
"/content:v2/OrdersAcknowledgeRequest": orders_acknowledge_request
"/content:v2/OrdersAcknowledgeRequest/operationId": operation_id
"/content:v2/OrdersAcknowledgeResponse": orders_acknowledge_response
@ -37232,6 +37392,15 @@
"/content:v2/RateGroup/singleValue": single_value
"/content:v2/RateGroup/subtables": subtables
"/content:v2/RateGroup/subtables/subtable": subtable
"/content:v2/RefundReason": refund_reason
"/content:v2/RefundReason/description": description
"/content:v2/RefundReason/reasonCode": reason_code
"/content:v2/ReturnShipment": return_shipment
"/content:v2/ReturnShipment/creationDate": creation_date
"/content:v2/ReturnShipment/returnMethodType": return_method_type
"/content:v2/ReturnShipment/shipmentId": shipment_id
"/content:v2/ReturnShipment/shipmentTrackingInfos": shipment_tracking_infos
"/content:v2/ReturnShipment/shipmentTrackingInfos/shipment_tracking_info": shipment_tracking_info
"/content:v2/Row": row
"/content:v2/Row/cells": cells
"/content:v2/Row/cells/cell": cell
@ -37256,6 +37425,9 @@
"/content:v2/ShipmentInvoiceLineItemInvoice/shipmentUnitIds": shipment_unit_ids
"/content:v2/ShipmentInvoiceLineItemInvoice/shipmentUnitIds/shipment_unit_id": shipment_unit_id
"/content:v2/ShipmentInvoiceLineItemInvoice/unitInvoice": unit_invoice
"/content:v2/ShipmentTrackingInfo": shipment_tracking_info
"/content:v2/ShipmentTrackingInfo/carrier": carrier
"/content:v2/ShipmentTrackingInfo/trackingNumber": tracking_number
"/content:v2/ShippingSettings": shipping_settings
"/content:v2/ShippingSettings/accountId": account_id
"/content:v2/ShippingSettings/postalCodeGroups": postal_code_groups
@ -37557,6 +37729,18 @@
"/content:v2/content.orderreports.listtransactions/maxResults": max_results
"/content:v2/content.orderreports.listtransactions/merchantId": merchant_id
"/content:v2/content.orderreports.listtransactions/pageToken": page_token
"/content:v2/content.orderreports.listtransactions/transactionEndDate": transaction_end_date
"/content:v2/content.orderreports.listtransactions/transactionStartDate": transaction_start_date
"/content:v2/content.orderreturns.get": get_orderreturn
"/content:v2/content.orderreturns.get/merchantId": merchant_id
"/content:v2/content.orderreturns.get/returnId": return_id
"/content:v2/content.orderreturns.list": list_orderreturns
"/content:v2/content.orderreturns.list/createdEndDate": created_end_date
"/content:v2/content.orderreturns.list/createdStartDate": created_start_date
"/content:v2/content.orderreturns.list/maxResults": max_results
"/content:v2/content.orderreturns.list/merchantId": merchant_id
"/content:v2/content.orderreturns.list/orderBy": order_by
"/content:v2/content.orderreturns.list/pageToken": page_token
"/content:v2/content.orders.acknowledge": acknowledge_order
"/content:v2/content.orders.acknowledge/merchantId": merchant_id
"/content:v2/content.orders.acknowledge/orderId": order_id
@ -37712,6 +37896,9 @@
"/content:v2sandbox/Amount": amount
"/content:v2sandbox/Amount/pretax": pretax
"/content:v2sandbox/Amount/tax": tax
"/content:v2sandbox/CustomerReturnReason": customer_return_reason
"/content:v2sandbox/CustomerReturnReason/description": description
"/content:v2sandbox/CustomerReturnReason/reasonCode": reason_code
"/content:v2sandbox/Error": error
"/content:v2sandbox/Error/domain": domain
"/content:v2sandbox/Error/message": message
@ -37733,6 +37920,23 @@
"/content:v2sandbox/InvoiceSummaryAdditionalChargeSummary": invoice_summary_additional_charge_summary
"/content:v2sandbox/InvoiceSummaryAdditionalChargeSummary/totalAmount": total_amount
"/content:v2sandbox/InvoiceSummaryAdditionalChargeSummary/type": type
"/content:v2sandbox/MerchantOrderReturn": merchant_order_return
"/content:v2sandbox/MerchantOrderReturn/creationDate": creation_date
"/content:v2sandbox/MerchantOrderReturn/merchantOrderId": merchant_order_id
"/content:v2sandbox/MerchantOrderReturn/orderId": order_id
"/content:v2sandbox/MerchantOrderReturn/orderReturnId": order_return_id
"/content:v2sandbox/MerchantOrderReturn/returnItems": return_items
"/content:v2sandbox/MerchantOrderReturn/returnItems/return_item": return_item
"/content:v2sandbox/MerchantOrderReturn/returnShipments": return_shipments
"/content:v2sandbox/MerchantOrderReturn/returnShipments/return_shipment": return_shipment
"/content:v2sandbox/MerchantOrderReturnItem": merchant_order_return_item
"/content:v2sandbox/MerchantOrderReturnItem/customerReturnReason": customer_return_reason
"/content:v2sandbox/MerchantOrderReturnItem/itemId": item_id
"/content:v2sandbox/MerchantOrderReturnItem/merchantReturnReason": merchant_return_reason
"/content:v2sandbox/MerchantOrderReturnItem/product": product
"/content:v2sandbox/MerchantOrderReturnItem/returnShipmentIds": return_shipment_ids
"/content:v2sandbox/MerchantOrderReturnItem/returnShipmentIds/return_shipment_id": return_shipment_id
"/content:v2sandbox/MerchantOrderReturnItem/state": state
"/content:v2sandbox/Order": order
"/content:v2sandbox/Order/acknowledged": acknowledged
"/content:v2sandbox/Order/channelType": channel_type
@ -37931,15 +38135,24 @@
"/content:v2sandbox/OrderpaymentsNotifyChargeRequest": orderpayments_notify_charge_request
"/content:v2sandbox/OrderpaymentsNotifyChargeRequest/chargeState": charge_state
"/content:v2sandbox/OrderpaymentsNotifyChargeRequest/invoiceId": invoice_id
"/content:v2sandbox/OrderpaymentsNotifyChargeRequest/invoiceIds": invoice_ids
"/content:v2sandbox/OrderpaymentsNotifyChargeRequest/invoiceIds/invoice_id": invoice_id
"/content:v2sandbox/OrderpaymentsNotifyChargeResponse": orderpayments_notify_charge_response
"/content:v2sandbox/OrderpaymentsNotifyChargeResponse/executionStatus": execution_status
"/content:v2sandbox/OrderpaymentsNotifyChargeResponse/kind": kind
"/content:v2sandbox/OrderpaymentsNotifyRefundRequest": orderpayments_notify_refund_request
"/content:v2sandbox/OrderpaymentsNotifyRefundRequest/invoiceId": invoice_id
"/content:v2sandbox/OrderpaymentsNotifyRefundRequest/invoiceIds": invoice_ids
"/content:v2sandbox/OrderpaymentsNotifyRefundRequest/invoiceIds/invoice_id": invoice_id
"/content:v2sandbox/OrderpaymentsNotifyRefundRequest/refundState": refund_state
"/content:v2sandbox/OrderpaymentsNotifyRefundResponse": orderpayments_notify_refund_response
"/content:v2sandbox/OrderpaymentsNotifyRefundResponse/executionStatus": execution_status
"/content:v2sandbox/OrderpaymentsNotifyRefundResponse/kind": kind
"/content:v2sandbox/OrderreturnsListResponse": orderreturns_list_response
"/content:v2sandbox/OrderreturnsListResponse/kind": kind
"/content:v2sandbox/OrderreturnsListResponse/nextPageToken": next_page_token
"/content:v2sandbox/OrderreturnsListResponse/resources": resources
"/content:v2sandbox/OrderreturnsListResponse/resources/resource": resource
"/content:v2sandbox/OrdersAcknowledgeRequest": orders_acknowledge_request
"/content:v2sandbox/OrdersAcknowledgeRequest/operationId": operation_id
"/content:v2sandbox/OrdersAcknowledgeResponse": orders_acknowledge_response
@ -38211,6 +38424,15 @@
"/content:v2sandbox/Promotion": promotion
"/content:v2sandbox/Promotion/promotionAmount": promotion_amount
"/content:v2sandbox/Promotion/promotionId": promotion_id
"/content:v2sandbox/RefundReason": refund_reason
"/content:v2sandbox/RefundReason/description": description
"/content:v2sandbox/RefundReason/reasonCode": reason_code
"/content:v2sandbox/ReturnShipment": return_shipment
"/content:v2sandbox/ReturnShipment/creationDate": creation_date
"/content:v2sandbox/ReturnShipment/returnMethodType": return_method_type
"/content:v2sandbox/ReturnShipment/shipmentId": shipment_id
"/content:v2sandbox/ReturnShipment/shipmentTrackingInfos": shipment_tracking_infos
"/content:v2sandbox/ReturnShipment/shipmentTrackingInfos/shipment_tracking_info": shipment_tracking_info
"/content:v2sandbox/ShipmentInvoice": shipment_invoice
"/content:v2sandbox/ShipmentInvoice/invoiceSummary": invoice_summary
"/content:v2sandbox/ShipmentInvoice/lineItemInvoices": line_item_invoices
@ -38222,6 +38444,9 @@
"/content:v2sandbox/ShipmentInvoiceLineItemInvoice/shipmentUnitIds": shipment_unit_ids
"/content:v2sandbox/ShipmentInvoiceLineItemInvoice/shipmentUnitIds/shipment_unit_id": shipment_unit_id
"/content:v2sandbox/ShipmentInvoiceLineItemInvoice/unitInvoice": unit_invoice
"/content:v2sandbox/ShipmentTrackingInfo": shipment_tracking_info
"/content:v2sandbox/ShipmentTrackingInfo/carrier": carrier
"/content:v2sandbox/ShipmentTrackingInfo/trackingNumber": tracking_number
"/content:v2sandbox/TestOrder": test_order
"/content:v2sandbox/TestOrder/customer": customer
"/content:v2sandbox/TestOrder/enableOrderinvoices": enable_orderinvoices
@ -38306,6 +38531,16 @@
"/content:v2sandbox/content.orderpayments.notifyrefund": notifyrefund_orderpayment
"/content:v2sandbox/content.orderpayments.notifyrefund/merchantId": merchant_id
"/content:v2sandbox/content.orderpayments.notifyrefund/orderId": order_id
"/content:v2sandbox/content.orderreturns.get": get_orderreturn
"/content:v2sandbox/content.orderreturns.get/merchantId": merchant_id
"/content:v2sandbox/content.orderreturns.get/returnId": return_id
"/content:v2sandbox/content.orderreturns.list": list_orderreturns
"/content:v2sandbox/content.orderreturns.list/createdEndDate": created_end_date
"/content:v2sandbox/content.orderreturns.list/createdStartDate": created_start_date
"/content:v2sandbox/content.orderreturns.list/maxResults": max_results
"/content:v2sandbox/content.orderreturns.list/merchantId": merchant_id
"/content:v2sandbox/content.orderreturns.list/orderBy": order_by
"/content:v2sandbox/content.orderreturns.list/pageToken": page_token
"/content:v2sandbox/content.orders.acknowledge": acknowledge_order
"/content:v2sandbox/content.orders.acknowledge/merchantId": merchant_id
"/content:v2sandbox/content.orders.acknowledge/orderId": order_id
@ -58410,6 +58645,7 @@
"/dlp:v2/dlp.organizations.storedInfoTypes.get": get_organization_stored_info_type
"/dlp:v2/dlp.organizations.storedInfoTypes.get/name": name
"/dlp:v2/dlp.organizations.storedInfoTypes.list": list_organization_stored_info_types
"/dlp:v2/dlp.organizations.storedInfoTypes.list/orderBy": order_by
"/dlp:v2/dlp.organizations.storedInfoTypes.list/pageSize": page_size
"/dlp:v2/dlp.organizations.storedInfoTypes.list/pageToken": page_token
"/dlp:v2/dlp.organizations.storedInfoTypes.list/parent": parent
@ -58444,6 +58680,7 @@
"/dlp:v2/dlp.projects.dlpJobs.get/name": name
"/dlp:v2/dlp.projects.dlpJobs.list": list_project_dlp_jobs
"/dlp:v2/dlp.projects.dlpJobs.list/filter": filter
"/dlp:v2/dlp.projects.dlpJobs.list/orderBy": order_by
"/dlp:v2/dlp.projects.dlpJobs.list/pageSize": page_size
"/dlp:v2/dlp.projects.dlpJobs.list/pageToken": page_token
"/dlp:v2/dlp.projects.dlpJobs.list/parent": parent
@ -58483,6 +58720,7 @@
"/dlp:v2/dlp.projects.storedInfoTypes.get": get_project_stored_info_type
"/dlp:v2/dlp.projects.storedInfoTypes.get/name": name
"/dlp:v2/dlp.projects.storedInfoTypes.list": list_project_stored_info_types
"/dlp:v2/dlp.projects.storedInfoTypes.list/orderBy": order_by
"/dlp:v2/dlp.projects.storedInfoTypes.list/pageSize": page_size
"/dlp:v2/dlp.projects.storedInfoTypes.list/pageToken": page_token
"/dlp:v2/dlp.projects.storedInfoTypes.list/parent": parent

View File

@ -20,13 +20,14 @@ module Google
module Apis
# Ad Exchange Buyer API II
#
# Accesses the latest features for managing Ad Exchange accounts, Real-Time
# Bidding configurations and auction metrics, and Marketplace programmatic deals.
# Accesses the latest features for managing Authorized Buyers accounts, Real-
# Time Bidding configurations and auction metrics, and Marketplace programmatic
# deals.
#
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20180921'
REVISION = '20180925'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -293,11 +293,11 @@ module Google
end
# Represents a buyer of inventory. Each buyer is identified by a unique
# Ad Exchange account ID.
# Authorized Buyers account ID.
class Buyer
include Google::Apis::Core::Hashable
# Ad Exchange account ID of the buyer.
# Authorized Buyers account ID of the buyer.
# Corresponds to the JSON property `accountId`
# @return [String]
attr_accessor :account_id
@ -319,7 +319,7 @@ module Google
include Google::Apis::Core::Hashable
# The ID of the callout status.
# See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/
# See [callout-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/callout-status-codes).
# Corresponds to the JSON property `calloutStatusId`
# @return [Fixnum]
@ -362,13 +362,11 @@ module Google
end
end
# A client resource represents a client buyer—an agency,
# a brand, or an advertiser customer of the sponsor buyer.
# Users associated with the client buyer have restricted access to
# the Ad Exchange Marketplace and certain other sections
# of the Ad Exchange Buyer UI based on the role
# granted to the client buyer.
# All fields are required unless otherwise specified.
# A client resource represents a client buyer—an agency, a brand, or an
# advertiser customer of the sponsor buyer. Users associated with the client
# buyer have restricted access to the Marketplace and certain other sections of
# the Authorized Buyers UI based on the role granted to the client buyer. All
# fields are required unless otherwise specified.
class Client
include Google::Apis::Core::Hashable
@ -466,9 +464,8 @@ module Google
end
# A client user is created under a client buyer and has restricted access to
# the Ad Exchange Marketplace and certain other sections
# of the Ad Exchange Buyer UI based on the role
# granted to the associated client buyer.
# the Marketplace and certain other sections of the Authorized Buyers UI based
# on the role granted to the associated client buyer.
# The only way a new client user can be created is via accepting an
# email invitation
# (see the
@ -517,9 +514,8 @@ module Google
end
end
# An invitation for a new client user to get access to the Ad Exchange
# Buyer UI.
# All fields are required unless otherwise specified.
# An invitation for a new client user to get access to the Authorized Buyers
# UI. All fields are required unless otherwise specified.
class ClientUserInvitation
include Google::Apis::Core::Hashable
@ -864,7 +860,7 @@ module Google
end
# Represents creative restrictions associated to Programmatic Guaranteed/
# Preferred Deal in DFP.
# Preferred Deal in Ad Manager.
# This doesn't apply to Private Auction and AdX Preferred Deals.
class CreativeRestrictions
include Google::Apis::Core::Hashable
@ -902,8 +898,8 @@ module Google
# What formats are allowed by the publisher.
# If this repeated field is empty then all formats are allowed.
# E.g., if this field contains AllowedFormatType.AUDIO then the publisher
# only allows an audio ad (without any video).
# For example, if this field contains AllowedFormatType.AUDIO then the
# publisher only allows an audio ad (without any video).
# Corresponds to the JSON property `allowedFormats`
# @return [Array<String>]
attr_accessor :allowed_formats
@ -954,7 +950,7 @@ module Google
end
# Represents information for a creative that is associated with a Programmatic
# Guaranteed/Preferred Deal in DFP.
# Guaranteed/Preferred Deal in Ad Manager.
class CreativeSpecification
include Google::Apis::Core::Hashable
@ -992,8 +988,8 @@ module Google
attr_accessor :bid_count
# The ID of the creative status.
# See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# downloads/creative-status-codes).
# See [creative-status-codes](https://developers.google.com/authorized-buyers/
# rtb/downloads/creative-status-codes).
# Corresponds to the JSON property `creativeStatusId`
# @return [Fixnum]
attr_accessor :creative_status_id
@ -1203,7 +1199,7 @@ module Google
attr_accessor :creative_pre_approval_policy
# Represents creative restrictions associated to Programmatic Guaranteed/
# Preferred Deal in DFP.
# Preferred Deal in Ad Manager.
# This doesn't apply to Private Auction and AdX Preferred Deals.
# Corresponds to the JSON property `creativeRestrictions`
# @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeRestrictions]
@ -1567,9 +1563,9 @@ module Google
# A set of filters that is applied to a request for data.
# Within a filter set, an AND operation is performed across the filters
# represented by each field. An OR operation is performed across the filters
# represented by the multiple values of a repeated field. E.g.
# represented by the multiple values of a repeated field, e.g.,
# "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR
# seller_network_id=56)"
# seller_network_id=56)".
class FilterSet
include Google::Apis::Core::Hashable
@ -1584,7 +1580,7 @@ module Google
# The ID of the creative on which to filter; optional. This field may be set
# only for a filter set that accesses account-level troubleshooting data,
# i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*`
# i.e., one whose name matches the `bidders/*/accounts/*/filterSets/*`
# pattern.
# Corresponds to the JSON property `creativeId`
# @return [String]
@ -1592,7 +1588,7 @@ module Google
# The ID of the deal on which to filter; optional. This field may be set
# only for a filter set that accesses account-level troubleshooting data,
# i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*`
# i.e., one whose name matches the `bidders/*/accounts/*/filterSets/*`
# pattern.
# Corresponds to the JSON property `dealId`
# @return [Fixnum]
@ -1604,7 +1600,7 @@ module Google
attr_accessor :environment
# The list of formats on which to filter; may be empty. The filters
# represented by multiple formats are ORed together (i.e. if non-empty,
# represented by multiple formats are ORed together (i.e., if non-empty,
# results must match any one of the formats).
# Corresponds to the JSON property `formats`
# @return [Array<String>]
@ -1622,13 +1618,13 @@ module Google
attr_accessor :name
# The list of platforms on which to filter; may be empty. The filters
# represented by multiple platforms are ORed together (i.e. if non-empty,
# represented by multiple platforms are ORed together (i.e., if non-empty,
# results must match any one of the platforms).
# Corresponds to the JSON property `platforms`
# @return [Array<String>]
attr_accessor :platforms
# For Exchange Bidding buyers only.
# For Open Bidding partners only.
# The list of publisher identifiers on which to filter; may be empty.
# The filters represented by multiple publisher identifiers are ORed
# together.
@ -1644,8 +1640,8 @@ module Google
attr_accessor :realtime_time_range
# A relative date range, specified by an offset and a duration.
# The supported range of dates begins 30 days before today and ends today.
# I.e. the limits for these values are:
# The supported range of dates begins 30 days before today and ends today,
# i.e., the limits for these values are:
# offset_days >= 0
# duration_days >= 1
# offset_days + duration_days <= 30
@ -1653,12 +1649,12 @@ module Google
# @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange]
attr_accessor :relative_date_range
# For Ad Exchange buyers only.
# For Authorized Buyers only.
# The list of IDs of the seller (publisher) networks on which to filter;
# may be empty. The filters represented by multiple seller network IDs are
# ORed together (i.e. if non-empty, results must match any one of the
# publisher networks).
# See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/
# ORed together (i.e., if non-empty, results must match any one of the
# publisher networks). See
# [seller-network-ids](https://developers.google.com/authorized-buyers/rtb/
# downloads/seller-network-ids)
# file for the set of existing seller network IDs.
# Corresponds to the JSON property `sellerNetworkIds`
@ -2021,7 +2017,7 @@ module Google
# Represents the size of an ad unit that can be targeted on an ad
# request. It only applies to Private Auction, AdX Preferred Deals and
# Auction Packages. This targeting does not apply to Programmatic Guaranteed
# and Preferred Deals in DFP.
# and Preferred Deals in Ad Manager.
class InventorySizeTargeting
include Google::Apis::Core::Hashable
@ -2211,8 +2207,8 @@ module Google
# Pass this value in the
# ListClientsRequest.pageToken
# field in the subsequent call to the
# accounts.clients.list method
# to retrieve the next page of results.
# accounts.clients.list
# method to retrieve the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -2651,12 +2647,12 @@ module Google
# Represents the size of an ad unit that can be targeted on an ad
# request. It only applies to Private Auction, AdX Preferred Deals and
# Auction Packages. This targeting does not apply to Programmatic Guaranteed
# and Preferred Deals in DFP.
# and Preferred Deals in Ad Manager.
# Corresponds to the JSON property `inventorySizeTargeting`
# @return [Google::Apis::Adexchangebuyer2V2beta1::InventorySizeTargeting]
attr_accessor :inventory_size_targeting
# Represents targeting about where the ads can appear, e.g. certain sites or
# Represents targeting about where the ads can appear, e.g., certain sites or
# mobile applications.
# Different placement targeting types will be logically OR'ed.
# Corresponds to the JSON property `placementTargeting`
@ -3055,7 +3051,7 @@ module Google
end
end
# Represents targeting about where the ads can appear, e.g. certain sites or
# Represents targeting about where the ads can appear, e.g., certain sites or
# mobile applications.
# Different placement targeting types will be logically OR'ed.
class PlacementTargeting
@ -3066,10 +3062,11 @@ module Google
# @return [Google::Apis::Adexchangebuyer2V2beta1::MobileApplicationTargeting]
attr_accessor :mobile_application_targeting
# Represents a list of targeted and excluded URLs (e.g google.com).
# Represents a list of targeted and excluded URLs (e.g., google.com).
# For Private Auction and AdX Preferred Deals, URLs are either included or
# excluded.
# For DFP Programmatic Guaranteed and Preferred Deals, this doesn't apply.
# For Programmatic Guaranteed and Preferred Deals, this doesn't
# apply.
# Corresponds to the JSON property `urlTargeting`
# @return [Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting]
attr_accessor :url_targeting
@ -3145,7 +3142,7 @@ module Google
attr_accessor :advertiser_ids
# Represents a buyer of inventory. Each buyer is identified by a unique
# Ad Exchange account ID.
# Authorized Buyers account ID.
# Corresponds to the JSON property `buyer`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Buyer]
attr_accessor :buyer
@ -3240,7 +3237,7 @@ module Google
# @return [String]
attr_accessor :product_id
# The revision number of the product. (auto-assigned by marketplace)
# The revision number of the product (auto-assigned by Marketplace).
# Corresponds to the JSON property `productRevision`
# @return [Fixnum]
attr_accessor :product_revision
@ -3252,7 +3249,7 @@ module Google
attr_accessor :publisher_profile_id
# Represents a seller of inventory. Each seller is identified by a unique
# Ad Exchange account ID.
# Ad Manager account ID.
# Corresponds to the JSON property `seller`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Seller]
attr_accessor :seller
@ -3313,7 +3310,7 @@ module Google
# Note: this resource requires whitelisting for access. Please contact your
# account manager for access to Marketplace resources.
# Represents a proposal in the marketplace. A proposal is the unit of
# Represents a proposal in the Marketplace. A proposal is the unit of
# negotiation between a seller and a buyer and contains deals which
# are served.
# Note: you can not update, create, or otherwise modify Private
@ -3323,13 +3320,13 @@ module Google
include Google::Apis::Core::Hashable
# Represents a buyer of inventory. Each buyer is identified by a unique
# Ad Exchange account ID.
# Authorized Buyers account ID.
# Corresponds to the JSON property `billedBuyer`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Buyer]
attr_accessor :billed_buyer
# Represents a buyer of inventory. Each buyer is identified by a unique
# Ad Exchange account ID.
# Authorized Buyers account ID.
# Corresponds to the JSON property `buyer`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Buyer]
attr_accessor :buyer
@ -3420,7 +3417,7 @@ module Google
attr_accessor :proposal_state
# Represents a seller of inventory. Each seller is identified by a unique
# Ad Exchange account ID.
# Ad Manager account ID.
# Corresponds to the JSON property `seller`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Seller]
attr_accessor :seller
@ -3551,7 +3548,7 @@ module Google
attr_accessor :sample_page_url
# Represents a seller of inventory. Each seller is identified by a unique
# Ad Exchange account ID.
# Ad Manager account ID.
# Corresponds to the JSON property `seller`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Seller]
attr_accessor :seller
@ -3637,22 +3634,22 @@ module Google
end
# A relative date range, specified by an offset and a duration.
# The supported range of dates begins 30 days before today and ends today.
# I.e. the limits for these values are:
# The supported range of dates begins 30 days before today and ends today,
# i.e., the limits for these values are:
# offset_days >= 0
# duration_days >= 1
# offset_days + duration_days <= 30
class RelativeDateRange
include Google::Apis::Core::Hashable
# The number of days in the requested date range. E.g. for a range spanning
# today, 1. For a range spanning the last 7 days, 7.
# The number of days in the requested date range, e.g., for a range spanning
# today: 1. For a range spanning the last 7 days: 7.
# Corresponds to the JSON property `durationDays`
# @return [Fixnum]
attr_accessor :duration_days
# The end date of the filter set, specified as the number of days before
# today. E.g. for a range where the last date is today, 0.
# today, e.g., for a range where the last date is today: 0.
# Corresponds to the JSON property `offsetDays`
# @return [Fixnum]
attr_accessor :offset_days
@ -3741,7 +3738,7 @@ module Google
end
# Represents a seller of inventory. Each seller is identified by a unique
# Ad Exchange account ID.
# Ad Manager account ID.
class Seller
include Google::Apis::Core::Hashable
@ -4080,10 +4077,11 @@ module Google
end
end
# Represents a list of targeted and excluded URLs (e.g google.com).
# Represents a list of targeted and excluded URLs (e.g., google.com).
# For Private Auction and AdX Preferred Deals, URLs are either included or
# excluded.
# For DFP Programmatic Guaranteed and Preferred Deals, this doesn't apply.
# For Programmatic Guaranteed and Preferred Deals, this doesn't
# apply.
class UrlTargeting
include Google::Apis::Core::Hashable

View File

@ -22,8 +22,9 @@ module Google
module Adexchangebuyer2V2beta1
# Ad Exchange Buyer API II
#
# Accesses the latest features for managing Ad Exchange accounts, Real-Time
# Bidding configurations and auction metrics, and Marketplace programmatic deals.
# Accesses the latest features for managing Authorized Buyers accounts, Real-
# Time Bidding configurations and auction metrics, and Marketplace programmatic
# deals.
#
# @example
# require 'google/apis/adexchangebuyer2_v2beta1'
@ -31,7 +32,7 @@ module Google
# Adexchangebuyer2 = Google::Apis::Adexchangebuyer2V2beta1 # Alias the module
# service = Adexchangebuyer2::AdExchangeBuyerIIService.new
#
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
class AdExchangeBuyerIIService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
@ -126,7 +127,8 @@ module Google
# Typically, this is the value of
# ListClientsResponse.nextPageToken
# returned from the previous call to the
# accounts.clients.list method.
# accounts.clients.list
# method.
# @param [String] partner_client_id
# Optional unique identifier (from the standpoint of an Ad Exchange sponsor
# buyer partner) of the client to return.
@ -926,7 +928,7 @@ module Google
# Account ID of the buyer.
# @param [String] filter
# An optional PQL query used to query for products. See
# https://developers.google.com/doubleclick-publishers/docs/pqlreference
# https://developers.google.com/ad-manager/docs/pqlreference
# for documentation about PQL and examples.
# Nested repeated fields, such as product.targetingCriterion.inclusions,
# cannot be filtered.
@ -1911,7 +1913,7 @@ module Google
# The ID of the creative status for which to retrieve a breakdown by
# creative.
# See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/creative-status-codes).
# @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested.
@ -1966,7 +1968,7 @@ module Google
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by detail.
# See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/creative-status-codes).
# Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
# @param [Fixnum] page_size
@ -2581,7 +2583,7 @@ module Google
# The ID of the creative status for which to retrieve a breakdown by
# creative.
# See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/creative-status-codes).
# @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested.
@ -2636,7 +2638,7 @@ module Google
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by detail.
# See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/creative-status-codes).
# Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
# @param [Fixnum] page_size

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20180828'
REVISION = '20180906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -6299,7 +6299,7 @@ module Google
# rule supports either IPv4 or IPv6.
# When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
# reference to an existing Address resource ( internal regional static IP
# address).
# address), with a purpose of GCE_END_POINT and address_type of INTERNAL.
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
# address belonging to the network/subnet configured for the forwarding rule. By
# default, if this field is empty, an ephemeral internal IP address will be
@ -7007,6 +7007,17 @@ module Google
# @return [String]
attr_accessor :kind
# The path to be queried. This can be the default namespace ('/') or a nested
# namespace ('//') or a specified key ('//')
# Corresponds to the JSON property `queryPath`
# @return [String]
attr_accessor :query_path
# Array of guest attribute namespace/key/value tuples.
# Corresponds to the JSON property `queryValue`
# @return [Google::Apis::ComputeAlpha::GuestAttributesValue]
attr_accessor :query_value
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@ -7029,12 +7040,64 @@ module Google
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@query_path = args[:query_path] if args.key?(:query_path)
@query_value = args[:query_value] if args.key?(:query_value)
@self_link = args[:self_link] if args.key?(:self_link)
@variable_key = args[:variable_key] if args.key?(:variable_key)
@variable_value = args[:variable_value] if args.key?(:variable_value)
end
end
# A guest attributes namespace/key/value entry.
class GuestAttributesEntry
include Google::Apis::Core::Hashable
# Key for the guest attribute entry.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Namespace for the guest attribute entry.
# Corresponds to the JSON property `namespace`
# @return [String]
attr_accessor :namespace
# Value for the guest attribute entry.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@namespace = args[:namespace] if args.key?(:namespace)
@value = args[:value] if args.key?(:value)
end
end
# Array of guest attribute namespace/key/value tuples.
class GuestAttributesValue
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::GuestAttributesEntry>]
attr_accessor :items
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
end
end
# Guest OS features.
class GuestOsFeature
include Google::Apis::Core::Hashable
@ -13696,8 +13759,8 @@ module Google
# @return [Fixnum]
attr_accessor :license_code
# [Output Only] Name of the resource. The name is 1-63 characters long and
# complies with RFC1035.
# Name of the resource. The name must be 1-63 characters long and comply with
# RFC1035.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -14145,8 +14208,8 @@ module Google
# @return [String]
attr_accessor :self_link
# The source instance used to create the template. You can provide this as a
# partial or full URL to the resource. For example, the following are valid
# The source instance used to create the machine image. You can provide this as
# a partial or full URL to the resource. For example, the following are valid
# values:
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
# instance
@ -15285,6 +15348,12 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# The default port used if the port number is not specified in the network
# endpoint.
# Corresponds to the JSON property `defaultPort`
# @return [Fixnum]
attr_accessor :default_port
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
@ -15318,6 +15387,12 @@ module Google
# @return [String]
attr_accessor :name
# The URL of the network to which all network endpoints in the NEG belong. Uses "
# default" project network if unspecified.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Type of network endpoints in this network endpoint group. Currently the only
# supported value is GCE_VM_IP_PORT.
# Corresponds to the JSON property `networkEndpointType`
@ -15334,12 +15409,23 @@ module Google
# @return [Fixnum]
attr_accessor :size
# Optional URL of the subnetwork to which all network endpoints in the NEG
# belong.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
# Specify the type of this network endpoint group. Only LOAD_BALANCING is valid
# for now.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# [Output Only] The URL of the zone where the network endpoint group is located.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
@ -15347,15 +15433,19 @@ module Google
# Update properties of this object
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@default_port = args[:default_port] if args.key?(:default_port)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
@self_link = args[:self_link] if args.key?(:self_link)
@size = args[:size] if args.key?(:size)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@type = args[:type] if args.key?(:type)
@zone = args[:zone] if args.key?(:zone)
end
end
@ -22606,7 +22696,7 @@ module Google
# source is required except for local SSD.
# If desired, you can also attach existing non-root persistent disks using this
# property. This field is only applicable for persistent disks.
# Note that for InstanceTemplate, specify the disk name, not the URL for the
# Note that for sourceMachineImage, specify the disk name, not the URL for the
# disk.
# Corresponds to the JSON property `source`
# @return [String]
@ -23255,6 +23345,63 @@ module Google
end
end
# A shielded VM identity entry.
class ShieldedVmIdentity
include Google::Apis::Core::Hashable
# A Shielded VM Identity Entry.
# Corresponds to the JSON property `encryptionKey`
# @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry]
attr_accessor :encryption_key
# [Output Only] Type of the resource. Always compute#shieldedVmIdentity for
# shielded VM identity entry.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A Shielded VM Identity Entry.
# Corresponds to the JSON property `signingKey`
# @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry]
attr_accessor :signing_key
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
@kind = args[:kind] if args.key?(:kind)
@signing_key = args[:signing_key] if args.key?(:signing_key)
end
end
# A Shielded VM Identity Entry.
class ShieldedVmIdentityEntry
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `ekCert`
# @return [String]
attr_accessor :ek_cert
#
# Corresponds to the JSON property `ekPub`
# @return [String]
attr_accessor :ek_pub
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ek_cert = args[:ek_cert] if args.key?(:ek_cert)
@ek_pub = args[:ek_pub] if args.key?(:ek_pub)
end
end
# The policy describes the baseline against which VM instance boot integrity is
# measured.
class ShieldedVmIntegrityPolicy
@ -23621,9 +23768,9 @@ module Google
class SourceInstanceProperties
include Google::Apis::Core::Hashable
# Enables instances created based on this template to send packets with source
# IP addresses other than their own and receive packets with destination IP
# addresses other than their own. If these instances will be used as an IP
# Enables instances created based on this machine image to send packets with
# source IP addresses other than their own and receive packets with destination
# IP addresses other than their own. If these instances will be used as an IP
# gateway or it will be set as the next-hop in a Route resource, specify true.
# If unsure, leave this set to false. See the Enable IP forwarding documentation
# for more information.
@ -23639,29 +23786,29 @@ module Google
alias_method :deletion_protection?, :deletion_protection
# An optional text description for the instances that are created from this
# instance template.
# machine image.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# An array of disks that are associated with the instances that are created from
# this template.
# this machine image.
# Corresponds to the JSON property `disks`
# @return [Array<Google::Apis::ComputeAlpha::SavedAttachedDisk>]
attr_accessor :disks
# A list of guest accelerator cards' type and count to use for instances created
# from the instance template.
# from the machine image.
# Corresponds to the JSON property `guestAccelerators`
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
attr_accessor :guest_accelerators
# Labels to apply to instances that are created from this template.
# Labels to apply to instances that are created from this machine image.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The machine type to use for instances that are created from this template.
# The machine type to use for instances that are created from this machine image.
# Corresponds to the JSON property `machineType`
# @return [String]
attr_accessor :machine_type
@ -23692,7 +23839,8 @@ module Google
# A list of service accounts with specified scopes. Access tokens for these
# service accounts are available to the instances that are created from this
# template. Use metadata queries to obtain the access tokens for these instances.
# machine image. Use metadata queries to obtain the access tokens for these
# instances.
# Corresponds to the JSON property `serviceAccounts`
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
attr_accessor :service_accounts
@ -24653,7 +24801,9 @@ module Google
# @return [String]
attr_accessor :description
# Whether to enable flow logging for this subnetwork.
# Whether to enable flow logging for this subnetwork. If this field is not
# explicitly set, it will not appear in get listings. If not set the default
# behavior is to disable flow logging.
# Corresponds to the JSON property `enableFlowLogs`
# @return [Boolean]
attr_accessor :enable_flow_logs

View File

@ -928,6 +928,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestOsFeature
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3238,6 +3250,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIdentity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIdentityEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIntegrityPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5995,12 +6019,32 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :query_path, as: 'queryPath'
property :query_value, as: 'queryValue', class: Google::Apis::ComputeAlpha::GuestAttributesValue, decorator: Google::Apis::ComputeAlpha::GuestAttributesValue::Representation
property :self_link, as: 'selfLink'
property :variable_key, as: 'variableKey'
property :variable_value, as: 'variableValue'
end
end
class GuestAttributesEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :namespace, as: 'namespace'
property :value, as: 'value'
end
end
class GuestAttributesValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::GuestAttributesEntry, decorator: Google::Apis::ComputeAlpha::GuestAttributesEntry::Representation
end
end
class GuestOsFeature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8083,16 +8127,20 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :default_port, as: 'defaultPort'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :load_balancer, as: 'loadBalancer', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupLbNetworkEndpointGroup, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupLbNetworkEndpointGroup::Representation
property :name, as: 'name'
property :network, as: 'network'
property :network_endpoint_type, as: 'networkEndpointType'
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :subnetwork, as: 'subnetwork'
property :type, as: 'type'
property :zone, as: 'zone'
end
end
@ -10199,6 +10247,25 @@ module Google
end
end
class ShieldedVmIdentity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry::Representation
property :kind, as: 'kind'
property :signing_key, as: 'signingKey', class: Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry::Representation
end
end
class ShieldedVmIdentityEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ek_cert, as: 'ekCert'
property :ek_pub, as: 'ekPub'
end
end
class ShieldedVmIntegrityPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -9475,6 +9475,8 @@ module Google
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [String] query_path
# Specifies the guest attributes path to be queried.
# @param [String] variable_key
# Specifies the key for the guest attributes entry.
# @param [String] fields
@ -9496,13 +9498,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 get_instance_guest_attributes(project, zone, instance, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options)
command.response_representation = Google::Apis::ComputeAlpha::GuestAttributes::Representation
command.response_class = Google::Apis::ComputeAlpha::GuestAttributes
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['queryPath'] = query_path unless query_path.nil?
command.query['variableKey'] = variable_key unless variable_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -9598,6 +9601,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the Shielded VM Identity of an instance
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::ShieldedVmIdentity] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::ShieldedVmIdentity]
#
# @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_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options)
command.response_representation = Google::Apis::ComputeAlpha::ShieldedVmIdentity::Representation
command.response_class = Google::Apis::ComputeAlpha::ShieldedVmIdentity
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates an instance resource in the specified project using the data included
# in the request.
# @param [String] project
@ -12706,10 +12748,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified machine image. If you delete an instance template that
# is being referenced from another instance group, the instance group will not
# be able to create or recreate virtual machine instances. Deleting an machine
# image is permanent and cannot be undone.
# Deletes the specified machine image. Deleting an machine image is permanent
# and cannot be undone.
# @param [String] project
# Project ID for this request.
# @param [String] machine_image
@ -12832,9 +12872,9 @@ module Google
end
# Creates an machine image in the specified project using the data that is
# included in the request. If you are creating a new template to update an
# existing instance group, your new machine image must use the same network or,
# if applicable, the same subnetwork as the original template.
# included in the request. If you are creating a new machine image to update an
# existing instance, your new machine image must use the same network or, if
# applicable, the same subnetwork as the original instance.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeAlpha::MachineImage] machine_image_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20180828'
REVISION = '20180906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -5388,7 +5388,7 @@ module Google
# rule supports either IPv4 or IPv6.
# When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
# reference to an existing Address resource ( internal regional static IP
# address).
# address), with a purpose of GCE_END_POINT and address_type of INTERNAL.
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
# address belonging to the network/subnet configured for the forwarding rule. By
# default, if this field is empty, an ephemeral internal IP address will be
@ -6051,6 +6051,107 @@ module Google
end
end
# A guest attributes entry.
class GuestAttributes
include Google::Apis::Core::Hashable
# [Output Only] Type of the resource. Always compute#guestAttributes for guest
# attributes entry.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The path to be queried. This can be the default namespace ('/') or a nested
# namespace ('//') or a specified key ('//')
# Corresponds to the JSON property `queryPath`
# @return [String]
attr_accessor :query_path
# Array of guest attribute namespace/key/value tuples.
# Corresponds to the JSON property `queryValue`
# @return [Google::Apis::ComputeBeta::GuestAttributesValue]
attr_accessor :query_value
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# The key to search for.
# Corresponds to the JSON property `variableKey`
# @return [String]
attr_accessor :variable_key
# [Output Only] The value found for the requested key.
# Corresponds to the JSON property `variableValue`
# @return [String]
attr_accessor :variable_value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@query_path = args[:query_path] if args.key?(:query_path)
@query_value = args[:query_value] if args.key?(:query_value)
@self_link = args[:self_link] if args.key?(:self_link)
@variable_key = args[:variable_key] if args.key?(:variable_key)
@variable_value = args[:variable_value] if args.key?(:variable_value)
end
end
# A guest attributes namespace/key/value entry.
class GuestAttributesEntry
include Google::Apis::Core::Hashable
# Key for the guest attribute entry.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Namespace for the guest attribute entry.
# Corresponds to the JSON property `namespace`
# @return [String]
attr_accessor :namespace
# Value for the guest attribute entry.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@namespace = args[:namespace] if args.key?(:namespace)
@value = args[:value] if args.key?(:value)
end
end
# Array of guest attribute namespace/key/value tuples.
class GuestAttributesValue
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::GuestAttributesEntry>]
attr_accessor :items
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
end
end
# Guest OS features.
class GuestOsFeature
include Google::Apis::Core::Hashable
@ -6395,11 +6496,6 @@ module Google
# @return [String]
attr_accessor :type
#
# Corresponds to the JSON property `udpHealthCheck`
# @return [Google::Apis::ComputeBeta::UdpHealthCheck]
attr_accessor :udp_health_check
# A so-far healthy instance will be marked unhealthy after this many consecutive
# failures. The default value is 2.
# Corresponds to the JSON property `unhealthyThreshold`
@ -6427,7 +6523,6 @@ module Google
@tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
@type = args[:type] if args.key?(:type)
@udp_health_check = args[:udp_health_check] if args.key?(:udp_health_check)
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
end
end
@ -11853,8 +11948,8 @@ module Google
# @return [Fixnum]
attr_accessor :license_code
# [Output Only] Name of the resource. The name is 1-63 characters long and
# complies with RFC1035.
# Name of the resource. The name must be 1-63 characters long and comply with
# RFC1035.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -13102,6 +13197,12 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# The default port used if the port number is not specified in the network
# endpoint.
# Corresponds to the JSON property `defaultPort`
# @return [Fixnum]
attr_accessor :default_port
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
@ -13135,6 +13236,12 @@ module Google
# @return [String]
attr_accessor :name
# The URL of the network to which all network endpoints in the NEG belong. Uses "
# default" project network if unspecified.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Type of network endpoints in this network endpoint group. Currently the only
# supported value is GCE_VM_IP_PORT.
# Corresponds to the JSON property `networkEndpointType`
@ -13151,6 +13258,17 @@ module Google
# @return [Fixnum]
attr_accessor :size
# Optional URL of the subnetwork to which all network endpoints in the NEG
# belong.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
# [Output Only] The URL of the zone where the network endpoint group is located.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
@ -13158,14 +13276,18 @@ module Google
# Update properties of this object
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@default_port = args[:default_port] if args.key?(:default_port)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
@self_link = args[:self_link] if args.key?(:self_link)
@size = args[:size] if args.key?(:size)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@zone = args[:zone] if args.key?(:zone)
end
end
@ -18870,6 +18992,11 @@ module Google
# @return [String]
attr_accessor :name
# A list of Nat services created in this router.
# Corresponds to the JSON property `nats`
# @return [Array<Google::Apis::ComputeBeta::RouterNat>]
attr_accessor :nats
# URI of the network to which this router belongs.
# Corresponds to the JSON property `network`
# @return [String]
@ -18901,6 +19028,7 @@ module Google
@interfaces = args[:interfaces] if args.key?(:interfaces)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@nats = args[:nats] if args.key?(:nats)
@network = args[:network] if args.key?(:network)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@ -19357,6 +19485,132 @@ module Google
end
end
# Represents a Nat resource. It enables the VMs within the specified subnetworks
# to access Internet without external IP addresses. It specifies a list of
# subnetworks (and the ranges within) that want to use NAT. Customers can also
# provide the external IPs that would be used for NAT. GCP would auto-allocate
# ephemeral IPs if no external IPs are provided.
class RouterNat
include Google::Apis::Core::Hashable
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
# Corresponds to the JSON property `icmpIdleTimeoutSec`
# @return [Fixnum]
attr_accessor :icmp_idle_timeout_sec
# Minimum number of ports allocated to a VM from this NAT config. If not set, a
# default number of ports is allocated to a VM. This gets rounded up to the
# nearest power of 2. Eg. if the value of this field is 50, at least 64 ports
# will be allocated to a VM.
# Corresponds to the JSON property `minPortsPerVm`
# @return [Fixnum]
attr_accessor :min_ports_per_vm
# Unique name of this Nat service. The name must be 1-63 characters long and
# comply with RFC1035.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be
# empty.
# Corresponds to the JSON property `natIpAllocateOption`
# @return [String]
attr_accessor :nat_ip_allocate_option
# A list of URLs of the IP resources used for this Nat service. These IPs must
# be valid static external IP addresses assigned to the project. max_length is
# subject to change post alpha.
# Corresponds to the JSON property `natIps`
# @return [Array<String>]
attr_accessor :nat_ips
# Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES
# or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other
# Router.Nat section in any Router for this network in this region.
# Corresponds to the JSON property `sourceSubnetworkIpRangesToNat`
# @return [String]
attr_accessor :source_subnetwork_ip_ranges_to_nat
# A list of Subnetwork resources whose traffic should be translated by NAT
# Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the
# SubnetworkIpRangeToNatOption above.
# Corresponds to the JSON property `subnetworks`
# @return [Array<Google::Apis::ComputeBeta::RouterNatSubnetworkToNat>]
attr_accessor :subnetworks
# Timeout (in seconds) for TCP established connections. Defaults to 1200s if not
# set.
# Corresponds to the JSON property `tcpEstablishedIdleTimeoutSec`
# @return [Fixnum]
attr_accessor :tcp_established_idle_timeout_sec
# Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not
# set.
# Corresponds to the JSON property `tcpTransitoryIdleTimeoutSec`
# @return [Fixnum]
attr_accessor :tcp_transitory_idle_timeout_sec
# Timeout (in seconds) for UDP connections. Defaults to 30s if not set.
# Corresponds to the JSON property `udpIdleTimeoutSec`
# @return [Fixnum]
attr_accessor :udp_idle_timeout_sec
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
@name = args[:name] if args.key?(:name)
@nat_ip_allocate_option = args[:nat_ip_allocate_option] if args.key?(:nat_ip_allocate_option)
@nat_ips = args[:nat_ips] if args.key?(:nat_ips)
@source_subnetwork_ip_ranges_to_nat = args[:source_subnetwork_ip_ranges_to_nat] if args.key?(:source_subnetwork_ip_ranges_to_nat)
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
@tcp_established_idle_timeout_sec = args[:tcp_established_idle_timeout_sec] if args.key?(:tcp_established_idle_timeout_sec)
@tcp_transitory_idle_timeout_sec = args[:tcp_transitory_idle_timeout_sec] if args.key?(:tcp_transitory_idle_timeout_sec)
@udp_idle_timeout_sec = args[:udp_idle_timeout_sec] if args.key?(:udp_idle_timeout_sec)
end
end
# Defines the IP ranges that want to use NAT for a subnetwork.
class RouterNatSubnetworkToNat
include Google::Apis::Core::Hashable
# URL for the subnetwork resource to use NAT.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
# This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the
# values in source_ip_ranges_to_nat.
# Corresponds to the JSON property `secondaryIpRangeNames`
# @return [Array<String>]
attr_accessor :secondary_ip_range_names
# Specify the options for NAT ranges in the Subnetwork. All usages of single
# value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option
# with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"]
# Default: [ALL_IP_RANGES]
# Corresponds to the JSON property `sourceIpRangesToNat`
# @return [Array<String>]
attr_accessor :source_ip_ranges_to_nat
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@secondary_ip_range_names = args[:secondary_ip_range_names] if args.key?(:secondary_ip_range_names)
@source_ip_ranges_to_nat = args[:source_ip_ranges_to_nat] if args.key?(:source_ip_ranges_to_nat)
end
end
#
class RouterStatus
include Google::Apis::Core::Hashable
@ -19376,6 +19630,11 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus>]
attr_accessor :bgp_peer_status
#
# Corresponds to the JSON property `natStatus`
# @return [Array<Google::Apis::ComputeBeta::RouterStatusNatStatus>]
attr_accessor :nat_status
# URI of the network to which this router belongs.
# Corresponds to the JSON property `network`
# @return [String]
@ -19390,6 +19649,7 @@ module Google
@best_routes = args[:best_routes] if args.key?(:best_routes)
@best_routes_for_router = args[:best_routes_for_router] if args.key?(:best_routes_for_router)
@bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status)
@nat_status = args[:nat_status] if args.key?(:nat_status)
@network = args[:network] if args.key?(:network)
end
end
@ -19468,6 +19728,58 @@ module Google
end
end
# Status of a NAT contained in this router.
class RouterStatusNatStatus
include Google::Apis::Core::Hashable
# A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
# Corresponds to the JSON property `autoAllocatedNatIps`
# @return [Array<String>]
attr_accessor :auto_allocated_nat_ips
# The number of extra IPs to allocate. This will be greater than 0 only if user-
# specified IPs are NOT enough to allow all configured VMs to use NAT. This
# value is meaningful only when auto-allocation of NAT IPs is *not* used.
# Corresponds to the JSON property `minExtraNatIpsNeeded`
# @return [Fixnum]
attr_accessor :min_extra_nat_ips_needed
# Unique name of this NAT.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Number of VM endpoints (i.e., Nics) that can use NAT.
# Corresponds to the JSON property `numVmEndpointsWithNatMappings`
# @return [Fixnum]
attr_accessor :num_vm_endpoints_with_nat_mappings
# A list of fully qualified URLs of reserved IP address resources.
# Corresponds to the JSON property `userAllocatedNatIpResources`
# @return [Array<String>]
attr_accessor :user_allocated_nat_ip_resources
# A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.
# 26.133".
# Corresponds to the JSON property `userAllocatedNatIps`
# @return [Array<String>]
attr_accessor :user_allocated_nat_ips
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auto_allocated_nat_ips = args[:auto_allocated_nat_ips] if args.key?(:auto_allocated_nat_ips)
@min_extra_nat_ips_needed = args[:min_extra_nat_ips_needed] if args.key?(:min_extra_nat_ips_needed)
@name = args[:name] if args.key?(:name)
@num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings)
@user_allocated_nat_ip_resources = args[:user_allocated_nat_ip_resources] if args.key?(:user_allocated_nat_ip_resources)
@user_allocated_nat_ips = args[:user_allocated_nat_ips] if args.key?(:user_allocated_nat_ips)
end
end
#
class RouterStatusResponse
include Google::Apis::Core::Hashable
@ -20315,6 +20627,63 @@ module Google
end
end
# A shielded VM identity entry.
class ShieldedVmIdentity
include Google::Apis::Core::Hashable
# A Shielded VM Identity Entry.
# Corresponds to the JSON property `encryptionKey`
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
attr_accessor :encryption_key
# [Output Only] Type of the resource. Always compute#shieldedVmIdentity for
# shielded VM identity entry.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A Shielded VM Identity Entry.
# Corresponds to the JSON property `signingKey`
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
attr_accessor :signing_key
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
@kind = args[:kind] if args.key?(:kind)
@signing_key = args[:signing_key] if args.key?(:signing_key)
end
end
# A Shielded VM Identity Entry.
class ShieldedVmIdentityEntry
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `ekCert`
# @return [String]
attr_accessor :ek_cert
#
# Corresponds to the JSON property `ekPub`
# @return [String]
attr_accessor :ek_pub
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ek_cert = args[:ek_cert] if args.key?(:ek_cert)
@ek_pub = args[:ek_pub] if args.key?(:ek_pub)
end
end
# The policy describes the baseline against which VM instance boot integrity is
# measured.
class ShieldedVmIntegrityPolicy
@ -21316,7 +21685,9 @@ module Google
# @return [String]
attr_accessor :description
# Whether to enable flow logging for this subnetwork.
# Whether to enable flow logging for this subnetwork. If this field is not
# explicitly set, it will not appear in get listings. If not set the default
# behavior is to disable flow logging.
# Corresponds to the JSON property `enableFlowLogs`
# @return [Boolean]
attr_accessor :enable_flow_logs
@ -24368,47 +24739,6 @@ module Google
end
end
#
class UdpHealthCheck
include Google::Apis::Core::Hashable
# The UDP port number for the health check request. Valid values are 1 through
# 65535.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Raw data of request to send in payload of UDP packet. It is an error if this
# is empty. The request data can only be ASCII.
# Corresponds to the JSON property `request`
# @return [String]
attr_accessor :request
# The bytes to match against the beginning of the response data. It is an error
# if this is empty. The response data can only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@request = args[:request] if args.key?(:request)
@response = args[:response] if args.key?(:response)
end
end
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
@ -24975,6 +25305,191 @@ module Google
end
end
# Contain information of Nat mapping for a VM endpoint (i.e., NIC).
class VmEndpointNatMappings
include Google::Apis::Core::Hashable
# Name of the VM instance which the endpoint belongs to
# Corresponds to the JSON property `instanceName`
# @return [String]
attr_accessor :instance_name
#
# Corresponds to the JSON property `interfaceNatMappings`
# @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings>]
attr_accessor :interface_nat_mappings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance_name = args[:instance_name] if args.key?(:instance_name)
@interface_nat_mappings = args[:interface_nat_mappings] if args.key?(:interface_nat_mappings)
end
end
# Contain information of Nat mapping for an interface of this endpoint.
class VmEndpointNatMappingsInterfaceNatMappings
include Google::Apis::Core::Hashable
# A list of all IP:port-range mappings assigned to this interface. These ranges
# are inclusive, that is, both the first and the last ports can be used for NAT.
# Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
# Corresponds to the JSON property `natIpPortRanges`
# @return [Array<String>]
attr_accessor :nat_ip_port_ranges
# Total number of ports across all NAT IPs allocated to this interface. It
# equals to the aggregated port number in the field nat_ip_port_ranges.
# Corresponds to the JSON property `numTotalNatPorts`
# @return [Fixnum]
attr_accessor :num_total_nat_ports
# Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
# range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
# Corresponds to the JSON property `sourceAliasIpRange`
# @return [String]
attr_accessor :source_alias_ip_range
# Primary IP of the VM for this NIC.
# Corresponds to the JSON property `sourceVirtualIp`
# @return [String]
attr_accessor :source_virtual_ip
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
end
end
# Contains a list of VmEndpointNatMappings.
class VmEndpointNatMappingsList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for
# lists of Nat mappings of VM endpoints.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] A list of Nat mapping information of VM endpoints.
# Corresponds to the JSON property `result`
# @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappings>]
attr_accessor :result
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@result = args[:result] if args.key?(:result)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
# vpnTunnels ==)
class VpnTunnel

View File

@ -796,6 +796,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestOsFeature
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2674,6 +2692,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RouterNat
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RouterNatSubnetworkToNat
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RouterStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2686,6 +2716,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RouterStatusNatStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RouterStatusResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2818,6 +2854,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIdentity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIdentityEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmIntegrityPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3406,12 +3454,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UdpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UrlMap
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3502,6 +3544,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VmEndpointNatMappings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VmEndpointNatMappingsInterfaceNatMappings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VmEndpointNatMappingsList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class VpnTunnel
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5069,6 +5141,36 @@ module Google
end
end
class GuestAttributes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :query_path, as: 'queryPath'
property :query_value, as: 'queryValue', class: Google::Apis::ComputeBeta::GuestAttributesValue, decorator: Google::Apis::ComputeBeta::GuestAttributesValue::Representation
property :self_link, as: 'selfLink'
property :variable_key, as: 'variableKey'
property :variable_value, as: 'variableValue'
end
end
class GuestAttributesEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :namespace, as: 'namespace'
property :value, as: 'value'
end
end
class GuestAttributesValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeBeta::GuestAttributesEntry, decorator: Google::Apis::ComputeBeta::GuestAttributesEntry::Representation
end
end
class GuestOsFeature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -5138,8 +5240,6 @@ module Google
property :timeout_sec, as: 'timeoutSec'
property :type, as: 'type'
property :udp_health_check, as: 'udpHealthCheck', class: Google::Apis::ComputeBeta::UdpHealthCheck, decorator: Google::Apis::ComputeBeta::UdpHealthCheck::Representation
property :unhealthy_threshold, as: 'unhealthyThreshold'
end
end
@ -6826,15 +6926,19 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :default_port, as: 'defaultPort'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :load_balancer, as: 'loadBalancer', class: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup::Representation
property :name, as: 'name'
property :network, as: 'network'
property :network_endpoint_type, as: 'networkEndpointType'
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :subnetwork, as: 'subnetwork'
property :zone, as: 'zone'
end
end
@ -8376,6 +8480,8 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
collection :nats, as: 'nats', class: Google::Apis::ComputeBeta::RouterNat, decorator: Google::Apis::ComputeBeta::RouterNat::Representation
property :network, as: 'network'
property :region, as: 'region'
property :self_link, as: 'selfLink'
@ -8493,6 +8599,32 @@ module Google
end
end
class RouterNat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
property :min_ports_per_vm, as: 'minPortsPerVm'
property :name, as: 'name'
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
collection :nat_ips, as: 'natIps'
property :source_subnetwork_ip_ranges_to_nat, as: 'sourceSubnetworkIpRangesToNat'
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeBeta::RouterNatSubnetworkToNat, decorator: Google::Apis::ComputeBeta::RouterNatSubnetworkToNat::Representation
property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
end
end
class RouterNatSubnetworkToNat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
collection :secondary_ip_range_names, as: 'secondaryIpRangeNames'
collection :source_ip_ranges_to_nat, as: 'sourceIpRangesToNat'
end
end
class RouterStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8502,6 +8634,8 @@ module Google
collection :bgp_peer_status, as: 'bgpPeerStatus', class: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus, decorator: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus::Representation
collection :nat_status, as: 'natStatus', class: Google::Apis::ComputeBeta::RouterStatusNatStatus, decorator: Google::Apis::ComputeBeta::RouterStatusNatStatus::Representation
property :network, as: 'network'
end
end
@ -8523,6 +8657,18 @@ module Google
end
end
class RouterStatusNatStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps'
property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded'
property :name, as: 'name'
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
collection :user_allocated_nat_ip_resources, as: 'userAllocatedNatIpResources'
collection :user_allocated_nat_ips, as: 'userAllocatedNatIps'
end
end
class RouterStatusResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8746,6 +8892,25 @@ module Google
end
end
class ShieldedVmIdentity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry::Representation
property :kind, as: 'kind'
property :signing_key, as: 'signingKey', class: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry::Representation
end
end
class ShieldedVmIdentityEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ek_cert, as: 'ekCert'
property :ek_pub, as: 'ekPub'
end
end
class ShieldedVmIntegrityPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9774,16 +9939,6 @@ module Google
end
end
class UdpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
property :request, as: 'request'
property :response, as: 'response'
end
end
class UrlMap
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9939,6 +10094,57 @@ module Google
end
end
class VmEndpointNatMappings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_name, as: 'instanceName'
collection :interface_nat_mappings, as: 'interfaceNatMappings', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings::Representation
end
end
class VmEndpointNatMappingsInterfaceNatMappings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
property :num_total_nat_ports, as: 'numTotalNatPorts'
property :source_alias_ip_range, as: 'sourceAliasIpRange'
property :source_virtual_ip, as: 'sourceVirtualIp'
end
end
class VmEndpointNatMappingsList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :result, as: 'result', class: Google::Apis::ComputeBeta::VmEndpointNatMappings, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappings::Representation
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class VpnTunnel
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -8435,6 +8435,51 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the specified guest attributes entry.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [String] query_path
# Specifies the guest attributes path to be queried.
# @param [String] variable_key
# Specifies the key for the guest attributes entry.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::GuestAttributes] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::GuestAttributes]
#
# @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_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options)
command.response_representation = Google::Apis::ComputeBeta::GuestAttributes::Representation
command.response_class = Google::Apis::ComputeBeta::GuestAttributes
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['queryPath'] = query_path unless query_path.nil?
command.query['variableKey'] = variable_key unless variable_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. May be empty if no such policy
# or resource exists.
# @param [String] project
@ -8523,6 +8568,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the Shielded VM Identity of an instance
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::ShieldedVmIdentity] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentity]
#
# @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_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options)
command.response_representation = Google::Apis::ComputeBeta::ShieldedVmIdentity::Representation
command.response_class = Google::Apis::ComputeBeta::ShieldedVmIdentity
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates an instance resource in the specified project using the data included
# in the request.
# @param [String] project
@ -17679,6 +17763,84 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves runtime Nat mapping information of VM endpoints.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] router
# Name of the Router resource to query for Nat Mapping information of VM
# endpoints.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::VmEndpointNatMappingsList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::VmEndpointNatMappingsList]
#
# @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_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation
command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['router'] = router unless router.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.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?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves runtime information of the specified router.
# @param [String] project
# Project ID for this request.
@ -18289,6 +18451,8 @@ module Google
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
# @param [Boolean] validate_only
# If true, the request will not be committed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -18308,7 +18472,7 @@ 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 add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
command.request_object = security_policy_rule_object
@ -18316,6 +18480,7 @@ module Google
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@ -18461,6 +18626,8 @@ module Google
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [Boolean] validate_only
# If true, the request will not be committed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -18480,7 +18647,7 @@ 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_security_policy(project, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/securityPolicies', options)
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
command.request_object = security_policy_object
@ -18488,6 +18655,7 @@ module Google
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@ -18696,6 +18864,8 @@ module Google
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
# @param [Fixnum] priority
# The priority of the rule to patch.
# @param [Boolean] validate_only
# If true, the request will not be committed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -18715,7 +18885,7 @@ 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 patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
command.request_object = security_policy_rule_object
@ -18724,6 +18894,7 @@ module Google
command.params['project'] = project unless project.nil?
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['priority'] = priority unless priority.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20180828'
REVISION = '20180906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3295,6 +3295,11 @@ module Google
class CustomerEncryptionKey
include Google::Apis::Core::Hashable
# The name of the encryption key that is stored in Google Cloud KMS.
# Corresponds to the JSON property `kmsKeyName`
# @return [String]
attr_accessor :kms_key_name
# Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648
# base64 to either encrypt or decrypt this resource.
# Corresponds to the JSON property `rawKey`
@ -3313,6 +3318,7 @@ module Google
# Update properties of this object
def update!(**args)
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@raw_key = args[:raw_key] if args.key?(:raw_key)
@sha256 = args[:sha256] if args.key?(:sha256)
end
@ -4902,7 +4908,7 @@ module Google
# rule supports either IPv4 or IPv6.
# When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
# reference to an existing Address resource ( internal regional static IP
# address).
# address), with a purpose of GCE_END_POINT and address_type of INTERNAL.
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
# address belonging to the network/subnet configured for the forwarding rule. By
# default, if this field is empty, an ephemeral internal IP address will be
@ -5508,6 +5514,13 @@ module Google
# @return [String]
attr_accessor :request_path
# The string to match anywhere in the first 1024 bytes of the response body. If
# left empty (the default value), the status code determines health. The
# response data can only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
@ -5519,6 +5532,7 @@ module Google
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
end
end
@ -5556,6 +5570,13 @@ module Google
# @return [String]
attr_accessor :request_path
# The string to match anywhere in the first 1024 bytes of the response body. If
# left empty (the default value), the status code determines health. The
# response data can only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
@ -5567,6 +5588,7 @@ module Google
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
end
end
@ -10505,8 +10527,8 @@ module Google
# @return [Fixnum]
attr_accessor :license_code
# [Output Only] Name of the resource. The name is 1-63 characters long and
# complies with RFC1035.
# Name of the resource. The name must be 1-63 characters long and comply with
# RFC1035.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -17961,7 +17983,9 @@ module Google
# @return [String]
attr_accessor :description
# Whether to enable flow logging for this subnetwork.
# Whether to enable flow logging for this subnetwork. If this field is not
# explicitly set, it will not appear in get listings. If not set the default
# behavior is to disable flow logging.
# Corresponds to the JSON property `enableFlowLogs`
# @return [Boolean]
attr_accessor :enable_flow_logs

View File

@ -3932,6 +3932,7 @@ module Google
class CustomerEncryptionKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key_name, as: 'kmsKeyName'
property :raw_key, as: 'rawKey'
property :sha256, as: 'sha256'
end
@ -4450,6 +4451,7 @@ module Google
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
end
end
@ -4461,6 +4463,7 @@ module Google
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20180914'
REVISION = '20180921'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1560,6 +1560,31 @@ module Google
end
end
#
class CustomerReturnReason
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
#
# Corresponds to the JSON property `reasonCode`
# @return [String]
attr_accessor :reason_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@reason_code = args[:reason_code] if args.key?(:reason_code)
end
end
#
class CutoffTime
include Google::Apis::Core::Hashable
@ -3697,6 +3722,104 @@ module Google
end
end
#
class MerchantOrderReturn
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `creationDate`
# @return [String]
attr_accessor :creation_date
#
# Corresponds to the JSON property `merchantOrderId`
# @return [String]
attr_accessor :merchant_order_id
#
# Corresponds to the JSON property `orderId`
# @return [String]
attr_accessor :order_id
#
# Corresponds to the JSON property `orderReturnId`
# @return [String]
attr_accessor :order_return_id
#
# Corresponds to the JSON property `returnItems`
# @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
attr_accessor :return_items
#
# Corresponds to the JSON property `returnShipments`
# @return [Array<Google::Apis::ContentV2::ReturnShipment>]
attr_accessor :return_shipments
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_date = args[:creation_date] if args.key?(:creation_date)
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
@order_id = args[:order_id] if args.key?(:order_id)
@order_return_id = args[:order_return_id] if args.key?(:order_return_id)
@return_items = args[:return_items] if args.key?(:return_items)
@return_shipments = args[:return_shipments] if args.key?(:return_shipments)
end
end
#
class MerchantOrderReturnItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `customerReturnReason`
# @return [Google::Apis::ContentV2::CustomerReturnReason]
attr_accessor :customer_return_reason
#
# Corresponds to the JSON property `itemId`
# @return [String]
attr_accessor :item_id
#
# Corresponds to the JSON property `merchantReturnReason`
# @return [Google::Apis::ContentV2::RefundReason]
attr_accessor :merchant_return_reason
#
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::OrderLineItemProduct]
attr_accessor :product
#
# Corresponds to the JSON property `returnShipmentIds`
# @return [Array<String>]
attr_accessor :return_shipment_ids
#
# 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)
@customer_return_reason = args[:customer_return_reason] if args.key?(:customer_return_reason)
@item_id = args[:item_id] if args.key?(:item_id)
@merchant_return_reason = args[:merchant_return_reason] if args.key?(:merchant_return_reason)
@product = args[:product] if args.key?(:product)
@return_shipment_ids = args[:return_shipment_ids] if args.key?(:return_shipment_ids)
@state = args[:state] if args.key?(:state)
end
end
#
class Order
include Google::Apis::Core::Hashable
@ -3953,8 +4076,7 @@ module Google
class OrderCustomer
include Google::Apis::Core::Hashable
# Email address that should be used for order related communications. In certain
# cases this might not be a real users email, but a proxy email.
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
@ -5174,11 +5296,16 @@ module Google
# @return [String]
attr_accessor :charge_state
# Invoice ID from orderInvoice service that corresponds to the charge.
# Deprecated. Please use invoiceIds instead.
# Corresponds to the JSON property `invoiceId`
# @return [String]
attr_accessor :invoice_id
# Invoice IDs from the orderinvoices service that correspond to the charge.
# Corresponds to the JSON property `invoiceIds`
# @return [Array<String>]
attr_accessor :invoice_ids
def initialize(**args)
update!(**args)
end
@ -5187,6 +5314,7 @@ module Google
def update!(**args)
@charge_state = args[:charge_state] if args.key?(:charge_state)
@invoice_id = args[:invoice_id] if args.key?(:invoice_id)
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
end
end
@ -5220,11 +5348,16 @@ module Google
class OrderpaymentsNotifyRefundRequest
include Google::Apis::Core::Hashable
# Invoice ID from orderInvoice service that corresponds to the charge.
# Deprecated. Please use invoiceIds instead.
# Corresponds to the JSON property `invoiceId`
# @return [String]
attr_accessor :invoice_id
# Invoice IDs from the orderinvoices service that correspond to the refund.
# Corresponds to the JSON property `invoiceIds`
# @return [Array<String>]
attr_accessor :invoice_ids
# Whether refund was successful.
# Corresponds to the JSON property `refundState`
# @return [String]
@ -5237,6 +5370,7 @@ module Google
# Update properties of this object
def update!(**args)
@invoice_id = args[:invoice_id] if args.key?(:invoice_id)
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
@refund_state = args[:refund_state] if args.key?(:refund_state)
end
end
@ -5331,6 +5465,38 @@ module Google
end
end
#
class OrderreturnsListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# orderreturnsListResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The token for the retrieval of the next page of returns.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
#
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::ContentV2::MerchantOrderReturn>]
attr_accessor :resources
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@resources = args[:resources] if args.key?(:resources)
end
end
#
class OrdersAcknowledgeRequest
include Google::Apis::Core::Hashable
@ -9589,6 +9755,68 @@ module Google
end
end
#
class RefundReason
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
#
# Corresponds to the JSON property `reasonCode`
# @return [String]
attr_accessor :reason_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@reason_code = args[:reason_code] if args.key?(:reason_code)
end
end
#
class ReturnShipment
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `creationDate`
# @return [String]
attr_accessor :creation_date
#
# Corresponds to the JSON property `returnMethodType`
# @return [String]
attr_accessor :return_method_type
#
# Corresponds to the JSON property `shipmentId`
# @return [String]
attr_accessor :shipment_id
#
# Corresponds to the JSON property `shipmentTrackingInfos`
# @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>]
attr_accessor :shipment_tracking_infos
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_date = args[:creation_date] if args.key?(:creation_date)
@return_method_type = args[:return_method_type] if args.key?(:return_method_type)
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
@shipment_tracking_infos = args[:shipment_tracking_infos] if args.key?(:shipment_tracking_infos)
end
end
#
class Row
include Google::Apis::Core::Hashable
@ -9747,6 +9975,31 @@ module Google
end
end
#
class ShipmentTrackingInfo
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `carrier`
# @return [String]
attr_accessor :carrier
#
# Corresponds to the JSON property `trackingNumber`
# @return [String]
attr_accessor :tracking_number
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@carrier = args[:carrier] if args.key?(:carrier)
@tracking_number = args[:tracking_number] if args.key?(:tracking_number)
end
end
# The merchant account's shipping settings.
class ShippingSettings
include Google::Apis::Core::Hashable
@ -10116,7 +10369,7 @@ module Google
class TestOrderCustomer
include Google::Apis::Core::Hashable
# Email address of the customer.
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email

View File

@ -268,6 +268,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CustomerReturnReason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CutoffTime
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -610,6 +616,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MerchantOrderReturn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MerchantOrderReturnItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Order
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -838,6 +856,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAcknowledgeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1420,6 +1444,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RefundReason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReturnShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Row
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1444,6 +1480,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentTrackingInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShippingSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2001,6 +2043,14 @@ module Google
end
end
class CustomerReturnReason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason_code, as: 'reasonCode'
end
end
class CutoffTime
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2615,6 +2665,35 @@ module Google
end
end
class MerchantOrderReturn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_date, as: 'creationDate'
property :merchant_order_id, as: 'merchantOrderId'
property :order_id, as: 'orderId'
property :order_return_id, as: 'orderReturnId'
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2::MerchantOrderReturnItem::Representation
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2::ReturnShipment, decorator: Google::Apis::ContentV2::ReturnShipment::Representation
end
end
class MerchantOrderReturnItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2::CustomerReturnReason, decorator: Google::Apis::ContentV2::CustomerReturnReason::Representation
property :item_id, as: 'itemId'
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2::RefundReason, decorator: Google::Apis::ContentV2::RefundReason::Representation
property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
collection :return_shipment_ids, as: 'returnShipmentIds'
property :state, as: 'state'
end
end
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3014,6 +3093,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :charge_state, as: 'chargeState'
property :invoice_id, as: 'invoiceId'
collection :invoice_ids, as: 'invoiceIds'
end
end
@ -3029,6 +3109,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
collection :invoice_ids, as: 'invoiceIds'
property :refund_state, as: 'refundState'
end
end
@ -3061,6 +3142,16 @@ module Google
end
end
class OrderreturnsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :resources, as: 'resources', class: Google::Apis::ContentV2::MerchantOrderReturn, decorator: Google::Apis::ContentV2::MerchantOrderReturn::Representation
end
end
class OrdersAcknowledgeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4219,6 +4310,25 @@ module Google
end
end
class RefundReason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason_code, as: 'reasonCode'
end
end
class ReturnShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_date, as: 'creationDate'
property :return_method_type, as: 'returnMethodType'
property :shipment_id, as: 'shipmentId'
collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2::ShipmentTrackingInfo::Representation
end
end
class Row
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4266,6 +4376,14 @@ module Google
end
end
class ShipmentTrackingInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :carrier, as: 'carrier'
property :tracking_number, as: 'trackingNumber'
end
end
class ShippingSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2046,15 +2046,15 @@ module Google
# account.
# @param [String] disbursement_id
# The Google-provided ID of the disbursement (found in Wallet).
# @param [String] disbursement_end_date
# The last date in which disbursements occurred. In ISO 8601 format. Default:
# current date.
# @param [String] disbursement_start_date
# The first date in which disbursements occurred. In ISO 8601 format.
# @param [Fixnum] max_results
# The maximum number of disbursements to return in the response, used for paging.
# @param [String] page_token
# The token returned by the previous request.
# @param [String] transaction_end_date
# The last date in which transaction occurred. In ISO 8601 format. Default:
# current date.
# @param [String] transaction_start_date
# The first date in which transaction occurred. In ISO 8601 format.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2074,16 +2074,106 @@ 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 listtransactions_orderreport(merchant_id, disbursement_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['disbursementId'] = disbursement_id unless disbursement_id.nil?
command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['transactionEndDate'] = transaction_end_date unless transaction_end_date.nil?
command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an order return from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] return_id
# Merchant order return ID generated by Google.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2::MerchantOrderReturn] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::MerchantOrderReturn]
#
# @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_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['returnId'] = return_id unless return_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists order returns in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] created_end_date
# Obtains order returns created before this date (inclusively), in ISO 8601
# format.
# @param [String] created_start_date
# Obtains order returns created after this date (inclusively), in ISO 8601
# format.
# @param [Fixnum] max_results
# The maximum number of order returns to return in the response, used for paging.
# The default value is 25 returns per page, and the maximum allowed value is
# 250 returns per page.
# @param [String] order_by
# Return the results in the specified order.
# @param [String] page_token
# The token returned by the previous request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2::OrderreturnsListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::OrderreturnsListResponse]
#
# @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_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.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?
command.query['userIp'] = user_ip unless user_ip.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2sandbox
VERSION = 'V2sandbox'
REVISION = '20180914'
REVISION = '20180921'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -47,6 +47,31 @@ module Google
end
end
#
class CustomerReturnReason
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
#
# Corresponds to the JSON property `reasonCode`
# @return [String]
attr_accessor :reason_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@reason_code = args[:reason_code] if args.key?(:reason_code)
end
end
# An error returned by the API.
class Error
include Google::Apis::Core::Hashable
@ -193,6 +218,104 @@ module Google
end
end
#
class MerchantOrderReturn
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `creationDate`
# @return [String]
attr_accessor :creation_date
#
# Corresponds to the JSON property `merchantOrderId`
# @return [String]
attr_accessor :merchant_order_id
#
# Corresponds to the JSON property `orderId`
# @return [String]
attr_accessor :order_id
#
# Corresponds to the JSON property `orderReturnId`
# @return [String]
attr_accessor :order_return_id
#
# Corresponds to the JSON property `returnItems`
# @return [Array<Google::Apis::ContentV2sandbox::MerchantOrderReturnItem>]
attr_accessor :return_items
#
# Corresponds to the JSON property `returnShipments`
# @return [Array<Google::Apis::ContentV2sandbox::ReturnShipment>]
attr_accessor :return_shipments
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_date = args[:creation_date] if args.key?(:creation_date)
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
@order_id = args[:order_id] if args.key?(:order_id)
@order_return_id = args[:order_return_id] if args.key?(:order_return_id)
@return_items = args[:return_items] if args.key?(:return_items)
@return_shipments = args[:return_shipments] if args.key?(:return_shipments)
end
end
#
class MerchantOrderReturnItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `customerReturnReason`
# @return [Google::Apis::ContentV2sandbox::CustomerReturnReason]
attr_accessor :customer_return_reason
#
# Corresponds to the JSON property `itemId`
# @return [String]
attr_accessor :item_id
#
# Corresponds to the JSON property `merchantReturnReason`
# @return [Google::Apis::ContentV2sandbox::RefundReason]
attr_accessor :merchant_return_reason
#
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2sandbox::OrderLineItemProduct]
attr_accessor :product
#
# Corresponds to the JSON property `returnShipmentIds`
# @return [Array<String>]
attr_accessor :return_shipment_ids
#
# 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)
@customer_return_reason = args[:customer_return_reason] if args.key?(:customer_return_reason)
@item_id = args[:item_id] if args.key?(:item_id)
@merchant_return_reason = args[:merchant_return_reason] if args.key?(:merchant_return_reason)
@product = args[:product] if args.key?(:product)
@return_shipment_ids = args[:return_shipment_ids] if args.key?(:return_shipment_ids)
@state = args[:state] if args.key?(:state)
end
end
#
class Order
include Google::Apis::Core::Hashable
@ -449,8 +572,7 @@ module Google
class OrderCustomer
include Google::Apis::Core::Hashable
# Email address that should be used for order related communications. In certain
# cases this might not be a real users email, but a proxy email.
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
@ -1560,11 +1682,16 @@ module Google
# @return [String]
attr_accessor :charge_state
# Invoice ID from orderInvoice service that corresponds to the charge.
# Deprecated. Please use invoiceIds instead.
# Corresponds to the JSON property `invoiceId`
# @return [String]
attr_accessor :invoice_id
# Invoice IDs from the orderinvoices service that correspond to the charge.
# Corresponds to the JSON property `invoiceIds`
# @return [Array<String>]
attr_accessor :invoice_ids
def initialize(**args)
update!(**args)
end
@ -1573,6 +1700,7 @@ module Google
def update!(**args)
@charge_state = args[:charge_state] if args.key?(:charge_state)
@invoice_id = args[:invoice_id] if args.key?(:invoice_id)
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
end
end
@ -1606,11 +1734,16 @@ module Google
class OrderpaymentsNotifyRefundRequest
include Google::Apis::Core::Hashable
# Invoice ID from orderInvoice service that corresponds to the charge.
# Deprecated. Please use invoiceIds instead.
# Corresponds to the JSON property `invoiceId`
# @return [String]
attr_accessor :invoice_id
# Invoice IDs from the orderinvoices service that correspond to the refund.
# Corresponds to the JSON property `invoiceIds`
# @return [Array<String>]
attr_accessor :invoice_ids
# Whether refund was successful.
# Corresponds to the JSON property `refundState`
# @return [String]
@ -1623,6 +1756,7 @@ module Google
# Update properties of this object
def update!(**args)
@invoice_id = args[:invoice_id] if args.key?(:invoice_id)
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
@refund_state = args[:refund_state] if args.key?(:refund_state)
end
end
@ -1653,6 +1787,38 @@ module Google
end
end
#
class OrderreturnsListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# orderreturnsListResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The token for the retrieval of the next page of returns.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
#
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::ContentV2sandbox::MerchantOrderReturn>]
attr_accessor :resources
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@resources = args[:resources] if args.key?(:resources)
end
end
#
class OrdersAcknowledgeRequest
include Google::Apis::Core::Hashable
@ -3684,6 +3850,68 @@ module Google
end
end
#
class RefundReason
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
#
# Corresponds to the JSON property `reasonCode`
# @return [String]
attr_accessor :reason_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@reason_code = args[:reason_code] if args.key?(:reason_code)
end
end
#
class ReturnShipment
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `creationDate`
# @return [String]
attr_accessor :creation_date
#
# Corresponds to the JSON property `returnMethodType`
# @return [String]
attr_accessor :return_method_type
#
# Corresponds to the JSON property `shipmentId`
# @return [String]
attr_accessor :shipment_id
#
# Corresponds to the JSON property `shipmentTrackingInfos`
# @return [Array<Google::Apis::ContentV2sandbox::ShipmentTrackingInfo>]
attr_accessor :shipment_tracking_infos
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_date = args[:creation_date] if args.key?(:creation_date)
@return_method_type = args[:return_method_type] if args.key?(:return_method_type)
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
@shipment_tracking_infos = args[:shipment_tracking_infos] if args.key?(:shipment_tracking_infos)
end
end
#
class ShipmentInvoice
include Google::Apis::Core::Hashable
@ -3753,6 +3981,31 @@ module Google
end
end
#
class ShipmentTrackingInfo
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `carrier`
# @return [String]
attr_accessor :carrier
#
# Corresponds to the JSON property `trackingNumber`
# @return [String]
attr_accessor :tracking_number
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@carrier = args[:carrier] if args.key?(:carrier)
@tracking_number = args[:tracking_number] if args.key?(:tracking_number)
end
end
#
class TestOrder
include Google::Apis::Core::Hashable
@ -3840,7 +4093,7 @@ module Google
class TestOrderCustomer
include Google::Apis::Core::Hashable
# Email address of the customer.
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email

View File

@ -28,6 +28,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CustomerReturnReason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -52,6 +58,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MerchantOrderReturn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MerchantOrderReturnItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Order
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -256,6 +274,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAcknowledgeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -586,6 +610,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RefundReason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReturnShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentInvoice
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -598,6 +634,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentTrackingInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrder
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -662,6 +704,14 @@ module Google
end
end
class CustomerReturnReason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason_code, as: 'reasonCode'
end
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -708,6 +758,35 @@ module Google
end
end
class MerchantOrderReturn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_date, as: 'creationDate'
property :merchant_order_id, as: 'merchantOrderId'
property :order_id, as: 'orderId'
property :order_return_id, as: 'orderReturnId'
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem::Representation
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2sandbox::ReturnShipment, decorator: Google::Apis::ContentV2sandbox::ReturnShipment::Representation
end
end
class MerchantOrderReturnItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2sandbox::CustomerReturnReason, decorator: Google::Apis::ContentV2sandbox::CustomerReturnReason::Representation
property :item_id, as: 'itemId'
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2sandbox::RefundReason, decorator: Google::Apis::ContentV2sandbox::RefundReason::Representation
property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProduct::Representation
collection :return_shipment_ids, as: 'returnShipmentIds'
property :state, as: 'state'
end
end
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1078,6 +1157,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :charge_state, as: 'chargeState'
property :invoice_id, as: 'invoiceId'
collection :invoice_ids, as: 'invoiceIds'
end
end
@ -1093,6 +1173,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
collection :invoice_ids, as: 'invoiceIds'
property :refund_state, as: 'refundState'
end
end
@ -1105,6 +1186,16 @@ module Google
end
end
class OrderreturnsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :resources, as: 'resources', class: Google::Apis::ContentV2sandbox::MerchantOrderReturn, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
end
end
class OrdersAcknowledgeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1688,6 +1779,25 @@ module Google
end
end
class RefundReason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason_code, as: 'reasonCode'
end
end
class ReturnShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_date, as: 'creationDate'
property :return_method_type, as: 'returnMethodType'
property :shipment_id, as: 'shipmentId'
collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo::Representation
end
end
class ShipmentInvoice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1710,6 +1820,14 @@ module Google
end
end
class ShipmentTrackingInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :carrier, as: 'carrier'
property :tracking_number, as: 'trackingNumber'
end
end
class TestOrder
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -296,6 +296,96 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order return from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] return_id
# Merchant order return ID generated by Google.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2sandbox::MerchantOrderReturn] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2sandbox::MerchantOrderReturn]
#
# @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_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command.response_representation = Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
command.response_class = Google::Apis::ContentV2sandbox::MerchantOrderReturn
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['returnId'] = return_id unless return_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists order returns in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] created_end_date
# Obtains order returns created before this date (inclusively), in ISO 8601
# format.
# @param [String] created_start_date
# Obtains order returns created after this date (inclusively), in ISO 8601
# format.
# @param [Fixnum] max_results
# The maximum number of order returns to return in the response, used for paging.
# The default value is 25 returns per page, and the maximum allowed value is
# 250 returns per page.
# @param [String] order_by
# Return the results in the specified order.
# @param [String] page_token
# The token returned by the previous request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderreturnsListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2sandbox::OrderreturnsListResponse]
#
# @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_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command.response_representation = Google::Apis::ContentV2sandbox::OrderreturnsListResponse::Representation
command.response_class = Google::Apis::ContentV2sandbox::OrderreturnsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.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?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Marks an order as acknowledged.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180918'
REVISION = '20180925'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1252,7 +1252,8 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
attr_accessor :dictionary
#
# If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
# to be returned. It still can be used for rules matching.
# Corresponds to the JSON property `exclusionType`
# @return [String]
attr_accessor :exclusion_type

View File

@ -582,6 +582,18 @@ module Google
# @param [String] parent
# The parent resource name, for example projects/my-project-id or
# organizations/my-org-id.
# @param [String] order_by
# Optional comma separated list of fields to order by,
# followed by `asc` or `desc` postfix. This list is case-insensitive,
# default sorting order is ascending, redundant space characters are
# insignificant.
# Example: `name asc, display_name, create_time desc`
# Supported fields are:
# - `create_time`: corresponds to time the most recent version of the
# resource was created.
# - `state`: corresponds to the state of the resource.
# - `name`: corresponds to resource name.
# - `display_name`: corresponds to info type's display name.
# @param [Fixnum] page_size
# Optional size of the page, can be limited by server. If zero server returns
# a page of max size 100.
@ -605,11 +617,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 list_organization_stored_info_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_organization_stored_info_types(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
command.params['parent'] = parent unless parent.nil?
command.query['orderBy'] = order_by unless order_by.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?
@ -1130,6 +1143,17 @@ module Google
# * inspected_storage = cloud_storage OR inspected_storage = bigquery
# * inspected_storage = cloud_storage AND (state = done OR state = canceled)
# The length of this field should be no more than 500 characters.
# @param [String] order_by
# Optional comma separated list of fields to order by,
# followed by `asc` or `desc` postfix. This list is case-insensitive,
# default sorting order is ascending, redundant space characters are
# insignificant.
# Example: `name asc, end_time asc, create_time desc`
# Supported fields are:
# - `create_time`: corresponds to time the job was created.
# - `end_time`: corresponds to time the job ended.
# - `name`: corresponds to job's name.
# - `state`: corresponds to `state`
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
@ -1153,12 +1177,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_dlp_jobs(parent, filter: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_dlp_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options)
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['type'] = type unless type.nil?
@ -1692,6 +1717,18 @@ module Google
# @param [String] parent
# The parent resource name, for example projects/my-project-id or
# organizations/my-org-id.
# @param [String] order_by
# Optional comma separated list of fields to order by,
# followed by `asc` or `desc` postfix. This list is case-insensitive,
# default sorting order is ascending, redundant space characters are
# insignificant.
# Example: `name asc, display_name, create_time desc`
# Supported fields are:
# - `create_time`: corresponds to time the most recent version of the
# resource was created.
# - `state`: corresponds to the state of the resource.
# - `name`: corresponds to resource name.
# - `display_name`: corresponds to info type's display name.
# @param [Fixnum] page_size
# Optional size of the page, can be limited by server. If zero server returns
# a page of max size 100.
@ -1715,11 +1752,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 list_project_stored_info_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_stored_info_types(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
command.params['parent'] = parent unless parent.nil?
command.query['orderBy'] = order_by unless order_by.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?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/partners/
module PartnersV2
VERSION = 'V2'
REVISION = '20180906'
REVISION = '20180925'
end
end
end

View File

@ -57,13 +57,14 @@ module Google
# @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
attr_accessor :contacts
# Represents a whole calendar date, for example date of birth. The time of day
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
# represent a year and month where the day is not significant, for example
# credit card expiration date. The year can be 0 to represent a month and day
# independent of year, for example anniversary date. Related types are
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
# is relative to the Proleptic Gregorian Calendar. This can represent:
# * A full date, with non-zero year, month and day values
# * A month and day value, with a zero year, e.g. an anniversary
# * A year on its own, with zero month and day values
# * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `eventDate`
# @return [Google::Apis::PartnersV2::Date]
attr_accessor :event_date
@ -739,24 +740,26 @@ module Google
end
end
# Represents a whole calendar date, for example date of birth. The time of day
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
# represent a year and month where the day is not significant, for example
# credit card expiration date. The year can be 0 to represent a month and day
# independent of year, for example anniversary date. Related types are
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
# is relative to the Proleptic Gregorian Calendar. This can represent:
# * A full date, with non-zero year, month and day values
# * A month and day value, with a zero year, e.g. an anniversary
# * A year on its own, with zero month and day values
# * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
class Date
include Google::Apis::Core::Hashable
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
# if specifying a year/month where the day is not significant.
# if specifying a year by itself or a year and month where the day is not
# significant.
# Corresponds to the JSON property `day`
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
# month and day.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month