(project=None,
                    regions=None,
                    zones=None,
                    virtual_machine=None)
return resources
Build a Resources object for a Pipeline request.

  Args:
    project (str): Cloud project for the Pipeline to run in.
    regions (List[str]): List of regions for the pipeline to run in.
    zones (List[str]): List of zones for the pipeline to run in.
    virtual_machine(str): Virtual machine type string.

  Returns:
    An object representing a Resource.
Build a Resources object for a Pipeline request.
Build a Resources object for a Pipeline request .
def build_resources(project=None,
                    regions=None,
                    zones=None,
                    virtual_machine=None):
  """Build a Resources object for a Pipeline request.

  Args:
    project (str): Cloud project for the Pipeline to run in.
    regions (List[str]): List of regions for the pipeline to run in.
    zones (List[str]): List of zones for the pipeline to run in.
    virtual_machine(str): Virtual machine type string.

  Returns:
    An object representing a Resource.
  """

  resources = {
      'regions': regions,
      'zones': zones,
      'virtualMachine': virtual_machine,
  }

  if _API_VERSION == google_v2_versions.V2ALPHA1:
    resources['projectId'] = project

  return resources
def build_resources ( project = None , regions = None , zones = None , virtual_machine = None ) : resources = { 'regions' : regions , 'zones' : zones , 'virtualMachine' : virtual_machine , } if _API_VERSION == google_v2_versions . V2ALPHA1 : resources [ 'projectId' ] = project return resources